# Instagram Scraper - Posts, Reels & Profiles, No Login (`alom/instagram-scraper`) Actor

Scrape public Instagram profiles, posts and reels without login: likes, comments, views, captions, dates, video links, bio links and first comments. Paste usernames or links. Same field names as the most-used Instagram scrapers. Optional MP4 downloads and extra comments.

- **URL**: https://apify.com/alom/instagram-scraper.md
- **Developed by:** [Alom Dev](https://apify.com/alom) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Instagram Scraper

This **Instagram scraper** gets **Instagram posts, reels and profiles** as a table, **without logging in**: likes,
comments, captions, dates, video links and the first comments under each post. It is for brand and competitor
monitoring, influencer vetting and content research. The Free plan's $5 monthly credit covers about 3,300 results.

- **No login, nothing to ban.** It reads what a logged-out visitor of instagram.com sees.
- **Full post data:** likes, comment count, caption, hashtags, mentions, date, images and carousel slides, video links,
  tagged users, location, audio and the first comments under each post.
- **Reels with view counts,** and **profiles** with followers, bio, bio links and the account's Threads link.
- **Same field names as the Instagram scrapers you may already use,** so your sheets and code keep working.
- **$1.50 per 1,000 results on the Free plan, $1.20 on Gold and above.** Proxies included.
- **Optional add-ons:** each video as an **MP4 file** in your storage ($3.50 per 1,000 videos), and **more comments
  per post** than the free first ~12 ($0.50 per 1,000). Off by default.

### How to scrape Instagram in 3 steps

1. Enter **usernames** (e.g. `nasa`), **profile links** or **post and reel links**, one per line.
2. Choose **what to get from each profile:** posts, reels or profile details. Set how many posts per profile.
3. Press **Start**, then open the **Output** tab or export to CSV, Excel or JSON. 30 posts take about a minute.

### Related actors

- [Instagram Reels Scraper](https://apify.com/alom/instagram-reels-scraper): the reels of any account with view counts and video links
- [Instagram Comments Scraper](https://apify.com/alom/instagram-comments-scraper): the comments of any public post or reel
- [Instagram Video Downloader](https://apify.com/alom/instagram-video-downloader): reels and videos as MP4 files, with a direct link each
- [TikTok Video Downloader](https://apify.com/alom/tiktok-video-downloader): public TikTok videos as MP4 files, same row format as the Instagram downloader

### What can you use Instagram data for?

- **Competitor and brand monitoring:** what competitors post, how often, and how much engagement each post gets.
- **Influencer vetting:** followers, verification, posting frequency and real likes and comments per post.
- **Content research:** which posts and reels of an account worked best, by likes, comments or views.
- **Campaign tracking:** likes and comments of the posts in a campaign, from a list of post links.
- **Audience research:** the first comments under each post, with their likes.
- **AI and research datasets:** captions with dates, authors and engagement counts.

### What can it scrape?

| What to get | Input | One row per |
|---|---|---|
| **Posts** (default) | usernames or profile links | post: likes, comments, caption, date, media, first comments |
| **Reels** | usernames or profile links | reel: the same plus **view count** |
| **Profile details** | usernames or profile links | account: followers, following, bio, bio links, Threads link, first 12 posts |
| **Comments** | post or reel links, or usernames | comment: text, author, likes, date (usernames: their latest posts) |
| any other | post or reel links | that post or reel |

Usernames and links can be mixed in one list. Filters: **Max posts per profile** and **Only posts newer than**
(a date or `7 days`).

### Add-ons: video files and more comments

Both are off by default and work with **Posts**, **Reels** and post links. You pay for them only when you turn them on,
and only for what you get.

- **Download videos as MP4 files** (`downloadVideos: true`): each video, reel and video slide of a carousel is saved in
  the run's storage. `downloadedVideo` is a direct link to the file, and `downloadedVideos` lists every file of the
  post with its size and length. Photos cost nothing extra. A video that fails to download is not charged, and
  `videoDownloadError` says why. The files come straight from Instagram's video servers, not through paid proxies.
- **Comments per post** (`maxCommentsPerPost: 100`): up to that many comments in `latestComments`, newest first. The
  first ~12 come with the post and stay free; you pay only for the ones after them (`chargedComments` on each row).

Need only the files from a list of links? The [Instagram Video Downloader](https://apify.com/alom/instagram-video-downloader)
gives one row per video. Need only comments? The [Instagram Comments Scraper](https://apify.com/alom/instagram-comments-scraper)
gives one row per comment.

### Output example

A post (values shortened):

```json
{
    "inputUrl": "nasa",
    "id": "3012345678901234567",
    "type": "Sidecar",
    "shortCode": "DAbCdEfGhIj",
    "url": "https://www.instagram.com/p/DAbCdEfGhIj/",
    "caption": "Caption of the post #space @partner",
    "hashtags": ["space"],
    "mentions": ["partner"],
    "commentsCount": 941,
    "likesCount": 375806,
    "videoPlayCount": null,
    "timestamp": "2026-11-03T14:39:27.000Z",
    "ownerUsername": "nasa",
    "ownerFullName": "NASA",
    "ownerId": "528817151",
    "ownerIsVerified": true,
    "displayUrl": "https://scontent.cdninstagram.com/v/example.jpg",
    "images": ["https://scontent.cdninstagram.com/v/example-1.jpg", "https://scontent.cdninstagram.com/v/example-2.jpg"],
    "videoUrl": null,
    "dimensionsWidth": 1000,
    "dimensionsHeight": 1249,
    "alt": "Photo by NASA on November 03, 2026.",
    "productType": "carousel_container",
    "childPosts": [{ "id": "301…", "shortCode": "DAb…", "type": "Image", "displayUrl": "https://…", "videoUrl": null, "alt": "…" }],
    "taggedUsers": [],
    "coauthorProducers": [],
    "locationName": null,
    "musicInfo": null,
    "topics": ["star cluster"],
    "firstComment": "Beautiful!",
    "latestComments": [
        { "id": "180…", "text": "Beautiful!", "ownerUsername": "example_user", "ownerIsVerified": false, "timestamp": "2026-11-15T10:12:13.000Z", "likesCount": 2, "repliesCount": null }
    ],
    "downloadedVideo": null,
    "downloadedVideos": [],
    "videoDownloadError": null,
    "chargedVideos": 0,
    "chargedComments": 0,
    "commentsError": null,
    "scrapedAt": "2026-11-16T08:50:12.000Z"
}
```

A reel with the video download add-on (only the add-on fields shown):

```json
{
    "downloadedVideo": "https://api.apify.com/v2/key-value-stores/aBcDeFgHiJkLmNoPq/records/video-3012345678901234567.mp4",
    "downloadedVideos": [
        { "slide": null, "url": "https://api.apify.com/v2/key-value-stores/aBcDeFgHiJkLmNoPq/records/video-3012345678901234567.mp4", "storageKey": "video-3012345678901234567.mp4", "sizeBytes": 6539011, "durationSecs": 29.9, "chargedVideos": 1 }
    ],
    "videoDownloadError": null,
    "chargedVideos": 1
}
```

A profile (**Profile details**):

```json
{
    "inputUrl": "nasa",
    "id": "528817151",
    "username": "nasa",
    "url": "https://www.instagram.com/nasa/",
    "fullName": "NASA",
    "biography": "Exploring the universe and our home planet.",
    "externalUrl": "https://www.nasa.gov/",
    "externalUrls": [{ "title": "NASA", "url": "https://www.nasa.gov/" }],
    "followersCount": 98000000,
    "followsCount": 80,
    "verified": true,
    "private": false,
    "profilePicUrl": "https://scontent.cdninstagram.com/v/example.jpg",
    "hasClips": true,
    "threadsUrl": "https://www.threads.com/@nasa",
    "latestPosts": [{ "shortCode": "DAbCdEfGhIj", "url": "https://www.instagram.com/p/DAbCdEfGhIj/", "type": "Image", "caption": "…", "displayUrl": "https://…", "alt": "…" }]
}
```

`type` is `Image`, `Video` or `Sidecar` (a carousel). Counts the owner hid are `null` (`likesAndViewsHidden: true`).

### How much does it cost?

You pay per result row. Proxies and Apify's platform costs are included. The add-ons cost extra only when you turn
them on.

| Per 1,000 | Free and Bronze | Silver | Gold and above |
|---|---|---|---|
| Results (posts, reels, profiles, comments) | $1.50 | $1.35 | $1.20 |
| Add-on: video download | $3.50 | $3.15 | $2.80 |
| Add-on: extra comment (past the free first ~12) | $0.50 | $0.45 | $0.40 |

A video up to 30 MB counts as one download, a larger one as one more for each started 30 MB (`chargedVideos` says how
many). Each run also has a start fee of $0.00005. A private account, a missing post or a wrong link gives no row and costs
nothing; the run's message names it.

### Switching from another Instagram scraper?

The input names other Instagram scrapers on Apify use work here too: `directUrls`, `usernames`, `resultsType`
(`posts`, `reels`, `details`), `resultsLimit`, `onlyPostsNewerThan`, and `includeDownloadedVideo` or
`shouldDownloadVideos` for the video add-on. Output fields have the usual names
(`shortCode`, `likesCount`, `commentsCount`, `ownerUsername`, `latestComments`, `followersCount`, ...).

### Limitations

- **Public accounts only.** A private account is named in the run's message and costs nothing.
- **Without a login, Instagram does not show:** stories, highlights, followers and following lists, hashtag and
  keyword search, an account's post count, and business e-mail, phone and category. So this Actor does not offer them.
- **Comments:** post rows carry the first comments (about 10-12) for free; the **Comments per post** add-on gives more,
  and **Comments** mode gives one row per comment. Without a login Instagram shows most comments of a post (693 of 835
  in our test) and no replies.
- **Downloaded videos stay as long as your plan keeps run storage:** 7 days on the Free plan, 31 days on standard paid
  plans. Download what you want to keep. Up to 128 MB per video.
- **View counts** come from the reels tab: choose **Reels** to get them. Posts give likes and comments.
- **Pinned posts** come first on a profile. With **Only posts newer than**, older pinned posts are skipped.
- Instagram turns away datacenter IPs when a visitor is not logged in, so the Actor always uses Apify's residential
  proxies. You can give your own proxy URLs instead.

### FAQ

**Do I need an Instagram account?**
No. The Actor never logs in, so no account of yours is at risk.

**How fast is it?**
About one post per second per profile, three profiles at a time. 100 posts of one account take about two minutes.

**Is it legal to scrape Instagram?**
This Actor reads public data only. Personal data is protected by laws such as the GDPR; scrape only what you have a
legitimate reason to use, and check Instagram's terms for your use case.

**Can I get only new posts?**
Set **Only posts newer than** to e.g. `1 day` and schedule the run daily.

### More scrapers from the same developer

- [Instagram Video Downloader](https://apify.com/alom/instagram-video-downloader): Instagram reels and videos as MP4 files from post links or usernames
- [Instagram Reels Scraper](https://apify.com/alom/instagram-reels-scraper): the reels of any account with view counts, likes and video links
- [Instagram Comments Scraper](https://apify.com/alom/instagram-comments-scraper): every comment of a post, newest first, $0.50 per 1,000
- [Threads Scraper](https://apify.com/alom/threads-scraper): the same accounts on Threads, with posts, replies and view counts. Use `threadsUrl` from a profile row.
- [TikTok Video Downloader](https://apify.com/alom/tiktok-video-downloader): public TikTok videos as MP4 files from post and short links.
- [YouTube Scraper](https://apify.com/alom/youtube-scraper): videos, channels, Shorts and comments without the API quota.
- [Bluesky Scraper](https://apify.com/alom/bluesky-scraper): posts, profiles, replies and search, no login.

### Feedback

Something not working, or a field missing? Open an issue in the **Issues** tab and I'll look at it.

# Actor input Schema

## `directUrls` (type: `array`):

Instagram usernames (nasa or @nasa), profile links (https://www.instagram.com/nasa/), or post and reel links (https://www.instagram.com/p/CODE/). One per line.

## `resultsType` (type: `string`):

Posts: every post with likes, comments, date, caption and media. Reels: the reels tab, with view counts. Profile details: one row per account (followers, bio, links, first 12 posts). Comments: one row per comment of each post link, or of each profile's latest posts. Post links in the other modes give that post.

## `resultsLimit` (type: `integer`):

Stop after this many posts or reels from each profile. With Comments: this many comments per post.

## `maxPostsPerProfile` (type: `integer`):

With Comments and a username: the comments of this many of its latest posts.

## `onlyPostsNewerThan` (type: `string`):

Date (UTC), ISO timestamp or relative like <code>7 days</code> or <code>48 hours</code>. Older posts are skipped, pinned ones included, and paging stops once older posts are reached.

## `includeComments` (type: `boolean`):

Add the first comments Instagram shows under each post (about 10-12) as latestComments. Free: they come with the post.

## `downloadVideos` (type: `boolean`):

Save each post's video in the run's storage, with a direct link in <code>downloadedVideo</code>. Extra $3.50 per 1,000 videos ($2.80 on Gold), counted once per started 30 MB. Photos and videos that fail to download cost nothing. Files come straight from Instagram's video servers, never through paid proxies.

## `maxCommentsPerPost` (type: `integer`):

Up to this many comments in each post's <code>latestComments</code>, newest first. The first ~12 are free; each one after that is $0.50 per 1,000 ($0.40 on Gold). Empty or 0: only the free ones. Logged out, Instagram shows most comments (693 of 835 in our test) and no replies.

## `maxVideoSizeMb` (type: `integer`):

With video downloads: skip videos larger than this. A skipped video is named in videoDownloadError and not charged.

## `maxConcurrency` (type: `integer`):

How many profiles or links at once.

## `proxyConfiguration` (type: `object`):

Instagram answers residential IPs only, so Apify residential proxies are used (included in the price). You can also give your own proxy URLs.

## Actor input object example

```json
{
  "directUrls": [
    "nasa"
  ],
  "resultsType": "posts",
  "resultsLimit": 5,
  "maxPostsPerProfile": 3,
  "includeComments": true,
  "downloadVideos": false,
  "maxVideoSizeMb": 128,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "directUrls": [
        "nasa"
    ],
    "resultsLimit": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("alom/instagram-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "directUrls": ["nasa"],
    "resultsLimit": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("alom/instagram-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "directUrls": [
    "nasa"
  ],
  "resultsLimit": 5
}' |
apify call alom/instagram-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alom/instagram-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Sr6zVmJU33Qs6ntKF/builds/KhdeXoMfV5kdXSgCE/openapi.json
