PeumeAPI

Social media data · TikTok

TikTok Username to User ID

Turn a TikTok `username` (with or without @), a profile link or a `sec_uid` into the…

$0.00083 per call

Call it

curl https://api.peume.com/v1/call/tiktok-username-to-user-id \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "username": "your username"
  }
}'

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-username-to-user-id.

Parameters

usernameRequiredstring

A TikTok username such as `nasa` (a leading @ is removed), a profile link, or the account's `sec_uid`.

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.