PeumeAPI

Social publishing & inbox · TikTok

Get TikTok account-level insights

Returns account-level TikTok insights: the lifetime profile counters (live, with historical time series joined from daily snapshotter) and TikTok's own daily account figures (video views, likes, comments, shares, profile views).

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/get-tiktok-account-level-insights \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "metricType": "total_value"
  }
}'

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: get-tiktok-account-level-insights.

Parameters

accountIdRequiredstring

The SocialAccount ID for the TikTok account.

metricsstring

Comma-separated list. Defaults to "follower_count,likes_count,video_count,followers_gained,followers_lost". Live profile counters (requires user.info.stats, or user.insights on a TikTok Business connection): - follower_count (cumulative; time series joined from AccountStats) - following_count (cumulative; time series joined from AccountStats.metadata) - likes_count (cumulative; time series joined from AccountStats.metadata) - video_count (cumulative; time series joined from AccountStats.metadata) Daily account figures from TikTok (requires user.insights scope and an account

fromDatestring

Start date (YYYY-MM-DD). Defaults to 30 days ago.

toDatestring

End date (YYYY-MM-DD). Defaults to today.

sincestring

Alias of fromDate, kept for existing callers

untilstring

Alias of toDate, kept for existing callers

metricTypestring

"total_value" returns the latest value of a cumulative counter, and the sum over the range for a daily account metric. "time_series" returns daily values: joined from AccountStats snapshots for the counters, TikTok's own daily figures for the daily account metrics.

time_series · total_value

Example: total_value

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.