Operated by Sourcelane✓ verified
Scrape Bilibili (哔哩哔哩) videos by keyword with views, likes, danmaku, favorites, tags and uploader, plus top comments. Sort and filter by date.
A keyword-driven scraper that searches Bilibili (哔哩哔哩 / B站) by keyword and exports matching videos and, optionally, top comments; it extracts per-video metadata (identifiers, title, description, URL, cover image, duration, publish time, tags and category), engagement metrics (views, likes, danmaku/bullet-comment count, comment count, favorites), and uploader profile details (name, ID, profile URL, avatar). The connector performs ranked and filtered search scraping (sorting by relevance, most viewed, latest, most danmaku, most saved) and can filter results by duration and publish date; it can return one record per video and, when enabled, additional records for top comments containing comment text, likes, reply counts, timestamps, pinned status, attached images and commenter profile metadata.
Verified Dec 1, 7:44 AM
$0.003
per video
Up to 100 per call. Only pay for results returned; failed calls are refunded.
Market research in China to identify leading videos and creators for a topic, game or product category on Bilibili
Gen Z and gaming audience insights by analyzing trending discussions, danmaku and top comments
Influencer discovery to find uploaders with the most viewed or most saved videos for a keyword
Audience feedback and sentiment analysis by exporting top comments on leading videos
Content strategy comparison of titles, durations and tags of best-performing videos
What to search for on Bilibili, one keyword per line.
Only videos published on or after this date.
Only videos published on or before this date.
Optional settings
| Window | Uptime | Success rate | p50 | p95 | Calls |
|---|---|---|---|---|---|
| 24h | — | — | — | — | 0 |
| 7d | — | — | — | — | 0 |
| 30d | — | — | — | — | 0 |
Call it through Sourcelane's gateway or MCP server. We run the connector, apply your agent's spend guardrails, and bill only the results returned.
Call it via Sourcelane
curl -X POST https://api.usesourcelane.com/v1/call \
-H "Authorization: Bearer sl_live_your_agent_key" \
-H "Content-Type: application/json" \
-d '{"listing":"bilibili-search-scraper","params":{"keywords":["原神"],"maxVideosPerKeyword":5},"maxResults":10}'Request params
| Field | Type | Required | Description |
|---|---|---|---|
keywords | array | required | What to search for on Bilibili, one keyword per line. Chinese keywords return the most results. |
sortBy | string | optional | Result order, same as the sort menu on Bilibili search. |
duration | string | optional | Only videos of this length. |
publishedAfter | string | optional | Only videos published on or after this date (YYYY-MM-DD). |
publishedBefore | string | optional | Only videos published on or before this date (YYYY-MM-DD). |
maxVideosPerKeyword | integer | optional | How many videos to collect for each keyword. Bilibili returns up to 1,000 results per search. Capped at 100 per call. |
includeComments | boolean | optional | Also collect each video's top comments (most liked first), as separate rows with type comment. |
maxCommentsPerVideo | integer | optional | How many comments to collect per video when Include comments is on. |
Each result contains
| Field | Type | Description |
|---|---|---|
type | string | Type |
videoId | string | — |
aid | integer | — |
url | string | Video |
title | string | Title |
description | null | — |
coverUrl | string | — |
durationSeconds | integer | — |
publishedAt | string | Published |
views | integer | Views |
likes | integer | Likes |
danmaku | integer | Danmaku |
comments | integer | — |
favorites | integer | Favorites |
tags | array | — |
category | string | — |
authorName | string | Author |
authorId | string | — |
authorUrl | string | — |
authorAvatar | string | — |
keyword | string | — |
rank | integer | — |
scrapedAt | string | — |
Pick your tool and connect in under a minute. Then just ask — for example: “Find this creator's profiles on every social network and summarise their reach.”
Connect Claude
Web, desktop and mobile. One click, then confirm.
Adds the Sourcelane MCP server with your key as a header.
claude mcp add --transport http sourcelane https://api.usesourcelane.com/mcp \
--header "Authorization: Bearer sl_live_your_agent_key"Alternative to the connector URL: add to claude_desktop_config.json, then restart Claude.
{
"mcpServers": {
"sourcelane": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.usesourcelane.com/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer sl_live_your_agent_key"
}
}
}
}Add to ~/.cursor/mcp.json (or Windsurf's mcp_config.json).
{
"mcpServers": {
"sourcelane": {
"url": "https://api.usesourcelane.com/mcp",
"headers": {
"Authorization": "Bearer sl_live_your_agent_key"
}
}
}
}Save as .vscode/mcp.json. VS Code prompts for your key once.
{
"servers": {
"sourcelane": {
"type": "http",
"url": "https://api.usesourcelane.com/mcp",
"headers": {
"Authorization": "Bearer ${input:sourcelane-key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "sourcelane-key",
"description": "Sourcelane agent key",
"password": true
}
]
}Create a GPT → Actions → Import from URL, then Authentication: API Key, Bearer.
https://usesourcelane.com/openapi.jsonOne POST. Pass maxResults to cap cost.
curl -X POST https://api.usesourcelane.com/v1/call \
-H "Authorization: Bearer sl_live_your_agent_key" \
-H "Content-Type: application/json" \
-d '{"listing":"bilibili-search-scraper","params":{"keywords":["原神"],"maxVideosPerKeyword":5},"maxResults":10}'Wrap the REST call as a tool, or point an MCP client at the endpoint.
import requests
res = requests.post(
"https://api.usesourcelane.com/v1/call",
headers={"Authorization": "Bearer sl_live_your_agent_key"},
json={
"listing": "bilibili-search-scraper",
"params": {"keywords":["原神"],"maxVideosPerKeyword":5},
"maxResults": 10,
},
timeout=300,
)
body = res.json()
print(body["receipt"]["chargedMicros"], "micro-USD for", body["receipt"]["results"], "results")
print(body["data"])—
0 reviews
Leave a review
Loading reviews…