PeumeAPI

Social media data · TikTok

Search Douyin music

Douyin: fetch music search (search)

$0.015 per callBackup source if the first one failsUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/tiktok-search-douyin-music \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "keyword": "your keyword",
    "cursor": 10
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: tiktok-search-douyin-music.

Parameters

keywordstring

Keyword

cursorinteger

Offset cursor for pagination, obtained from the last response

sort_typestring

Sort type: 0=Comprehensive, 1=Most Likes, 2=Latest

publish_timestring

Publish time filter: 0=Unlimited, 1=Last day, 7=Last week, 180=Last half year

filter_durationstring

Video duration filter: 0=Unlimited, 0-1=Within 1 minute, 1-5=1 to 5 minutes, 5-10000=More than 5 minutes

content_typestring

Content type: 0=All, 1=Video, 2=Picture, 3=Article

search_idstring

Search ID for pagination, obtained from the last response

backtracestring

Backtrace for pagination, obtained from the last response

Start free · $1 of calls included

Every API your business needs. One key.

7,267 data and AI APIs behind one key, with backup sources built in.