Social Analytics Overview
Cross-account analytics for your social posts. Totals, per-post metrics and follower counts
Published
Overview#
Returns analytics for every post across your connected social accounts. This is the same data behind the Analytics page in your dashboard. Each post carries its metrics (impressions, reach, likes, comments, shares, saves, clicks, views, engagement rate), and the response includes follower counts per account.
Covers posts published through Orshot and posts synced from your connected platforms, so there is data from day one.
https://api.orshot.com/v1/social/analyticsRequest#
await fetch(
"https://api.orshot.com/v1/social/analytics?from=2026-08-01&to=2026-08-13&sort=engagement",
{
method: "GET",
headers: {
Authorization: "Bearer <ORSHOT_API_KEY>",
},
},
);Query Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
platform | String | No | Only posts on this platform, e.g. linkedin |
account_id | Integer | No | Only posts from this connected account |
source | String | No | all (default), orshot (published through Orshot) or external (synced from platform) |
from | String | No | Start date, YYYY-MM-DD |
to | String | No | End date, YYYY-MM-DD |
sort | String | No | Sort order, e.g. engagement |
page | Integer | No | Page number |
refresh | String | No | Pass 1 to bypass the cache and pull fresh numbers from the platforms |
Responses are cached briefly and refreshed in the background, so repeated calls are fast. post_id is set when a post was published through Orshot, so use it with the per-post analytics endpoint. External posts use analytics_post_id there instead.
Error Responses#
Analytics not enabled (403)#
{
"error": "Analytics is not enabled for this account",
"code": "analytics_not_enabled"
}Rate limited (429)#
API analytics reads are limited to 10 requests per minute per workspace (responses are cached server-side, so polling faster buys nothing). The response includes a Retry-After header.
Ready to automate?
Start rendering images, PDFs and videos from your templates in under 2 minutes. Free plan, no credit card.
Get your API key- Image, PDF and video generation via API
- Visual editor with AI and smart layouts
- Zapier, Make, MCP and 50+ integrations
- White-label embed for your own app
- 30 free credits — no credit card required