# Snapchat Spotlight Scraper (`alien_force/snapchat-spotlight-scraper`) Actor

Scrape Snapchat Spotlight videos by URL, snapchat.com/t/ share link, or id: views, likes, shares, comments, recommends, upload time, duration, creator, sound, transcript, and video URL.

- **URL**: https://apify.com/alien_force/snapchat-spotlight-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 $1.60 / 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 Spotlight Scraper

### 📌 Introduction

Save a public Snapchat Spotlight from its page link, a `snapchat.com/t/` share link, or a video id. Each Spotlight is one result: the creator, the description, the transcript, the counts, the sound, and the related topic.

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 saved once.
- Separate counts for views, likes, shares, comments, and recommends.
- Upload time, duration, video size, thumbnail, and video URL.
- Creator, sound, transcript, and related topic.
- 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

- Check how a Spotlight is doing: views, likes, shares, comments, and recommends in separate fields.
- Collect the creator, caption, transcript, sound, and video file for a link you already have.
- Paste a mix of share links, page URLs, and video ids and get one result per video.

### 🔧 Input Schema

| Field | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `urls` | array | Yes | — | Spotlight page URLs, snapchat.com/t/ short links, or video ids. One post is saved for each. A short link and the spotlight URL for the same video are saved once. |
| `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"
  ]
}
```

### 📤 Output Schema

One result per Spotlight. Every field is present. A missing value is `null`, never an empty string and never a dropped field. A count of `0` stays `0`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | Spotlight video id |
| `link` | string | Spotlight page URL |
| `description` | string or null | Spotlight description. The page caption is used when Snapchat has no description. Null when both are missing. |
| `transcript` | string or null | Spoken transcript when Snapchat has one |
| `views` | number or null | View count. Zero is kept. Null when the page does not include it. |
| `shares` | number or null | Share count. Zero is kept. Null when the page does not include it. |
| `likes` | number or null | Like count. Zero is kept. Null when the page does not include it. |
| `comments` | number or null | Comment count. Zero is kept. Null when the page does not include it. |
| `recommends` | number or null | Recommend count. Likes are a separate field. Zero is kept. Null when the page does not include it. |
| `created_time` | number or null | Upload time in milliseconds. Null when the page does not include it. |
| `duration` | number or null | Video duration in milliseconds. Zero is kept. Null when the page does not include it. |
| `width` | number or null | Video width in pixels. Zero is kept. Null when the page does not include it. |
| `height` | number or null | Video height in pixels. Zero is kept. Null when the page does not include it. |
| `thumbnail` | string or null | Thumbnail URL. Null when the page does not include one. |
| `content_url` | string or null | Video file URL. Null when the page does not include one. |
| `author` | object | Creator |
| `author.username` | string or null | Creator username |
| `author.displayName` | string or null | Creator display name |
| `author.link` | string or null | Link to the creator |
| `author.profile_pic` | string or null | Creator image URL |
| `sound` | object or null | Sound title, subtitle, and thumbnail. Null when the Spotlight has no sound. |
| `sound.title` | string or null | Sound title |
| `sound.subtitle` | string or null | Sound subtitle |
| `sound.thumbnail` | string or null | Sound image URL |
| `related_topic` | object or null | Related topic id, label, and link. Null when Snapchat has no related topic. |
| `related_topic.id` | string or null | Topic id |
| `related_topic.label` | string or null | Topic label |
| `related_topic.link` | string or null | Topic page URL |

`likes` and `recommends` are different counts. `description` is the Spotlight description. When that description is missing, the page caption is used instead. If the Spotlight page cannot be read, the post is still saved and the page fields (`views`, `shares`, `likes`, `comments`, `recommends`, `created_time`, `duration`, `width`, `height`, `thumbnail`, `content_url`) are `null`.

```json
{
  "id": "W7_EDlXWTBiXAEEniNoMPwAAYY3RlaXN5b3VqAaA8oyPNAaA8owzzAAAAAw",
  "link": "https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYY3RlaXN5b3VqAaA8oyPNAaA8owzzAAAAAw",
  "description": "Witness the historic moment from the 2014 FIFA World Cup final.",
  "transcript": null,
  "views": 835212,
  "shares": 1159,
  "likes": 57330,
  "comments": 263,
  "recommends": 6098,
  "created_time": 1787723713779,
  "duration": 12000,
  "width": 540,
  "height": 960,
  "thumbnail": "https://bolt-gcdn.sc-cdn.net/z/example-thumb",
  "content_url": "https://bolt-gcdn.sc-cdn.net/z/example-video",
  "author": {
    "username": "footbhall",
    "displayName": "Football Edits",
    "link": "https://www.snapchat.com/@footbhall",
    "profile_pic": null
  },
  "sound": {
    "title": "Original Sound",
    "subtitle": "footbhall",
    "thumbnail": null
  },
  "related_topic": {
    "id": "world cup",
    "label": "world cup",
    "link": "https://www.snapchat.com/topic/world-cup"
  }
}
```

#### 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 details. |
| `requestFailed` | The Spotlight details 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": 1,
  "skippedCount": 1,
  "skipped": [
    {
      "input": "https://www.tiktok.com/@x/video/123",
      "reason": "invalid",
      "message": "This input is not a spotlight URL, share link, or video id."
    }
  ],
  "finishedAt": "2026-11-22T14:28:17.712Z"
}
```

A Spotlight with no public details is `empty`. The run still succeeds when another Spotlight was saved. The run fails only when nothing was saved.

### ❓ FAQ

#### Do I need a Snapchat account?

No. Public Spotlights are read without a login.

#### Why is 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 post had no public details, 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 Spotlights that were actually saved. The run fails when nothing was saved.

#### Where do I get the comments?

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

# Actor input Schema

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

Spotlight page URLs, snapchat.com/t/ short links, or video ids. One post is saved for each. A short link and the spotlight URL for the same video are saved once.

## `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"
  ]
}
```

# 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"
    ]
};

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

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

```

## MCP server setup

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