PeumeAPI

Social publishing & inbox

Get an analytics dashboard

Everything an analytics dashboard needs in one call: window totals, follower growth, a per-day series, top posts, recent posts and, optionally, the same figures for the previous period.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/get-an-analytics-dashboard \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "platform": "all",
    "fromDate": "2026-09-01",
    "toDate": "2026-09-30",
    "topPosts": 5,
    "recentPosts": 10
  }
}'

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-an-analytics-dashboard.

Parameters

platformstring

Platform to cover (e.g. "instagram"), or "all".

Example: all

fromDateRequiredstring

First day of the window (YYYY-MM-DD, inclusive).

Example: 2026-09-01

toDateRequiredstring

Last day of the window (YYYY-MM-DD, inclusive). May equal fromDate. The window covers at most 366 days.

Example: 2026-09-30

comparestring

Set to "previous_period" to also return previousTotals and previousFollowers for the window of the same length that ends the day before fromDate.

previous_period

topPostsinteger

How many top posts to return, ranked by engagement (likes, comments, shares and saves, the same sum as daily engagement).

Example: 5

recentPostsinteger

How many of the most recently published posts to return.

Example: 10

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.