Instagram API for any public profile, post or reel

Renderdata team··6 min read

Renderdata's Instagram API returns a public profile (followers, bio, verified badge and latest posts), a post or a reel as clean JSON from one HTTP call. You don't need a Meta developer app, app review or a business account, and it works for any public account, not only the ones you manage. Each call costs $0.005 and failed calls are free.

Get a free API keySee a real response10 free calls · no card · failed calls free
At a glance
Price
$0.001 per call · $1 per 1,000
Free tier
10 calls, no card
Failed calls
Never charged
Access
API key, no approval or OAuth
Endpoints
instagram-profile, instagram-post, instagram-reel
Agents
Every endpoint is an MCP tool

3 ways to get Instagram data

There are three realistic options, and the right one depends on whose accounts you need, how many calls you make and how much maintenance you can take on.

1. The official Instagram Graph API

Meta's Instagram Graph API is the sanctioned route, and it works well for one job: managing Business and Creator accounts that log in to your app. Setup means a Meta developer app, a linked Facebook Page, app review for every permission you need and OAuth tokens that expire. To read accounts you don't manage, the only option is Business Discovery, which covers professional accounts and returns a subset of fields. Personal accounts are out of reach since the Basic Display API shut down in December 2024.

2. Build your own scraper

You can scrape Instagram yourself with a headless browser or by calling the web app's internal GraphQL endpoints. It works for a few hundred requests, then you hit login walls, per-IP rate limits and frequent changes to the internal query ids. Keeping it running means residential proxies, session rotation and a person who fixes it every few weeks. For a side project that is fine; for anything a customer relies on, the maintenance cost is usually larger than the data bill.

3. Use a Instagram data API

A data API like Renderdata does the scraping for you and returns stable JSON. You send a username or a post URL and get the profile, post or reel back, with retries, proxies and parser fixes handled on our side. You pay per successful call and nothing for failures, and the same endpoints are MCP tools for agents.

Official APIYour own scraperRenderdata
Time to first dataDays to weeks (app review)Days, then ongoing fixesAbout a minute
Whose dataMostly your own or authorised accountsAny public dataAny public data
MaintenanceLowHigh: proxies, blocks, parser changesNone
CostFree or per requestProxies, servers and engineering time$0.001 per successful call

Example response

A real call to instagram-profile with the input @nasa, made against the production API on October 30, 2026. It took 7.5 seconds and cost 1 credit ($0.001) and returned 6 items. Lists are trimmed to two items below.

POST /v1/scrapers/instagram-profile/run200 OK · 7.5 s
{
  "id": "528817151",
  "username": "nasa",
  "url": "https://www.instagram.com/nasa/",
  "fullName": "NASA",
  "biography": "Making the seemingly impossible, possible. ✨",
  "externalUrl": "https://www.nasa.gov/",
  "bioLinks": [
    {
      "url": "https://www.nasa.gov/",
      "title": "NASA.gov Homepage"
    },
    {
      "url": "https://www.nasa.gov/maxpower",
      "title": "MAX POWER"
    },
    "… 3 more"
  ],
  "followers": 104361435,
  "following": 90,
  "postsCount": 4984,
  "isVerified": true,
  "isPrivate": false,
  "profilePic": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-19/29090066_159271188110124_1152068…",
  "latestPosts": [
    {
      "shortCode": "DfF3eqGSKKc",
      "url": "https://www.instagram.com/p/DfF3eqGSKKc/",
      "mediaType": "video",
      "caption": "More power loading. 🔋\n\nToday, NASA astronaut Anil Menon and CSA (Canadian Space Agency…",
      "likes": 9487,
      "comments": 97,
      "takenAt": "2026-10-29T20:35:35Z"
    },
    {
      "shortCode": "DfDOxLEm-5w",
      "url": "https://www.instagram.com/p/DfDOxLEm-5w/",
      "mediaType": "carousel",
      "caption": "Welcome to the Oval Office, Artemis III Crew! 🇺🇸🚀",
      "likes": 114846,
      "comments": 4312,
      "takenAt": "2026-10-28T19:54:41Z"
    },
    "… 4 more"
  ]
}
Run this exact call free →

Instagram endpoints

Every endpoint is POST /v1/scrapers/{id}/run with a JSON body {"input": "..."}, and is also available as an MCP tool with the same key.

EndpointInputReturnsPrice
instagram-profileUsername@nasaFollowers, post count, bio and verified badge of a public account, plus its latest posts with likes, comments and captions.$0.001
instagram-postPost URLhttps://www.instagram.com/p/Dejxav7l58q/Caption, likes, comment count, hashtags and image of one public post.$0.001
instagram-reelReel URLhttps://www.instagram.com/reel/Deo3af3k8JJ/Caption, likes, comments, plays and video link of one public reel.$0.001

Response fields

Every successful call returns these fields inside data. Fields the source does not show for a given profile or listing come back empty rather than missing, so your parser does not need special cases.

instagram-profile · 21 fields
  • idstring
  • usernamestring
  • urlstring
  • fullNamestring
  • biographystring
  • externalUrlstring
  • followersnumber
  • followingnumber
  • postsCountnumber
  • isVerifiedboolean
  • isPrivateboolean
  • isBusinessboolean
  • categorystring
  • profilePicstring
  • latestPosts[].shortCodestring
  • latestPosts[].urlstring
  • latestPosts[].mediaTypestring
  • latestPosts[].captionstring
  • latestPosts[].likesnumber
  • latestPosts[].commentsnumber
  • latestPosts[].takenAtstring
instagram-post · 14 fields
  • idstring
  • shortCodestring
  • urlstring
  • mediaTypestring
  • captionstring
  • hashtagsarray
  • mentionsarray
  • likesnumber
  • commentsnumber
  • viewsnumber
  • takenAtstring
  • ownerUsernamestring
  • displayUrlstring
  • videoUrlstring
instagram-reel · 13 fields
  • idstring
  • shortCodestring
  • urlstring
  • captionstring
  • hashtagsarray
  • likesnumber
  • commentsnumber
  • viewsnumber
  • takenAtstring
  • ownerUsernamestring
  • displayUrlstring
  • videoUrlstring
  • durationnumber

Quickstart

Create a free account to get an API key with 10 free calls, then send your first request.

cURL
curl -X POST https://api.renderdata.cloud/v1/scrapers/instagram-profile/run \
  -H "Authorization: Bearer $RENDERDATA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":"@nasa"}'
Python
import os, requests

r = requests.post(
    "https://api.renderdata.cloud/v1/scrapers/instagram-profile/run",
    headers={"Authorization": f"Bearer {os.environ['RENDERDATA_API_KEY']}"},
    json={"input":"@nasa"},
    timeout=300,
)
data = r.json()["data"]
MCP (Claude Code, Cursor)
claude mcp add --transport http renderdata https://api.renderdata.cloud/mcp \
  --header "Authorization: Bearer $RENDERDATA_API_KEY"

The response always has the same envelope: ok, data (the fields above), credits and meta. Full reference in the API docs.

Example: engagement rate for a list of creators

This script reads three public profiles, works out the average likes plus comments on each account's latest posts, divides by followers and writes a CSV. It is the core of most influencer-vetting tools.

Python
import csv, os, requests

URL = "https://api.renderdata.cloud/v1/scrapers/instagram-profile/run"
HEADERS = {"Authorization": f"Bearer {os.environ['RENDERDATA_API_KEY']}"}
creators = ["@natgeo", "@nasa", "@nike"]

rows = []
for handle in creators:
    body = requests.post(URL, headers=HEADERS, json={"input": handle}, timeout=300).json()
    if not body.get("ok"):
        print(handle, "failed, not billed:", body.get("error"))
        continue
    p = body["data"]
    posts = p["latestPosts"]
    avg = sum(x["likes"] + x["comments"] for x in posts) / max(len(posts), 1)
    rows.append({
        "username": p["username"],
        "followers": p["followers"],
        "posts": p["postsCount"],
        "verified": p["isVerified"],
        "engagement_rate_%": round(100 * avg / max(p["followers"], 1), 3),
    })

with open("creators.csv", "w", newline="") as f:
    w = csv.DictWriter(f, fieldnames=rows[0].keys())
    w.writeheader()
    w.writerows(rows)

Three calls cost $0.015. A list of 1,000 creators costs $5 pay as you go, or $3.30 on Pro. Accounts with tens of millions of followers usually land well under 1%; small creators often sit between 2% and 6%.

Official Instagram Graph API vs Renderdata

Instagram Graph APIRenderdata
Which accountsYour own Business or Creator accounts; other accounts only via Business Discovery (professional accounts only)Any public account
Personal accountsNot supported since Basic Display API shut down (Dec 2024)Yes, if public
SetupMeta developer app, app review, Facebook Page link, OAuth tokensOne API key, sign up with email
Rate limitsAbout 200 calls per user per hour; Business Discovery capped further30 calls/min (pay as you go), 120/min on Pro
Follower countYesYes
Reels plays, post likes and comment countsOwn media onlyAny public post or reel
PriceFree, but access is the hard part$0.005 per call

Instagram API pricing compared

Public list prices as of October 2026. Prices change, so follow the links for current numbers.

ProviderPriceNotes
Renderdata$5 per 1,000 calls ($3.30 on Pro)One call = a full profile with its latest posts
Apify Instagram Scraper$1.50 to $2.70 per 1,000 resultsPer result; plan tier changes the rate
ScrapeCreators$0.99 to $1.88 per 1,000 requestsPrepaid credit packs from $47
Instagram Graph APIFreeOnly your own professional accounts, plus limited Business Discovery

With Renderdata a failed or blocked call costs nothing and purchased credits never expire. See full pricing.

What the Instagram API costs at scale

One credit is one successful call. It is $1 per 1,000 credits, pay as you go, with packs from $10. Credits never expire and there is no subscription.

Calls per monthCost
1,000$10
10,000$10
30,000$30
100,000$100

Limits and errors

Pay as you go gets 20 calls a minute per endpoint with 3 running at once; Pro gets 40 a minute and 6 at once. Over a limit you get HTTP 429 with a Retry-After header, so wait that many seconds and retry. A run where Instagram returns nothing comes back as ok: false with an error (HTTP 502) and is not billed, so retrying costs nothing until it works.

Python: retry on 429
def run(scraper, value):
    while True:
        r = requests.post(f"https://api.renderdata.cloud/v1/scrapers/{scraper}/run",
                          headers=HEADERS, json={"input": value}, timeout=300)
        if r.status_code == 429:
            time.sleep(int(r.headers.get("Retry-After", 5)))
            continue
        return r.json()

Only public data is available: anything that needs a login on Instagram needs it for us too, and we never log in. Every error code is listed in the docs.

Use cases

Influencer vetting

Pull followers, post count and recent engagement for a list of creators before you reach out. Endpoint: instagram-profile, for example @natgeo.

Campaign tracking

Read likes, comments and hashtags of every sponsored post and reel your creators publish. Endpoint: instagram-post, for example https://www.instagram.com/p/Dejxav7l58q/.

Agents that know a brand

Give Claude or Cursor the MCP tools and let them look up any brand's Instagram presence mid-task. Endpoint: instagram-profile, for example @nike.

Frequently asked questions

Is there a free Instagram API?

Meta's Instagram Graph API is free, but it only covers Business and Creator accounts you manage, plus limited lookups of other professional accounts through Business Discovery. Personal accounts are not supported since the Basic Display API shut down in December 2024. Renderdata gives you 10 free calls on sign-up, then $0.005 a call.

Can I get data from any Instagram account with the official API?

No. The Graph API only returns full data for accounts that authorize your app. Business Discovery can read basic data of other business or creator accounts, not personal ones. Renderdata reads any public profile, post or reel.

How much does the Instagram API cost?

Meta charges nothing for the Graph API itself; the cost is the review process and the limited access. Third-party Instagram APIs charge about $1 to $3 per 1,000 results (checked October 2026). Renderdata charges $5 per 1,000 calls pay as you go, or $3.30 on Pro, and one call returns a full profile with its latest posts.

Do I need an Instagram account or login?

No. Renderdata only reads public pages and never logs in. You only need a Renderdata API key.

Can I get the list of someone's followers?

Not yet: the API returns follower and following counts, not the lists themselves. Follower lists are on our roadmap.

Is it legal to scrape Instagram?

Renderdata reads only public Instagram pages, the same ones anyone can open without logging in, and never uses accounts or bypasses a login. Courts in the US have treated scraping public data differently from breaking into private systems (hiQ v. LinkedIn), but site terms and privacy laws such as the GDPR still apply to what you do with the data. This is not legal advice: if you store personal data, check with your counsel.

Can my AI agent use it?

Yes. Every endpoint is also an MCP tool, so Claude, Cursor and other MCP clients can call it directly with the same key and credits.

How fresh is the data?

Every call reads Instagram at the moment you make it, so follower counts and likes are live, not from a cache or a weekly crawl.

Can I get data from private Instagram accounts?

No. Private accounts return only what a logged-out visitor sees: the name, follower counts and the private flag. Renderdata never logs in.

How many Instagram profiles can I look up per minute?

30 calls a minute on pay as you go and 120 on Pro, with 2 and 8 running at once. For bigger batches, queue the calls and read the Retry-After header on a 429.

Try the Instagram API free