PeumeAPI

Social media data · TikTok

Douyin best-quality play URL by video id or link

Get the highest quality play URL of the video

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

Call it

curl https://api.peume.com/v1/call/tiktok-douyin-best-quality-play-url-by-video-id \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "aweme_id": "7512756548356492544",
    "share_url": "https://www.douyin.com/video/7512756548356492544",
    "region": "CN"
  }
}'

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-douyin-best-quality-play-url-by-video-id.

Parameters

aweme_idstring

Video id

Example: 7512756548356492544

share_urlstring

Optional, share link

Example: https://www.douyin.com/video/7512756548356492544

regionstring

Optional, ISO country code (e.g. CN/US/HK). Pass CN to get China-region CDN URLs for faster download in mainland China.

Example: CN

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.