---
title: "Get analytics by ID"
method: GET
path: "/v1/analytics/{id}"
tags: ["Analytics"]
---

# Get analytics by ID

`GET /v1/analytics/{id}`

Returns the lifetime analytics record for one post result: views, likes, comments and shares as last synced, with the timestamp of that sync.

## Path parameters

- `id` string, required

## Response `200`

Analytics record retrieved successfully.

- AnalyticsDto
  - `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)

## Other responses

- `404` — Analytics record not found.

---

[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)
