Skip to content
//Bilibili Scraper example\\

Newest comments on a video, 10 comments

Comments on one video sorted by time.

Updated November 24, 2026

What this example returns

This example returns up to 10 comments.

The dataset’s “Comments” view shows 8 columns: authorName, text, likeCount, replyCount, createdAt, authorLevel, videoBvid, and isThreadReply. 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

Video comments

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

Default: Search videos → this example uses Video comments

Video URLs or BV ids videoUrls

https://www.bilibili.com/video/BV1iqpt6cEMU

Video page URLs or BV ids. Used for video details and video comments. Example: https://www.bilibili.com/video/BV1iqpt6cEMU

Maximum results maxResults

10

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…

Comments per video maxComments

10

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 10

Comment sort sortComments

Newest

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

Default: Hot → this example uses Newest

.json
{
  "mode": "video_comments",
  "videoUrls": [
    "https://www.bilibili.com/video/BV1iqpt6cEMU"
  ],
  "maxResults": 10,
  "maxComments": 10,
  "sortComments": "time"
}

What it costs

From about $0.06 for 10 comments

An estimate at the lowest plan price: 10 × $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 comments costs less. Platform usage is included in the event price.

Full pricing

When to use this example

From the Bilibili Scraper readme:

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.