# Instagram Stories & Highlights Scraper | $2.44/1K results | PPR (`rowlup/instagram-story-scraper`) Actor

A profile's current stories and every item of its highlights, with media links, mentions and links.

- **URL**: https://apify.com/rowlup/instagram-story-scraper.md
- **Developed by:** [rowlup](https://apify.com/rowlup) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.44 / 1,000 posts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Stories & Highlights Scraper

A profile's current stories and every item of its highlights, with media links, mentions and links.

No Instagram account, cookies or proxies of yours are needed. You pay for a run start and the rows delivered to your dataset.

### What does Instagram Stories & Highlights Scraper do?

- **Stories** reads a profile’s live stories, with the media links, stickers, links and music of each item.
- **Highlights** reads a profile’s highlights, then every item in each.

#### Use cases

- Story archives: stories disappear after 24 hours; a daily schedule keeps them.
- Brand monitoring: links, mentions and paid partnerships in competitors’ stories.
- Highlight archives: every item a profile saved.

### Why use it?

- No Instagram account, cookies or proxies of yours. rowlup runs its own accounts, each on its own proxy in the account’s country, and calls Instagram’s web API the way its web app does.
- You pay for a run start and the rows delivered to your dataset; never for compute, failed requests or retries. Errors are free rows.
- A stopped run is not lost: run it again with the same input within 6 hours and it continues each target where it stopped, without charging again for rows it delivered. Later, the same input starts afresh, so a daily schedule gets every target each day.
- **New rows only** returns just what your earlier runs did not get, for cheap scheduled monitoring.
- One row per item with a stable `type`, so JSON, CSV and Excel exports stay flat and predictable.

### What data does it extract?

Every row has a `type`. This actor writes `story`, `highlight` rows, and a free `error` row for a target that gave nothing or less than asked.

#### `story` rows

| Field | Type | Description |
| --- | --- | --- |
| `type` | string | Always `story`. |
| `id` | string | Instagram media id. |
| `kind` | string | `image`, `video`, `reel` or `carousel`. |
| `displayUrl` | string | The image, or the video’s cover, at full size. |
| `videoUrl` | string | null | The MP4 of a video or reel. |
| `audioUrl` | string | null | The video’s audio track alone, an MP4 about 30 times smaller than the video: enough to transcribe. |
| `width` | number | Width in pixels. |
| `height` | number | Height in pixels. |
| `accessibilityCaption` | string | null | Instagram’s own description of the image, written for screen readers. |
| `highlightId` | string | null | The highlight the item belongs to; null for a live story. |
| `shortCode` | string | null | The item’s code. |
| `takenAt` | string | When it was posted, ISO 8601 in UTC. |
| `expiresAt` | string | null | When a live story disappears; null in highlights. |
| `videoDuration` | number | null | Length of a video in seconds. |
| `owner` | object | `id` and `username`. |
| `mentions` | string\[] | Usernames of mention stickers. |
| `hashtags` | string\[] | Hashtag stickers. |
| `locations` | object\[] | Location stickers: `id`, `name`. |
| `links` | string\[] | Targets of link stickers. |
| `sharedPosts` | string\[] | Shortcodes of posts shared into the story. |
| `music` | object | null | Music sticker: `title`, `artist`. |
| `isPaidPartnership` | boolean | Marked as a paid partnership. |

#### `highlight` rows

| Field | Type | Description |
| --- | --- | --- |
| `type` | string | Always `highlight`. |
| `id` | string | Highlight id. |
| `title` | string | Highlight title. |
| `coverUrl` | string | null | The cover image. |
| `owner` | object | `id` and `username`. |

### How do I use it?

1. Open the actor in Apify Console and click **Try for free** (or **Start** if you already have it).
2. Under **Targets**, add usernames, @names, user ids or profile links. With Highlights picked, also highlight links (instagram.com/stories/highlights/ or a shared instagram.com/s/ link): each gives only that highlight’s items.
3. Under **What to scrape**, pick Stories or Highlights.
4. Set the options you need; the defaults are sensible.
5. Click **Start**. Rows appear in the **Output** tab as they come.
6. Export as JSON, CSV, Excel, XML or HTML, or read them through the API.

#### Live stories

```json
{
  "targets": [
    "natgeo"
  ],
  "kinds": [
    "stories"
  ]
}
```

#### Highlights and their items

```json
{
  "targets": [
    "natgeo"
  ],
  "kinds": [
    "highlights"
  ]
}
```

#### Both

```json
{
  "targets": [
    "natgeo",
    "nasa"
  ],
  "kinds": [
    "stories",
    "highlights"
  ]
}
```

#### One highlight by its link

Only that highlight’s items, in one request with no profile lookup. With Stories picked too, the link goes to Highlights alone.

```json
{
  "targets": [
    "https://www.instagram.com/stories/highlights/18023864549864045/"
  ],
  "kinds": [
    "highlights"
  ]
}
```

### Input

| Field | Title | Type | Default | What it does |
| --- | --- | --- | --- | --- |
| `kinds` | What to scrape | array of `stories`, `highlights` |  | Stories or Highlights; Stories when none is picked. Every target is scraped for each kind picked. |
| `targets` | Targets | array of strings | required | Usernames, @names, user ids or profile links. With Highlights picked, also highlight links (instagram.com/stories/highlights/ or a shared instagram.com/s/ link): each gives only that highlight’s items. |
| `limit` | Rows per target | integer |  | Default: 1 for profile and post, 2,000 for likers, stories and highlight items, every comment up to 10,000 top-level a post, 100 otherwise. A target the limit cut while Instagram had more is named when the run ends. With Comment replies, replies come on top: up to this many per comment thread, each charged as a reply. |
| `newOnly` | New rows only | boolean | `false` | Only rows no earlier run delivered for the same kind and target. Posts, likers and newest comments stop paging at the first row seen before; other lists are read to their end and filtered, going through at most 1,000 rows delivered before per target. Profile and post rows always come again. |
| `use` | Accounts to use | integer | `1` | How many of the service's accounts the scrape spreads over: more accounts, more rows an hour. |
| `maxRequests` | Max requests | integer |  | Stop after this many requests to Instagram, a cap on the run's requests. To cap what a run is charged, set Maximum cost per run in the run options. |
| `wait` | Wait for the budget | boolean | `false` | When every account's request budget is spent, wait for a slot to free instead of stopping. A stopped run is continued by running again with the same targets and options: the targets it left unfinished are resumed from where they stopped. |

Full input example:

```json
{
  "targets": [
    "natgeo"
  ],
  "kinds": [
    "stories"
  ]
}
```

### Output

One dataset row per item. The Output tab has a table view for each row type and one for errors.

#### `story`

```json
{
  "type": "story",
  "id": "4036271326106908774",
  "kind": "image",
  "displayUrl": "https://scontent-ord5-2.cdninstagram.com/v/...",
  "videoUrl": null,
  "audioUrl": null,
  "width": 1206,
  "height": 2144,
  "accessibilityCaption": null,
  "highlightId": null,
  "shortCode": "DgDt2LRsnhm",
  "takenAt": "2026-11-22T20:57:38.000Z",
  "expiresAt": "2026-11-23T20:57:38.000Z",
  "videoDuration": null,
  "owner": {
    "id": "27051077661",
    "username": "pusholder"
  },
  "mentions": [],
  "hashtags": [],
  "locations": [],
  "links": [],
  "sharedPosts": [
    "DgDqkaBDCd1"
  ],
  "music": null,
  "isPaidPartnership": false
}
```

#### `highlight`

```json
{
  "type": "highlight",
  "id": "17912345678901234",
  "title": "Travel",
  "coverUrl": "https://scontent-ord5-2.cdninstagram.com/v/...",
  "owner": {
    "id": "787132",
    "username": "natgeo"
  }
}
```

#### Error rows

A target that gave no rows, or fewer than asked, gets one free row:

```json
{
  "type": "error",
  "kind": "stories",
  "target": "natgeo",
  "error": "empty",
  "detail": "Instagram has nothing of this kind for the target."
}
```

| `error` | Meaning |
| --- | --- |
| `not_found` | The target does not exist, or Instagram answered that it does not: a wrong username, a deleted post. |
| `empty` | The target exists but has nothing of this kind: no stories now, no posts, a private profile’s lists. |
| `short` | Fewer rows than asked, because Instagram had no more or the limit of the kind was reached. |
| `failed` | The target could not be read in this run. If the run stopped early, run again with the same input within 6 hours to continue it; a target that failed after several tries is not retried that way, so run it on its own. |

### How much does it cost?

Pay per event: you pay for a run start and the rows delivered to your dataset, and nothing else. Apify’s platform usage (compute, proxy, storage of the run) is on us.

| Event | When it is charged | Price |  |
| --- | --- | --- | --- |
| Post | One post, reel or story row in the dataset | $0.00244 | $2.44 per 1,000 rows |
| Item | One place, audio, hashtag or highlight row in the dataset | $0.00244 | $2.44 per 1,000 rows |
| Run start | Once per run, and once more per GB of memory past the first | $0.00049 |  |

- 100 rows: 100 rows × $0.00244 + $0.00049 run start = **$0.2445**

- 1,000 rows: 1,000 rows × $0.00244 + $0.00049 run start = **$2.44**

- 10,000 rows: 10,000 rows × $0.00244 + $0.00049 run start = **$24.40**

- Error rows are free. A target that gives no row costs no target fee.

- A row is charged once, when it is written. A run that resumes does not charge again for rows it already delivered.

- Set **Maximum cost per run** in the run options: the run stops before the row that would pass it.

### Speed and limits

- Each account has an hourly request budget per kind of request, set below the point where Instagram starts to block. A run spreads over **Accounts to use** accounts (up to 3), so more accounts give more rows an hour.
- Runs share the pool of accounts. When others are using them, a run waits for a free account and then starts.
- When the budgets are spent, the run stops rather than wait idle, and names what it left unfinished. Run it again with the same input in 1 to 6 hours to continue, or turn on **Wait for the budget**.
- A run whose targets mostly do not exist or give nothing (25 of them, at least 80% of those read) stops, and the rest of its targets get free `failed` rows: check the list and run again.
- **New rows only** goes through at most 1,000 rows delivered before per target on lists that are not newest first, such as top comments and similar accounts.
- **Max requests** caps a run’s requests; **Maximum cost per run** caps what it may charge.
- Media links (`displayUrl`, `videoUrl`, `audioUrl`) are Instagram’s CDN links. They expire about 4 days after the scrape: download the files within that time.

### Use it from code

Get your API token in Apify Console under **Settings → API & Integrations**.

#### JavaScript

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('rowlup/instagram-story-scraper').call({"targets":["natgeo"],"kinds":["stories"]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("rowlup/instagram-story-scraper").call(run_input={"targets":["natgeo"],"kinds":["stories"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

#### HTTP

One call that runs the actor and returns its rows (for runs under 5 minutes):

```bash
curl -X POST "https://api.apify.com/v2/acts/rowlup~instagram-story-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"targets":["natgeo"],"kinds":["stories"]}'
```

Add `&format=csv` or `&format=xlsx` for a spreadsheet.

#### Apify CLI

```bash
echo '{"targets":["natgeo"],"kinds":["stories"]}' | apify call rowlup/instagram-story-scraper --output-dataset
```

#### AI agents (MCP)

Apify’s MCP server gives the actor to Claude, Cursor or any MCP client as a tool:

```json
{
  "mcpServers": {
    "rowlup-instagram": { "url": "https://mcp.apify.com?tools=rowlup/instagram-story-scraper" }
  }
}
```

The client signs in to Apify with OAuth the first time; or add `"headers": { "Authorization": "Bearer <APIFY_TOKEN>" }`.

### FAQ

#### Do I need an Instagram account?

No. The actor uses rowlup’s own accounts and proxies. You never share a login or a cookie.

#### Can it read private profiles?

No. It sees what any logged-in stranger sees. A private profile still gives its profile row; its posts, lists and stories give nothing, and the target gets a free error row.

#### How fresh is the data?

Live: every row is read from Instagram during your run. Nothing is served from a cache.

#### Can I run it on a schedule?

Yes. Create a task with your input and add a schedule in Apify Console (Schedules). Turn on **New rows only** where the actor offers it to pay only for new rows.

#### Why did my run end before the limit?

The target had no more rows, or the accounts’ hourly budgets ran out. The run names each target it could not finish. Run it again with the same input within 6 hours to continue those targets.

#### Is my data shared with other customers?

No. Your rows go to your run’s dataset only. **New rows only** remembers what your own runs delivered, not other customers’.

#### Is scraping Instagram legal?

The actor reads only publicly visible data. Data about people can still be personal data under GDPR and similar laws: have a legitimate reason to process it and check with a lawyer if unsure.

#### Something is wrong or missing. What do I do?

Open an issue in the **Issues** tab with the run’s link. We read every one.

### Other rowlup Instagram scrapers

- [Instagram Profile Scraper](https://apify.com/rowlup/instagram-profile-scraper): Instagram profiles: name, bio, followers, following, post count, links, category, and emails and phones found in the bio.
- [Instagram Post Scraper](https://apify.com/rowlup/instagram-post-scraper): A profile's posts, or single posts by link: caption, media, likes, comments, views, location, tagged users and music.
- [Instagram Reel Scraper](https://apify.com/rowlup/instagram-reel-scraper): Every reel of a profile's Reels tab: caption, hashtags, date, duration, audio, and play, like, comment and share counts.
- [Instagram Comments Scraper](https://apify.com/rowlup/instagram-comment-scraper): Every comment of a post or reel, newest and top, with likes, the commenter and on request each reply.
- [Instagram Hashtag Scraper](https://apify.com/rowlup/instagram-hashtag-scraper): The posts of a hashtag, or of a keyword search, as Instagram's grid shows them.
- [Instagram Tagged Posts Scraper](https://apify.com/rowlup/instagram-tagged-scraper): The posts other accounts tagged a profile in, from its Tagged tab.
- [Instagram Location Scraper](https://apify.com/rowlup/instagram-place-scraper): A place with its address, phone and coordinates, then its recent posts.
- [Instagram Reel Transcript Scraper](https://apify.com/rowlup/instagram-reel-transcript-scraper): Transcripts of Instagram reels: the spoken text, its opening hook, timed segments and language, with each reel’s link, caption and counts.
- [Instagram Search Scraper](https://apify.com/rowlup/instagram-search-scraper): Instagram's search for a text: the matching users, hashtags and places.
- [Instagram Similar Accounts Scraper](https://apify.com/rowlup/instagram-related-profiles-scraper): About 80 profiles Instagram suggests as similar to a profile.
- [Instagram Audio Reels Scraper](https://apify.com/rowlup/instagram-audio-scraper): An audio or song page: the audio, then the reels that use it.
- [Instagram About This Account Scraper](https://apify.com/rowlup/instagram-about-account-scraper): The "About this account" sheet of a profile: when it joined, its country and how often it changed its username.

# Actor input Schema

## `kinds` (type: `array`):

Stories or Highlights; Stories when none is picked. Every target is scraped for each kind picked.

## `targets` (type: `array`):

Usernames, @names, user ids or profile links. With Highlights picked, also highlight links (instagram.com/stories/highlights/ or a shared instagram.com/s/ link): each gives only that highlight’s items.

## `limit` (type: `integer`):

Default: 1 for profile and post, 2,000 for likers, stories and highlight items, every comment up to 10,000 top-level a post, 100 otherwise. A target the limit cut while Instagram had more is named when the run ends. With Comment replies, replies come on top: up to this many per comment thread, each charged as a reply.

## `newOnly` (type: `boolean`):

Only rows no earlier run delivered for the same kind and target. Posts, likers and newest comments stop paging at the first row seen before; other lists are read to their end and filtered, going through at most 1,000 rows delivered before per target. Profile and post rows always come again.

## `use` (type: `integer`):

How many of the service's accounts the scrape spreads over: more accounts, more rows an hour.

## `maxRequests` (type: `integer`):

Stop after this many requests to Instagram, a cap on the run's requests. To cap what a run is charged, set Maximum cost per run in the run options.

## `wait` (type: `boolean`):

When every account's request budget is spent, wait for a slot to free instead of stopping. A stopped run is continued by running again with the same targets and options: the targets it left unfinished are resumed from where they stopped.

## Actor input object example

```json
{
  "kinds": [
    "stories"
  ],
  "targets": [
    "natgeo"
  ],
  "limit": 2000,
  "newOnly": false,
  "use": 1,
  "wait": false
}
```

# Actor output Schema

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

Every row the run delivered.

# 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 = {
    "kinds": [
        "stories"
    ],
    "targets": [
        "natgeo"
    ],
    "limit": 2000
};

// Run the Actor and wait for it to finish
const run = await client.actor("rowlup/instagram-story-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 = {
    "kinds": ["stories"],
    "targets": ["natgeo"],
    "limit": 2000,
}

# Run the Actor and wait for it to finish
run = client.actor("rowlup/instagram-story-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 '{
  "kinds": [
    "stories"
  ],
  "targets": [
    "natgeo"
  ],
  "limit": 2000
}' |
apify call rowlup/instagram-story-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rowlup/instagram-story-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/OUtCdbPRobGqhbBFs/builds/3pIfZqzTrNBMgUW3j/openapi.json
