# Instagram Story Downloader (`easyapi/instagram-story-downloader`) Actor

Download Instagram stories effortlessly! Save photos and videos from multiple accounts simultaneously while preserving original quality. Perfect for content creators, social media managers, and anyone wanting to archive Instagram stories. 🚀

- **URL**: https://apify.com/easyapi/instagram-story-downloader.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Social media, Videos
- **Features:** Limited permissions
- **Stats:** 380 total users, 12 monthly users, 100.0% runs succeeded, 8 bookmarks
- **User rating**: 1.00 out of 5 stars

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Story Downloader

Effortlessly download Instagram stories with our powerful **Instagram Story Downloader**! This Apify actor enables you to download stories from multiple Instagram accounts simultaneously, preserving high-quality media content for your collection.

#### 🌟 Key Features

- **Bulk Downloads**: Download stories from multiple Instagram accounts at once
- **High-Quality Media**: Preserve original quality of photos and videos
- **Format Options**: Download in various formats (mp4 for videos, jpg/png for images)
- **Metadata Support**: Get comprehensive metadata for each story
- **Real-time Processing**: Quick and efficient downloading process

#### 📊 Data Fields Returned

Each story download includes detailed information:

- **url**: Spotify URL for the track.
- **result**:
  - **url**: Unique track identifier.
  - **title**: Title of the track.
  - **thumbnail**: URL to the album art or thumbnail image.
  - **duration**: Length of the track (if available).
  - **medias**: An array of media objects containing:
    - **url**: Direct link to the MP3 stream.
    - **quality**: Quality of the audio (e.g., "audio").
    - **extension**: File extension (e.g., "mp3").
    - **type**: Type of media (e.g., "audio").
  - **type**: Type of content (e.g., "single").
  - **error**: Indicates if there was an error during retrieval (boolean).

#### 💪 Why Choose Our Downloader?

- **User-Friendly**: Simple input format - just paste Instagram usernames
- **Reliable**: Stable performance with high success rate
- **Fast Processing**: Optimized for quick downloads
- **Regular Updates**: Maintained to work with Instagram's latest changes
- **Comprehensive Data**: Get complete story information along with media files

#### 🔧 Use Cases

- Content Creation & Curation
- Social Media Management
- Market Research & Analysis
- Personal Story Archives
- Brand Monitoring

#### Input Example

A full explanation of an input example in JSON.

```
{
    "links": [
        "https://www.instagram.com/stories/cristiano/3508360989198456576/"
    ]
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```
[
	{
		"url": "https://www.instagram.com/stories/cristiano/3508360989198456576/",
		"source": "instagram",
		"author": "Cristiano Ronaldo",
		"title": "instagram",
		"thumbnail": "https://instagram.fhan5-9.fna.fbcdn.net/v/t51.2885-15/468111749_18589959850056421_5615000993270158534_n.jpg?stp=dst-jpg_e15&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMTcweDIwODAuc2RyLmY3NTc2MS5kZWZhdWx0X2ltYWdlIn0&_nc_ht=instagram.fhan5-9.fna.fbcdn.net&_nc_cat=1&_nc_ohc=d5t8xv7g4t8Q7kNvgGhMqTi&_nc_gid=61176ca64fa94fa6acdf915de5977ed3&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=MzUwODM2MDk4OTE5ODQ1NjU3Ng%3D%3D.3-ccb7-5&oh=00_AYBGXnHZSbU4AA8d37Kuhy-aO1jV_IG1CtOyUriPMYKRzw&oe=6749A8BA&_nc_sid=10d13b",
		"duration": 37919,
		"medias": [
			{
				"url": "https://instagram.fhan5-9.fna.fbcdn.net/v/t51.2885-15/468111749_18589959850056421_5615000993270158534_n.jpg?stp=dst-jpg_e15&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMTcweDIwODAuc2RyLmY3NTc2MS5kZWZhdWx0X2ltYWdlIn0&_nc_ht=instagram.fhan5-9.fna.fbcdn.net&_nc_cat=1&_nc_ohc=d5t8xv7g4t8Q7kNvgGhMqTi&_nc_gid=61176ca64fa94fa6acdf915de5977ed3&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=MzUwODM2MDk4OTE5ODQ1NjU3Ng%3D%3D.3-ccb7-5&oh=00_AYBGXnHZSbU4AA8d37Kuhy-aO1jV_IG1CtOyUriPMYKRzw&oe=6749A8BA&_nc_sid=10d13b",
				"height": 2080,
				"width": 1170,
				"id": "3508360989198456576_173560420",
				"quality": "HD",
				"type": "image",
				"extension": "jpg"
			}
		],
		"type": "single",
		"error": false
	},
    ...
]
```

### Related Actors

- 📸 [Instagram Photos Downloader](https://apify.com/easyapi/instagram-photos-downloader) - Effortlessly save high-quality images from Instagram posts and profiles.
- 🎥 [Instagram Videos Downloader](https://apify.com/easyapi/instagram-videos-downloader) - A powerful tool to download videos from Instagram posts, reels, and stories.
- 🎬 [Instagram Reels Downloader](https://apify.com/easyapi/instagram-reels-downloader) - Download Instagram Reels videos in bulk with high quality.
- 🎥 [All-in-One Media Downloader](https://apify.com/easyapi/all-in-one-media-downloader) - Save and download videos, images, or audio from various platforms including Instagram.
- 📱 [TikTok Video Downloader](https://apify.com/easyapi/tiktok-video-downloader) - Download TikTok videos without watermarks in original quality.
- 🎥 [Facebook Video Download](https://apify.com/easyapi/facebook-video-download) - Download high-quality videos from Facebook in various resolutions.
- 🐦 [Twitter/X Video Downloader](https://apify.com/easyapi/twitter-x-video-downloader) - Easily download high-quality videos from Twitter/X.
- 📸 [Pinterest Image Downloader](https://apify.com/easyapi/pinterest-image-downloader) - Easily download high-quality images from Pinterest.
- 🎥 [Snapchat Video Downloader](https://apify.com/easyapi/snapchat-video-downloader) - Download videos from Snapchat stories and posts with ease.
- 📊 [Instagram Profile Scraper](https://apify.com/easyapi/instagram-profile-scraper) - Extract detailed Instagram profile data with comprehensive metrics.
- 📱 [Instagram Posts Scraper](https://apify.com/easyapi/instagram-posts-scraper) - Extract comprehensive details from Instagram posts including likes, comments, and hashtags.
- 🎬 [Instagram Reels Scraper](https://apify.com/easyapi/instagram-reels-scraper) - Scrape Instagram Reels data from user profiles with comprehensive metadata.
- 💬 [Instagram Comments Scraper](https://apify.com/easyapi/instagram-comments-scraper) - Extract comments from Instagram posts with user details and engagement metrics.
- 🏷️ [Instagram Hashtag Scraper](https://apify.com/easyapi/instagram-hashtag-scraper) - Scrape Instagram hashtag data including top posts and engagement metrics.
- 📧 [Instagram Email Scraper](https://apify.com/easyapi/instagram-email-scraper) - Find Instagram users matching your keywords and extract their email addresses.

# Actor input Schema

## `links` (type: `array`):

An array of URLs to process

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

Optionally, use Apify Proxy or custom HTTP proxy to avoid IP address-based blocking.

## Actor input object example

```json
{
  "links": [
    "https://www.instagram.com/stories/kimkardashian/3570236776155599733/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/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 = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/instagram-story-downloader").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 '{}' |
apify call easyapi/instagram-story-downloader --silent --output-dataset

```

## MCP server setup

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

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/OXWtxaykke4R151n3/builds/RplbYULBcicgeF70H/openapi.json
