EveryData platform API

Bilibili API

Bilibili data here means Bilibili videos, creator pages, comments, danmaku, and available subtitles, divided among 7 Bilibili actions with explicit Bilibili target objects: `search`, `profile`, `user_posts`.

Choose `search` when the object is matching public results rather than the selected public record read by `profile`; its key selector is `keyword`, compared with `user_id`.

Endpoint
POST /api/v1/social
Capabilities
7
Per 1,000
$0.556

Available capabilities

Compare the Bilibili actions by required input, returned data, and price. Use the action identifier exactly as shown in your request.

ActionRequiredOptionalDeliveryLimitPer 1,000Response fields
search

Search

Search public results on Bilibili. Accepts these parameters: keyword and sort. Returns these fields: duration_seconds, author_id, view_count, and share_count.

keywordsortSync deliveryCatalog values: defaultLimit=20, maxLimit=50. A limit can control pages or per-parent expansion for some actions, so it is not always a final row count.$0.56 per 1,000 requestsid · url · title · text · duration_seconds · duration_text · view_count · like_count · comment_count · danmaku_count · favorite_count · coin_count · share_count · thumbnail_url · posted_at · category · author_name · author_id · author_url · platform
profile

Profiles

Retrieve public profile details from Bilibili. Accepts these parameters: sort and user_id. Returns these fields: vip_label, following_count, user_id, and level.

user_idsortSync delivery$0.56 per 1,000 requestsuser_id · name · url · bio · avatar_url · gender · level · follower_count · following_count · video_count · like_count · is_verified · verified_title · is_vip · vip_label · birthday · school · platform · id · title · view_count · comment_count · posted_at
user_posts

Posts by user

Retrieve public posts from Bilibili. Accepts these parameters: duration, sort, category, and user_id. Returns these fields: text, coin_count, duration_text, and author_url.

user_idcategory, duration, sortSync deliveryCatalog values: defaultLimit=20, maxLimit=50. A limit can control pages or per-parent expansion for some actions, so it is not always a final row count.$0.56 per 1,000 requestsid · url · title · text · duration_seconds · duration_text · view_count · like_count · comment_count · danmaku_count · favorite_count · coin_count · share_count · thumbnail_url · posted_at · category · author_name · author_id · author_url · platform
video

Video details

Retrieve a public video from Bilibili. Accepts these parameters: sort and url. Returns these fields: like_count, posted_at, text, and duration_text.

urlsortSync delivery$0.56 per 1,000 requestsid · url · title · text · duration_seconds · duration_text · view_count · like_count · comment_count · danmaku_count · favorite_count · coin_count · share_count · thumbnail_url · posted_at · category · author_name · author_id · author_url · platform
comments

Comments

Retrieve public comments from Bilibili. Accepts these parameters: url and sort. Returns these fields: author_url, reply_count, like_count, and author_name.

urlsortSync deliveryCatalog values: defaultLimit=20, maxLimit=50. A limit can control pages or per-parent expansion for some actions, so it is not always a final row count.$0.56 per 1,000 requestsid · text · like_count · reply_count · author_name · author_id · author_url · posted_at · video_id · platform
danmaku

On-screen video comments

Use the danmaku action on Bilibili. Accepts these parameters: url. Returns these fields: text, sent_at, mode, and pool.

urlSync delivery$0.56 per 1,000 requestsid · text · video_id · video_time · video_time_seconds · mode · color · pool · sent_at · platform
subtitles

Subtitles

Use the subtitles action on Bilibili. Accepts these parameters: url. Returns these fields: language, author_name, start, and title.

urlSync delivery$0.56 per 1,000 requestsvideo_id · title · author_name · duration_seconds · language · text · platform · start · end

What does each Bilibili action accept?

Each answer below pairs one callable action with its real inputs. Parameter meanings and allowed values are action-specific; a familiar name does not carry the same meaning across every platform.

Official sources are linked only to clarify the platform term beside them. They do not imply platform authorization or endorsement, and they do not add official-site features to the EveryInfra API contract.

What do the Bilibili search parameters mean?

Search public results on Bilibili. Accepts these parameters: keyword and sort. Returns these fields: duration_seconds, author_id, view_count, and share_count.

keywordRequired
Specifies video search terms for Bilibili based on titles or topics, rather than an exact uploader nickname search. Use user_id to query uploader profiles or user submissions.
sortOptional
Specifies the video sort order with mapped values: relevance, newest for latest, most_viewed for view count, most_commented for comment relevance, and most_liked for favorites. This video sort mapping does not guarantee comment sorting by popularity or time on the comments endpoint, which requires separate verification.
Allowed values:most_commentedmost_likedmost_viewednewestrelevance

What do the Bilibili profile parameters mean?

Retrieve public profile details from Bilibili. Accepts these parameters: sort and user_id. Returns these fields: vip_label, following_count, user_id, and level.

user_idRequired
Specifies a Bilibili uploader's numeric mid, extracted from https://space.bilibili.com/<mid>. Provide only the raw integer in user_id, without nicknames, BV IDs, or full space URLs.
sortOptional
Specifies the video sort order with mapped values: relevance, newest for latest, most_viewed for view count, most_commented for comment relevance, and most_liked for favorites. This video sort mapping does not guarantee comment sorting by popularity or time on the comments endpoint, which requires separate verification.
Allowed values:most_commentedmost_likedmost_viewednewestrelevance

What do the Bilibili user_posts parameters mean?

Retrieve public posts from Bilibili. Accepts these parameters: duration, sort, category, and user_id. Returns these fields: text, coin_count, duration_text, and author_url.

user_idRequired
Specifies a Bilibili uploader's numeric mid, extracted from https://space.bilibili.com/<mid>. Provide only the raw integer in user_id, without nicknames, BV IDs, or full space URLs.
categoryOptional
Filters Bilibili videos by channel category using allowed values: all_categories, animal, animation, car, dance, entertainment, fashion, food, gaming, knowledge, life, music, sports, or tech. Requests accept only these predefined string values.
Allowed values:all_categoriesanimalanimationcardanceentertainmentfashionfoodgamingknowledgelifemusicsportstech
durationOptional
Filters videos by length using designated range values: any_duration, under_10_minutes, 10_30_minutes, 30_60_minutes, or over_60_minutes. This parameter filters video runtime rather than controlling request timeouts, danmaku timestamps, or transcription quotas.
Allowed values:10_30_minutes30_60_minutesany_durationover_60_minutesunder_10_minutes
sortOptional
Specifies the video sort order with mapped values: relevance, newest for latest, most_viewed for view count, most_commented for comment relevance, and most_liked for favorites. This video sort mapping does not guarantee comment sorting by popularity or time on the comments endpoint, which requires separate verification.
Allowed values:most_commentedmost_likedmost_viewednewestrelevance

What do the Bilibili video parameters mean?

Retrieve a public video from Bilibili. Accepts these parameters: sort and url. Returns these fields: like_count, posted_at, text, and duration_text.

urlRequired
Specifies a full Bilibili video URL, formatted as https://www.bilibili.com/video/<BVID>. The url parameter fetches video comments on comments, first-part timed comments on danmaku, and audio transcription on subtitles, treating each as distinct text sources. The danmaku action must be able to extract a valid BV ID from the provided path.
Bilibili: Official Announcement on Upgrading AV Numbers to BV IdentifiersBilibili's 2020 announcement defines BV identifiers as video submission IDs containing numbers and case-sensitive letters, distinguishing them from pure numeric AV numbers. This reference only explains video identifier types; this API accepts links per the format above and does not guarantee parsing for all legacy links or multi-part video segments.Checked
sortOptional
Specifies the video sort order with mapped values: relevance, newest for latest, most_viewed for view count, most_commented for comment relevance, and most_liked for favorites. This video sort mapping does not guarantee comment sorting by popularity or time on the comments endpoint, which requires separate verification.
Allowed values:most_commentedmost_likedmost_viewednewestrelevance

What do the Bilibili comments parameters mean?

Retrieve public comments from Bilibili. Accepts these parameters: url and sort. Returns these fields: author_url, reply_count, like_count, and author_name.

urlRequired
Specifies a full Bilibili video URL, formatted as https://www.bilibili.com/video/<BVID>. The url parameter fetches video comments on comments, first-part timed comments on danmaku, and audio transcription on subtitles, treating each as distinct text sources. The danmaku action must be able to extract a valid BV ID from the provided path.
Bilibili: Official Announcement on Upgrading AV Numbers to BV IdentifiersBilibili's 2020 announcement defines BV identifiers as video submission IDs containing numbers and case-sensitive letters, distinguishing them from pure numeric AV numbers. This reference only explains video identifier types; this API accepts links per the format above and does not guarantee parsing for all legacy links or multi-part video segments.Checked
sortOptional
Specifies the video sort order with mapped values: relevance, newest for latest, most_viewed for view count, most_commented for comment relevance, and most_liked for favorites. This video sort mapping does not guarantee comment sorting by popularity or time on the comments endpoint, which requires separate verification.
Allowed values:most_commentedmost_likedmost_viewednewestrelevance

What do the Bilibili danmaku parameters mean?

Use the danmaku action on Bilibili. Accepts these parameters: url. Returns these fields: text, sent_at, mode, and pool.

urlRequired
Specifies a full Bilibili video URL, formatted as https://www.bilibili.com/video/<BVID>. The url parameter fetches video comments on comments, first-part timed comments on danmaku, and audio transcription on subtitles, treating each as distinct text sources. The danmaku action must be able to extract a valid BV ID from the provided path.
Bilibili: Official Announcement on Upgrading AV Numbers to BV IdentifiersBilibili's 2020 announcement defines BV identifiers as video submission IDs containing numbers and case-sensitive letters, distinguishing them from pure numeric AV numbers. This reference only explains video identifier types; this API accepts links per the format above and does not guarantee parsing for all legacy links or multi-part video segments.Checked

What do the Bilibili subtitles parameters mean?

Use the subtitles action on Bilibili. Accepts these parameters: url. Returns these fields: language, author_name, start, and title.

urlRequired
Specifies a full Bilibili video URL, formatted as https://www.bilibili.com/video/<BVID>. The url parameter fetches video comments on comments, first-part timed comments on danmaku, and audio transcription on subtitles, treating each as distinct text sources. The danmaku action must be able to extract a valid BV ID from the provided path.
Bilibili: Official Announcement on Upgrading AV Numbers to BV IdentifiersBilibili's 2020 announcement defines BV identifiers as video submission IDs containing numbers and case-sensitive letters, distinguishing them from pure numeric AV numbers. This reference only explains video identifier types; this API accepts links per the format above and does not guarantee parsing for all legacy links or multi-part video segments.Checked

How to use the Bilibili API

  1. 01Read the public catalog and choose a platform action.
  2. 02Send the platform, action, and required parameters to POST /api/v1/social.
  3. 03Handle a synchronous result or poll the returned job ID when the selected action is asynchronous.
  4. 04Store the structured response fields needed by your application.
bilibili_search.sh
curl -X POST https://api.everyinfra.com/api/v1/social \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"platform":"bilibili","action":"search","params":{"keyword":"<keyword>"}}'

Bilibili API questions

What can I retrieve with the Bilibili API?

Set platform to bilibili. The current catalog lists search, profiles, posts by user, video details, comments, and more. These action names identify different Bilibili objects or views; they are not interchangeable search modes.

Which input starts a Bilibili `search` request?

Specifies video search terms for Bilibili based on titles or topics, rather than an exact uploader nickname search. Use user_id to query uploader profiles or user submissions. Send it as keyword inside params.

Which fields can Bilibili `search` return?

Its declared schema includes title, text, duration_seconds, and duration_text. A declared field can still be absent from an individual source record, and every other action has its own field list.

Does every Bilibili action return immediately?

No assumption is needed: this page labels each action's delivery mode. The current catalog contains sync delivery; poll a returned job ID only for an action labeled asynchronous.