Video Search
/api/bilibili/search
Search Bilibili videos by keyword with filters and pagination
Scrappa's Bilibili API returns structured JSON from Bilibili, China's largest video platform. Search videos by keyword with filters and pagination, fetch video details with stats and uploader, read uploader profiles and their uploaded videos, and get video comments. Scrappa is an independent service and is not affiliated with or endorsed by Bilibili.
Try it now
Use the first endpoint in this API family with a Scrappa API key. Every account includes 500 free monthly credits, so you can validate the response shape before buying credits.
curl -X GET "https://scrappa.co/api/bilibili/search?search_type=video&keyword=python&page=1" \
-H "Accept: application/json" \
-H "X-API-KEY: YOUR_API_KEY"
{
"results": [
{
"bvid": "BV1rpWjevEip",
"aid": 113006243481679,
"title": "Python tutorial course",
"author": "Python Official",
"mid": 3546597933714079,
"play": 20709037,
"danmaku": 132790,
"reply": 2457,
"favorite": 69881,
"coin": 18662,
"duration": "39:58",
"pic": "https://i2.hdslb.com/bfs/archive/abc123.jpg",
"pubdate": 1660000000,
"tag": "Python,programming"
}
],
"count": 1000,
"page": 1,
"pages": 50,
"page_size": 20,
"has_more": true,
"meta": { "endpoint_family": "search" }
}
Structured data for real applications. Here are some ideas.
Search Bilibili videos by keyword with filters for type, ordering, duration and category, then paginate through results.
Fetch video details with views, danmaku, replies, favorites, coins, shares and likes for content performance analysis.
Read uploader profiles with level, fans, follower count and verification status, then list their uploaded videos.
Get video comments with like counts and reply counts for audience engagement and sentiment analysis.
Bilibili scraper API
The Bilibili API is built for video analytics, creator research, and content discovery. Each search result carries the BV id, title, author, play count, danmaku count, reply count, favorite count, coin count, duration, thumbnail, publish date and tags. Detail responses add the full statistics, uploader profile and multi-part video pages.
Search videos by keyword with type, ordering, duration and category filters.
Fetch video details with views, danmaku, replies, favorites, coins, shares and likes.
Read uploader profiles with level, fans, follower count and verification status.
List uploaded videos with pagination and get video comments with like counts.
Search Bilibili videos by keyword with filters and pagination to collect matching videos with full metadata.
Open Bilibili Search API docsOpen a video by BV id to get the full statistics, uploader profile and multi-part video pages.
Open Bilibili Video API docsPass an uploader mid to get the public profile with level, fans, follower count and verification status.
Open Bilibili User API docsEverything you need in one API.
/api/bilibili/search
Search Bilibili videos by keyword with filters and pagination
/api/bilibili/video
Get video details with stats, uploader and pages
/api/bilibili/video/tags
Get tags for a Bilibili video
/api/bilibili/user
Get Bilibili uploader profile with stats
/api/bilibili/user/videos
Get videos uploaded by a Bilibili user
/api/bilibili/comments
Get comments for a Bilibili video
See how Scrappa compares to the official API.
| Feature | Scrappa | ScrapingBee / ScraperAPI |
|---|---|---|
| Bilibili video data as JSON | Build your own parser | |
| Uploader profiles and videos | Parse it yourself | |
| Video comments | ||
| Price per 1k requests | From $0.20 | Varies by credits per request |
| Unified API key | Yes (80+ APIs) | Scraping only |
| Free tier | 500 credits/month | Trial credits |
No. Scrappa is an independent service and is not affiliated with or endorsed by Bilibili. The Bilibili API returns structured JSON from public video data through a Scrappa API key.
Every Scrappa account includes 500 free credits each month. After that, each request costs one credit, which works out to $0.20 to $0.30 per 1,000 requests depending on the credit pack or plan. Failed requests are never charged.
Search uses a 1-based page parameter with 20 results per page and up to 50 pages. User videos and comments use pn/ps parameters. The response returns has_more as true while more pages exist. A valid empty result is a successful response.
The video details endpoint requires from=search to bypass baseline anti-bot. The user videos endpoint requires app signing with common params. All other endpoints work with plain parameters.