PeumeAPI

Social media data · TikTok

Generate web_id

Generate web_id

$0.0015 per call

Call it

curl https://api.peume.com/v1/call/tiktok-generate-web-id \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "app_id": 1988,
    "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:145.0) Gecko/20100101 Firefox/145.0",
    "url": "https://www.tiktok.com/explore"
  }
}'

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-generate-web-id.

Parameters

refererstring
cookiestring
user_unique_idstring
app_idinteger

Example: 1988

user_agentstring

Example: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:145.0) Gecko/20100101 Firefox/145.0

urlstring

Example: https://www.tiktok.com/explore

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.