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. Built on 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.
- target
- instagram.com
- anti-bot
- Meta bypass
- data types
- Profiles & posts
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 three steps.
Get an API key
Sign up free and a balance is credited to your account.
Configure the call
Set the target URL, output format, and rendering mode.
Get structured data
Clean JSON back in seconds, ready for your pipeline.
One endpoint for instagram.com.
Structured JSON from instagram.com with a single POST. AI-resolved selectors, cached on the first call.
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 teams 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.
Fields you can pull.
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 pick Spider for instagram.com.
Free balance on sign-up. No credit card required to test.
About $0.08 per 1,000 pages on a datacenter-proxy workload. No monthly minimum.
Top up once, use it whenever. Unused balance carries over forever.
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.
Reddit Scraper
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.
LinkedIn Scraper
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.
Twitter/X Scraper
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.
Start scraping instagram.com.
Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.