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

Use Bilibili search to discover Bilibili public results. Use Bilibili search with keyword for Bilibili results. For Bilibili search, supply keyword and sort; results include id, duration_seconds, author_id, view_count, share_count, like_count, author_name, favorite_count, author_url, coin_count, platform, category, posted_at, thumbnail_url, comment_count, duration_text, url, text, title, and danmaku_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

Use Bilibili profile to read one Bilibili public record. Bilibili profile treats Bilibili optional inputs as filters. Call Bilibili profile with sort and user_id; Bilibili profile exposes vip_label, following_count, user_id, level, verified_title, platform, id, title, gender, bio, is_vip, view_count, like_count, video_count, url, school, follower_count, name, avatar_url, comment_count, posted_at, birthday, and is_verified.

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

Use Bilibili user_posts to read public Bilibili account posts. user_id identifies the account. Call Bilibili user_posts with duration, sort, category, and user_id; Bilibili user_posts exposes url, text, coin_count, duration_text, platform, author_url, title, category, author_id, author_name, danmaku_count, duration_seconds, posted_at, view_count, like_count, id, thumbnail_url, favorite_count, share_count, and comment_count.

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

Bilibili keeps one public video inside the video response scope. url identifies the target video. Bilibili video takes sort and url and yields like_count, posted_at, text, duration_text, author_name, coin_count, danmaku_count, platform, favorite_count, title, url, author_id, thumbnail_url, category, view_count, duration_seconds, comment_count, author_url, id, and share_count.

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

Use Bilibili comments with url; Bilibili then selects object comments. Bilibili comments keeps Bilibili field meanings action-specific. Use url and sort when calling Bilibili comments; the response contains author_url, reply_count, like_count, author_name, text, video_id, id, author_id, platform, and posted_at.

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

The danmaku selection separates time-aligned on-screen comments from other Bilibili objects. Use Bilibili danmaku with url; Bilibili then selects them. Call Bilibili danmaku with url; Bilibili danmaku exposes text, sent_at, mode, pool, platform, video_time_seconds, id, video_id, video_time, and color.

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

Subtitles

Bilibili subtitles treats Bilibili optional inputs as filters. Bilibili subtitles takes url and yields language, author_name, start, title, video_id, platform, duration_seconds, end, and text.

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?

Use Bilibili search to discover Bilibili public results. Use Bilibili search with keyword for Bilibili results. For Bilibili search, supply keyword and sort; results include id, duration_seconds, author_id, view_count, share_count, like_count, author_name, favorite_count, author_url, coin_count, platform, category, posted_at, thumbnail_url, comment_count, duration_text, url, text, title, and danmaku_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?

Use Bilibili profile to read one Bilibili public record. Bilibili profile treats Bilibili optional inputs as filters. Call Bilibili profile with sort and user_id; Bilibili profile exposes vip_label, following_count, user_id, level, verified_title, platform, id, title, gender, bio, is_vip, view_count, like_count, video_count, url, school, follower_count, name, avatar_url, comment_count, posted_at, birthday, and is_verified.

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?

Use Bilibili user_posts to read public Bilibili account posts. user_id identifies the account. Call Bilibili user_posts with duration, sort, category, and user_id; Bilibili user_posts exposes url, text, coin_count, duration_text, platform, author_url, title, category, author_id, author_name, danmaku_count, duration_seconds, posted_at, view_count, like_count, id, thumbnail_url, favorite_count, share_count, and comment_count.

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?

Bilibili keeps one public video inside the video response scope. url identifies the target video. Bilibili video takes sort and url and yields like_count, posted_at, text, duration_text, author_name, coin_count, danmaku_count, platform, favorite_count, title, url, author_id, thumbnail_url, category, view_count, duration_seconds, comment_count, author_url, id, and share_count.

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?

Use Bilibili comments with url; Bilibili then selects object comments. Bilibili comments keeps Bilibili field meanings action-specific. Use url and sort when calling Bilibili comments; the response contains author_url, reply_count, like_count, author_name, text, video_id, id, author_id, platform, and posted_at.

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?

The danmaku selection separates time-aligned on-screen comments from other Bilibili objects. Use Bilibili danmaku with url; Bilibili then selects them. Call Bilibili danmaku with url; Bilibili danmaku exposes text, sent_at, mode, pool, platform, video_time_seconds, id, video_id, video_time, and color.

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?

Bilibili subtitles treats Bilibili optional inputs as filters. Bilibili subtitles takes url and yields language, author_name, start, title, video_id, platform, duration_seconds, end, and 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

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.