Skip to main content

Social Media API

Bilibili API

Videos, creators, comments, and danmaku from China's YouTube-meets-community platform.

TikHub's Bilibili API covers B站 with web and app series: video metadata and statistics, creator profiles, comment threads, the danmaku bullet-comment streams that define Bilibili culture, and search. Essential for anyone studying Chinese youth culture, gaming, or anime communities.

2 API seriesfrom $0.001/request$0.05 free credit on sign-up

What's in the Bilibili API

Bilibili Web API

Video details & statsUser profilesCommentsDanmakuSearch

Bilibili App API

Video dataUser profilesCommentsRecommendations

One request to structured JSON

terminal
1curl -X GET "https://api.tikhub.io/api/v1/bilibili/web/fetch_one_video?bv_id=BV_ID" \
2 -H "Authorization: Bearer YOUR_API_KEY"

Get your API key at user.tikhub.io/dashboard/api — see the getting-started guide.

What teams build with it

  • Analyze danmaku streams for moment-level audience reaction
  • Track gaming and anime trends in Chinese youth culture
  • Monitor creator growth and content performance
  • Build Chinese-language video-comment corpora

Bilibili API — frequently asked questions

Do I need a Bilibili developer account to use this API?

No. Sign up for a free TikHub account, create an API key, and call standard REST endpoints. There is no Bilibili developer application, app review, or OAuth flow involved — TikHub provides structured access to publicly available data.

What Bilibili data can I extract?

Public videos with statistics, user/creator profiles, comment threads, danmaku (timed bullet comments), recommendations, and search results.

How much does the Bilibili API cost?

Pay-as-you-go from $0.001 per request, with automatic daily volume discounts down to $0.0005 at 30,000+ requests/day. New accounts get $0.05 free credit (~50 requests) — no credit card required.

Is the Bilibili data suitable for AI training?

Yes. Responses are structured JSON, and the same data is available as bulk datasets (CSV, JSON, JSONL, Parquet) for model training, RAG pipelines, and fine-tuning. TikHub collects public data only and operates in alignment with GDPR and CCPA.