# 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。 |
| `video_id` | string | 動画（BV ID）。 |
| `text` | string | 内容。 |
| `position_s` | number \| null | 動画内で表示される秒数。 |
| `published_at` | string \| null | 送信日時。 |
| `ext` | object | プラットフォーム固有の追加情報。view=full の場合のみ返されます。 |

## Endpoints that return a 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`
