Snapchat Highlights
snapchat.user.highlights
Saved highlights on a public profile: curated collections and Spotlight posts, with their snaps.
At a glance
- Endpoint ID
snapchat.user.highlights- 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.user.highlights", "input": { "username": "selenagomez" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "snapchat.user.highlights", "input": { "username": "selenagomez" }}''')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.user.highlights", "input": { "username": "selenagomez" }}),});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 |
|---|---|---|---|---|
username |
string | yes | Snapchat handle, @handle, or a snapchat.com profile link. | selenagomez |
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:
{ "url": "https://www.snapchat.com/@selenagomez", "curated": [ { "title": "Revival Filter", "id": "492f2189-90aa-4f9f-87cf-accf056052dc", "kind": "curated", "snap_count": 1, "snaps": [ { "posted_at": "2025-10-14T21:14:38Z", "index": 0, "media_type": "video", "sponsored": false } ] }, { "title": "Revival Filter", "id": "17ccf4d9-c389-4af8-9cce-73387f64df14", "kind": "curated", "snap_count": 1, "snaps": [ { "posted_at": "2025-10-14T21:14:38Z", "index": 0, "media_type": "video", "sponsored": false } ] } ], "spotlight": [ { "kind": "spotlight", "snap_count": 1, "snaps": [ { "posted_at": "2025-03-23T02:49:11Z", "index": 0, "media_type": "image", "sponsored": false } ] }, { "kind": "spotlight", "snap_count": 1, "snaps": [ { "posted_at": "2025-03-21T04:39:54Z", "index": 0, "media_type": "video", "sponsored": false, "transcription_url": "https://bolt-gcdn.sc-cdn.net/3/S5ZVD7zuSexE4bwW9NSR2.vtt?bo=EgkyAX1IAlAuYAE%3D&uc=46" } ] } ]}
Fields
| Field | Type | Example |
|---|---|---|
curated[].title |
string | Revival Filter |
curated[].snaps[].posted_at |
string | 2025-10-14T21:14:38Z |
curated[].id |
string | 492f2189-90aa-4f9f-87cf-accf056052dc |
curated[].kind |
string | curated |
curated[].snap_count |
integer | 1 |
curated[].snaps |
array | 1 records |
curated[].snaps[].index |
integer | 0 |
curated[].snaps[].media_type |
string | video |
curated[].snaps[].sponsored |
boolean | false |
curated |
array | 3 records |
spotlight |
array | 3 records |
spotlight[].kind |
string | spotlight |
spotlight[].snap_count |
integer | 1 |
spotlight[].snaps |
array | 1 records |
spotlight[].snaps[].index |
integer | 0 |
spotlight[].snaps[].media_type |
string | image |
spotlight[].snaps[].posted_at |
string | 2025-03-23T02:49:11Z |
spotlight[].snaps[].sponsored |
boolean | false |
url |
string | https://www.snapchat.com/@selenagomez |
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.