# Snapchat Comments Scraper (`alien_force/snapchat-comments-scraper`) Actor

Scrape public comments and replies on Snapchat Spotlight videos by URL, snapchat.com/t/ share link, or id: text, time, reactions, reply count, and commenter.

- **URL**: https://apify.com/alien_force/snapchat-comments-scraper.md
- **Developed by:** [Alien Force](https://apify.com/alien_force) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Comments Scraper

### 📌 Introduction

Save the public comments on a Snapchat Spotlight. Give a Spotlight page link, a `snapchat.com/t/` share link, or a video id. Each comment is its own result, with the text, the time, the reaction count, and the reply count.

You do not need a Snapchat account. A value that Snapchat does not provide is `null`. A count of `0` stays `0`.

### 🚀 Key Features

- Any link format: a full Spotlight URL, a `snapchat.com/t/` share link, or a raw video id. A share link and a long URL for the same video are read once.
- Up to 200 comments per video. Later pages are requested until that limit is reached.
- Replies are optional and nested under each comment. Each comment is saved once.
- A missing value is `null`, and a count of `0` stays `0`.
- Failed or unusable inputs are listed in the REPORT record, so you only pay for real results.

### 🔗 Use Cases

- Read the public reaction to a Spotlight you already have a link for.
- Keep the comment text, the commenter, the time, and the reaction count for a set of videos.
- Include the public replies under each comment when you need the thread, not only the top comment.

### 🔧 Input Schema

| Field | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `urls` | array | Yes | — | Spotlight page URLs, snapchat.com/t/ short links, or video ids whose public comments to save. A short link and the spotlight URL for the same video are read once. |
| `limit` | integer | No | 25 | Maximum comments to save for each spotlight. Later pages are requested until this limit is reached. The highest value is 200. |
| `includeReplies` | boolean | No | false | Also save public replies under each comment. Each comment can include up to Limit replies. |
| `proxyConfiguration` | object | No | — | Optional Apify proxy. Leave this off unless a run is blocked, then choose a residential proxy. |

Example input:

```json
{
  "urls": [
    "https://snapchat.com/t/IoaDk7Qj"
  ],
  "limit": 25,
  "includeReplies": true
}
```

### 📤 Output Schema

One result per comment. Every field is present. A missing value is `null`, never an empty string and never a dropped field. A count of `0` stays `0`. The same comment id is saved once, even when later pages repeat it. A repeated id does not count toward the limit.

| Field | Type | Description |
| --- | --- | --- |
| `spotlight_id` | string | Spotlight video id |
| `spotlight_link` | string | Spotlight page URL |
| `id` | string or null | Comment id |
| `text` | string or null | Comment text |
| `created_time` | number or null | Comment time in milliseconds |
| `reactions` | number or null | Reaction count. Zero is kept. |
| `reply_count` | number or null | Number of replies. Zero is kept. |
| `author_name` | string or null | Commenter display name |
| `author_username` | string or null | Commenter username when Snapchat includes one |
| `author_image` | string or null | Commenter image URL |
| `replies` | array or null | Public replies when Include replies is on. Null otherwise. Each reply has the same text, time, reaction, and author fields as a comment. |
| `replies[].id` | string or null | Reply id |
| `replies[].text` | string or null | Reply text |
| `replies[].created_time` | number or null | Reply time in milliseconds |
| `replies[].reactions` | number or null | Reply reaction count. Zero is kept. |
| `replies[].reply_count` | number or null | Replies on this reply. Zero is kept. |
| `replies[].author_name` | string or null | Reply author display name |
| `replies[].author_username` | string or null | Reply author username when Snapchat includes one |
| `replies[].author_image` | string or null | Reply author image URL |

Include replies is off by default, so `replies` is `null`. When Include replies is on, `replies` is the list of public replies for that comment, up to the same limit. A comment with no public replies has `replies: []`. `replies` stays `null` when the comment id cannot be used to request replies, even if Include replies is on and `reply_count` is greater than zero. Each reply is saved once.

```json
{
  "spotlight_id": "W7_EDlXWTBiXAEEniNoMPwAAYY3RlaXN5b3VqAaA8oyPNAaA8owzzAAAAAw",
  "spotlight_link": "https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYY3RlaXN5b3VqAaA8oyPNAaA8owzzAAAAAw",
  "id": "4039024364879757443:12410982225091364852",
  "text": "This angle is incredible",
  "created_time": 1700000000000,
  "reactions": 5,
  "reply_count": 1,
  "author_name": "Sam",
  "author_username": null,
  "author_image": null,
  "replies": [
    {
      "id": "11011880054168568605:9275587251173363087",
      "text": "Agreed",
      "created_time": 1700000001000,
      "reactions": 0,
      "reply_count": 0,
      "author_name": "Alex",
      "author_username": null,
      "author_image": null
    }
  ]
}
```

#### Run report

Skipped inputs are not saved as results. They are listed in the `REPORT` record in the run's key-value store. Each entry has the original `input`, a `reason`, and a `message`.

| Reason | When it is used |
| --- | --- |
| `empty` | The Spotlight had no public comments. |
| `requestFailed` | The Spotlight comments could not be read after retries. |
| `invalid` | The input is not a Spotlight URL, share link, or video id, or the share link did not open a Spotlight. |

```json
{
  "itemsScraped": 12,
  "skippedCount": 1,
  "skipped": [
    {
      "input": "https://snapchat.com/t/zzzzzzzz",
      "reason": "invalid",
      "message": "This share link did not open a spotlight."
    }
  ],
  "finishedAt": "2026-11-22T14:28:39.724Z"
}
```

A Spotlight with no public comments is `empty`. The run still succeeds when another Spotlight returned comments. If replies for one comment fail after retries, that comment is still saved with the replies already collected. The run fails only when no comments were saved.

The closing status line says how many Spotlights actually had comments, for example `Saved 120 comment(s) from 13 of 15 spotlight(s); skipped 2.`

### ❓ FAQ

#### Do I need a Snapchat account?

No. Public comments are read without a login.

#### Why is a comment or a Spotlight missing from my results?

The input was not a Spotlight link or video id, the share link did not open a Spotlight, the video had no public comments, or the request failed. Those inputs are listed in the `REPORT` record with reason `invalid`, `empty`, or `requestFailed`. They are not saved as results, so you only pay for comments that were actually saved. The run fails when nothing was saved.

#### Where do I get the Spotlight itself?

Use the companion actor: [Snapchat Spotlight Scraper](https://apify.com/alien_force/snapchat-spotlight-scraper).

# Actor input Schema

## `urls` (type: `array`):

Spotlight page URLs, snapchat.com/t/ short links, or video ids whose public comments to save. A short link and the spotlight URL for the same video are read once.

## `limit` (type: `integer`):

Maximum comments to save for each spotlight. Later pages are requested until this limit is reached.

## `includeReplies` (type: `boolean`):

Also save public replies under each comment. Each comment can include up to Limit replies.

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

Optional Apify proxy. Leave this off unless a run is blocked, then choose a residential proxy.

## Actor input object example

```json
{
  "urls": [
    "https://www.snapchat.com/@footbhall/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYY3RlaXN5b3VqAaA8oyPNAaA8owzzAAAAAw"
  ],
  "limit": 25,
  "includeReplies": false
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# 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 = {
    "urls": [
        "https://www.snapchat.com/@footbhall/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYY3RlaXN5b3VqAaA8oyPNAaA8owzzAAAAAw"
    ],
    "limit": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("alien_force/snapchat-comments-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 = {
    "urls": ["https://www.snapchat.com/@footbhall/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYY3RlaXN5b3VqAaA8oyPNAaA8owzzAAAAAw"],
    "limit": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("alien_force/snapchat-comments-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 '{
  "urls": [
    "https://www.snapchat.com/@footbhall/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYY3RlaXN5b3VqAaA8oyPNAaA8owzzAAAAAw"
  ],
  "limit": 25
}' |
apify call alien_force/snapchat-comments-scraper --silent --output-dataset

```

## MCP server setup

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