Bilibili video search

Bilibili Search API for Chinese-language video

Search Bilibili over HTTP and receive the uploader and the video runtime alongside each result, reaching a body of Chinese-language tutorials and reviews that the global video platforms do not index.

Endpoint
POST https://api.search1api.com/search
What a Bilibili result contains

Results arrive in the same JSON shape as every other engine, so existing parsing continues to work.

1
Video title and link

The link points at the video page on bilibili.com.

2
Uploader and runtime

The snippet begins with the uploader name and the duration.

3
Video description

The rest of the snippet is the video description.

Useful for

Chinese tutorials / Product reviews / Trend tracking

The long-form Chinese video layer

Set `search_service` to `bilibili` and the results come from Bilibili videos. The endpoint, the authentication, and the response shape are the same as every other engine.

Uploader and runtime in the snippet

The `snippet` field follows the pattern `uploader | duration | description`, so both are parseable without a second call.

Course-length content is common

Bilibili carries multi-hour tutorial series, and the duration field reflects that, so a full course can be told apart from a clip before anything is fetched.

Coverage no global platform has

A large share of Chinese-language technical teaching, product review, and commentary lives here rather than on the international video platforms.

Standard Search parameters

`max_results` up to 50, plus `include_sites`, `exclude_sites`, and `time_range`.

What is a Bilibili search API?

A Bilibili search API is an HTTP interface that returns Bilibili videos as structured results. Bilibili does not publish a general-purpose public search API for third-party applications, so most integrations rely on scraping the site directly and maintaining that scraper as the page changes. Search1API exposes Bilibili as one of the search services on its Search endpoint, returning the video title, the video link, and a snippet carrying the uploader, the runtime, and the description, in the same JSON shape it returns for its other engines. For anything covering the Chinese-language web, this fills a gap: a large body of technical teaching and product commentary is published as video here and nowhere else.

Implementation path

Typical workflow

Search Bilibili over HTTP and receive the uploader and the video runtime alongside each result, reaching a body of Chinese-language tutorials and reviews that the global video platforms do not index.

1

Send a query with `search_service` set to `bilibili`.

2

Split `snippet` on the pipe to separate uploader, runtime, and description.

3

Set `crawl_results` when the workflow needs the video page rather than the listing.

One request, videos with uploader and runtime

A single call searches Bilibili and returns the uploader and duration with each result, which is usually enough to rank candidates without opening any of them.

bash
curl -X POST https://api.search1api.com/search \
-H "Authorization: Bearer $SEARCH1API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "python 教程",
"search_service": "bilibili",
"max_results": 5
}'

Best for

Assistants answering Chinese-language questions where the best explanation is a video.

Product research that needs Chinese-market reviews and hands-on coverage.

Trend tracking across Chinese technical and consumer topics.

Content research on how a subject is taught to a Chinese-speaking audience.

FAQ

Is there an official Bilibili search API?

Bilibili does not publish a general-purpose public search API for third-party applications. Integrations usually scrape the site and carry the maintenance that implies. Search1API covers the case by offering Bilibili as one of the engines on its Search endpoint.

How do I search Bilibili videos?

Send a POST request to https://api.search1api.com/search with `search_service` set to `bilibili` and your query in `query`. The response contains titles, links, and snippets in the same JSON shape as any other engine.

Is the video duration included?

Yes, as the second field of the snippet. Long courses report a large total rather than an hour-minute-second breakdown, so treat the field as a duration string rather than assuming a fixed format.

What does a Bilibili search cost?

One credit per search, and one additional credit for each page retrieved successfully through `crawl_results`. At the base top-up rate of $1 for 1,000 credits, that is $1 per 1,000 searches. Signup includes 100 free credits with no credit card.

Can I search in English?

The index is Chinese-language, so Chinese queries return substantially better results. English queries work for terms that are used untranslated, such as library and product names.

Which other Chinese sources are supported?

The same Search endpoint accepts `wechat` for Official Account articles, plus `baidu`, `360`, and `quark` for the Chinese web, alongside global engines, for 17 engines in total on one contract.