Skip to main content
NEW AI Studio is now available Try it now
Social Verified

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.

Get Started Documentation Free tier — no credit card
instagram.com target
Meta bypass anti-bot
Profiles & posts data types
Quick Start

Extract data in minutes

instagram-scraper.ts
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();
✓ ready to run | spider-browser | TypeScript
How It Works

Start extracting instagram.com data in 3 steps

01

Get your API key

Sign up for free and get 1,000 credits instantly.

02

Configure your scrape

Set your target URL, output format, and stealth level.

03

Extract structured data

Get clean JSON back in seconds — ready for your pipeline.

Fetch API

Structured data endpoint

Extract structured JSON from instagram.com with a single POST request. AI-configured selectors, cached for fast repeat calls.

POST /fetch/instagram.com/
Post captionLikesCommentsTimestampImage URLUsername
curl
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"}'
Python
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())
Node.js
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);
Use Cases

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

Extraction

Data you can extract

Post captionLikesCommentsTimestampImage URLUsernameFollowersBio
Stealth

Meta anti-bot bypass

Residential proxies and fingerprint rotation to reliably access Instagram despite aggressive bot detection.

Rendering

Full app rendering

Complete React rendering for Instagram's SPA — handles lazy-loaded images, stories, and infinite scroll.

Data

Profile & post data

Structured JSON with profiles, posts, engagement metrics, hashtags, and image URLs.

Why Spider

Why teams choose Spider for instagram.com

$0 to start

Free tier with 1,000 credits. No credit card required to get started.

No rate limits

Scale to millions of pages. Pay only for what you use.

Credits never expire

Unlike competitors, unused credits roll over indefinitely.

FAQ

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.

Related

More Social scrapers

Join Zapier, Swiss Re, and 10,000+ developers

Start scraping instagram.com

Get your API key and start extracting data in minutes.