Instagram Scraper API
Extract public profile data, post metadata, engagement metrics, and hashtag content from Instagram. Stealth browsing with residential proxies handles Meta's anti-bot protection. Powered by spider-browser .
Instagram is essential for influencer marketing, brand monitoring, and visual content analysis. Spider's stealth browsing renders Instagram's React app and extracts structured data from public profiles, posts, and hashtag pages.
Extract data in minutes
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
stealth: 2,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://www.instagram.com/nasa/");
await page.content(12000);
const data = await page.evaluate(`(() => {
const profile = {
username: document.querySelector("header h2")?.textContent?.trim(),
bio: document.querySelector("header section > div > span")?.textContent?.trim(),
stats: [],
};
document.querySelectorAll("header li span span").forEach(el => {
profile.stats.push(el.textContent?.trim());
});
const posts = [];
document.querySelectorAll("article img[srcset]").forEach(el => {
const alt = el.getAttribute("alt");
const src = el.getAttribute("src");
if (alt) posts.push({ alt: alt.slice(0, 200), src });
});
return JSON.stringify({ profile, posts: posts.slice(0, 12) });
})()`);
console.log(JSON.parse(data));
await spider.close(); Start extracting instagram.com data in 3 steps
Get your API key
Sign up for free and get 1,000 credits instantly.
Configure your scrape
Set your target URL, output format, and stealth level.
Extract structured data
Get clean JSON back in seconds — ready for your pipeline.
Structured data endpoint
Extract structured JSON from instagram.com with a single POST request. AI-configured selectors, cached for fast repeat calls.
/fetch/instagram.com/ curl -X POST https://api.spider.cloud/fetch/instagram.com/ \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"return_format": "json"}' import requests
resp = requests.post(
"https://api.spider.cloud/fetch/instagram.com/",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
json={"return_format": "json"},
)
print(resp.json()) const resp = await fetch("https://api.spider.cloud/fetch/instagram.com/", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data); What people build with instagram.com data
Influencer Analytics
Analyze follower counts, engagement rates, and posting patterns to evaluate influencer partnerships and ROI.
Hashtag Research
Track hashtag performance, discover trending tags, and analyze content strategies across your niche.
Brand Monitoring
Monitor public mentions, tagged posts, and competitor content strategies on Instagram profiles.
Visual Content Analysis
Extract image URLs and captions for visual trend analysis, content curation, and AI training datasets.
Start extracting instagram.com data today
1,000 free credits — no credit card required
Data you can extract
Meta anti-bot bypass
Residential proxies and fingerprint rotation to reliably access Instagram despite aggressive bot detection.
Full app rendering
Complete React rendering for Instagram's SPA — handles lazy-loaded images, stories, and infinite scroll.
Profile & post data
Structured JSON with profiles, posts, engagement metrics, hashtags, and image URLs.
Why teams choose Spider for instagram.com
Free tier with 1,000 credits. No credit card required to get started.
Scale to millions of pages. Pay only for what you use.
Unlike competitors, unused credits roll over indefinitely.
Common questions about scraping instagram.com
Can I scrape Instagram without logging in?
Spider accesses public Instagram profiles and posts that are visible without authentication. Private accounts are not accessible.
How does Spider handle Instagram anti-bot?
Spider uses residential proxy rotation, browser fingerprint randomization, and real Chrome rendering to reliably access Instagram content.
What Instagram data can I extract?
Usernames, bios, follower/following counts, post captions, likes, comments, timestamps, image URLs, and hashtags.
Can I scrape Instagram Reels?
Spider can extract metadata from public Reels including captions, view counts, and engagement metrics from profile pages.
How many Instagram profiles can I scrape?
Spider processes requests concurrently with smart rate limiting. Thousands of profiles per hour with residential proxy rotation.
More Social scrapers
Extract subreddit posts, comments, vote counts, and user data from Reddit. The fastest Reddit scraping API with full JavaScript rendering for new Reddit and old Reddit layouts.
Extract public company profiles, employee counts, job listings, and professional data from LinkedIn. The most reliable LinkedIn scraping API with residential proxy rotation and stealth browsing to handle aggressive anti-bot protection.
Extract tweets, user profiles, engagement metrics, and trending topics from X (formerly Twitter). Full stealth browsing with residential proxies to handle X's aggressive bot detection.
Join Zapier, Swiss Re, and 10,000+ developers
Start scraping instagram.com
Get your API key and start extracting data in minutes.