PeumeAPI

Social publishing & inbox

Read post metrics by id, day by day, as a list, or grouped

Reads the metrics synced for published posts, posts and posts published outside alike. Send exactly one scope: `postId`, `platformPostId`, `accountId` or `profileId`, or read the change feed with `changedSince`.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/read-post-metrics-by-id-day-by-day-as \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "granularity": "total",
    "limit": 50
  }
}'

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-post-metrics-by-id-day-by-day-as.

Parameters

postIdstring

Comma-separated post ids ( or external), up to 100.

platformPostIdstring

Comma-separated ids the platform gave the posts (a TikTok video id, a tweet id), up to 100.

accountIdstring

Comma-separated account ids, up to 25.

metricsstring

Comma-separated metric names from the catalog. Defaults to every metric.

groupBystring

Comma-separated groupings from the catalog, at most 2.

fromDatestring

First day, inclusive (YYYY-MM-DD, UTC).

toDatestring

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

platformstring

Only with profileId.

tiktok · instagram · facebook · youtube · linkedin · twitter · threads · pinterest · reddit · bluesky · googlebusiness · telegram …

granularitystring

day reads one post.

total · day

Example: total

originstring

Lists only. Defaults to all.

all · peume · external

sortstring

A sort from the catalog, such as published-desc or likes-desc.

includestring

Comma-separated includes from the catalog.

changedSincestring

now (no rows, the starting cursor) or the previous pagination.nextCursor: one row per post whose metrics changed since, oldest first, across every account the key reads. Narrow with profileId and platform. Changes are kept 7 days; cursors older than 6 days are refused.

limitinteger

Rows per page, 50 by default, 100 at most.

Example: 50

cursorstring

pagination.nextCursor of the previous page, sent with the same query.

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.