---
title: "Get analytics"
method: GET
path: "/v1/analytics"
tags: ["Analytics"]
---

# Get analytics

`GET /v1/analytics`

Get a paginated result for analytics based on the applied filters

## Query parameters

- `offset` number
- `limit` number
- `platform` string
- `post_result_id` string[]
- `timeframe` string

## Response `200`

Paginated data set for analytics.

- object
  - `data` AnalyticsDto[], required
    - `id` string, required — The unique identifier of the analytics record
    - `post_result_id` string, required — The ID of the associated post result
    - `platform` string, required — Platform name (e.g. tiktok)
    - `platform_post_id` object, required — Platform-specific post ID
    - `view_count` number, required — Total view count
    - `like_count` number, required — Total like count
    - `comment_count` number, required — Total comment count
    - `share_count` number, required — Total share count
    - `cover_image_url` object, required — Cover image URL from the platform
    - `share_url` object, required — Share URL on the platform
    - `video_description` object, required — Video description on the platform
    - `duration` object, required — Video duration in seconds
    - `platform_created_at` object, required — When the content was created on the platform
    - `last_synced_at` string, required — When analytics were last synced
    - `match_confidence` object, required — Confidence of the match (exact or high)
  - `meta` object, required
    - `total` number, required — Total number of items available.
    - `offset` number, required — Number of items skipped.
    - `limit` number, required — Maximum number of items returned.
    - `next` string, nullable, required — URL to the next page of results, or null if none.

## Other responses

- `500` — Internal server error when fetching analytics.

---

[API](https://skmtc.dev/post-bridge/apis/post-bridge-api.md) · [All operations](https://skmtc.dev/post-bridge/apis/post-bridge-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/post-bridge/post-bridge-api/revisions/97ae826701f6/schema)
