# Instagram Stories Scraper (`instagram-data-api/instagram-stories-scraper`) Actor

Instagram story viewer & downloader: live stories of public profiles, no login: photo and video links or files saved to your Apify storage, with time, mentions, links, music and polls. One price per profile checked, all its stories included — from $3.74 per 1,000 profiles.

- **URL**: https://apify.com/instagram-data-api/instagram-stories-scraper.md
- **Developed by:** [Instagram Data API](https://apify.com/instagram-data-api) (community)
- **Categories:** Social media, Videos, Automation
- **Features:** Limited permissions
- **Stats:** 10 total users, 6 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.74 / 1,000 checked profiles

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 stories scraper & monitor

**Paste usernames and get the stories they have live right now — photo and video links, time, mentions, links, music and polls — fetched from Instagram at run time, not from a cache.**

- 💸 **One price per profile checked** — $3.94 per 1,000 profiles on Starter, all its stories included.
- ⏱️ **Hourly monitoring on a budget** — 45 accounts every hour for 30 days = 32,400 checks ≈ $128.02 on Starter.
- 💾 **Links that don't expire** — turn on **Save photos and videos** and we save every story file to your run's storage: `mediaStoredUrl` keeps working long after Instagram's links expire, for as long as your Apify plan keeps the run's storage. No extra charge from us.
- 📦 **Up to 50,000 profiles per run**, checked in batches.
- 🔓 **No login**; private or missing profiles come back as free rows.

> ⭐ **Recommended: our No Login line** — an all-in-one scraper, profiles, followers, reels, posts and Threads with more fields per row: [see all](https://apify.com/nologin).

### Why scrape Instagram stories?

- **Competitor monitoring:** stories disappear in 24 hours — run it on a schedule to keep them.
- **Campaign proof:** archive influencer stories with mentions and links.
- **Brand archives** of every story with media files.

### What data can I scrape from Instagram stories?

| Data | What it is |
|---|---|
| Username | Instagram username (handle) |
| Type | profile — one summary row per profile (the charged one); story — one live story, free inside the profile's charge |
| Stories | How many stories are live now |
| Posted | When it was posted (UTC, ISO 8601) |
| Media | photo or video |
| Video | Direct link to the video file — it expires, see mediaUrlsExpireAt |
| Image | Direct link to the image — it expires, see mediaUrlsExpireAt |
| Links in story | Links from link stickers |

Up to 38 fields per row in total — the **Output** tab lists every one of them.

### How to scrape Instagram stories

1. Paste usernames or links into the input, one per line.
2. Press **Start** — rows stream into the Output tab while the run goes.
3. Download them as JSON, CSV, Excel or HTML, or get them through the API.

Works with any public profile on [Instagram](https://www.instagram.com/) — no login, no cookies, no proxies to set up,
no Instagram account of yours.

**No input at hand?** Press **Start** with an empty input — you get a 3-row sample.

### Input example

```json
{
  "usernames": [
    "natgeo"
  ],
  "saveMedia": false
}
```

### Output example: Instagram stories data

```json
{
  "type": "story",
  "username": "natgeo",
  "ownerId": "787132",
  "ownerFullName": "National Geographic",
  "ownerVerified": true,
  "id": "4017148054599751925",
  "storyUrl": "https://www.instagram.com/stories/natgeo/4017148054599751925/",
  "takenAt": "2026-10-28T07:43:06Z",
  "expiresAt": "2026-10-29T07:43:06Z",
  "mediaType": "video",
  "durationSec": 15,
  "videoUrl": "https://scontent.cdninstagram.com/…mp4",
  "mentions": [
    "natgeotravel"
  ],
  "links": [
    "https://on.natgeo.com/…"
  ],
  "music": {
    "title": "Original audio",
    "artist": "natgeo"
  },
  "hasPoll": false,
  "mediaUrlsExpireAt": "2026-10-29T19:00:00Z"
}
```

Each row has up to 38 fields — the **Output** tab describes every one of them. Fields Instagram
doesn't show come as `null`, never as a fake `0`.

### Limits

- Only live stories — Instagram removes them after 24 hours. Run it hourly to keep an archive.
- Media links expire after a few days — download the files you want to keep.
- **Free Apify plan:** the first 20 results of each run (looking through up to 15 pages of Instagram), up to 300 results a month across our Actors, from a daily free pool shared by all free users. Any paid Apify plan gets every result — no cap.

### How much does it cost to scrape Instagram stories?

Pay per event: you pay for the rows you get, plus $0.0005 per run. No subscription to this Actor.

| Apify plan | Per 1,000 checked profiles | What $5 of free credit gets you |
|---|---|---|
| Free | $3.94 | ≈ 1,200 checked profiles |
| Starter | $3.94 | — |
| Business and higher | $3.74 | — |

Every event of this Actor on the Starter plan:

| Event | What it is | Price |
|---|---|---|
| Checked profile | Each profile checked — all its live stories included | $3.94 per 1,000 |

**Typical jobs on Starter:**

- 45 accounts every hour for 30 days = 32,400 checks ≈ $128.02

**Always free:** private or missing profiles. Set **Maximum cost per run** in the run options to cap any run.

### Chain it with other Actors

Use the rows of an earlier run as the input: paste its **dataset ID** into *Or: dataset from another run*. For example,
run [Instagram Followers Scraper · No Login](https://apify.com/nologin/instagram-followers-scraper) on a brand, then give its dataset to
[Instagram Email & Phone Scraper](https://apify.com/instagram-data-api/instagram-email-phone-scraper) — you get the emails of the brand's
followers. Works with the datasets of Apify's own Instagram Actors too.

### Instagram stories API: Python, n8n, Make, Zapier and AI agents

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("instagram-data-api/instagram-stories-scraper").call(run_input={'usernames': ['natgeo'], 'saveMedia': False})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row)
```

**n8n, Make, Zapier or any HTTP client:** one request runs the Actor and returns the rows —
`POST https://api.apify.com/v2/acts/instagram-data-api~instagram-stories-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN`
with the input JSON as the body.

**AI agents (MCP)** — your agent gets this Actor as a tool:

- **Claude Code:** `claude mcp add --transport http apify "https://mcp.apify.com?tools=instagram-data-api/instagram-stories-scraper"`
- **Claude, Cursor, VS Code, n8n:** add `https://mcp.apify.com?tools=instagram-data-api/instagram-stories-scraper` as a remote MCP server and sign in to Apify.
- **Ask it:** *“Get the live stories of @natgeo with their links and mentions.”* · *“Did @competitor post a story today?”*

### FAQ: scraping Instagram stories

**How do I download Instagram stories?**
Paste usernames and press **Start**. Each story row has `videoUrl` or `imageUrl` — the original file — and `mediaUrlsExpireAt`; download the files before then.

**Do I pay for a profile with no story right now?**
Yes, one checked-profile event — we still had to check it; its row says `hasStories: false`. Private or missing profiles are free.

**How fresh are the stories?**
Each run asks Instagram directly, so you get what's live at that moment.

**How long do media links work?**
Instagram's media links expire; each row has `mediaUrlsExpireAt` — download the files before then. Or turn on **Save photos and videos**: we save the files to this run's storage, and `mediaStoredUrl` keeps working for as long as your Apify plan keeps the run's storage.

**How do I monitor stories every hour?**
Schedule this Actor hourly: each run returns the live stories, and you pay per profile checked.

**What does a typical run cost?**
A month of hourly monitoring: 45 accounts every hour for 30 days = 32,400 checks ≈ $128.02 on the Starter plan, the 720 run starts included.

**Do I need an Instagram account or cookies?**
No. You only paste usernames, links or keywords. Nothing to log in, no proxies to set up, nothing to install, and your own Instagram account is never involved.

**What am I charged for — and what's free?**
Only the events in the pricing table, plus $0.0005 per run. Rows with an `error` field are free, and duplicates are never returned or charged. Each run's `SUMMARY` record shows results and free rows.

**Can I try it for free?**
Yes. On Apify's free plan you get the first 20 results of every run (up to 300 a month across our Actors), paid from the monthly free credit Apify gives every account. Paid plans get every result, with no cap.

**Can I cap what a run costs?**
Yes. Set **Maximum cost per run** in the run options — the run stops at your limit and `SUMMARY` shows `stoppedAtChargeLimit: true`.

**Can I use it from n8n, Make, Zapier or an AI agent?**
Yes, like any Apify Actor: REST API, webhooks, the n8n, Make and Zapier integrations, and the Apify MCP server for Claude, Cursor, VS Code and other MCP clients. Short timeout in your workflow or agent? Set *Return what's ready after (seconds)*: the run stops on time with what it has collected, and you pay only for that.

### For AI agents

```text
Actor:   instagram-data-api/instagram-stories-scraper
Does:    Download Instagram stories: photo and video files saved with permanent links, mentions, links, music. Hourly monitoring, no login.
Input:   {"usernames": ["natgeo"], "saveMedia": false}
Output:  one JSON row per result, up to 38 fields; main: username, type, storiesCount, takenAt, mediaType, videoUrl, imageUrl, links
Free:    private or missing profiles
Price:   event "profile-stories" $3.94 per 1,000 on Starter + $0.0005 per run
Run:     POST https://api.apify.com/v2/acts/instagram-data-api~instagram-stories-scraper/run-sync-get-dataset-items?token=APIFY_TOKEN
```

### More Instagram Actors from us

**⭐ Recommended — the No Login line:** [All-in-one Instagram Scraper](https://apify.com/nologin/instagram-scraper) · [Profiles](https://apify.com/nologin/instagram-profile-scraper) · [Followers](https://apify.com/nologin/instagram-followers-scraper) · [Reels](https://apify.com/nologin/instagram-reels-scraper) · [Posts](https://apify.com/nologin/instagram-posts-scraper) · [Threads](https://apify.com/nologin/threads-scraper) · [Comments](https://apify.com/nologin/instagram-comments-scraper)

**Specialist tools:**

| Content | People | Stories |
|---|---|---|
| [Reel views checker](https://apify.com/instagram-data-api/instagram-reel-views-checker) · [Hashtags](https://apify.com/instagram-data-api/instagram-hashtag-scraper) · [Search](https://apify.com/instagram-data-api/instagram-search-scraper) · [Transcripts](https://apify.com/instagram-data-api/instagram-reels-transcript) · [Tagged posts](https://apify.com/instagram-data-api/instagram-tagged-scraper) · [Audio](https://apify.com/instagram-data-api/instagram-audio-scraper) · [Locations](https://apify.com/instagram-data-api/instagram-location-scraper) · [Hashtag stats](https://apify.com/instagram-data-api/instagram-hashtag-stats) |[Followers count](https://apify.com/instagram-data-api/instagram-followers-count-checker) · [Account age](https://apify.com/instagram-data-api/instagram-account-age-checker) · [Emails & phones](https://apify.com/instagram-data-api/instagram-email-phone-scraper) · [Similar accounts](https://apify.com/instagram-data-api/instagram-similar-accounts) · [Similar accounts with profiles](https://apify.com/instagram-data-api/instagram-lookalike-accounts) · [Likers](https://apify.com/instagram-data-api/instagram-likers-scraper) · [Engagement rate](https://apify.com/instagram-data-api/instagram-engagement-rate-calculator) · [Username checker](https://apify.com/instagram-data-api/instagram-username-checker) · [User ID](https://apify.com/instagram-data-api/instagram-user-id-finder) · [Follower checker](https://apify.com/instagram-data-api/instagram-follower-checker) | [Stories](https://apify.com/instagram-data-api/instagram-stories-scraper) · [Highlights](https://apify.com/instagram-data-api/instagram-highlights-scraper) |

What changed and when — see the **Changelog** tab.

# Changelog

This Actor's version history is a separate document: https://apify.com/instagram-data-api/instagram-stories-scraper/changelog.md

# Actor input Schema

## `usernames` (type: `array`):

One per line: <code>natgeo</code>, <code>@natgeo</code> or <code>https://www.instagram.com/natgeo/</code>.

## `inputFile` (type: `string`):

A CSV or TXT file: one username or link per line, or a table — we take the column named <code>username</code>, <code>url</code> or <code>link</code> (otherwise every cell). Added to the list above; duplicates are skipped.

## `saveMedia` (type: `boolean`):

Instagram's links to story files stop working within hours. Turn this on and we save every photo and video to this run's key-value store and put a permanent link in <code>mediaStoredUrl</code> — it lasts as long as your Apify plan keeps the run's storage. No extra charge from us; the files use your Apify storage.

## `datasetId` (type: `string`):

Pick the dataset of an earlier run (or paste its ID). We take usernames from <code>username</code> / <code>ownerUsername</code>.

## `addSummaryRow` (type: `boolean`):

One free row at the end of the results: rows returned, what was charged (events and USD) and why the run stopped — for n8n, Make, Zapier and AI agents that read only the dataset. The same summary is always saved as SUMMARY in the run's key-value store.

## `includeRaw` (type: `boolean`):

Every row also gets <code>raw</code>: the whole object Instagram returned for it — every field it sends, untouched, for your own parsing or an AI agent. Heavy (about 30 KB a post), so it is added to the first 1,000 rows of a run. No extra charge.

## `returnWithinSecs` (type: `integer`):

Stop after this many seconds and return the results collected so far — you pay only for them. Handy for AI agents with a short tool timeout. Empty — run until everything is collected.

## Actor input object example

```json
{
  "usernames": [
    "natgeo"
  ],
  "saveMedia": false,
  "addSummaryRow": false,
  "includeRaw": false
}
```

# Actor output Schema

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

All rows of this run (JSON, CSV, Excel).

## `summary` (type: `string`):

What was returned, what was free and why (SUMMARY record).

# 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 = {
    "usernames": [
        "natgeo"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("instagram-data-api/instagram-stories-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 = { "usernames": ["natgeo"] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,instagram-data-api/instagram-stories-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/UwPTxhPawYbskUEdZ/builds/vhPGqouPgNOFKz9zZ/openapi.json
