Analytics
List Analytics Posts
Fetch paginated post-level analytics across tracked accounts
GET
Returns post analytics from the same summary-posts dataset used in the internal
analytics UI, including platform/account context, sortable metrics, and
partner-post correlation fields when the analytics post can be matched back to
an originating Genviral post.
Query Parameters
Date preset:
14d, 30d, 90d, 1y, all.Custom range start date (
YYYY-MM-DD). Must be paired with end.Custom range end date (
YYYY-MM-DD). Must be paired with start.Comma-separated platform filter (for example:
tiktok,instagram). You can
also use platform.Comma-separated analytics target IDs. You can also use
account_ids.Sort field:
published_at, views, likes, comments, shares. You can
also use sort_by.Sort direction:
asc or desc. You can also use sort_order.Page size, max
100.Offset for pagination. Maximum
10000.Response
Array of analytics post rows with metrics and account context.
Total matching rows for the selected filters.
Whether additional rows are available.
Notes
idis the analytics-row ID for this analytics dataset.analyticsIdis the explicit analytics-row ID.idis retained as a legacy alias for backward compatibility.platformPostIdis the platform-native post/video ID when available.genviralPostIdis the originating Genviral post ID when the analytics row can be correlated back to a created/scheduled post.externalIdis the originating Partner APIexternal_idwhen available.genviralPostIdandexternalIdarenullwhen a row cannot be correlated back to a Partner/Genviral-created post.- For BYO TikTok
MEDIA_UPLOAD, correlation is best-effort for recent unresolved drafts after the human publishes in TikTok. Older rows can remain uncorrelated until a future async reconciliation/backfill exists.
Error Responses
400- invalid query parameters (range,platforms,sortBy,sortOrder,limit,offset,start/end)401/403- authentication failed or key lacks workspace access500- unexpected analytics query error
error_code field.