# Snapchat User Stories Scraper (`easyapi/snapchat-user-stories-scraper`) Actor

Scrape Snapchat user stories effortlessly. Extract story details including media URLs, creation time, and preview images from any public Snapchat profile. Perfect for social media monitoring and content analysis.

- **URL**: https://apify.com/easyapi/snapchat-user-stories-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Social media
- **Features:** Limited permissions
- **Stats:** 343 total users, 3 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## 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

## Snapchat Stories Scraper 📱

Easily scrape public stories from Snapchat user profiles. This actor helps you collect comprehensive story data including media URLs, timestamps, and preview images.

### 🎯 Use Cases

- Social media monitoring and analysis
- Content aggregation
- Influencer research
- Digital marketing research
- Brand monitoring
- Competition analysis

### ✨ Features

- 🔍 Scrape stories from multiple Snapchat usernames
- 📊 Extract detailed story metadata
- 🖼️ Get both preview and full-resolution media URLs
- ⏰ Capture story creation timestamps
- 🎯 Support for story
- 🚀 Fast and efficient scraping with request filtering
- 🔄 Automatic proxy rotation support

### 🔧 Input Parameters

The actor accepts the following input parameters:

| Field | Type | Description |
|-------|------|-------------|
| `usernames` | Array | List of Snapchat usernames to scrape (e.g., \["fcbarcelona"]) |
| `proxyConfiguration` | Object | Optional proxy configuration for making requests |

### 🚀 Getting Started

1. Create a new task for the actor
2. Provide the list of usernames to scrape
3. Optional: Configure proxy settings
4. Run the actor and collect your data!

#### Input Example

A full explanation of an input example in JSON.

```
{
    "usernames": [
    	"fcbarcelona"
    ]
}
```

#### 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.

```
[
	{
		"snapList": [
			{
				"snapIndex": 0,
				"createTime": "2024-10-16T19:01:13.000Z",
				"mediaPreviewUrl": "https://cf-st.sc-cdn.net/d/va9S7MHI1eESZ2IkPIyMA.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgipn8O4BkgCUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
				"mediaUrl": "https://cf-st.sc-cdn.net/d/va9S7MHI1eESZ2IkPIyMA.1322.IRZXSOY?mo=GloaGBoAGgAyAQQ6AX1CBgipn8O4BkgCUF5gAVoHRGZNZWRpYaIBMAiqChIeChwgAUoWChEWCQoRCw0HCDgJBgUEBAMEAxD0A2gCIgsSACoHSVJaWFNPWZADgEY%3D&uc=94"
			},
			{
				"snapIndex": 1,
				"createTime": "2024-10-15T16:39:33.000Z",
				"mediaPreviewUrl": "https://cf-st.sc-cdn.net/d/Q7KdutN2Y4OFTig0I9VlX.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgion8O4BkgCUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
				"mediaUrl": "https://cf-st.sc-cdn.net/d/Q7KdutN2Y4OFTig0I9VlX.1322.IRZXSOY?mo=GloaGBoAGgAyAQQ6AX1CBgion8O4BkgCUF5gAVoHRGZNZWRpYaIBMAiqChIeChwgAUoWChEYDAwTDA8JCjoKBwYEBQQEBRD0A2gCIgsSACoHSVJaWFNPWZADgEY%3D&uc=94"
			},
			{
				"snapIndex": 2,
				"createTime": "2024-10-17T07:30:35.000Z",
				"mediaPreviewUrl": "https://cf-st.sc-cdn.net/d/RLPhLXq4HQIpWFlrD2Nu2.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgjEn8O4BkgDUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
				"mediaUrl": "https://cf-st.sc-cdn.net/d/RLPhLXq4HQIpWFlrD2Nu2.1322.IRZXSOY?mo=GsQBGhgaABoAMgEEOgF9QgYIxJ_DuAZIA1BeYAFaB0RmTWVkaWGiAZgBCKoKEoUBCoIBIAFKfAp3Nx8RHSQsLTFRWzArLzQVLycZKREVHUdLLjY1PD8iMCokEDIlGikyUyAaIx4nIhIoKgwkITAlKjEqMCY0LCg0OiwlLR8mJB80KyBGM1xkaTtCHhUUEhINBxUbHRcXFhMRDxoTL0JMUkVJSEQ9MyghBg4XGwwUDAYQ9ANoAiILEgAqB0lSWlhTT1mQA7jUAw%3D%3D&uc=94"
			},
			{
				"snapIndex": 3,
				"createTime": "2024-10-16T15:30:03.000Z",
				"mediaPreviewUrl": "https://cf-st.sc-cdn.net/d/YExPkbJj3s10BP1kj5zLM.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgiyn8O4BkgDUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
				"mediaUrl": "https://cf-st.sc-cdn.net/i/YExPkbJj3s10BP1kj5zLM.1034.IRZXSOY?mo=GlQaEBoAGgAyAgl9SANQXmABcAFaB0RmTWVkaWGiATIIiggSIAoeIAFKGAoTISQXIigtNTlVTz41MTwjKS4iKRD0A2gCIgsSACoHSVJaWFNPWZAD6E0%3D&uc=94"
			},
			{
				"snapIndex": 4,
				"createTime": "2024-10-16T15:30:03.000Z",
				"mediaPreviewUrl": "https://cf-st.sc-cdn.net/d/giXSVIAKDFoVuIgPTGn6D.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgi3n8O4BkgDUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
				"mediaUrl": "https://cf-st.sc-cdn.net/i/giXSVIAKDFoVuIgPTGn6D.1034.IRZXSOY?mo=GlQaEBoAGgAyAgl9SANQXmABcAFaB0RmTWVkaWGiATIIiggSIAoeIAFKGAoTLBxDUDA1KkU6JismLxI4JiMoMxD0A2gCIgsSACoHSVJaWFNPWZAD6E0%3D&uc=94"
			},
			{
				"snapIndex": 5,
				"createTime": "2024-10-16T15:30:03.000Z",
				"mediaPreviewUrl": "https://cf-st.sc-cdn.net/d/d07VVKZBAPfQ5a90HWRqf.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgizn8O4BkgDUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
				"mediaUrl": "https://cf-st.sc-cdn.net/i/d07VVKZBAPfQ5a90HWRqf.1034.IRZXSOY?mo=GlQaEBoAGgAyAgl9SANQXmABcAFaB0RmTWVkaWGiATIIiggSIAoeIAFKGAoTWBwlJjEqEzEoEyIpLTExNTAxNxD0A2gCIgsSACoHSVJaWFNPWZAD6E0%3D&uc=94"
			},
			{
				"snapIndex": 6,
				"createTime": "2024-10-16T15:30:03.000Z",
				"mediaPreviewUrl": "https://cf-st.sc-cdn.net/d/yeKrnvftxvXuQmvK75F0z.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgiun8O4BkgCUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
				"mediaUrl": "https://cf-st.sc-cdn.net/i/yeKrnvftxvXuQmvK75F0z.1034.IRZXSOY?mo=GlQaEBoAGgAyAgl9SANQXmABcAFaB0RmTWVkaWGiATIIiggSIAoeIAFKGAoTTC8zPDImMicvJCwxLShKOmFkfRD0A2gCIgsSACoHSVJaWFNPWZAD6E0%3D&uc=94"
			},
			{
				"snapIndex": 7,
				"createTime": "2024-10-16T15:30:03.000Z",
				"mediaPreviewUrl": "https://cf-st.sc-cdn.net/d/FCCzk4smhTPWo1Cx10m5Y.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgi4n8O4BkgCUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
				"mediaUrl": "https://cf-st.sc-cdn.net/i/FCCzk4smhTPWo1Cx10m5Y.1034.IRZXSOY?mo=GlQaEBoAGgAyAgl9SANQXmABcAFaB0RmTWVkaWGiATIIiggSIAoeIAFKGAoTbycXFBMTEQ4XHRgcGxsXFhYXGBD0A2gCIgsSACoHSVJaWFNPWZAD6E0%3D&uc=94"
			},
			{
				"snapIndex": 8,
				"createTime": "2024-10-16T15:30:03.000Z",
				"mediaPreviewUrl": "https://cf-st.sc-cdn.net/d/hyH5VParQhIwjo0m3wROB.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgiwn8O4BkgDUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
				"mediaUrl": "https://cf-st.sc-cdn.net/i/hyH5VParQhIwjo0m3wROB.1034.IRZXSOY?mo=GlQaEBoAGgAyAgl9SANQXmABcAFaB0RmTWVkaWGiATIIiggSIAoeIAFKGAoTdFFLTkRGPz0zLyULER4gDhgNCBD0A2gCIgsSACoHSVJaWFNPWZAD6E0%3D&uc=94"
			},
			{
				"snapIndex": 9,
				"createTime": "2024-10-17T07:34:34.000Z",
				"mediaPreviewUrl": "https://cf-st.sc-cdn.net/d/vmIUaduNAC0zeLuMKDdsX.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgiln8O4BkgCUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
				"mediaUrl": "https://cf-st.sc-cdn.net/d/vmIUaduNAC0zeLuMKDdsX.1322.IRZXSOY?mo=Gk4aGBoAGgAyAQQ6AX1CBgiln8O4BkgCUF5gAVoHRGZNZWRpYaIBJAiqChISChAgAUoKCgUvCAgCARD0A2gCIgsSACoHSVJaWFNPWZADuBc%3D&uc=94"
			},
			{
				"snapIndex": 10,
				"createTime": "2024-10-17T08:29:27.000Z",
				"mediaPreviewUrl": "https://cf-st.sc-cdn.net/d/oqlIkd7C26DZJMX1FYESb.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgijn8O4BkgCUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
				"mediaUrl": "https://cf-st.sc-cdn.net/d/oqlIkd7C26DZJMX1FYESb.400.IRZXSOY?mo=Gl4aCBoAGgBQXmABWhBQdWJsaWNJbWFnZVN0b3J5ogEiCJADIh0KEDIBBDoBfUIGCKOfw7gGSAISACoHSVJaWFNPWaIBGgjnByIVCggyAgl9SANwARIAKgdJUlpYU09Z&uc=94"
			},
			{
				"snapIndex": 11,
				"createTime": "2024-10-17T08:29:27.000Z",
				"mediaPreviewUrl": "https://cf-st.sc-cdn.net/d/ZytVgpZ8chQC2ff0jRaSA.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgijn8O4BkgCUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
				"mediaUrl": "https://cf-st.sc-cdn.net/d/ZytVgpZ8chQC2ff0jRaSA.400.IRZXSOY?mo=Gl4aCBoAGgBQXmABWhBQdWJsaWNJbWFnZVN0b3J5ogEiCJADIh0KEDIBBDoBfUIGCKOfw7gGSAISACoHSVJaWFNPWaIBGgjnByIVCggyAgl9SARwARIAKgdJUlpYU09Z&uc=94"
			},
			{
				"snapIndex": 12,
				"createTime": "2024-10-17T08:29:27.000Z",
				"mediaPreviewUrl": "https://cf-st.sc-cdn.net/d/vv3hw0ZOAUtfhcRBhkQ0j.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgikn8O4BkgCUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
				"mediaUrl": "https://cf-st.sc-cdn.net/d/vv3hw0ZOAUtfhcRBhkQ0j.400.IRZXSOY?mo=Gl4aCBoAGgBQXmABWhBQdWJsaWNJbWFnZVN0b3J5ogEiCJADIh0KEDIBBDoBfUIGCKSfw7gGSAISACoHSVJaWFNPWaIBGgjnByIVCggyAgl9SARwARIAKgdJUlpYU09Z&uc=94"
			},
			{
				"snapIndex": 13,
				"createTime": "2024-10-17T08:29:27.000Z",
				"mediaPreviewUrl": "https://cf-st.sc-cdn.net/d/xmTOGeh66NWIphastTapu.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgikn8O4BkgCUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
				"mediaUrl": "https://cf-st.sc-cdn.net/d/xmTOGeh66NWIphastTapu.400.IRZXSOY?mo=Gl0aCxoAGgAyAQRQXmABWhBQdWJsaWNJbWFnZVN0b3J5ogEfCJADIhoKDToBfUIGCKSfw7gGSAISACoHSVJaWFNPWaIBGQjnByIUCgcyAX1IA3ABEgAqB0lSWlhTT1k%3D&uc=94"
			},
			{
				"snapIndex": 14,
				"createTime": "2024-10-17T08:29:27.000Z",
				"mediaPreviewUrl": "https://cf-st.sc-cdn.net/d/r25KO2AZMMncgi0ds13En.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgion8O4BkgCUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
				"mediaUrl": "https://cf-st.sc-cdn.net/d/r25KO2AZMMncgi0ds13En.1034.IRZXSOY?mo=GkYaEBoAGgAyAgR9SANQXmABcAFaB0RmTWVkaWGiASQIiggSEgoQIAFKCgoFIAcGAgIQ9ANoAiILEgAqB0lSWlhTT1mQA7gX&uc=94"
			}
		],
		"storyTitle": "🌕🔵🔴",
		"thumbnailUrl": "https://cf-st.sc-cdn.net/d/vv3hw0ZOAUtfhcRBhkQ0j.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgikn8O4BkgCUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",
		"highlightId": "857b6c34-2bbe-4724-bf79-029a286b3ca9",
		"username": "fcbarcelona"
	},
    ...
]
```

# Actor input Schema

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

List of Snapchat usernames to scrape

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

Proxy settings for the actor

## Actor input object example

```json
{
  "usernames": [
    "fcbarcelona"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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/snapchat-user-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 = {}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/snapchat-user-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/QG3uaJNIdGOfojkjj/builds/LAcg0BuItTwXGCevL/openapi.json
