Bilibili Comments API returns the comment list for one Bilibili video with pagination. Each comment carries the reply id, mid, like count, reply count and message content. A valid empty list is a successful response.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
2 required parameters needed before sending a request.
3 optional filters available.
integer
Required
Reply type. 1=video (oid is avid).
10
integer
Required
Video aid. Example: 113006243481679.
10
integer
Optional
Sort: 0=time, 1=likes, 2=replies. Defaults to 2.
relevance
integer
Optional
Page number, 1-based. Defaults to 1.
10
integer
Optional
Page size, max 20. Defaults to 20.
10
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
meta
page
count
comments
has_more
page_size
Common comments fields
mid
like
rpid
count
{
"meta": {
"endpoint_family": "comments"
},
"page": 1,
"count": 359670,
"comments": [
{
"mid": 1242205079,
"like": 7508,
"rpid": 247714016448,
"count": 3,
"message": "Great course!"
},
{
"mid": 1085563010,
"like": 1940,
"rpid": 243565772128,
"count": 1,
"message": "Very helpful for beginners."
}
],
"has_more": true,
"page_size": 20
}
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.