PeumeAPI

Social media data · TikTok

Search Douyin across all content

Douyin: fetch general search v1 (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-across-all-content \
  -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-across-all-content.

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

Other ways to do it

Same job, other sources, cheapest first.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.