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

Scrapes public Snapchat profiles — subscriber count, bio, story snaps, Spotlight posts with view counts, and lenses

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

## Pricing

from $1.00 / 1,000 results

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?

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

## Snapchat Profile Scraper

Collect public Snapchat profiles — subscriber counts, bios, story snaps,
Spotlight posts with their view counts, and the lenses a creator has published.

### How to use it

1. Put the accounts you want into **Snapchat profiles**, one per line.
2. A plain username works. So does a link copied from your browser.
3. Run the Actor.

### What you get

For every profile:

- Username, display name and whether Snapchat marks it an official account
- Subscriber count, bio, website and category
- Profile picture, hero image and Snapcode
- Story snaps currently public, with media links and when each was posted
- Spotlight posts, each with its view count, upload date, length and video link
- Highlights, with how many snaps each contains
- Lenses the account has published, with preview images and videos
- Related accounts Snapchat suggests alongside the profile

Use **Max items per section** to cap how many snaps, posts and lenses come back
per profile.

### What you can do with it

- Track a creator's subscriber count and Spotlight views over time
- Compare creators before choosing who to work with
- Watch what a competitor posts and how well it performs
- Collect the lenses a brand has published
- Map out related accounts in a niche

### Good to know

Snapchat has two kinds of profile. Creator and brand accounts publish the full
picture — subscribers, Spotlight, lenses. Ordinary personal accounts publish
only a display name and Snapcode, so most fields come back empty for them. The
`is_public_profile` field tells you which kind you got.

Some Spotlight posts do not disclose a view count. Those come through empty
rather than as a zero, so your averages stay honest.

Profiles that do not exist are still written to the results with `exists` set
to false, so a missing account is visible rather than silently absent.

Media links point at Snapchat's own servers and are time-limited, so download
anything you need soon after the run.

### SEO Keywords

snapchat profile scraper, scrape snapchat public profiles, snapchat subscriber count, snapchat spotlight scraper, snapchat story data, snapchat lenses data, snapchat social media data, influencer research snapchat, snapchat analytics

# Actor input Schema

## `profiles` (type: `array`):

Usernames or profile links, one per line. A bare username works, and so does a link copied from the address bar in either form Snapchat uses.

## `max_items_per_section` (type: `integer`):

Caps how many story snaps, Spotlight posts, highlights and lenses are collected for each profile. Lower it if you only want the profile figures.

## `proxy_country` (type: `string`):

A 2-letter country code to browse from. Snapchat tailors some pages by country.

## Actor input object example

```json
{
  "profiles": [
    "kyliejenner",
    "nba",
    "https://www.snapchat.com/add/teamsnapchat"
  ],
  "max_items_per_section": 50,
  "proxy_country": "US"
}
```

# Actor output Schema

## `dataset` (type: `string`):

One row per profile, with its story snaps, Spotlight posts and lenses.

# 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 = {
    "profiles": [
        "kyliejenner",
        "nba",
        "https://www.snapchat.com/add/teamsnapchat"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mina_safwat/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 = { "profiles": [
        "kyliejenner",
        "nba",
        "https://www.snapchat.com/add/teamsnapchat",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("mina_safwat/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 '{
  "profiles": [
    "kyliejenner",
    "nba",
    "https://www.snapchat.com/add/teamsnapchat"
  ]
}' |
apify call mina_safwat/snapchat-profile-scraper --silent --output-dataset

```

## MCP server setup

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