---
title: "Per-post analytics"
method: GET
path: "/v1/analytics/posts"
tags: ["Analytics"]
---

# Per-post analytics

`GET /v1/analytics/posts`

## Request

- Base URL: `https://api.taplio.com`
- URL: `https://api.taplio.com/v1/analytics/posts`
- Auth: HTTP bearer

Paginated list of the account’s posts with their engagement metrics over the requested window. `from`/`to` are `YYYY-MM-DD` (UTC).

## Query parameters

- `from` string
- `to` string
- `limit` integer
- `cursor` string

## Response `200`

Paginated list of posts with metrics.

- AnalyticsPostsResponse
  - `data` AnalyticsPost[], required
    - `comments` integer, required
    - `content` string, required
    - `created_at` string, nullable, required
    - `id` string, required
    - `impressions` integer, required
    - `likes` integer, required
    - `media_type` 'text' | 'image' | 'video' | 'document' | 'article': Format of the post. Absent when the format cannot be determined.
    - `raw_media_urls` string[], required
    - `shares` integer, required
    - `tags` string[], required
  - `meta` ListMeta, required
    - `api_version` 'v1', required
    - `request_id` string, required
    - `has_more` boolean, required
    - `next_cursor` string

## Other responses

- `400`: Validation failed.
- `401`: Missing or invalid API key.
- `402`: Subscription payment failed.
- `403`: Subscription does not allow this request.
- `404`: Resource not found.
- `409`: Resource state precludes this request.
- `422`: Request semantically rejected.
- `429`: Rate limit exceeded.
- `500`: Internal server error.
- `503`: Upstream unavailable.

---

[API](https://skmtc.dev/taplio/apis/taplio-rest-api.md) · [All operations](https://skmtc.dev/taplio/apis/taplio-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/taplio/apis/taplio-rest-api/revisions/961302019f3f?raw)
