Analytics
Metrics refreshed hourly by the analytics sync crons, and client reports built from them.
GET
/analyticsanalytics:readQuery: period = 7d | 30d (default) | 90d | all; platform (filter); limit (default 200, max 500).
responsejson
{
"period": "30d",
"summary": {
"totals": { "views": 12000, "likes": 800, "comments": 45, "shares": 30 },
"byPlatform": { "instagram": { "views": 9000, "likes": 600 } }
},
"posts": [
{
"postId": "…", "caption": "…", "publishedAt": "2026-07-01T…",
"platform": "instagram",
"views": 9000, "likes": 600, "comments": 40, "shares": 20,
"reach": 8000, "saves": 15, "impressions": 9500, "reposts": null,
"totalInteractions": 675, "fetchedAt": "2026-07-13T08:00:00Z", "error": null
}
]
}GET
/reportsreports:readSaved client reports in the workspace, newest first, with the page where the presentation and PDF are.
responsejson
{
"reports": [
{ "id": "…", "title": "October", "from": "2026-10-01", "to": "2026-10-31", "timezone": "Europe/Madrid",
"style": "classic", "createdAt": "2026-11-02T10:00:00Z", "url": "https://posteahora.com/reports/…" }
]
}GET
/reports/:idreports:readOne saved report: its highlights, and with ?detail=full the whole frozen snapshot. Viewers and up; Members get 403.
responsejson
{
"id": "…", "title": "October", "url": "https://posteahora.com/reports/…", "style": "classic",
"highlights": {
"posts": 52, "views": 153000, "interactions": 11500, "viewsPerPost": 3644,
"codewordRequests": 34, "youtubeSubscribersGained": 71,
"linkInBio": { "views": 900, "clicks": 120, "store_taps": 41 },
"comparedWith": { "from": "2026-09-01", "to": "2026-09-30", "changePercent": { "views": 137, "posts": 58 } },
"topNetwork": { "platform": "tiktok", "shareOfViews": 0.66 },
"bestPost": { "caption": "…", "platform": "tiktok", "views": 15800, "liftVsUsual": 3.6 },
"postsThatDroveActions": [{ "caption": "…", "platform": "instagram", "codewords": 12 }],
"strongestTopic": { "topic": "Sleep", "posts": 10, "lift": 2.1 },
"bestTime": { "dow": 3, "fromHour": 20, "toHour": 24, "liftVsUsual": 2.1 }
}
}POST
/reportsreports:writeBuild a report for up to a year and save it (Manager and up). With "save": false it only returns the highlights and needs reports:read.
request bodyjson
{
"from": "2026-10-01", "to": "2026-10-31",
"compare": "previous", // "previous" (default) | "none" | { "from", "to" }
"timezone": "Europe/Madrid", // optional; defaults to the user's
"title": "October", // optional
"style": "classic", // "classic" | "poster"
"summary": "Best month so far", // optional, replaces the automatic headline
"nextSteps": "More video
Post on Thursdays", // optional, one per line
"save": true
}responsejson
{ "saved": true, "id": "…", "url": "https://posteahora.com/reports/…", "highlights": { … } }