Analytics via API
Networks disagree on metric names and endpoints. PostLake maps them to one shape so "which post did best, and where?" is one comparison. The differentiator called out in the product docs.
Get started free →Free tier. No card · one API for every network · full MCP access
You need cross-network performance in a dashboard, report, or agent feedback loop.
Same setup the docs quickstart uses. Do this once:
my-brand) and connect at least one account. Bluesky is the fastest first channel: no app review. Instagram/TikTok/Facebook need each platform's review before API posting.sk_live_…). It shows once; treat it like a password.Same auth as publishing. Reading analytics does not spend credits:
# Across connected accounts curl "https://api.postlake.dev/v1/analytics?period=30d" \ -H "Authorization: Bearer YOUR_API_KEY" # One post. Every network it hit curl https://api.postlake.dev/v1/posts/post_a1b2c3/analytics \ -H "Authorization: Bearer YOUR_API_KEY"
Tool-specific glue on top of the shared setup above:
GET /v1/analytics?period=30d (7d / 30d / 90d) for the roll-up.GET /v1/posts/{id}/analytics for one publish across its targets.Roll-up and per-post analytics use the same metric names on every network, that is the point. Compare platforms without a translation layer.
0 or omits it. Your code can stay uniform either way.GET /v1/posts/{id}/analytics for one publish across every network it hit.7d, 30d, 90d on the roll-up. Pick what your loop needs.0 or omitted. Don't treat omission as an API error.Building a feedback loop? Pair this with the AI social agent guide or MCP analytics tools.
Yes. GET /v1/analytics returns performance across connected accounts with the same metric names per network. Full field reference: docs → Analytics.
Impressions, reach, likes, comments, shares, saves, clicks, followers, under identical names. Networks that lack a metric return 0 or omit it.
Yes. GET /v1/posts/{id}/analytics returns that post across every network it published to.
No. Credits are for publishing. Reads are free.
Canonical metric schema and examples:
All guides · Full docs · llms.txt · Markdown
Stuck? The docs are the source of truth, start at Analytics.
Open the dashboard →