> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brightdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Instagram Scraper API

> Extract structured data from Instagram profiles, posts, reels and comments with the Bright Data [Instagram Scraper API](https://brightdata.com/products/web-scraper/instagram). Sync requests work best with one input.

Send an Instagram URL, get structured JSON back. The Bright Data Instagram Scraper API handles proxies, CAPTCHAs, and parsing so you can focus on your data pipeline.

> [!TIP]
>
> New to Bright Data? [Create a free account](https://brightdata.com/products/web-scraper/instagram?hs_signup=1\&utm_source=docs) and get **5,000 free credits every month**, no credit card required. That's up to **5,000 Instagram records** to start scraping. See the [free tier](https://docs.brightdata.com/general/account/billing-and-pricing/free-tier.md).

## How it works

You send one or more Instagram URLs to the Bright Data Instagram Scraper API. Bright Data handles the scraping infrastructure and returns clean, structured JSON.

```text theme={null}
Your app  -->  Bright Data API  -->  Structured JSON
           POST /datasets/v3/scrape
           Authorization: Bearer YOUR_API_KEY
```

All requests use a `dataset_id` to specify the data type (profiles, posts, reels, or comments) and return results in NDJSON (default), JSON, JSON lines, CSV and Parquet. See [output formats](https://docs.brightdata.com/products/scrapers/scrapers-library/data-delivery.md#which-output-formats-can-i-use).

## What the response looks like

A single record returned by the Bright Data Instagram Scraper API on September 6, 2026, trimmed to the fields shown. Run the request yourself in the [quickstart](https://docs.brightdata.com/products/scrapers/instagram/quickstart.md).

```json theme={null}
{
  "full_name": "Instagram",
  "biography": "Discover what's new on Instagram 🔎✨",
  "followers": 686423902,
  "following": 286,
  "posts_count": 8579,
  "is_verified": true,
  "account": "instagram",
  "fbid": "17841400039600391",
  "id": "25025320",
  "profile_image_link": "https://scontent-iad3-2.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ccb=7-5&_nc_..."
}
```

## Supported data types

> [card] [Profiles](https://docs.brightdata.com/api-reference/scrapers/social-media-apis/instagram-profiles-collect-by-url.md)
>
> Follower counts, bios, verification status, profile pictures. Discover profiles by username.

> [card] [Posts](https://docs.brightdata.com/api-reference/scrapers/social-media-apis/instagram-posts-collect-by-url.md)
>
> Captions, likes, comments, hashtags, photos, and videos. Discover posts by profile URL.

> [card] [Reels](https://docs.brightdata.com/api-reference/scrapers/social-media-apis/instagram-reels-collect-by-url.md)
>
> Video URLs, view counts, play counts, thumbnails. Discover reels or collect all reels from a profile.

> [card] [Comments](https://docs.brightdata.com/api-reference/scrapers/social-media-apis/instagram-comments-collect-by-url.md)
>
> Comment text, likes, replies, commenter details for any post or reel.

## Which dataset IDs to use

Each Instagram data type uses its own `dataset_id`. Pass the ID as a query parameter on every request.

| Data type | Dataset ID |
| :- | :- |
| Profiles | `gd_l1vikfch901nx3by4` |
| Posts | `gd_lk5ns7kz21pck8jpis` |
| Reels | `gd_lyclm20il4r5helnj` |
| Comments | `gd_ltppn085pokosxh13` |

## Request methods

The Bright Data Scraper API supports two request methods. Choose based on your volume and latency needs.

| Method | Endpoint | Best for |
| :- | :- | :- |
| **Synchronous** | `/scrape` | Real-time lookups, one input per request |
| **Asynchronous** | [`/trigger`](https://docs.brightdata.com/products/scrapers/scrapers-library/async-requests) | Batch jobs, more than one input, production pipelines |

Learn more in [Understanding sync vs. async requests](https://docs.brightdata.com/concepts/sync-vs-async.md).

Both endpoints take an object with an `input` array, plus optional `limit_per_input` and `custom_output_fields`, or a `deliver` block on `/trigger`. A bare JSON array of inputs is also accepted, and the examples on this page use it. See [Request body](https://docs.brightdata.com/api-reference/scrapers/synchronous-requests.md#request-body).

## Capabilities and limits

| Capability | Detail |
| :- | :- |
| **Output formats** | NDJSON (default), JSON, JSON lines, CSV and Parquet ([where each applies](https://docs.brightdata.com/products/scrapers/scrapers-library/data-delivery.md#which-output-formats-can-i-use)) |
| **Inputs per sync request** | One recommended. Data returns in the response if collection finishes within 1 minute, otherwise HTTP 202 with a `snapshot_id` |
| **Max URLs per async request** | Unlimited, up to 1 GB of input per job |
| **Data freshness** | Real-time (scraped on demand) |
| **Delivery options** | API download, [webhook](https://docs.brightdata.com/products/scrapers/scrapers-library/data-delivery.md), [Amazon S3](https://docs.brightdata.com/products/scrapers/scrapers-library/data-delivery.md), Snowflake, Azure, GCS ([all destinations](https://docs.brightdata.com/products/scrapers/scrapers-library/data-delivery.md)) |
| **Pricing** | Pay per successful record ([see pricing](https://brightdata.com/pricing/web-scraper)) |

## Common questions

### Is the data scraped in real time?

Yes. Each request triggers a live scrape. There is no cached or stale data. Processing time varies with target-site conditions and scraper workload. The Bright Data Instagram Scraper API does not publish a fixed response time. A synchronous request waits up to 1 minute, then returns HTTP `202` with a `snapshot_id` and continues asynchronously. Discovery requests always run asynchronously and take longer depending on result volume.

### Why do response times change over time?

Instagram changes how its pages are served, and the Bright Data Instagram Scraper API collectors are updated to match. A collector update can change how long a scrape takes even when the success rate stays the same. For production workloads, build against the [async workflow](https://docs.brightdata.com/products/scrapers/scrapers-library/async-requests.md) or [webhook delivery](https://docs.brightdata.com/products/scrapers/scrapers-library/data-delivery.md) so a longer run does not break the integration.

### What is the difference between URL collection and discovery?

**URL collection** scrapes a specific Instagram page you provide (e.g., a profile URL). **Discovery** finds Instagram content matching search criteria (e.g., all posts from a profile URL) and scrapes the results. Discovery is accepted on both endpoints. On `/scrape` it usually runs past the 1-minute limit and returns HTTP `202` with a `snapshot_id`, so use the async [`/trigger`](https://docs.brightdata.com/products/scrapers/scrapers-library/async-requests) endpoint for discovery.

### How is this different from scraping using proxies or Web Unlocker API?

When scraping using proxies or Web Unlocker API, you still need to write and maintain your own parsing logic and update it whenever the target site changes its page structure. The Bright Data Scraper API handles the entire stack: proxy rotation, anti-bot bypassing and parsing. You send a URL or keyword and get clean, structured JSON back, with no scraping infrastructure or parser maintenance on your end.

### Is there an open-source Instagram scraper on GitHub?

Yes. Bright Data maintains two open-source Instagram scrapers that call the Bright Data Instagram Scraper API: [instagram-scraper](https://github.com/brightdata/instagram-scraper) for Python and [instagram-scraper-node](https://github.com/brightdata/instagram-scraper-node) for Node.js. Both are Apache 2.0 licensed, and a scheduled GitHub Actions job checks them against the live API every day.

## Next steps

> [card] [Quickstart](https://docs.brightdata.com/products/scrapers/instagram/quickstart.md)
>
> Scrape your first Instagram profile in 5 minutes.

> [card] [Endpoints](https://docs.brightdata.com/products/scrapers/instagram/send-first-request.md)
>
> One request per endpoint, each with a captured response.

> [card] [API reference](https://docs.brightdata.com/api-reference/scrapers/social-media-apis/instagram-profiles-collect-by-url.md)
>
> Endpoint specs, parameters, and response schemas.
