Skip to main content

GET /v1/bilibili/search/video_v2

Bilibili Video Search API (V2)

stable · 10 credits per success

Search Bilibili videos by keyword with page-based pagination, sorted by overall ranking, play count, publish time, danmaku count or favourites. Use it for content discovery, topic research or ranking-oriented search.

Sign up for 500 credits and run with your own API key. Sign up free

Request

curl
curl -s 'https://api.wellbyte.net/v1/bilibili/search/video_v2?page=1&order=general&keyword=%E5%92%96%E5%95%A1' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-09-23

data{
code:0
data{
ttl:1
code:0
data{ 15 items }
message:"OK"
}
meta{
endpoint:"bilibili.search.video_v2"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

No calls yet. Get one green run first, then switch to your own data.

    Request parameters

    NameTypeInRequiredDescriptionExample
    pagestringqueryno用于分页的页码。1
    orderstringqueryno搜索结果排序标准。 可用值: - `general`: 综合 - `click`: 最多播放 - `pubdate`: 最新发布 - `dm`: 最多弹幕 - `stow`: 最多收藏general
    keywordstringqueryyes搜索关键词。咖啡

    Response fields

    Field dictionary coming soon — the executable panel shows the live shape.

    Errors

    codeHTTPMeaningBilled
    40001400Invalid parametersno
    40102401Invalid or revoked API Keyno
    40201402Insufficient creditsno
    40402404Resource not foundno
    42201422Quality gate failedno
    42901429Rate limit exceededno
    50401504Upstream timeoutno
    50201502Upstream errorno

    Billing

    Success costs 10 credits. Any failure — including a 200 that fails the quality gate — costs 0.

    All Bilibili endpoints →

    Search

    Search endpoints and docs