# Instagram Stories Downloader⚡ (`scrapearchitect/instagram-story-downloader`) Actor

📸 Scrape any public Instagram Stories and get structured output: url, success, total\_count, image\_count, video\_count & media\_items with direct MP4/JPG download links. Supports both profile URLs and usernames. ⚡ Fast, reliable & proxy-powered! 📸 Instagram Stories Downloader ⚡

- **URL**: https://apify.com/scrapearchitect/instagram-story-downloader.md
- **Developed by:** [Scrape Architect](https://apify.com/scrapearchitect) (community)
- **Categories:** Social media, Automation, Developer tools
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

***

## 📸 Instagram Stories Downloader 🌍✨ – Lightning-Fast Story Scraper 🎬

### 🚀 Instant High-Quality Stories with the Best Instagram Stories Downloader

- **Temporary no more:** Securely backup and archive Instagram stories instantly in the highest quality possible.
- **The all-in-one, enterprise-grade solution:** Download anything from any public profile using this powerful Instagram Stories Downloader directly as MP4 video or JPG images.
- **Rich detailed delivery:** Extract deeply rich metadata along with blazing speed processing.
- **Preserve everything:** Whether you're archiving influencer campaigns or preserving personal memories, this Instagram Stories Downloader ensures that 24-hour content doesn't disappear forever.

> **🎯 Perfect for:** Content creators, marketers, social media managers, data scientists, archivists, and anyone who needs a reliable Instagram Stories Downloader without the hassle of missing expired content.

***

### ✨ Why This is the Ultimate Instagram Stories Downloader

What makes our Instagram Stories Downloader better than the competition? While most basic scrapers just grab low-resolution files and break frequently, our architecture is built for resilience, speed, and massive data extraction.

#### 🔥 Unmatched Competitive Advantages

- **🌐 Dual API Fallback Strategy:** If one scraping method fails, our Instagram Stories Downloader seamlessly switches to a secondary API, guaranteeing successful scrapes where other bots get instantly blocked.
- **🕵️ Built-in Residential Proxies:** We don't use cheap datacenter IPs. The Instagram Stories Downloader exclusively utilizes high-trust residential proxies to remain totally undetected.
- **⚡ Concurrency at Scale:** Built to process dozens of profiles concurrently. This Instagram Stories Downloader doesn't make you wait in line.
- **📊 Deep Media Analysis Integration:** No other tool gives you the exact byte-level encoding data that this Instagram Stories Downloader provides. We run actual structural media telemetry against every downloaded media file.

#### 🌟 Core Features

| Feature | Benefit |
| :--- | :--- |
| **🎬 Rich Media Extraction** | Use the Instagram Stories Downloader to grab seamless MP4 videos and untouched high-res JPG images directly from active stories. |
| **📦 Intelligent Input Handling** | This Instagram Stories Downloader natively accepts both full URLs `https://www.instagram.com/stories/username/` and simple `usernames` like `@natgeo`. |
| **🔐 Secure Apify Storage** | Your scraped media is securely stored in Apify's Key-Value Store for robust, long-term downloading. |

***

### 🔬 Media Quality & Technical Details

The Instagram Stories Downloader provides an unparalleled level of media detail on every downloaded file.

#### 🟢 Rich Media Data (Always Included)

Our Instagram Stories Downloader delivers full technical metadata with every download:

- **Dimensions:** Exact width and height (e.g., 1080x1920)
- **Filesize & Duration:** Precise byte sizes and microsecond durations.
- **Framerate (FPS):** Know exactly how smooth a video is (e.g., 30 fps vs 60 fps).
- **Core Codecs:** Identify `h264`, `aac`, or `mjpeg` formatting instantly.

Nothing escapes the Instagram Stories Downloader. If you are doing advanced video analysis, training AI models, or building a high-fidelity archive, this data is invaluable.

***

### ⚙️ Input Configuration: Simple & Powerful

Getting started is easy. Configure your download job using the simple JSON input for this Instagram Stories Downloader.

```json
{
  "story_urls": [
    { "url": "https://www.instagram.com/stories/kingjames/" }
  ],
  "usernames": [
    "nasa",
    "natgeo"
  ]
}
```

#### 📋 Input Fields Explained

| Field | Type | Description | Default | Emoji |
| :--- | :--- | :--- | :--- | :--- |
| **`story_urls`** | Array | **A list of Instagram URLs to process.** | *Optional* | 📸 |
| **`usernames`** | Array | **A list of Instagram usernames to process.** The Instagram Stories Downloader dynamically builds the URL. | *Optional* | 👤 |

***

### 📤 Output: Rich, Structured Data with Download Links

The Instagram Stories Downloader provides meticulously structured arrays yielding pure data directly. Instead of a messy JSON tree, it neatly organizes every element you need to catalog profiles at a glance.

#### 🔐 Detailed Output Dictionary & Glossary

Every run of the Instagram Stories Downloader returns a clean, structured object containing:

- **`url`**: The Instagram profile targeted (e.g., `https://www.instagram.com/stories/kingjames/`).
- **`success`**: A boolean (`true`/`false`) confirming if the scrape hit active stories.
- **Media Counters**:
  - **`total_count`**: Total number of stories active right now.
  - **`image_count`**: Exact number of photos in the story ring.
  - **`video_count`**: Exact number of videos in the story ring.
- **`media_items`**: The core array of direct, ready-to-use download links securely hosted on the Apify Key-Value Store. Every item specifies its `Story No` and media `type` (`image` or `video`).

***

### 🎯 Real-World Use Cases for the Instagram Stories Downloader

- **👨‍💻 Content Creators & Marketers:** Download reference stories, competitors' content, or backup your own campaigns using the Instagram Stories Downloader.
- **📊 Market Analysts:** Extract rich technical metadata through the Instagram Stories Downloader for robust structural media analysis.
- **🌍 Archivists:** Save transient 24-hr stories permanently into your local ecosystem right from the Instagram Stories Downloader pipeline.

***

### 🔒 Privacy & Reliability

- **No Login Required:** This Instagram Stories Downloader operates completely publicly without needing your auth credentials.
- **Always Running on Residential Proxies:** Built into the core of the Instagram Stories Downloader to ensure absolute maximum success rates.
- **Smart Fallbacks:** The Instagram Stories Downloader actively bounces between scraping infrastructures automatically if one experiences a block.

***

### 📧 Need Customization?

Want **deep integration**, **larger scale operations**, or **custom webhooks** for your Instagram Stories Downloader?

✉️ Email **<scrapearchitect@gmail.com>** for tailored solutions regarding this Instagram Stories Downloader!

***

### 🚀 Try It Now!

Launch the **Instagram Stories Downloader** and grab complete active stories in absolute seconds!

***

# Actor input Schema

## `story_urls` (type: `array`):

A list of public Instagram Stories URLs. Each item can be a string URL or an object with {"url": "https://..."}.

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

A list of Instagram usernames to download stories from. e.g. kingjames or @kingjames

## Actor input object example

```json
{
  "story_urls": [
    {
      "url": "https://www.instagram.com/stories/nba/"
    }
  ]
}
```

# 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 = {
    "story_urls": [
        {
            "url": "https://www.instagram.com/stories/nba/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapearchitect/instagram-story-downloader").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 = { "story_urls": [{ "url": "https://www.instagram.com/stories/nba/" }] }

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

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

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

```

## CLI example

```bash
echo '{
  "story_urls": [
    {
      "url": "https://www.instagram.com/stories/nba/"
    }
  ]
}' |
apify call scrapearchitect/instagram-story-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapearchitect/instagram-story-downloader",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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