Skip to content
//Bilibili Scraper example\\

Videos from 3 creators, 15 results

Latest uploads from chosen Bilibili creators.

Updated November 24, 2026

What this example returns

This example returns up to 15 results.

The dataset’s “Overview” view shows 10 columns: type, title, text, name, viewCount, likeCount, replyCount, authorName, url, and profileUrl. See every output field.

What each setting does

The input this example runs Bilibili Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Mode mode

Creator videos

What to collect in this run. Search, video details, and comments need no login.

Default: Search videos → this example uses Creator videos

Creator ids userIds

3546661238344409, 1741962246, 302417610

Numeric creator ids (mid) or space.bilibili.com links. Used for creator videos and creator profiles. A channel name is not an id.

Maximum results maxResults

15

Hard cap on videos (or creator profiles in Creator profile mode) for the whole run. Comments, replies and danmaku rows are extra, up to the per-video caps. Creator videos also save one profile row per creator that has matching videos, on top of this cap. 10 to 20 is enough for a lookup. A search can go past…

Default: 10 → this example uses 15

Sort order sortOrder

Relevance

How to sort search results.

Duration durationFilter

Any duration

Search only. Any, under 10 minutes, 10 to 30, 30 to 60, or over 60.

Popular category category

All categories

Popular mode only. All uses the trending feed. A category uses that zone's ranking board.

Also save comments includeComments

No

For each video, save comments as their own rows. This multiplies the row count. Off by default.

Include replies includeReplies

No

Save replies under each comment. Each reply is its own row, with rootRpid and isThreadReply.

Comments per video maxComments

5

Cap for video comments mode, and for each video when Also save comments is on. Replies count toward this cap.

Default: 20 → this example uses 5

Comment sort sortComments

Hot

Hot keeps Bilibili's hot order. Likes re-sorts that page by like count. Newest is chronological.

Also search the Chinese brand name autoLocalize

Yes

When the query is a known Latin brand name, also search the Chinese name and merge the rows. The result cap still applies.

Danmaku profile per video includeDanmaku

No

Add one danmaku row per video: how many were fetched, unique senders, per-minute rate, peak minute, and a text sample spread across the timeline. Off by default.

Danmaku texts in the sample danmakuSampleSize

25

How many danmaku texts to keep, spread across the video. The sample stays inside the one danmaku row. 0 keeps the counts only.

Sentiment sentimentAnalysis

No

Add a sentiment object to each row. Chinese text uses a local lexicon. Other text uses a short English word list.

Only new videos deltaMode

No

Search and popular only. Later runs with the same state key skip video ids this actor already returned.

State key deltaStateKey

default

Name for the saved video-id list, so two monitors do not share one list. Used when Only new videos is on.

Re-read comments on earlier videos followUpComments

No

Search only, with Only new videos and Also save comments. The next run loads comments again for videos the previous run just found, and marks those rows isFollowUp.

.json
{
  "mode": "user_videos",
  "userIds": [
    "3546661238344409",
    "1741962246",
    "302417610"
  ],
  "maxResults": 15,
  "sortOrder": "totalrank",
  "durationFilter": "any",
  "category": "all",
  "includeComments": false,
  "includeReplies": false,
  "maxComments": 5,
  "sortComments": "hot",
  "autoLocalize": true,
  "includeDanmaku": false,
  "danmakuSampleSize": 25,
  "sentimentAnalysis": false,
  "deltaMode": false,
  "deltaStateKey": "default",
  "followUpComments": false
}

What it costs

From about $0.09 for 15 results

An estimate at the lowest plan price: 15 × $0.006 per result (One video, comment, reply, creator profile, or danmaku profile). A run is charged for the events it reports, so one that finds fewer results costs less. Platform usage is included in the event price.

Full pricing

When to use this example

From the Bilibili Scraper readme:

What does Only new videos do?

The first run returns the current rows and stores their ids under the state key in your bilibili-scraper-delta key-value store. The next run with the same key returns only ids that were not stored.

Known limit

maxResults counts videos or profiles; comment, danmaku and creator-profile rows come on top, as described above.

Other ways to run Bilibili Scraper

All examples of Bilibili Scraper

About Bilibili Scraper

Scrape public Bilibili videos, comments, danmaku, trending videos, and creator profiles. Search in Chinese or English, read a video, or track a creator. No login.

Price:
From $6.00 / 1,000 results
Developer:
Echofield
Categories:
Videos, Social media

Bilibili Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.