Skip to main content
GET
Get post analytics summary
Totals for posts published in the last days days (default 30, 7 to 90), counted per account a post went to, plus a per-platform breakdown, a daily series and one entry per published post. Metrics are polled from the platforms less often as a post ages: every 6 hours for its first 48 hours, then daily up to 7 days, every 3 days up to 30 days, and weekly up to 90 days. X posts are polled for 30 days. Call Refresh analytics for fresh figures.

Authorizations

Authorization
string
header
required

An Unsora API key (uns_…). A Clerk session token also works.

Query Parameters

days
integer
default:30

Window in days. Values outside 7–90 are clamped.

Required range: 7 <= x <= 90

Response

Analytics summary

success
boolean
required
data
object
required