Skip to main content
Instagram API

Instagram Analytics API

Track Instagram post engagement programmatically. Pull likes and comments for every piece of media on every Business account you manage — without touching the Graph API yourself.

  • Likes and comments per media item
  • List recent media for any connected Business account
  • Look up metrics for a single media item by ID
  • No Meta developer app or App Review on your side
No credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin", "instagram], "content": "Hello world!" }
Published
5 platforms
TwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XIGFBLITT
One API, every platform
DF

"I was up and running on six different platforms in under 30 minutes. Strongly recommend!"

David Flor, Founder at Darklight Interactive

Divanshu KhatterMarketing Manager at Sembark

"Couldn't figure out the official Pinterest API. PostPeer was smooth. Using it daily."

Divanshu Khatter, Marketing Manager at Sembark

Het TikawalaFounder at Kalizzle AI Studio

"Great integration experience. Jonathan ships fixes within hours. Mad respect for the speed."

Het Tikawala, Founder at Kalizzle AI Studio

How It Works

Add social media to your product in three steps.

01

Get Your API Key

Sign up and get your API key instantly — no sales calls, no complex onboarding.

02

Integrate in Minutes

A single endpoint to post, schedule, and manage content. Drop it into your product and go.

03

Your Users Post Everywhere

Your product now supports every major social platform — without you maintaining a single integration.

API Response Format

Clean, structured JSON that's easy to parse and integrate

Request

POST
curl "https://api.postpeer.dev/v1/analytics?platform=instagram&accountId=acc_ig_biz_789&sortBy=likes&order=desc&limit=10" \
  -H "x-access-key: your-api-key"

Response

JSON
{
  "success": true,
  "total": 1,
  "page": 1,
  "limit": 10,
  "posts": [
    {
      "source": "platform",
      "postId": null,
      "content": "Shipping something new today.",
      "publishedAt": "2026-05-28T14:22:00Z",
      "aggregated": {
        "impressions": null,
        "reach": null,
        "likes": 312,
        "comments": 24,
        "shares": null,
        "saves": null,
        "clicks": null,
        "views": null,
        "engagementRate": null
      },
      "platforms": [
        {
          "platform": "instagram",
          "platformPostId": "17890012345678",
          "platformPostUrl": "https://www.instagram.com/p/ABC123/",
          "metrics": {
            "impressions": null,
            "reach": null,
            "likes": 312,
            "comments": 24,
            "shares": null,
            "saves": null,
            "clicks": null,
            "views": null,
            "engagementRate": null
          }
        }
      ]
    }
  ]
}

Everything You Need for Instagram Analytics

Get Instagram engagement data without managing Meta's Graph API directly. Same response shape as every other PostPeer analytics endpoint.

Per-Media Engagement

Get like count and comments count for every Instagram media item — feed posts, reels, and carousels — on any connected Business account.

Recent Media Listing

List the most recent media from any connected Business account, with inline metrics. Great for dashboards that show "latest performance" at a glance.

Single-Media Lookup

Pass an Instagram media ID to fetch metrics for one specific post. Works for both PostPeer-published media and existing ones on the connected account.

Unified Analytics Endpoint

Same shape and filtering as Twitter, YouTube, Pinterest, LinkedIn, TikTok, and Facebook analytics. Add Instagram to your dashboard without writing a new integration.

Date Range Filtering

Filter by date range to find your best-performing posts over any window up to 366 days back. Sort by likes or comments.

No Meta App Review

Skip the Meta Business verification, App Review, and OAuth wrangling. PostPeer is approved for `instagram_business_basic` and handles the auth flow end to end.

Frequently Asked Questions

Ready to Add Social Media to Your Product?

One API. Every platform. Start building with free credits.

Start Posting for FreeNo credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin", "instagram], "content": "Hello world!" }
Published
5 platforms
TwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XIGFBLITT
One API, every platform