Read every network’s metrics from one endpoint
FoPost collects performance data from each connected account and serves it back in one consistent shape. Pull a workspace overview, drill into a post, or track an account over time, and pipe it into whatever you report with.
curl "https://api.fopost.com/v1/analytics/overview?workspace_id=9b2f6c1e-...&days=30" \
-H "X-API-Key: $API_KEY"
{
"total_accounts": 6,
"total_followers": 42810,
"total_posts": 86,
"total_engagement": 9127,
"total_impressions": 184320,
"total_reach": 121904,
"engagement_rate": 0.0749,
"deltas": { "followers": 2.89, "posts": 12.5 },
"today_stats": { "posts": 3, "follower_change": 41, "engagement": 312 },
"platforms": [{ "platform": "linkedin", "accounts": 2, "followers": 18402 }]
}Normalized metrics
Impressions, engagement, and followers use the same field names on every network.
Three levels
Workspace overview, one post, or one account.
Read-only scope
A key with only the analytics scope can read numbers and nothing else.
One call for the monthly report
The overview endpoint sums a workspace over a date range. Totals for impressions, engagements, follower change, and posts published, so a weekly summary or a client report is one request and a template.
Read the analytics reference
Date ranges
Pass days for a trailing window of up to 365. Deltas compare it with the window before.
Filter by account
Narrow the overview to one account when a client asks about one channel.
Per workspace
Agency keys are per client workspace, so reports never bleed across.
Find out which post did the work
Every post you create through the API keeps its id, and that id reads back metrics from each network it landed on. Join it with your own campaign data, or rank the month’s posts and see what to repeat.
See per-post metricscurl "https://api.fopost.com/v1/posts/7d3e0a52-.../analytics" \
-H "X-API-Key: $API_KEY"
{
"post_id": "7d3e0a52-...",
"totals": { "impressions": 21050, "reach": 15230, "engagements": 1374, "likes": 501, "comments": 60, "shares": 71, "reposts": 0, "clicks": 721, "saves": 21, "video_views": 0, "follows": 12 },
"platforms": [
{ "platform": "linkedin", "username": "yourbrand", "external_post_id": "urn:li:share:7301...", "permalink": "https://linkedin.com/feed/update/...", "metrics": { "impressions": 12840, "likes": 311, "comments": 42, "shares": 27, "clicks": 508 } },
{ "platform": "twitter", "username": "yourbrand", "external_post_id": "1830...", "permalink": "https://x.com/...", "metrics": { "impressions": 8210, "likes": 190, "comments": 18, "shares": 44, "clicks": 213 } }
],
"last_fetched_at": "2026-09-02T09:00:00Z"
}Per account breakdown
One post, one row per network, so you see which channel carried it.
Clicks and permalinks
Link clicks and the live permalink ride along with the counts.
Group by label
List posts by label first, then read metrics for the set.
Track growth on each channel over time
The account endpoint returns a series of snapshots for follower count, reach, and profile views. Feed it into your own charts, alert on a drop, or show a client the line going up next to the posts that made it move.
Start buildingcurl "https://api.fopost.com/v1/accounts/4a71d80b-.../analytics?limit=7" \
-H "X-API-Key: $API_KEY"
{
"account_id": "4a71d80b-...",
"platform": "linkedin",
"username": "yourbrand",
"history": [
{ "followers": 41651, "following": 210, "total_posts": 412, "reach": 6034, "profile_views": 341, "fetched_at": "2026-08-02T06:00:00Z" },
{ "followers": 41606, "following": 210, "total_posts": 411, "reach": 5120, "profile_views": 288, "fetched_at": "2026-08-01T06:00:00Z" }
]
}Snapshot series
One point per collection run for followers, reach, and profile views.
Build your own alerts
Poll on a schedule and notify when a channel moves outside its normal range.
Own the history
Store the series in your warehouse and keep it as long as you want.
Analytics API questions, answered
Where do the numbers come from?
How fresh is the data?
Do all networks report the same metrics?
Can I get metrics for posts published outside the API?
Which scope do I need?
Is there a rate limit?
Build on the Analytics API today
Starting is free and the full API is included. Create a key and make your first call in minutes.
Get your API key