Skip to main content
POST /v1/data/bilibili/posts/run Pricing: $0.01 per post ($10.50 per 1,000).

Ways to call it

  • By keyword: set queries (optional: sortBy, maxResults)
  • By video URL: set urls (optional: maxResults)

Request

Send the inputs under params. Only the keys below are accepted; any other key returns 422 invalid_params.
string[]
One or more search keywords. One request reads them all.
string[]
One or more video urls. One request reads them all.Format e.g. https://www.example.com.
string
default:"relevance"
Sort By to use. Most relevant by default.Allowed values: relevance (Most relevant), views (Most views), newest (Newest first), danmaku (Most danmaku), favorites (Most favorites).
integer
default:"100"
How many posts to return in total. Defaults to 100; use 0 for all.

Example

Response fields

Each row in data is one post, keyed by these fields.

Example response

Abridged: long text and lists are shortened.