REST JSON over HTTPS, one API key

The Instagram API for public profiles, posts and stories

A REST API for public Instagram data: send a username or a post link with your API key and get profiles, posts, reels, stories and highlights back as JSON. We keep the Instagram sessions, logins and limits working for you.

GET /api/userinfo GET /api/feed GET /api/media GET /api/stories GET /api/highlights
request.sh
$ curl https://igapi.online/api/userinfo/nasa \ -H "X-API-Key: igapi_••••••••"
IG
@instagram
Instagram
694posts 672Mfollowers 160following

Illustrative response. Run real lookups in the Instagram viewer.

What you get

Instagram API endpoints

Six data endpoints cover what people actually need from a public account, plus an image proxy and a download endpoint for the media, all as structured JSON. Looking for an Instagram scraper API? With this API you don’t run scrapers, headless browsers, proxies or Instagram logins yourself: you send an HTTP request and read JSON.

Profile info

/api/userinfo/:username

Followers, following, posts, bio, verification, business and contact fields.

Post feed

/api/feed/:username

Paginated posts with media, captions and engagement counts via cursor paging.

Single media

/api/media?url=

Resolve any post or reel by URL or shortcode into full media details.

Stories

/api/stories/:username

Currently active stories for an account, when they are public.

Highlights

/api/highlights/:username
/api/highlight/:id

The highlight trays on a profile, and the items inside each one.

Media proxy & download

/api/proxy-image?url=
/api/download?url=

Show Instagram CDN images from your own origin, and save any photo or video as a file.

Try the Instagram API without a key

The Instagram viewer calls the same endpoints from your browser, no key needed: open a profile, page through a feed, paste a post link or save stories and highlights.

Managed for you

A managed Instagram API: no scraper to run

The hard part of Instagram data isn't the JSON — it's staying logged in. IGAPI runs a pool of real accounts so you never touch any of it.

Multi-account session pool

Requests spread across many logged-in accounts and rotate automatically under load.

Auto auth & re-login

2FA, security challenges and expired sessions are resolved and re-logged in without you.

Plan limits you can read

A key's plan can cap it per minute, day and month (UTC). A capped request gets a 429 naming the plan and the full window, with Retry-After, so clients know when to retry.

Errors you can act on

Every error from the data endpoints has a code, an HTTP status and a message; the documentation lists each one with an example.

Quickstart

Quickstart: your first Instagram API request

Get an API key on the pricing page, send it in the X-API-Key header, read JSON back.

$ curl https://igapi.online/api/userinfo/nasa \ -H "X-API-Key: igapi_your_key_here"
const res = await fetch( "https://igapi.online/api/userinfo/nasa", { headers: { "X-API-Key": "igapi_your_key_here" } });const data = await res.json();
import requestsr = requests.get( "https://igapi.online/api/userinfo/nasa", headers={"X-API-Key": "igapi_your_key_here"},)data = r.json()
Pricing

Instagram API plans

Every plan calls the same endpoints; plans differ only in how many requests a key may make, counted per key in UTC minutes, days and months. At a cap the API answers 429 with Retry-After — nothing is billed.

Free

Free

Try every endpoint

  • Per minute 10
  • Per day 50
  • Per month No separate cap
Get a free key

Pro

For apps and side projects

$26.99 / month
50,000 requests / month
  • Per minute 50
  • Per day No separate cap
  • Per month 50,000

Hard caps, no overage

  • All six data endpoints: profiles, feeds, posts, stories and highlights
  • Image proxy and downloads never count toward the caps
Buy Pro
Recommended

Mega

For high-volume services

$199.99 / month
1,000,000 requests / month
  • Per minute 300
  • Per day No separate cap
  • Per month 1,000,000

Hard caps, no overage

  • All six data endpoints: profiles, feeds, posts, stories and highlights
  • Image proxy and downloads never count toward the caps
Buy Mega

Ultra

For growing products

$59.99 / month
200,000 requests / month
  • Per minute 50
  • Per day No separate cap
  • Per month 200,000

Hard caps, no overage

  • All six data endpoints: profiles, feeds, posts, stories and highlights
  • Image proxy and downloads never count toward the caps
Buy Ultra

Caps are hard limits: past a cap the API answers 429 with Retry-After until that window resets. No overage charges. How buying works: the button opens a Telegram chat with @im_rashid with the plan already named. Payment is arranged there for now; crypto checkout is planned. A key that moves to another plan stays the same key.

Need more than Mega? Contact us on Telegram with the volume you expect.

Contact us

The full details — what counts as a request, the API at a glance and answers to common questions — are on the Instagram API pricing page.

Start with the Instagram API

Read the full reference and run live calls in the playground, or try a lookup right now.