Instagram Scraper API
Get public Instagram profiles, posts, reels, comments, hashtags and stories as JSON with one HTTPS request. No headless browser, no Instagram account, no parser to fix when the page changes.
IGramAPI is an independent product of AR Digital Services (Prayagraj, Uttar Pradesh, India). It is not the official API and is not affiliated with or endorsed by Instagram or Meta. About us
What running your own Instagram scraper involves
Scraping Instagram yourself works for a demo. Keeping it working is the expensive part.
Login prompts
Logged-out visitors are asked to log in after a few page views, so a simple script stalls almost at once.
Accounts at risk
Scraping while logged in invites challenges, forced logouts and suspensions on the accounts you use.
Moving targets
Page structure and the internal requests the site makes change without notice, and your parser breaks with them.
Blocks and limits
Requests from one address are throttled quickly, so volume means managing many IP addresses and retries.
Split media
High-quality reels arrive as separate video and audio streams; a complete file needs a merge step.
Or call an endpoint
Send a username or a link, get JSON. The same key also covers the other platforms.
Example: Profile API
GET /v1/profiles/{username} · 1 credit. Replace YOUR_API_KEY with your key.
curl "https://api.igramapi.com/v1/profiles/example_creator" \
-H "Authorization: Bearer YOUR_API_KEY" import requests
response = requests.get(
"https://api.igramapi.com/v1/profiles/example_creator",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
response.raise_for_status()
print(response.json()) const response = await fetch("https://api.igramapi.com/v1/profiles/example_creator", {
method: "GET",
headers: {
Authorization: "Bearer YOUR_API_KEY",
},
});
if (!response.ok) throw new Error((await response.json()).error.message);
console.log(await response.json()); <?php
$ch = curl_init("https://api.igramapi.com/v1/profiles/example_creator");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer YOUR_API_KEY",
],
]);
$data = json_decode(curl_exec($ch), true);
print_r($data); {
"profile": {
"user_id": "1234567890",
"username": "example_creator",
"full_name": "Example Creator",
"biography": "Photographer. Travel and street stories. [email protected]",
"external_url": "https://example.com",
"bio_links": [
{
"title": "Portfolio",
"url": "https://example.com",
"link_type": "external"
}
],
"category": null,
"is_business": null,
"account_type": null,
"public_email": "[email protected]",
"public_phone": null,
"pronouns": [],
"has_highlights": true,
"has_reels": true,
"is_memorialized": false,
"on_threads": true,
"facebook_page_name": null,
"profile_picture_url": "https://scontent.cdninstagram.com/v/example/avatar.jpg",
"is_hd_picture": true,
"is_private": false,
"is_verified": true,
"has_story": false,
"followers": 182400,
"following": 311,
"posts_count": 742,
"data_level": "public"
},
"cached": false
} Your scraper's jobs, as endpoints
Each common Instagram scraping task maps to one documented endpoint with a fixed price.
| Task | Endpoint | Credits |
|---|---|---|
| Profile, bio, business contacts and follower count | GET /v1/profiles/{username} | 1 credit |
| Batch lookup of up to 25 profiles in one call | POST /v1/profiles/batch | 1 per profile credits |
| Look up a profile by numeric user id | GET /v1/users/{user_id} | 1 credit |
| Followers and following lists of a public profile | GET /v1/profiles/{username}/followers | 3 credits |
| Similar and related creator accounts | GET /v1/profiles/{username}/related | 2 credits |
| Every post of a profile | GET /v1/profiles/{username}/posts | 1 credit |
| Reels of a profile | GET /v1/profiles/{username}/reels | 1 credit |
| Posts where an account is tagged | GET /v1/profiles/{username}/tagged | 2 credits |
| A post or reel from its URL | GET /v1/media | 1 credit |
| Timestamped transcript and captions from a reel | GET /v1/media/{shortcode}/transcript | 1 or 3 credits |
| Comments and comment replies under a post | GET /v1/media/{shortcode}/comments | 2 credits |
| Users who liked a post or reel | GET /v1/media/{shortcode}/likers | 3 credits |
| Posts under a hashtag | GET /v1/hashtags/{tag} | 2 credits |
| Location details and ranked or recent posts | GET /v1/locations/{location_id} | 1 credit |
| Find accounts by keyword | GET /v1/search | 3 credits |
| Active stories of a profile | GET /v1/profiles/{username}/stories | 2 credits |
| Classify links and share URLs (free) | GET /v1/resolve | 0 credits |
| Download a reel with sound | POST /v1/downloads | 1 to 2 credits |
Your own scraper or IGramAPI
| Your own scraper | IGramAPI | |
|---|---|---|
| What you run | A headless browser or HTTP client, parsers, a scheduler and retries | Nothing: HTTPS calls to one API |
| Login prompts, CAPTCHAs and blocks | Yours to detect and work around | Handled on our side; you get JSON or a documented error code |
| When the site changes | Your parsers break until you fix them | We adapt; your code keeps the same fields |
| Output | Whatever your parser extracts | Documented JSON with an OpenAPI schema |
| Your accounts | Logged-in scraping can get them restricted | None of yours is used |
| Cost | Servers, IP addresses, accounts and engineering time | 100 free credits a month, then down to about ₹18 per 1,000 credits |
| Control | Any field you can see on the page | The endpoints listed on this page, public data only |
Every Instagram endpoint and its price
| Endpoint | Credits | Available on |
|---|---|---|
| Profile (bio, business contacts, counts) | 1 | All plans |
| Batch profiles (per successful profile) | 1 | All plans |
| Profile by numeric user ID | 1 | All plans |
| Profile picture (HD) | 1 | All plans |
| Posts of a profile (per page) | 1 | All plans |
| Reels of a profile (per page) | 1 | All plans |
| Tagged posts of a profile (per page) | 2 | All plans |
| Related / similar profiles | 2 | All plans |
| Followers list (per page) | 3 | All plans |
| Following list (per page) | 3 | All plans |
| Post or reel data (any URL) | 1 | All plans |
| Post or reel likers | 3 | All plans |
| Reels transcript (AI; 1 with captions) | 3 | All plans |
| Comments (per page) | 2 | All plans |
| Comment replies (per page) | 1 | All plans |
| Audio track details | 1 | All plans |
| Reels using an audio track (per page) | 1 | All plans |
| Search (users, hashtags, places) | 3 | All plans |
| Location details | 1 | All plans |
| Location posts (per page) | 2 | All plans |
| Stories | 2 | All plans |
| Highlights | 2 | All plans |
| Hashtag feed | 2 | All plans |
| Classify a link (`/v1/resolve`) | 0 | All plans |
| Download: image or MP3 | 1 | All plans |
| Download: video, or merged HD video with sound | 2 | All plans |
Errors on our side (HTTP 5xx) and invalid requests are refunded automatically; a lookup that completes with "not found" or "private" costs its credits. Instagram API pricing.
Limitations
- Public data only: private accounts, direct messages, follower lists of private accounts and audience demographics are never returned.
- Read-only: the API cannot post, like, follow or send messages.
- Like counts that the owner hid stay hidden; posts are flagged so you can exclude them.
Get started in three steps
- Create a free account and confirm your email.
- Create an API key in the dashboard and keep it on your server.
- Run the cURL above with your key. The quickstart and the Instagram API overview cover the rest.
Questions
Is this a scraper or an API?
It is a hosted REST API. You call an HTTPS endpoint with your key and get documented JSON back. Keeping the data flowing when Instagram changes is our job, not yours.
Do I need an Instagram account, cookies or a login?
No. You only need an IGramAPI key. No Instagram account of yours is used, so none can be restricted.
Can it get data from private accounts?
No. Only public information is available. A private profile returns its public header details and is_private: true.
How many profiles can I look up?
As many as your credits and rate limit allow. A profile is 1 credit; the Free plan has 100 credits a month, and paid plans go up to 1,000,000 credits and 500 requests a minute.
What happens when Instagram changes something?
Calls can fail until we adapt. Errors on our side (HTTP 5xx) are refunded automatically and carry a request id you can send us.
Is it legal to collect public Instagram data?
It depends on your country, the data and what you do with it. IGramAPI returns only information that is publicly visible on Instagram and never logs in to anyone's account. You are responsible for lawful use, including privacy law (such as the GDPR or India's DPDP Act) and Instagram's terms. Read our Acceptable Use Policy, and get legal advice for your use case.
Independent service, not affiliated with Instagram or its owner. Use the data lawfully: Acceptable Use Policy.
Replace your Instagram scraper with one API call
100 credits every month, no credit card.