Instagram Analytics API
Bring Instagram content, account, follower, and audience performance data into your product, reporting workflow, automation, or AI system through one API.
- Retrieve performance data for Instagram content
- Pull account-wide reach, views, interactions, and profile activity
- Access current follower count and audience demographics
- Instagram OAuth and account connection handled through PostPeer
{ "platforms": ["twitter", "linkedin"], "content": "Hello world!" }
"I was up and running on six different platforms in under 30 minutes. Strongly recommend!"
David Flor, Founder at Darklight Interactive
"Couldn't figure out the official Pinterest API. PostPeer was smooth. Using it daily."
Divanshu Khatter, Marketing Manager at Sembark
"Great integration experience. Jonathan ships fixes within hours. Mad respect for the speed."
Het Tikawala, Founder at Kalizzle AI Studio
Add Social Media to Your Product in Three Steps
Connect once, then publish, schedule, and read data through the same API.
01
Get Your API Key
Sign up and get your API key instantly. No sales calls or complicated setup.
02
Integrate in Minutes
Connect once to PostPeer to publish, schedule, analyze, manage comments, and handle messages.
03
Support Every Major Platform
Give your users access to major social platforms without building and maintaining each integration yourself.
New to PostPeer? Read the getting started guide
Explore Requests and Responses by Format
Use the same endpoint and change only the fields required for each publishing format.
curl -X GET
"https://api.postpeer.dev/v1/analytics/?source=platform&platform=instagram&accountId=ig_456&limit=10&page=1" \
-H "x-access-key: your-api-key"{
"success": true,
"total": 1,
"page": 1,
"limit": 10,
"posts": [
{
"source": "platform",
"postId": null,
"content": "A look at our latest collection.",
"publishedAt": "2026-08-28T14:30:00Z",
"aggregated": {
"impressions": null,
"reach": 4800,
"likes": 312,
"comments": 24,
"shares": 12,
"saves": 41,
"clicks": null,
"views": 2100,
"engagementRate": null
},
"platforms": [
{
"platform": "instagram",
"platformPostId": "17890012345678",
"platformPostUrl": "https://www.instagram.com/p/ABC123/",
"metrics": {
"impressions": null,
"reach": 4800,
"likes": 312,
"comments": 24,
"shares": 12,
"saves": 41,
"clicks": null,
"views": 2100,
"engagementRate": null
}
}
]
}
]
}GET https://api.postpeer.dev/v1/analytics/
Everything You Need to Understand Instagram Performance
Bring Instagram content performance, account insights, follower data, and audience information into dashboards, SaaS products, reporting tools, and automated workflows.
Analyze Instagram Content
Retrieve performance data for Instagram content through the unified analytics endpoint, including individual content lookups and lists of published media.
Pull Media From Connected Accounts
Use source=platform with the connected Instagram accountId to retrieve content directly from that account, including supported media that was not published through PostPeer.
Measure Account-Wide Performance
Retrieve account-level metrics including reach, views, accounts engaged, total interactions, likes, comments, saves, shares, profile views, and other supported Instagram insights.
Understand Your Audience
Retrieve follower, engaged-audience, or reached-audience demographics by age, city, country, and gender for supported Instagram professional accounts.
Check Current Follower Count
Retrieve the connected Instagram professional account's current follower count whenever your product needs an up-to-date audience-size snapshot.
Control Your Reporting Period
Use fromDate and toDate for content analytics with a maximum 366-day range, while Instagram account insights use since and until with a maximum 90-day range.
Need More Than Analytics?
Add publishing, scheduling, comments, and messaging to the same connected Instagram workflow.
Instagram Posting
Publish feed posts, Reels, Stories, and carousels programmatically through PostPeer.
Explore Instagram PostingInstagram Scheduling
Schedule supported Instagram content for future publishing through PostPeer.
Explore Instagram SchedulingInstagram Comments
Read, reply to, and manage supported Instagram comment workflows through PostPeer.
Explore Instagram CommentsInstagram Messaging
Add supported Instagram messaging workflows to your product through the connected account.
Explore Instagram MessagingShip Instagram Analytics in Any Stack
Whether your product is a Node app, a no-code workflow, or an AI agent, the same PostPeer API can power the publishing workflow.
Dev Stack
Typed SDKs and predictable REST APIs let you integrate PostPeer into the stack your application already uses.
- Node.js SDK
- Python SDK
- REST + cURL
- TypeScript-first types
AI Agents & MCP
Give Claude, Cursor, Codex, or your own AI agent the ability to publish, schedule, and interact with social workflows through PostPeer.
Connect via MCPBeyond Instagram: Every Supported Platform
Start with Instagram, then reach every other network through the same API.
Twitter/X API
Pull Twitter/X performance metrics.
YouTube API
Pull YouTube performance metrics.
Pinterest API
Pull Pinterest performance metrics.
LinkedIn API
Pull LinkedIn performance metrics.
TikTok API
Pull TikTok performance metrics.
Facebook API
Pull Facebook performance metrics.
Instagram API
Pull Instagram performance metrics.
Add More Social Capabilities
Use the same connected accounts to schedule, analyze, manage comments, and handle conversations.
Frequently Asked Questions
Power Your Next Project With a Unified Social Media API
Give your users posting, scheduling, analytics, and engagement features through one API your team can maintain.
Start with 20 free credits. No credit card required.