Skip to main content gottem  — one API for every scraper.
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. 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.

Get started Docs
target
instagram.com
anti-bot
Meta bypass
data types
Profiles & posts
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 three steps.

01

Get an API key

Sign up free and a balance is credited to your account.

02

Configure the call

Set the target URL, output format, and rendering mode.

03

Get structured data

Clean JSON back in seconds, ready for your pipeline.

Fetch API

One endpoint for instagram.com.

Structured JSON from instagram.com with a single POST. AI-resolved selectors, cached on the first call.

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 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.

Extraction

Fields you can pull.

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 pick Spider for instagram.com.

Pricing
$0 to start

Free balance on sign-up. No credit card required to test.

Scale
Pay per page

About $0.08 per 1,000 pages on a datacenter-proxy workload. No monthly minimum.

Balance
Never expires

Top up once, use it whenever. Unused balance carries over forever.

Common questions

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.

Start

Start scraping instagram.com.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.