# Snapchat Spotlight Video Metadata Scraper (`w3crawler/snapchat-spotlight-video-metadata-scraper`) Actor

Read public Snapchat Spotlight pages with bounded requests and return normalized metadata and source-provided media URLs without downloading binary media.

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

## Pricing

from $2.99 / 1,000 spotlight video metadata

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 Spotlight Video Metadata Scraper

Read public Snapchat Spotlight pages and return structured video metadata: title, description, creator, engagement counts, thumbnail and media references, duration, dimensions, keywords, embedded transcript state, and optional embedded comments. The Actor uses anonymous Chromium, reads public HTML, JSON-LD, and page state, and never downloads binary media.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/snapchat-spotlight-video-metadata-scraper) and select **Try for free** or open the **Input** tab.
2. Add one or more public Snapchat Spotlight URLs to `spotlightUrls`. Public `t.snapchat.com` links and creator-specific `/@username/spotlight/` URLs are accepted.
3. Set `maxVideosPerUrl`. Leave `includeTranscript` enabled for embedded transcript text, and enable `includeComments` only if you need comment data embedded in the public page.
4. Start the Actor, open the dataset, and export the metadata as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT_SUMMARY`) to check the outcome and counts.

### Input

`spotlightUrls` is required. All other fields are optional and the defaults below are ready to use. Unsupported field names and out-of-range values are rejected before the browser starts.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `spotlightUrls` | string array | Required | `["https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYZ2h1dmpseGJ0AZo-s3yzAZo-s3yUAAAAAQ"]` | Public HTTPS Snapchat Spotlight URLs, including public `t.snapchat.com` links and creator-specific Spotlight URLs; 1–50 values. |
| `maxVideosPerUrl` | integer | Optional | `10` | Maximum structured video records retained per public page, 1–50. |
| `includeTranscript` | boolean | Optional | `true` | Report transcript data embedded in the public page. No transcript service or speech-to-text is called. |
| `includeComments` | boolean | Optional | `false` | Report comment data embedded in the public page. No comment service is called. |
| `maxRequestRetries` | integer | Optional | `1` | Bounded retries for a failed public browser request, 0–3. |
| `requestDelayMs` | integer | Optional | `250` | Delay before each public page request, 0–30,000 ms. |
| `maxConcurrency` | integer | Optional | `1` | Maximum concurrent public Spotlight requests, 1–5. |
| `timeoutSecs` | integer | Optional | `30` | Per-page timeout, 5–60 seconds. |
| `maxResponseBytes` | integer | Optional | `5000000` | Maximum public response body retained in memory, 100,000–10,000,000 bytes. |
| `proxyConfiguration` | object | Optional | `{"useApifyProxy":false}` | Optional Apify Proxy settings. Direct HTTPS is the default because the public Spotlight page is currently reachable without proxy cost. |

Full default input:

```json
{
  "spotlightUrls": [
    "https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYZ2h1dmpseGJ0AZo-s3yzAZo-s3yUAAAAAQ"
  ],
  "maxVideosPerUrl": 10,
  "includeTranscript": true,
  "includeComments": false,
  "maxRequestRetries": 1,
  "requestDelayMs": 250,
  "maxConcurrency": 1,
  "timeoutSecs": 30,
  "maxResponseBytes": 5000000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

The Actor reads only public Snapchat Spotlight HTML, JSON-LD, and server-rendered page state. `includeTranscript` and `includeComments` report what is already embedded; they do not request transcripts or comments from a separate service. Optional `proxyConfiguration` is used only as a transparent browser transport.

### Output

The dataset contains one row per structured public video. A single Spotlight URL can expose more than one video record; `maxVideosPerUrl` bounds how many are retained. Optional fields are omitted when the public page does not expose them, and no diagnostic or placeholder rows are written.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `recordId` | string | Always | Stable video identifier derived from the Spotlight identity and source URL. |
| `recordType` | string | Always | Record type; always `snapchatSpotlightVideo`. |
| `legacyRecordType` | string | When published | Backward-compatible copy of `recordType`. |
| `position` | integer | Always | One-based video position after deduplication and the `maxVideosPerUrl` limit. |
| `sourceWebsite` | string | Always | Official Snapchat source website. |
| `sourceUrl` | string | Always | Final public Spotlight URL that supplied the video metadata. |
| `inputUrl` | string | Always | Public Spotlight URL supplied in the input. |
| `spotlightUrl` | string | Always | Normalized public Spotlight URL for the video. |
| `canonicalUrl` | string | When published | Canonical Spotlight URL declared by the public page. |
| `pageTitle` | string | When published | Public HTML page title, often containing engagement and posting context. |
| `mediaType` | string | When published | Structured media type, commonly `VideoObject`. |
| `title` | string | Always | Public video title from the structured metadata. |
| `name` | string | When published | Structured `name` value for the video. |
| `description` | string | When published | Public video description. |
| `snapId` | string | When published | Snapchat snap identifier when the page exposes one. |
| `videoId` | string | When published | Structured video identifier. |
| `videoUrl` | string | Always | Public CDN video URL reference; no video bytes are downloaded. |
| `embedUrl` | string | When published | Public embed URL for the Spotlight video. |
| `thumbnailUrl` | string | When published | Public thumbnail URL reference. |
| `uploadDate` | string | When published | Public upload date in ISO UTC. |
| `duration` | string | When published | ISO 8601 duration, such as `PT6S`. |
| `durationSeconds` | number | When published | Duration in seconds. |
| `width` | number | When published | Public video width in pixels. |
| `height` | number | When published | Public video height in pixels. |
| `encodingFormat` | string | When published | Public media encoding, such as `video/mp4`. |
| `creatorName` | string | When published | Public creator name. |
| `creatorUsername` | string | When published | Public creator username. |
| `creatorUrl` | string | When published | Public creator profile URL. |
| `creatorDisplayName` | string | When published | Public creator display name. |
| `creatorFollowerCount` | number | When published | Public creator follower count. |
| `keywords` | string array | When published | Public keywords or hashtags associated with the video. |
| `viewCount` | number | When published | Public view count. |
| `shareCount` | number | When published | Public share count. |
| `commentCount` | number | When published | Public comment count. |
| `likeCount` | number | When published | Public like count. |
| `recommendCount` | number | When published | Public recommend count. |
| `interactionStatistics` | object array | When published | Public JSON-LD `InteractionCounter` objects for views, shares, comments, and likes. |
| `transcriptAvailable` | boolean | When published | Whether a non-empty transcript was embedded in the public page. |
| `transcriptStatus` | string | When published | Transcript state, such as `embedded_in_public_page`, `empty`, `failed`, or `not_exposed`. |
| `transcript` | object array | When published | Bounded transcript cue objects with `text`. |
| `transcriptUrl` | string | When published | Public caption or transcript URL reference when the page exposes one. |
| `commentsAvailable` | boolean | When published | Whether embedded comment data was available for the video. |
| `commentsStatus` | string | When published | Comment state, such as `not_requested` when `includeComments` is off. |
| `comments` | object or array | When published | Embedded public comment data, retained only when `includeComments` is enabled and the page exposes it. |
| `relatedStories` | object or array | When published | Public related-story data embedded in the page state. |
| `structuredDataCount` | integer | When published | Number of structured-data blocks found on the page. |
| `nextDataAvailable` | boolean | When published | Whether a Next.js data payload was present. |
| `nextDataKeys` | string array | When published | Top-level keys observed in the public Next.js data payload. |
| `scrapedAt` | string | Always | Time the metadata row was saved, in ISO UTC. |

The example below is a real saved row from the 2026-10-25 run, limited to fields declared in the dataset schema and to core fields for readability; long strings and arrays are shortened. That run retained one video from four candidates, enabled transcripts, and did not request comments.

```json
{
  "recordId": "snapchat_spotlight_d1b59e596c10401f0b2ff714",
  "recordType": "snapchatSpotlightVideo",
  "position": 1,
  "sourceWebsite": "https://www.snapchat.com/",
  "sourceUrl": "https://www.snapchat.com/@julio_crsl/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYZ2h1dmpseGJ0AZo-s3yzAZo-s3yUAAAAAQ",
  "inputUrl": "https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYZ2h1dmpseGJ0AZo-s3yzAZo-s3yUAAAAAQ",
  "spotlightUrl": "https://www.snapchat.com/@julio_crsl/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYZ2h1dmpseGJ0AZo-s3yzAZo-s3yUAAAAAQ",
  "title": "How to Make a Giant Crunchwrap Supreme",
  "videoUrl": "https://cf-st.sc-cdn.net/d/Sg78VEaUHuu6QEF3xu2GG.27.IRZXSOY?mo=GmYaCTIBBEgCUC5gAVoQU3BvdGxpZ2h0U2hhcmluZ6IBQggbEjEKLwiTyUggATCcBDjAB0ABShAKC6YBhAFqWmtkZmlOEPQDUPQraAJ1JoBHQH0AAIA_IgsSACoHSVJaWFNPWZAD9Cs%3D&uc=46",
  "scrapedAt": "2026-10-25T20:45:20.827Z",
  "legacyRecordType": "snapchatSpotlightVideo",
  "canonicalUrl": "https://www.snapchat.com/@julio_crsl/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYZ2h1dmpseGJ0AZo-s3yzAZo-s3yUAAAAAQ",
  "pageTitle": "24.1K likes, 14.6K comments, and 37.2K shares | #food #juliocrs | Julio Crs (@julio_crsl) | Posted Nov 1, 2025 | Spotlight",
  "mediaType": "VideoObject",
  "name": "How to Make a Giant Crunchwrap Supreme",
  "description": "Watch as Julio Crs demonstrates the process of assembling a massive Crunchwrap Supreme. This step-by-step guide shows how to layer ingredients like beef, cheese, lettuce, sour cream, and a generous amount of french fries into a giant tortilla, then fold it into a perfect wrap. A fun challenge is presented with the text overlay 'Tag someone to help you finish this,' making it ideal for social shari…",
  "videoId": "video_c4c937050ca2",
  "embedUrl": "https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYZ2h1dmpseGJ0AZo-s3yzAZo-s3yUAAAAAQ/embed",
  "thumbnailUrl": "https://cf-st.sc-cdn.net/d/Sg78VEaUHuu6QEF3xu2GG.256.IRZXSOY?mo=GkkaBzIBBFAuYAFaEERmTGFyZ2VUaHVtYm5haWyiARQIgAIiDwoCSAMSACoHSVJaWFNPWaIBFAiaCiIPCgJIAhIAKgdJUlpYU09Z&uc=46",
  "uploadDate": "2025-11-01T09:15:41.588Z",
  "duration": "PT6S",
  "durationSeconds": 6,
  "width": 540,
  "height": 960,
  "encodingFormat": "video/mp4"
}
```

`transcript` entries contain `text` when a transcript cue is embedded. `comments` and `relatedStories` can be objects or arrays because Snapchat exposes them in different public shapes.

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT_SUMMARY`; `OUTPUT` is a compatibility alias with the same core fields. `SOURCE_METADATA` records the public-only policy and confirms that no video was downloaded.

| Field | Meaning |
| --- | --- |
| `actor` | Actor slug that produced the run artifact. |
| `recordType` | Artifact discriminator; `runSummary`. |
| `status` | Source-result status: `success`, `partial`, `no_results`, `blocked`, or `failed`. The saved run uses `success`. |
| `runStatus` | Execution status: `SUCCEEDED` or `FAILED`. |
| `dataStatus` | Completeness of the saved metadata: `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `itemCount` | Number of metadata records saved. |
| `publicRecords` | Number of public video records saved. |
| `videoRecords` | Number of `snapchatSpotlightVideo` records saved. |
| `candidateCount` | Structured video candidates found before the `maxVideosPerUrl` bound. |
| `incompleteRecordCount` | Candidates skipped because required public fields were missing. |
| `uniqueIdentities` | Unique video identities saved. |
| `duplicateCount` | Duplicate videos removed. |
| `diagnosticCount` | Number of operational issues recorded for the run. |
| `targetCount` | Public Spotlight URLs processed. |
| `requestLogicalCount` | Logical page requests made. |
| `requestAttemptCount` | Page requests including retries. |
| `requestErrorCount` | Page requests that produced an error. |
| `successfulRequestCount` | Page requests that completed successfully. |
| `failedRequestCount` | Page requests that remained failed after retries. |
| `pagesRequested` | Public pages requested. |
| `pagesProcessed` | Public pages parsed successfully. |
| `publicJsonResponseCount` | Public JSON responses observed by the browser. |
| `renderedMediaElementCount` | Rendered media elements observed on the page. |
| `blockedCount` | Public responses that hit an access block. |
| `noResultCount` | Targets that exposed no usable video metadata. |
| `visitedUrls` | Public Snapchat URLs visited. |
| `limits` | Input bounds and proxy settings used for the run. |
| `directHttp` | Whether direct HTTP transport was used; always `false`. |
| `sourceTransport` | Browser transport used, `chromium-rendered-public-page`. |
| `proxyUsed` | Whether Apify Proxy was used. |
| `source` | Human-readable public source description. |
| `provenance` | Stable extraction-implementation label. |
| `accessPolicy` | Public-data and access-policy disclosure. |
| `datasetWriteFailureCount` | Dataset writes that failed after collection. |
| `optionalOutputFailureCount` | Optional artifact writes that failed after the dataset was saved. |
| `startedAt` | Run start time in ISO UTC. |
| `completedAt` | Run completion time in ISO UTC. |
| `scrapedAt` | Time the summary was written, in ISO UTC. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `success` | `COMPLETE` | Every processed URL produced its available video metadata without a later problem. |
| `partial` | `PARTIAL` | Some metadata was saved, but another URL or optional step failed. Saved rows remain available. |
| `no_results` | `NO_RESULTS` | The pages loaded cleanly but exposed no usable video metadata. |
| `failed` | `FAILED` | No metadata row could be saved because of an operational failure. |

Example `OUTPUT_SUMMARY` from the saved run:

```json
{
  "actor": "snapchat-spotlight-video-metadata-scraper",
  "recordType": "runSummary",
  "status": "success",
  "runStatus": "SUCCEEDED",
  "dataStatus": "COMPLETE",
  "itemCount": 1,
  "publicRecords": 1,
  "videoRecords": 1,
  "candidateCount": 4,
  "incompleteRecordCount": 0,
  "uniqueIdentities": 1,
  "duplicateCount": 0,
  "diagnosticCount": 0,
  "targetCount": 1,
  "requestLogicalCount": 1,
  "requestAttemptCount": 1,
  "requestErrorCount": 0,
  "successfulRequestCount": 1,
  "failedRequestCount": 0,
  "pagesRequested": 1,
  "pagesProcessed": 1,
  "publicJsonResponseCount": 2,
  "renderedMediaElementCount": 32,
  "blockedCount": 0,
  "noResultCount": 0,
  "visitedUrls": [
    "https://www.snapchat.com/@julio_crsl/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYZ2h1dmpseGJ0AZo-s3yzAZo-s3yUAAAAAQ"
  ],
  "limits": {
    "spotlightUrls": [
      "https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYZ2h1dmpseGJ0AZo-s3yzAZo-s3yUAAAAAQ"
    ],
    "maxVideosPerUrl": 1,
    "includeTranscript": true,
    "includeComments": false,
    "requestDelayMs": 0,
    "maxConcurrency": 1,
    "timeoutSecs": 30,
    "maxResponseBytes": 5000000,
    "includeDiagnostics": false,
    "maxRequestRetries": 1,
    "proxyConfiguration": {
      "useApifyProxy": false
    }
  },
  "directHttp": false,
  "sourceTransport": "chromium-rendered-public-page",
  "proxyUsed": false,
  "source": "Snapchat public Spotlight pages and embedded structured metadata",
  "provenance": "snapchat_spotlight_metadata_v2",
  "accessPolicy": "Public Snapchat HTML, JSON-LD, and page state only; no login, private API, video download, CAPTCHA solving, or access-control bypass.",
  "startedAt": "2026-10-25T20:45:18.036Z",
  "completedAt": "2026-10-25T20:45:21.106Z",
  "scrapedAt": "2026-10-25T20:45:21.106Z"
}
```

### Coverage and limitations

The Actor reads public Spotlight pages and returns metadata from the structured data and page state that the page exposes. A single URL can contain several candidate videos; `maxVideosPerUrl` keeps the first bounded set, and the saved run retained one of four candidates. Metadata completeness varies by post: `snapId`, follower count, recommend count, transcript URL, comments, related stories, and Next.js payload fields are often absent.

`transcript` and `comments` are not generated. Transcript data is reported only when the page embeds it; `includeTranscript` defaults to `true`, and a post without captions receives `transcriptStatus: "not_exposed"` or an empty result rather than synthesized text. Comments are reported only when `includeComments` is enabled and the page embeds them; the saved run left that option off and recorded `commentsStatus: "not_requested"`.

The Actor does not log in, access viewer-private data, call a private API, download video or thumbnails, solve CAPTCHAs, or bypass access controls. Engagement counts and upload metadata are point-in-time public values. Blocked, empty, or partial responses are reported in `OUTPUT_SUMMARY` and logs rather than written as fabricated rows. Optional Apify Proxy settings are supported only as a transparent transport.

### Usage and support

Run cost depends on Apify browser compute, the number of Spotlight URLs, retries, and optional proxy usage. Start with one URL and `maxVideosPerUrl: 1`, inspect the dataset and `OUTPUT_SUMMARY`, then increase the limit or add URLs. Leave `includeComments` off unless embedded comments are required, and leave `includeTranscript` on only if you need embedded caption text. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/snapchat-spotlight-video-metadata-scraper/issues) to report a problem. Include the run ID, the input used, and the `OUTPUT_SUMMARY`; do not include tokens, cookies, or private data. This Actor is not affiliated with, endorsed by, or sponsored by Snapchat. Use it only for public data and in accordance with Snapchat's terms, robots guidance, and applicable law. Public pages can contain personal information; do not use the output for unauthorized profiling or contact.

# Changelog

This Actor's version history is a separate document: https://apify.com/w3crawler/snapchat-spotlight-video-metadata-scraper/changelog.md

# Actor input Schema

## `spotlightUrls` (type: `array`):

Public HTTPS Snapchat Spotlight URLs, including public t.snapchat.com links.

## `maxVideosPerUrl` (type: `integer`):

Maximum normalized structured video records retained per public page.

## `includeTranscript` (type: `boolean`):

Report only transcript data embedded in the public page; no transcript service is called.

## `includeComments` (type: `boolean`):

Report only comment data embedded in the public page; no comment service is called.

## `maxRequestRetries` (type: `integer`):

Maximum retries for a failed public browser request.

## `requestDelayMs` (type: `integer`):

Delay before each public HTTP request.

## `maxConcurrency` (type: `integer`):

Maximum concurrent public Spotlight requests.

## `timeoutSecs` (type: `integer`):

Per-request timeout for the public Spotlight page.

## `maxResponseBytes` (type: `integer`):

Maximum public response body size retained in memory.

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

Optional Apify proxy configuration for public requests. Direct HTTPS is the default because the public Spotlight page is currently reachable without proxy cost.

## Actor input object example

```json
{
  "spotlightUrls": [
    "https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYZ2h1dmpseGJ0AZo-s3yzAZo-s3yUAAAAAQ"
  ],
  "maxVideosPerUrl": 10,
  "includeTranscript": true,
  "includeComments": false,
  "maxRequestRetries": 1,
  "requestDelayMs": 250,
  "maxConcurrency": 1,
  "timeoutSecs": 30,
  "maxResponseBytes": 5000000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `runSummary` (type: `string`):

Run status and counters stored by the Actor.

## `sourceMetadata` (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 = {
    "spotlightUrls": [
        "https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYZ2h1dmpseGJ0AZo-s3yzAZo-s3yUAAAAAQ"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/snapchat-spotlight-video-metadata-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 = { "spotlightUrls": ["https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYZ2h1dmpseGJ0AZo-s3yzAZo-s3yUAAAAAQ"] }

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/snapchat-spotlight-video-metadata-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 '{
  "spotlightUrls": [
    "https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYZ2h1dmpseGJ0AZo-s3yzAZo-s3yUAAAAAQ"
  ]
}' |
apify call w3crawler/snapchat-spotlight-video-metadata-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,w3crawler/snapchat-spotlight-video-metadata-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/pGhfNIkvbMsDGq6zv/builds/efUoTdQ6FTokKrMCu/openapi.json
