PeumeAPI

Social publishing & inbox

Get daily aggregated metrics

Returns daily aggregated analytics metrics and a per-platform breakdown.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/get-daily-aggregated-metrics \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "source": "all",
    "attribution": "publish"
  }
}'

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-daily-aggregated-metrics.

Parameters

platformstring

Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.

accountIdstring

Filter by account ID

fromDatestring

Inclusive start date (ISO 8601). Defaults to 180 days ago.

toDatestring

Inclusive end date (ISO 8601). Defaults to now.

sourcestring

Filter by post origin. "late" for posts published via, "external" for posts imported from platforms.

all · late · external

Example: all

attributionstring

How each post's engagement is attributed to a day. - "publish" (default): sums each post's lifetime total on its publish date. - "received": buckets the per-day increase in engagement by the day it actually arrived (engagement-over-time), so engagement on older posts appears on the day it was gained rather than the post's publish date.

publish · received

Example: publish

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.