Bilibili
What Bilibili data is for.
Use Bilibili when you need posts, videos and catalog records, trends, markets and live signals, comments and reviews without maintaining a separate adapter for each route. Start with the lowest-cost live operation, then add search or list endpoints only when the response shape fits your product.
Live
3
Paid only
0
Price floor
2 cr
Use cases
Bilibili video
Call /v1/bilibili/videos/{bvid} when you need a normalized bilibili video response with the same credit and cache rules as the rest of the catalog.
Bilibili popular videos
Call /v1/bilibili/popular when you need a normalized bilibili popular videos response with the same credit and cache rules as the rest of the catalog.
Bilibili video comments
Call /v1/bilibili/videos/{aid}/comments when you need a normalized bilibili video comments response with the same credit and cache rules as the rest of the catalog.
Auth & error contract.
Auth
Send x-api-key: cf_live_... or Authorization: Bearer cf_live_.... A missing or invalid key returns 401.
Billing
Successful lookups charge the listed credits. Cache hits, 5xx responses and mapped 503 routes cost 0 credits.
Limits
429 includes Retry-After and costs nothing. Paid-only routes return 403 plan_required before any provider call.
Mapped routes
Every route on this page is live.
Operations
Live / 3
readyBilibili video
/v1/bilibili/videos/{bvid}| Name | Type | Required | Description |
|---|---|---|---|
| bvid | string | yes | Bilibili BV video id. |
curl -s "https://api.cleanfetch.dev/v1/bilibili/videos/{bvid}?bvid=example" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "bilibili",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 2,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 0.5h.
- • A public record that does not exist returns not_found and is charged once.
Bilibili popular videos
/v1/bilibili/popular| Name | Type | Required | Description |
|---|---|---|---|
| limit | string | no | Maximum records to return, from 1 to 20. |
| page | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/bilibili/popular" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "bilibili",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 2,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 0.08333333333333333h.
- • A public record that does not exist returns not_found and is charged once.
Bilibili video comments
/v1/bilibili/videos/{aid}/comments| Name | Type | Required | Description |
|---|---|---|---|
| aid | string | yes | Bilibili numeric video id. |
| limit | string | no | Maximum records to return, from 1 to 20. |
| page | string | no | Lookup parameter. |
| sort | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/bilibili/videos/{aid}/comments?aid=example" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "bilibili",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 3,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 0.08333333333333333h.
- • A public record that does not exist returns not_found and is charged once.
Common Bilibili API questions
How many Bilibili operations are live?
3 of 3 cataloged operations are live. Every operation in this reference is live.
What does a Bilibili call cost?
Live operations range from 2 to 3 credits. 3 are available on the free daily cap and 0 are paid-only. Cache hits cost 0 credits.
Are Bilibili responses cached?
Successful responses are cached between 0.08333333333333333h and 0.5h. A cache hit costs 0 credits and does not consume the free daily cap.
How do I authenticate Bilibili requests?
Send x-api-key or Authorization: Bearer with a CleanFetch key. Missing or invalid keys return 401; paid-only routes return 403 plan_required; rate limits return 429 with Retry-After. A 5xx or timeout costs 0 credits.