Bilibili video comments

GET https://api.api.sh/bilibili/v1/video/comments
1 credit / call media & music try it in the playground →

The comments on a Bilibili video, hot or newest first, 20 per page: text, date, likes, reply count, IP location, pictures, emotes, mentions, whether the uploader liked or replied, the author (mid, name, avatar, level, VIP, verification) and the first replies of each comment; the pinned comments come with the first page. Pass next_cursor back as cursor for the next page (null on the last). Use /bilibili/v1/video/comment/replies for all replies under a comment. Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
bvidrequired string BV id, av number (aid) or a bilibili.com/video link. Example: BV1GJ411x7h7
sort hot | newest hot (most liked and replied) or newest. Default: hot
cursor string next_cursor from the previous response.

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/bilibili/v1/video/comments?bvid=BV1GJ411x7h7" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.