# 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 | ID danmaku. |
| `video_id` | string | Video (BV ID). |
| `text` | string | Nội dung. |
| `position_s` | number \| null | Giây thứ bao nhiêu trong video thì xuất hiện. |
| `published_at` | string \| null | Thời điểm gửi. |
| `ext` | object | Dữ liệu bổ sung riêng của nền tảng. Chỉ trả về khi view=full. |

## Endpoints that return a Danmaku

- [Danmaku Bilibili](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`
