---
title: "Get post analytics"
method: GET
path: "/analytics/{analytics}"
tags: ["Analytics"]
---

# Get post analytics

`GET /analytics/{analytics}`

## Request

- Base URL: `https://api.post-quest.com/v1`
- URL: `https://api.post-quest.com/v1/analytics/{analytics}`
- Auth: HTTP bearer

Requires `posts:read`. One post's lifetime metrics as last synced.

## Path parameters

- `analytics` string, uuid, required

## Response `200`

Post analytics.

- object
  - `data` PostAnalytics, required
    - `id` string, uuid, required
    - `social_account_id` string, uuid, required
    - `post_id` string, uuid, nullable, required: The PostQuest post, when it was published through PostQuest.
    - `platform` 'instagram' | 'facebook' | 'x' | 'youtube' | 'tiktok' | 'pinterest' | 'linkedin' | 'threads' | 'bluesky' | 'mastodon', required
    - `platform_post_id` string, required
    - `platform_url` string, uri, nullable, required
    - `caption` string, nullable, required
    - `thumbnail_url` string, uri, nullable, required
    - `content_format` 'video' | 'text' | 'image' | 'carousel' | 'reel' | 'story', required
    - `posted_at` string, date-time, nullable, required
    - `metrics` AnalyticsMetrics, required: Zero can mean the platform does not report that metric. `engagements` is likes, comments, shares and saves combined.
      - `impressions` integer, required
      - `reach` integer, required
      - `views` integer, required
      - `likes` integer, required
      - `comments` integer, required
      - `shares` integer, required
      - `saves` integer, required
      - `follows` integer, required
      - `engagements` integer, required
    - `last_synced_at` string, date-time, nullable, required

## Other responses

- `400`: Malformed request, invalid idempotency key, or credential in the query string.
- `401`: Missing, invalid, expired, revoked, or unbound API key.
- `402`: The workspace does not have effective paid REST access.
- `403`: The key lacks an ability, onboarding is incomplete, or publish-now is disabled.
- `404`: The resource does not exist or belongs to another workspace.
- `429`: The per-key global or media-specific request limit was exceeded.
- `500`: Unexpected server failure. Internal details are never exposed.

---

[API](https://skmtc.dev/post-quest/apis/postquest-public-api.md) · [All operations](https://skmtc.dev/post-quest/apis/postquest-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/post-quest/apis/postquest-public-api/revisions/089d3c362f35?raw)
