Snapchat Spotlight
snapchat.spotlight.get
One Snapchat Spotlight video: author, caption, keywords, media links and view, like, comment and share counts.
At a glance
- Endpoint ID
snapchat.spotlight.get- Price
- 1 credit per call; failed calls are free
- Runs for up to
- 30 seconds
Request
Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "snapchat.spotlight.get", "input": { "spotlight": "W7_EDlXWTBiXAEEniNoMPwAAYeG9xcGd0ZWd3AZ14BVv0AZ14BQkrAAAAAQ" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "snapchat.spotlight.get", "input": { "spotlight": "W7_EDlXWTBiXAEEniNoMPwAAYeG9xcGd0ZWd3AZ14BVv0AZ14BQkrAAAAAQ" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "snapchat.spotlight.get", "input": { "spotlight": "W7_EDlXWTBiXAEEniNoMPwAAYeG9xcGd0ZWd3AZ14BVv0AZ14BQkrAAAAAQ" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
Input
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
spotlight |
string | yes | Spotlight id, or a snapchat.com spotlight link. | W7_EDlXWTBiXAEEniNoMPwAAYeG9xcGd0ZWd3AZ14BVv0AZ… |
Response
A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.
This is results[0].data from a real run:
{ "headline": "NASA Crew Celebrates Moon Flyby with 'Moon Joy' & Team Rejoices", "caption": "Witness the awe-inspiring journey of NASA astronauts aboard the International Space Station as they witness the full moon and celebrate a s…", "posted_at": "2026-04-10T15:31:29.195Z", "duration_seconds": 87, "height": 960, "width": 540, "author": { "display_name": "NASA", "username": "nasa", "url": "https://www.snapchat.com/@nasa" }, "stats": { "likes": 2364, "views": 25295, "comments": 147, "shares": 166 }, "keywords": [ "astronaut", "spacewalk" ]}
Fields
| Field | Type | Example |
|---|---|---|
headline |
string | NASA Crew Celebrates Moon Flyby with 'Moon Joy' & Team Rejoices |
caption |
string | Witness the awe-inspiring journey of NASA astronauts aboard the… |
author |
object | 3 fields |
author.display_name |
string | NASA |
author.url |
string | https://www.snapchat.com/@nasa |
author.username |
string | nasa |
posted_at |
string | 2026-04-10T15:31:29.195Z |
duration_seconds |
integer | 87 |
height |
integer | 960 |
keywords |
array | astronaut, spacewalk, exploration |
stats |
object | 4 fields |
stats.comments |
integer | 147 |
stats.likes |
integer | 2364 |
stats.shares |
integer | 166 |
stats.views |
integer | 25,295 |
width |
integer | 540 |
If a call fails
A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.
Other Snapchat endpoints
Something missing or unclear? Ask the team that builds the Snapchat endpoints.