New The MCP server is live: all 44 APIs in Claude, Cursor or any MCP client. Connect your agent

Scrape any public profile, post or reel as clean JSON

Advanced Instagram API

The Advanced Instagram API turns any public Instagram profile, post or reel into structured JSON with a single GET request. Followers, bio, post counts, engagement, captions, likes, comment threads and reel views/plays/audio, scraped live with no login, session cookies or proxies on your side.

Unlike the official Graph API, which only exposes accounts you own, this Instagram scraper API works on any public account. Pull a competitor's follower count, list the latest posts of a creator, or read the comments under a viral reel. Most requests complete synchronously in 5-45 seconds.

Free tier included, no credit card required. One key works across every API.

At a glance

Advanced Instagram API

25 credits / call
Free calls / month
40
Endpoints
6
Response Time
5-45s
Data Freshness
Live
Get your free API key

40 free calls on the free plan

Key features

  • Any public profile, post or reel, not just your own account
  • Live scraping on every request, no stale cached databases
  • No Instagram login, session cookies or proxies required
  • Profile data: followers, posts_count, engagement, business flags, bio
  • Reel-specific fields: views, plays and audio
  • Comments and recent-posts lists with limit, date and type filters
  • fields= selection to trim responses to just what you need

Built for

  • Influencer discovery and vetting tools
  • Competitor and brand monitoring dashboards
  • Social listening and comment analysis
  • Engagement analytics for agencies
  • Lead enrichment with follower and bio data

MCP · for your agent

Hand the Advanced Instagram API to your agent

Connect Claude, Cursor or any MCP client once, then ask in plain words. Your agent finds this API, reads its docs and makes the call: 25 credits per call, the same as REST, from your team's balance.

Benchmark a brand across platforms

“How big is NASA's audience on Instagram, X and TikTok? Put followers and engagement side by side for our social report.”

list_apis · get_api_docsfree

api_request GET /instagram/v1/profile?username=nasa 25 cr

+ Advanced X (Twitter) API25 cr

+ Advanced TikTok API25 cr

Followers, post counts and engagement for each platform in one comparison table.

Audit a competitor's reels

“Pull the last 20 reels from @globexcoffee and tell me what the best-performing ones have in common.”

list_apis · get_api_docsfree

api_request GET /instagram/v1/profile-posts?username=globexcoffee&post_type=reel&limit=20 25 cr

Twenty recent reels with captions, likes and comments, ranked, plus what the winners share.

Read the room on a launch post

“We announced our fall menu on Instagram yesterday. Sort the comments into praise, questions and complaints.”

list_apis · get_api_docsfree

api_request GET /instagram/v1/comments?url=https://www.instagram.com/p/DA1b2C3d4E5&limit=50 25 cr

+ Text Analysis API25 cr

Up to 50 comments with likes, scored for sentiment and sorted into praise, questions and complaints.

$ claude mcp add --transport http apicodex https://mcp.apicodex.io

Illustrative asks; the calls and prices are real. Claude, Cursor, VS Code and Windsurf setup: mcp.apicodex.io

Try it

Build the request for your data

Edit the parameters below and see the exact request and curl command you'd send. No key required to preview.

GET /instagram/v1/profile
Open in Playground

Parameters

Request · HTTP
GET /instagram/v1/profile?username=instagram HTTP/1.1
Host: api.apicodex.io
X-Api-Key: YOUR_API_KEY
Response · JSON 200 OK
{
  "type": "profile",
  "url": "https://www.instagram.com/instagram/",
  "data": {
    "account": "instagram",
    "followers": 685821186,
    "posts_count": 8519,
    "is_verified": true,
    "is_business_account": false,
    "is_professional_account": true,
    "biography": "Discover what's new on Instagram",
    "avg_engagement": 0.0007
  }
}

Documentation

Advanced Instagram API Documentation

Pass an Instagram profile, post or reel URL (or just a username) and get a complete, structured JSON record back in a single request. All endpoints are GET. On list endpoints, limit accepts 1-50 (default 10), and fields= lets you keep only the top-level fields you need. If a scrape exceeds the sync window you get HTTP 202 with a snapshot_id to resolve via /v1/result.

Base URL

url
https://api.apicodex.io/instagram

Authentication

Create a key at apicodex.io/register and send it as an X-Api-Key header (or an ?apikey= query parameter) on every request. No Instagram login or session cookie is ever involved.

headers
GET /instagram/v1/profile?username=instagram
X-Api-Key: YOUR_API_KEY

Request and response

Illustrative values. Confirm current endpoint behavior, quotas, and data freshness in the API documentation before production use.

request · http
GET /instagram/v1/profile?username=instagram HTTP/1.1
Host: api.apicodex.io
X-Api-Key: YOUR_API_KEY
response · json
{
  "type": "profile",
  "url": "https://www.instagram.com/instagram/",
  "data": {
    "account": "instagram",
    "followers": 685821186,
    "posts_count": 8519,
    "is_verified": true,
    "is_business_account": false,
    "is_professional_account": true,
    "biography": "Discover what's new on Instagram",
    "avg_engagement": 0.0007
  }
}

Code examples

cURL
curl --request GET \
  --url 'https://api.apicodex.io/instagram/v1/profile?username=instagram' \
  --header 'X-Api-Key: YOUR_API_KEY'

Available Endpoints

GET /v1/profile

Scrape a profile by url or username: followers, posts_count, engagement, business flags, bio.

/v1/profile?username=instagram

GET /v1/post

Scrape a post or reel by URL: caption, likes, comments count, media.

/v1/post?url=https://www.instagram.com/p/DZz4bjIjhdm

GET /v1/reel

Scrape a reel with reel-specific fields: views, plays, audio.

/v1/reel?url=https://www.instagram.com/reel/DZz4bjIjhdm

GET /v1/comments

List the comments of a post or reel as an array (comment_user, comment, likes, replies).

/v1/comments?url=https://www.instagram.com/p/DZz4bjIjhdm&limit=25

GET /v1/profile-posts

List the recent posts of a profile, with date and post-type filters.

/v1/profile-posts?username=natgeo&limit=10&post_type=reel

GET /v1/result

Fetch a pending result using the snapshot_id from a 202 response.

/v1/result?snapshot_id=s_abc123

Request Parameters

Required parameters

  • url Instagram URL to scrape. Required on /v1/post, /v1/reel and /v1/comments; on /v1/profile and /v1/profile-posts you can pass username instead.

Optional parameters

  • username Username instead of a URL on /v1/profile and /v1/profile-posts (with or without a leading @).
  • fields Comma-separated top-level fields to keep, e.g. fields=followers,posts_count,biography. Applies to every item on list endpoints.
  • limit Max items on /v1/comments and /v1/profile-posts (1-50, default 10).
  • start_date /v1/profile-posts only: keep posts on/after this date.
  • end_date /v1/profile-posts only: keep posts on/before this date.
  • post_type /v1/profile-posts only: filter by post type, e.g. reel.
  • snapshot_id /v1/result only: the id returned by a 202 response.

Responsible use

Use public social data carefully

Only request data that is publicly accessible, and make sure your collection, storage, and use comply with applicable privacy laws and the relevant platform terms. Do not use these APIs to bypass access controls or to make decisions that require consent or human review.

Pricing

Advanced Instagram API Pricing

This API costs 25 credits per request. Credits are shared across every API on your plan.

Cost estimator

requests per month → cheapest plan that covers it

Estimate your monthly cost

Drag the slider to match your expected request volume. We'll recommend the cheapest plan that covers it.

10,000

Recommended plan

Starter

$29.99 /month

Credits used
Credits included
Cost per 1K requests
Choose Starter

Free

Free
1,000 credits · ~40 requests/mo · 2 rps
  • All APIs included
  • No credit card required
  • Full documentation and examples
  • MCP server for your AI agents
  • Up to 5 active API keys
Start for free

Starter

Popular
$29.99 /month
50,000 credits · ~2,000 requests/mo · 10 rps
  • All APIs included
  • Email support
  • Usage dashboard and analytics
  • MCP server for your AI agents
  • Up to 5 active API keys
Start with Starter

Pro

$99.99 /month
250,000 credits · ~10,000 requests/mo · 25 rps
  • All APIs included
  • Priority support
  • MCP server for your AI agents
  • Up to 5 active API keys
Start with Pro

Need a different plan?

Tell us about your API, volume, or support requirements.

Contact us

FAQ

Frequently asked questions

Ready to integrate Advanced Instagram?