PowerPost APIv1
PowerPost APIv1
DashboardAPI keysPowerPost API
QuickstartAuthenticationWorkspacesErrors & Rate Limits
Input TypesPost TypesCreditsResearch Modes
Generate CaptionsGenerate ImagesPublish and ScheduleWebhooksMCP Server

Content

Generate ContentGenerations

Media

Upload MediaGenerate ImagesGenerate VideosVideo Captions

Publishing & planning

PostsPublish & SchedulePost ItemsAnalyticsCalendar

Account

Get Credits
Changelog
API reference

Analytics

Fetch performance metrics for published post items.

Get Post Item Analytics

GET /api/v1/post-items/{id}/analytics

Fetch the latest performance snapshot for a single post item. Use the item_id returned by POST /api/v1/posts or GET /api/v1/posts/{id}.

Metrics are polled once a day for up to 90 days after the item is posted. After that, fetched_at stops advancing. There's no on-demand refresh, so check fetched_at to see how old the numbers are.


Path Parameters

ParameterTypeDescription
idstringThe post item ID

Response

FieldTypeDescription
post_item_idstringThe item ID you queried
post_typestringe.g. instagram-reel, tiktok-video
platformstringPlatform derived from post_type
statusstringItem status (draft, posting, posted, failed)
metricsobject | nullSee below. null when the item hasn't been posted or polled

Metrics Object

FieldTypeDescription
viewsnumberViews or impressions reported by platform
likesnumberLikes or reactions
commentsnumberComments count
fetched_atstringISO timestamp of the snapshot

Not all platforms report all three fields. Missing values are returned as 0.

Example

curl https://powerpost.ai/api/v1/post-items/550e8400-e29b-41d4-a716-446655440000/analytics \
  -H "x-api-key: pp_live_sk_YOUR_KEY" \
  -H "X-Workspace-Id: YOUR_WORKSPACE_ID"

Sample Response

{
  "post_item_id": "550e8400-e29b-41d4-a716-446655440000",
  "post_type": "instagram-reel",
  "platform": "instagram",
  "status": "posted",
  "metrics": {
    "views": 12450,
    "likes": 890,
    "comments": 42,
    "fetched_at": "2026-04-15T09:00:00Z"
  }
}

Errors

CodeDescription
401Invalid API key
403API key is missing the analytics:read scope
404Post item not found or belongs to a different workspace
429Rate limit exceeded

Post Items

List published post items and retry failed ones.

Calendar

Manage content calendar entries for planning and scheduling posts.

On this page

Get Post Item AnalyticsPath ParametersResponseMetrics ObjectExampleSample ResponseErrors