# Danmaku object

The Danmaku object has 7 fields and is returned by 1 endpoint on Bilibili. A call costs $0.0020. It is a preview structure and may still change.

For machines: [danmaku schema](https://dataxapi.com/openapi.json#/components/schemas/danmaku), [openapi.json](https://dataxapi.com/openapi.json), [Object table (JSON)](https://api.dataxapi.com/v1/catalog/objects), [llms.txt](https://dataxapi.com/llms.txt)

A Danmaku (bullet comment) is a short comment shown over a video at the moment it was sent for: its text, the second of the video it appears at in `start`, when it was sent, how it is shown and its colour.

`cid` is the part of the video it is on, the same number as `ext.cid` of a Bilibili video's Post. A Comment is something else: it stands under the video, with its author, likes and replies.

## Fields

A field the platform cannot give is left out of the item and named in `meta.unavailable`. It is never filled with a guess or a zero.

| Field | Type | From view | Description |
| --- | --- | --- | --- |
| `id` | text | `compact` | ID of the danmaku |
| `text` | text | `compact` | Text of the danmaku |
| `start` | number | `compact` | When it appears in the video, in seconds from its start |
| `published_at` | time | `compact` | When it was sent |
| `mode` | text | `standard` | How it is shown: scroll across, fixed at the bottom, fixed at the top, or advanced (placed and animated by its sender): `scroll`, `bottom`, `top`, `advanced` |
| `color` | text | `standard` | Colour of the text: # and six hexadecimal digits, two each for red, green and blue |
| `cid` | text | `full` | Number of the part of the video it is on (cid) |

## Endpoints that return Danmaku

### Bilibili

| Endpoint | Path | Returns | Price |
| --- | --- | --- | --- |
| [Bilibili video danmaku](https://dataxapi.com/apis/bilibili/videos/danmaku/list.md) | `GET /v1/bilibili/videos/danmaku/list` | Danmaku list | $0.0020 / call |

## Example

One item from `bilibili.videos.danmaku.list`, as recorded 2026-11-29 03:15 UTC. Names, text, IDs and links are examples; the figures are as recorded.

```jsonc
{
  "id": "228455086017",
  "text": "把周末露营从头到尾讲清楚，看完少走弯路",
  "start": 11.073,
  "published_at": "2025-09-05T08:51:45.000Z",
  "mode": "scroll",
  "color": "周末露营这件事，越简单越好"
}
```

[The whole response is on the endpoint's page →](https://dataxapi.com/apis/bilibili/videos/danmaku/list.md)

## Related

- [All endpoints](https://dataxapi.com/apis/): The directory lists what every endpoint returns, with its price.

## Other objects

[Post object](https://dataxapi.com/docs/objects/post/), [Comment object](https://dataxapi.com/docs/objects/comment/), [Account object](https://dataxapi.com/docs/objects/account/), [Trend object](https://dataxapi.com/docs/objects/trend/), [Transcript object](https://dataxapi.com/docs/objects/transcript/), [Media files object](https://dataxapi.com/docs/objects/media/), [Music object](https://dataxapi.com/docs/objects/music/), [Creator rates object](https://dataxapi.com/docs/objects/creator_rates/), [Community object](https://dataxapi.com/docs/objects/community/), [Product object](https://dataxapi.com/docs/objects/product/), [Review object](https://dataxapi.com/docs/objects/review/), [Keyword index history object](https://dataxapi.com/docs/objects/keyword_history/), [Related keyword object](https://dataxapi.com/docs/objects/keyword_related/), [Keyword audience object](https://dataxapi.com/docs/objects/keyword_audience/), [Account recent change object](https://dataxapi.com/docs/objects/account_history/), [Brand index history object](https://dataxapi.com/docs/objects/brand_history/), [Brand index averages object](https://dataxapi.com/docs/objects/brand_metrics/), [Creator object](https://dataxapi.com/docs/objects/creator/), [Audience object](https://dataxapi.com/docs/objects/audience/), [Xingtu creator metrics object](https://dataxapi.com/docs/objects/xingtu_creator_metrics/), [Xingtu creator video object](https://dataxapi.com/docs/objects/xingtu_creator_post/), [PGY creator metrics object](https://dataxapi.com/docs/objects/pgy_creator_metrics/), [PGY creator note object](https://dataxapi.com/docs/objects/pgy_creator_post/), [PGY note detail object](https://dataxapi.com/docs/objects/pgy_note/), [Ad object](https://dataxapi.com/docs/objects/ad/), [Advertiser object](https://dataxapi.com/docs/objects/advertiser/), [Douyin trend-index creator metrics object](https://dataxapi.com/docs/objects/index_creator_metrics/), [Xingtu creator content keywords object](https://dataxapi.com/docs/objects/xingtu_creator_keywords/), [Xingtu creator scores object](https://dataxapi.com/docs/objects/xingtu_creator_scores/), [Xingtu creator content mix object](https://dataxapi.com/docs/objects/xingtu_creator_content_mix/), [Xingtu creator conversion object](https://dataxapi.com/docs/objects/xingtu_creator_conversion/), [Xingtu campaign object](https://dataxapi.com/docs/objects/xingtu_campaign/), [Channels collection object](https://dataxapi.com/docs/objects/channels_collection/), [Channels share link object](https://dataxapi.com/docs/objects/channels_share_link/), [Topic object](https://dataxapi.com/docs/objects/topic/), [Account owner object](https://dataxapi.com/docs/objects/account_owner/), [Mini program object](https://dataxapi.com/docs/objects/miniprogram/), [Follower history object](https://dataxapi.com/docs/objects/follower_history/), [PGY creator costs and summary object](https://dataxapi.com/docs/objects/pgy_creator_costs/), [PGY creator follower summary object](https://dataxapi.com/docs/objects/pgy_creator_followers/), [PGY creator core figures history object](https://dataxapi.com/docs/objects/pgy_creator_cost_history/)

---

Last checked 2026-12-05 10:35 UTC. Catalog revision f70618362eb41fe9. [HTML version](https://dataxapi.com/docs/objects/danmaku/)
