Pages in API reference
Analytics
Metrics of Facebook Pages, Instagram, Threads, TikTok, Bluesky, YouTube and Pinterest accounts (LinkedIn is coming soon and has none), X accounts that opted in, and Telegram followers, the same numbers the dashboard shows. Every platform fills the same fields (views, reach, likes, comments, shares, saves, quotes, followers); a metric a platform does not report is null. These operations need the analytics:read scope.
Ampost reads analytics in the background and serves the stored numbers: each account about hourly (daily on the Free plan), a post's metrics hourly in its first 48 hours, every 6 hours up to 14 days and daily up to 90 days. Meta itself can lag 24-48 hours. LinkedIn has no list of a member's posts, so only posts published through Ampost get LinkedIn metrics, and YouTube and Pinterest metrics cover only posts published through Ampost. Bluesky has no views. X bills every read, so X analytics run only for accounts turned on with PATCH /api/accounts/{accountId}/analytics (Max and Scale), read only posts published through Ampost, daily for 3 days and weekly up to 29 days, and count against the plan's X units: three post reads or one follower read cost a unit. When the units run out the X sync pauses until they reset. Telegram reports only the member count, and Discord has no analytics: asking for it answers 422 ANALYTICS_NOT_AVAILABLE_ON_PLATFORM. syncedAt says when each number was read. When none of the matching accounts has analytics enabled the call answers 403 ANALYTICS_NOT_ENABLED, with the reason per account in details.accounts.