# Snapchat Profile Scraper (`devilscrapes/snapchat-profile-scraper`) Actor

Fetch Snapchat public profile data by username — display name, bio, subscriber count, snapcode, and current story snaps — parsed from the profile page's embedded JSON. Skips private or removed accounts without failing the run.

- **URL**: https://apify.com/devilscrapes/snapchat-profile-scraper.md
- **Developed by:** [DevilScrapes](https://apify.com/devilscrapes) (community)
- **Categories:** Social media
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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

<div align="center">
  <img src=".actor/icon.svg" width="160" alt="Devil Scrapes mark" />

## Snapchat Profile Scraper

**💰 ~$3.20 / 1 000 profiles** (provisional — confirmed after a live cost measurement)  ·  pay only for results  ·  no credit card to try

*We do the dirty work so your dataset stays clean.* 😈

Fetch Snapchat public profile data — display name, bio, subscriber count, snapcode, and current story snaps — parsed straight from the profile page's embedded JSON, for as many usernames as you give it.

</div>

***

### 🎯 What this scrapes

`www.snapchat.com/@<username>` public profile pages. We parse the
page's embedded Next.js `__NEXT_DATA__` payload and return one row per
username: profile info (display name, bio, website, subscriber count,
snapcode) plus the account's current story snaps, when it has one.

### 🔥 What we handle for you

- 🛡️ **Browser fingerprint rotation** — `curl-cffi` impersonates real Chrome / Firefox TLS handshakes so the target sees a browser, not Python.
- 🌐 **Proxy routing pinned to a US exit** via Apify Proxy — the profile payload is geo-aware, so we keep every run on the exit geography that returns full data.
- 🔁 **Retries with exponential backoff** on `408 / 429 / 503` and network errors — up to 5 attempts per profile, `Retry-After` honoured.
- 🧩 **Per-username fault isolation** — a private, removed, or malformed profile is skipped with a logged reason; it never sinks the rest of the run.
- 🧊 **Clean, typed dataset rows** — Pydantic-validated, ISO-8601 timestamps, JSON / CSV / Excel export straight from the Apify Console.
- 💰 **Pay-Per-Event pricing** — you only pay for profiles that actually land in your dataset.

### 💡 Use cases

- **Brand-safety monitoring** — track what a creator account is currently posting.
- **Influencer research** — pull subscriber counts and bios for a shortlist of accounts.
- **Social-media monitoring tools** — feed structured Snapchat profile data into a dashboard.
- **Competitive research** — compare public creator profiles across a category.

### ⚙️ How to use it

1. Click **Try for free** at the top of the page.
2. Paste in one or more Snapchat usernames (with or without the leading `@`).
3. Click **Start**. Output streams into the run's dataset.
4. Export from **Storage → Dataset** as JSON, CSV, or Excel — or fetch via the API.

### 📥 Input

| Field | Type | Required | Default | Notes |
|---|---|:--:|---|---|
| `usernames` | `array` (stringList) | **yes** | — | 1+ Snapchat usernames. A leading `@` and blank entries are stripped automatically. |
| `proxyConfiguration` | `object` (proxy) | no | `{"useApifyProxy": true, "apifyProxyGroups": ["BUYPROXIES94952"], "apifyProxyCountry": "US"}` | Apify Proxy, pinned to a US exit — the profile payload is geo-aware. |

#### Example input

```json
{
  "usernames": ["kyliejenner"],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["BUYPROXIES94952"],
    "apifyProxyCountry": "US"
  }
}
```

### 📤 Output

Every row is one resolved public profile.

| Field | Type | Notes |
|---|---|---|
| `username` | `string` | Requested username, normalized (no `@`). |
| `is_public_profile` | `boolean` | `true` when the account has a public creator profile. |
| `display_name` | `string \| null` | Public display name. |
| `bio` | `string \| null` | Profile bio text. |
| `website_url` | `string \| null` | Linked website. |
| `subscriber_count` | `integer \| null` | Public subscriber count. |
| `profile_picture_url` | `string \| null` | Profile picture URL. |
| `snapcode_image_url` | `string \| null` | Snapcode deep-link image. |
| `has_active_story` | `boolean` | Whether the account currently has a live story. |
| `story_snap_count` | `integer` | Number of snaps in the current story. |
| `story_snaps` | `array` | Per-snap media URL, type, and post time. |
| `page_title` | `string \| null` | The profile page's `<title>` text. |
| `profile_url` | `string` | `https://www.snapchat.com/@<username>`. |
| `scraped_at` | `string` | ISO-8601 UTC timestamp of the fetch. |

#### Example output

```json
{
  "username": "kyliejenner",
  "is_public_profile": true,
  "display_name": "King Kylie 👑",
  "bio": "",
  "website_url": "kyliecosmetics.com",
  "subscriber_count": 29262900,
  "profile_picture_url": "https://cf-st.sc-cdn.net/...",
  "snapcode_image_url": "https://app.snapchat.com/web/deeplink/snapcode?username=kyliejenner&type=SVG&bitmoji=enable",
  "has_active_story": true,
  "story_snap_count": 3,
  "story_snaps": [
    {"snap_index": 0, "media_type": 0, "media_url": "https://cf-st.sc-cdn.net/d/...", "media_preview_url": "https://cf-st.sc-cdn.net/d/...", "posted_at": "2026-09-18T12:00:00+00:00"}
  ],
  "page_title": "King Kylie 👑 (@kyliejenner) | Snapchat Stories, Spotlight & Lenses",
  "profile_url": "https://www.snapchat.com/@kyliejenner",
  "scraped_at": "2026-09-24T12:00:00+00:00"
}
```

### 💰 Pricing

Pay-Per-Event — you pay only when these events fire:

| Event | USD | What it is |
|---|---:|---|
| `actor-start` | $0.20 | One-off warm-up charge per run |
| `profile-scraped` | $0.003 (provisional) | Per resolved public profile pushed to the dataset |

Example: 1 000 profiles at the rates above ≈ **$3.20**. No subscription, no minimum. The `profile-scraped` rate is measured against a real batch before publish, per this fleet's pricing rule — the number above may move slightly.

### 🚧 Limitations

- v1 covers the profile card and current story only — no lenses, curated/spotlight highlights, tagged-tab search, or pagination.
- `story_snaps[].media_url` and `media_preview_url` point at Snapchat CDN links that **expire** — Snapchat stories are ephemeral by design, so treat story media as a snapshot, not a durable asset.
- A private, removed, or non-public account is a per-item skip, not a run failure — it's counted and reported in the run's status message.
- No authenticated/logged-in views, DMs, or friend-graph data.

### ❓ FAQ

**Do I need a Snapchat account?**

No. This Actor reads only the public profile page at `snapchat.com/@<username>` — no login, no API key.

**What happens if a username doesn't exist or isn't public?**

The run reports it as a skipped username in the status message and keeps going — one bad username never fails the whole run.

**Why does `story_snaps` come back empty sometimes?**

Either the account has no active story right now, or its story expired between your request and ours — Snapchat stories are short-lived by design.

### 💬 Your feedback

Spotted a bug, hit a weird edge case, or need a new field? Open an
issue on the Actor's **Issues** tab on Apify Console — we ship
fixes weekly and we read every report.

***

<div align="center">

Built by **[Devil Scrapes](https://apify.com/DevilScrapes)** 😈 — a small fleet of
opinionated public-data Actors. Honest pricing, real engineering, zero fine print.

</div>

# Changelog

This Actor's version history is a separate document: https://apify.com/devilscrapes/snapchat-profile-scraper/changelog.md

# Actor input Schema

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

1+ Snapchat usernames to fetch public profile data for. A leading <code>@</code> and blank entries are stripped automatically.

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

Apify Proxy spec. Pinned to a US exit by default — the profile payload is geo-aware, so a non-US exit can return a different-shaped or geo-restricted response.

## Actor input object example

```json
{
  "usernames": [
    "kyliejenner",
    "cnn"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "BUYPROXIES94952"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `datasetItems` (type: `string`):

All dataset items as JSON.

## `datasetItemsCsv` (type: `string`):

Same data exported to CSV.

## `datasetView` (type: `string`):

Open the run dataset in the Console.

# 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": [
        "kyliejenner",
        "cnn"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "BUYPROXIES94952"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("devilscrapes/snapchat-profile-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": [
        "kyliejenner",
        "cnn",
    ],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["BUYPROXIES94952"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("devilscrapes/snapchat-profile-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": [
    "kyliejenner",
    "cnn"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "BUYPROXIES94952"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call devilscrapes/snapchat-profile-scraper --silent --output-dataset

```

## MCP server setup

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