Skip to main content

GET /v1/xigua/app/v2/search_video

Search video

stable · 2 credits per success

Search video;keyword: Keyword;offset: Offset, pass 0 for the first request, pass the offset returned by the previous request for subsequent requests;order_type: Order type, empty for default sorting, the following are optional sorting methods.;- Newest: publish_time;- Hottest: play_count;min_duration: Minimum duration, default empty, in seconds.;max_duration: Maximum duration, default empty, in s…

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

Request

curl
curl -s 'https://api.wellbyte.net/v1/xigua/app/v2/search_video?offset=0&keyword=%E6%8A%96%E9%9F%B3&order_type=demo&max_duration=0&min_duration=0' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-09-23

data{
code:0
data{
count:10
offset:10
req_id:"20260826010234FF13AAF8B6D8E1B7E113"
results[ 2 items ]
err_code:0
has_more:true
raw_data{ 12 items }
extra_data{ 6 items }
fb_results[ 1 item ]
common_data{ 8 items }
custom_data{ 1 item }
feed_up_tag:""
list_length:2
feed_down_tag:""
filtered_data[ 0 items ]
is_empty_content:false
extra_data_element{ 3 items }
}
meta{
endpoint:"xigua.app.v2_search_video"
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
    offsetintegerqueryno偏移量0
    keywordstringqueryyes关键词抖音
    order_typestringqueryno排序方式demo
    max_durationintegerqueryno最大时长0
    min_durationintegerqueryno最小时长0

    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 2 credits. Any failure — including a 200 that fails the quality gate — costs 0.

    All Xigua endpoints →

    Search

    Search endpoints and docs