WellbyteWellbyte

POST /v1/douyin/search/fetch_music_search

Fetch music search

stable · 13 credits per success

Fetch music content search results from Douyin App.;Supports filtering by keyword, sort type, etc.;Notes;This API focuses on music content search, excluding other types.;Set `cursor` to 0 and `search_id` to an empty string for the first request.;Response includes music basic info, artist info, covers, play URLs, tags, etc.;keyword: Search keyword, e.g., "game background music";cursor: Pagination …

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

Request

curl -s -X POST 'https://api.wellbyte.net/v1/douyin/search/fetch_music_search' \
  -H "Authorization: Bearer dg_live_…" \
  -H "Content-Type: application/json" \
  -d '{"cursor":null,"keyword":"咖啡","backtrace":"demo","search_id":"demo","sort_type":"demo","content_type":"demo","publish_time":"demo","filter_duration":"demo"}'

Response

Sample captured 2026-08-27

data{
code:0
data{
qc:""
extra{ 5 items }
music[ 2 items ]
cursor:10
log_pb{ 2 items }
ad_info{ 0 items }
has_more:1
render_type:0
status_code:0
search_channel:"aweme_music"
music_info_list[ 2 items ]
global_doodle_config{ 1 item }
music_header_info_list[ 0 items ]
}
meta{
endpoint:"douyin.search.fetch_music_search"
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
    cursorintegerbodyno偏移游标,用于翻页,从上一次请求返回的响应中获取demo
    keywordstringbodyno关键词咖啡
    backtracestringbodyno翻页回溯标识,用于翻页,从上一次请求返回的响应中获取demo
    search_idstringbodyno搜索ID,用于翻页,从上一次请求返回的响应中获取demo
    sort_typestringbodyno排序方式:0=综合排序 1=最多点赞 2=最新发布demo
    content_typestringbodyno内容类型:0=不限 1=视频 2=图片 3=文章demo
    publish_timestringbodyno发布时间筛选:0=不限 1=最近一天 7=最近一周 180=最近半年demo
    filter_durationstringbodyno视频时长过滤:0=不限 0-1=一分钟以内 1-5=一到五分钟 5-10000=五分钟以上demo

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

    Search

    Search endpoints and docs