Instagram Data API
Instagram scraper & downloader API: profiles with exact follower counts, recent posts, reel & post details with likes and comments, direct photo & video download links. Fast & cached.
Get a free API key on RapidAPI Try it in the playgroundInstagram Data API — scraper + downloader
Real-time public Instagram data. No login, no cookies, no session tokens.
🧩 Identity Utilities
Username → user ID · media ID ↔ shortcode conversion
👤 User Insights
Exact followers, following and post counts · bio & bio links · 12 recent posts · reels with view counts · related profiles (up to 50)
📸 Media Details & Download
Likes, comments, caption, coauthors, tagged users, location, reel music · highest-quality photo & video links — every carousel item included
🔖 Topic Explorer · 🗺️ Locations
Topic pages with related keywords and top posts · place details with coordinates, hours and recent posts
Why developers pick it
- ⚡ ~1 s live, ~0.1 s cached
- 🎯
?fields=returns only the fields you need - 🧾 Exact integers (
517223594), never "517M"
Endpoints (11)
| Endpoint | What it returns |
|---|---|
GET/id | User ID Lookup Get a user's numeric ID (pk) from the username. |
GET/media-id | Media ID ↔ Shortcode Convert a shortcode or URL to the numeric media ID, or a media ID back to its shortcode. Pass one of code, url or id. |
GET/user/{username} | User Profile Profile with exact follower / following / post counts, biography, bio links, verified badge, story & reels flags, plus the 12 most recent posts. |
GET/user/{username}/posts | User Posts The 12 most recent posts (photos, reels, carousels). |
GET/user/{username}/reels | User Reels The latest reels with views, likes and comments counts. |
GET/user/{username}/related | Related Profiles Up to ~50 accounts Instagram suggests as similar to this user. |
GET/post/{code} | Media Info Full post / reel / carousel details: likes, comments, caption, owner, coauthors, tagged users, location, music and every media item. |
GET/post | Media Info by URL Same as Media Info, from any post, reel or TV URL. |
GET/post/{code}/download | Media Download Direct highest-quality photo and video URLs — every carousel item included. |
GET/topic/{keyword} | Topic Explorer Instagram topic page for a keyword or hashtag: description, related keywords and top posts per keyword (with view counts). |
GET/location/{id} | Location Info & Media Place details (name, category, address, coordinates, phone, hours, total posts) plus recent posts tagged there. |
Quick start
Subscribe on RapidAPI (free plan available), copy your key, and call GET /id:
curl --request GET \
--url 'https://instagram-data-api14.p.rapidapi.com/id?username=cristiano' \
--header 'x-rapidapi-host: instagram-data-api14.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'import requests
url = "https://instagram-data-api14.p.rapidapi.com/id?username=cristiano"
headers = {
"x-rapidapi-host": "instagram-data-api14.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY",
}
resp = requests.get(url, headers=headers)
print(resp.json())const res = await fetch("https://instagram-data-api14.p.rapidapi.com/id?username=cristiano", {
method: "GET",
headers: {
"x-rapidapi-host": "instagram-data-api14.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY"
}
});
console.log(await res.json());
Example response
{
"username": "cristiano",
"id": "173560420",
"full_name": "Cristiano Ronaldo",
"verified": true,
"url": "https://www.instagram.com/cristiano/"
}
Start free. Every plan includes all endpoints; upgrade only when you need more requests. Runs on Cloudflare's global network for low latency worldwide.
Subscribe on RapidAPIRelated APIs
Bluesky Social
Bluesky (AT Protocol) API: profiles & stats, posts with full engagement and media, threads, followers, following and search. No login, no OAuth.
SocialTikTok Data API
TikTok scraper & downloader API: profiles, full video lists, no-watermark download, hashtags, search, music, trending, video details. Fast & cached.
SocialX (Twitter) Scraper - Profiles, Tweets & Insights
Fast X (Twitter) scraper: public profiles & stats, user tweets with full engagement and pagination, and tweet details. No login, no X API key.
SocialTelegram Channel API - Posts, Media & Stats
Public Telegram channels without a bot or login: channel info & subscribers, posts with text, media, views & reactions, search and engagement stats.
SocialThreads API
Meta Threads public data without login: user profiles & followers, latest posts and replies, post engagement (likes, replies, reposts), search.