PeumeAPI

Social publishing & inbox

Read live account or post insights from the platform

Reads insights the platform computes and does not store (page views, profile visits, watch time, audience demographics...), live from the platform, for one account or one of its posts (`platformPostId`).

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/read-live-account-or-post-insights-from-the-platform \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId"
  }
}'

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: read-live-account-or-post-insights-from-the-platform.

Parameters

accountIdRequiredstring

One account id.

metricsstring

Comma-separated metric names (up to 25). Defaults to the platform's default metrics. `GET /v1/metrics/catalog?entity=insights&platform=...` lists them.

platformPostIdstring

One post of the account, by its platform id: answers the post's live insights instead of the account's.

granularitystring

Defaults to total; groupBy=hour answers per day.

total · day

groupBystring

demographic: audience segments (age, gender, country...). hour: Instagram followers online per day and hour, last 30 days. keyword: Google Business search keywords per month. query, page, country, device:, combined with commas (groupBy=query,country).

breakdownstring

With groupBy=demographic: comma-separated segments. Defaults to the platform's default segments.

timeframestring

Instagram demographics only. Defaults to this_month.

this_week · this_month

cursorstring

With groupBy=keyword or a Search Console account: pagination.nextCursor of the previous page, sent with the same query.

limitinteger

Search Console accounts only: rows per page. Defaults to 1,000.

includestring

With platformPostId on YouTube: retentionCurve adds the audience retention curve.

fromDatestring

First day, inclusive (YYYY-MM-DD, UTC). Defaults to 30 days before toDate. The window is at most 541 days.

toDatestring

Last day, inclusive (YYYY-MM-DD, UTC). Defaults to today.

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.