# Danmaku

> A bullet comment shown over a video at a moment of playback.

Canonical page: https://okdata.online/docs/objects/danmaku/

The same shape on every platform. A field a platform does not have is null, and meta.unavailable says why. Use fields= to keep only what you need.

| Field | Type | Description |
|---|---|---|
| `id` | string | Danmaku ID. |
| `video_id` | string | The video (BV ID). |
| `text` | string | What it says. |
| `position_s` | number \| null | Seconds into the video when it shows. |
| `published_at` | string \| null | When it was sent. |
| `ext` | object | Platform-specific extras. Only returned with view=full. |

## Endpoints that return a Danmaku

- [Bilibili danmaku](https://okdata.online/apis/bilibili/videos/danmaku/list/) (`bilibili.videos.danmaku.list`): $0.043 per call · about 20 results per page

## Fields by view

Each view includes the fields of the views above it. `view=compact` is the smallest; `full` adds platform extras under `ext`.

- compact: `id`, `video_id`, `text`, `position_s`, `published_at`
- standard: —
- full: `ext`
