Analytics · Analytics

Get post analytics timeline

Fetches a post analytics timeline.

GEThttps://api.pozy.ai/v1/analytics/post-timeline
getPostTimeline

Guides: Analytics, Post analytics, Content decay

Request

Send your API key as Authorization: Bearer pz_live_.... Read-only keys can call it. Keys with the analytics resource group disabled get 403 resource_group_disabled. Authentication

Query parameters

NameTypeNotes
postIdrequiredstring
fromDatestring (date-time)
toDatestring (date-time)

Example

curl -X GET "https://api.pozy.ai/v1/analytics/post-timeline?postId=6108a2cc742cb4e991051e0c" \
  -H "Authorization: Bearer $POZY_API_KEY"

Response

200 on success

  • postIdstring
  • timelinearray of object
    20 child fields
    • datestring (date)
    • platformstring
    • platformPostIdstring
    • impressionsinteger
    • reachinteger
    • likesinteger
    • commentsinteger
    • sharesinteger
    • savesinteger
    • clicksinteger
    • viewsinteger
    • followsinteger

      Can be null.

    • completionRatenumber
    • profileViewsinteger
    • websiteClicksinteger
    • impressionSourcesmap of number
    • audienceTypesmap of number
    • audienceCountriesmap of number
    • replaysinteger
    • retentionCurvemap of number
200 response
{
  "postId": "6108a2cc742cb4e991051e0c",
  "timeline": [
    {
      "date": "2026-10-02T09:00:00.000Z",
      "platform": "instagram",
      "platformPostId": "637f799b3039e6602e83fa4f",
      "impressions": 1,
      "reach": 1,
      "likes": 1,
      "comments": 1,
      "shares": 1,
      "saves": 1,
      "clicks": 1,
      "views": 1,
      "follows": 1,
      "completionRate": 12.5,
      "profileViews": 1,
      "websiteClicks": 1,
      "impressionSources": {
        "key": 12.5
      },
      "audienceTypes": {
        "key": 12.5
      },
      "audienceCountries": {
        "key": 12.5
      },
      "replays": 1,
      "retentionCurve": {
        "key": 12.5
      }
    }
  ]
}

Errors

Errors use one shape: { error, type, code, param?, details? }. The ones you are most likely to see here:

400invalid_request_errorA parameter or body field is missing or invalid. param names it.
401authentication_errorThe API key is missing, revoked or expired.
403permission_errorThe key is scoped to other profiles or has this resource group disabled.
429rate_limit_errorToo many requests this minute. Wait for Retry-After seconds.

Every code is listed in Errors.

More in Analytics