Get an analytics dashboard
Changed onEverything an analytics dashboard needs in one call: window totals, follower growth, a per-day series, top posts, recent posts and, optionally, the same figures for the previous period.
All dates are UTC days.
Daily and total metrics
Daily and total metrics use received attribution: each day holds the engagement that arrived that day, on any post. So totals is always the sum of daily.
Post lists
topPosts and recentPosts list posts published in the window with their lifetime metrics. A post cross-posted to several platforms appears once per platform.
Request
- Base URLhttps://zernio.com/api
- AuthHTTP bearer
Query parameters
Profile ID, or "all" for every profile you can access.
Platform to cover (e.g. "instagram"), or "all".
First day of the window (YYYY-MM-DD, inclusive).
Last day of the window (YYYY-MM-DD, inclusive). May equal fromDate. The window covers at most 366 days.
Set to "previous_period" to also return previousTotals and previousFollowers for the window of the same length that ends the day before fromDate.
How many top posts to return, ranked by engagement (likes, comments, shares and saves, the same sum as daily engagement).
How many of the most recently published posts to return.
Response
Dashboard for the window
Changes
- warning
added the new
account-insightsenum value to the/response property for the response status - warning
added the new
account_routeenum value to the/response property for the response status
- warning
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info