Batch windowed account-video metrics
Windowed engagement totals for a batch of entities.
For each requested id, returns the SUM of views, plays, likes,
comments, shares, and the derived engagement (likes+comments+shares)
over the resolved [start_date, end_date] window. Read-only. Ids your
organization does not track are omitted from data and listed under
meta.not_found. Response shape:
{ "data": { "<id>": { "views": 1234, "plays": 1200, "likes": 56,
"comments": 7, "shares": 8, "engagement": 71 } },
"meta": { "period": "30d", "start_date": "...", "end_date": "...",
"days": 30, "not_found": ["<unknown_id>"] } }
Note: TikTok has no separate plays count, so a TikTok entity’s plays
equals its views. There is no impressions metric — the platform tracks
views and plays only.
For account-discovered posts, keyed by internal post/video id.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Internal instagram_post ids.
Internal tiktok_video ids.
Preset window (7d/30d/90d) or 'custom' with start_date/end_date.
7d, 30d, 90d, custom Inclusive UTC start; required when period=custom.
Inclusive UTC end; required when period=custom.