PeumeAPI

Social media data · TikTok

TikTok user videos by username or id

Fetches videos posted by a TikTok user, sortable by latest or most popular — use this to get a creator's video feed or TikToks.

$0.0028 per callUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/tiktok-user-videos-by-username-or-id \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "handle": "stoolpresidente",
    "user_id": "6659752019493208069",
    "sort_by": "latest",
    "max_cursor": "1734562353000",
    "region": "GB",
    "trim": "false"
  }
}'

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-user-videos-by-username-or-id.

Parameters

handleRequiredstring

TikTok handle

Example: stoolpresidente

user_idstring

TikTok user id. Use this for faster responses.

Example: 6659752019493208069

sort_bystring

What to sort by

Example: latest

max_cursorstring

Cursor to get more videos. Get 'max_cursor' from previous response.

Example: 1734562353000

regionstring

Region (country) for the proxy. Defaults to GB. If a profile should have videos but returns none, try US or another relevant two-letter country code.

Example: GB

trimboolean

Set to true for a trimmed down version of the response

Example: false

Other ways to do it

Same job, other sources.

Start free · $1 of calls included

Every API your business needs. One key.

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