Snapchat Spotlight video
Beta GET /v1/snapchat/spotlight
GET /v1/snapchat/spotlight
One public Spotlight video by link: id, description, creator, engagement counts, thumbnail and content URL, where Snapchat shows them.
- Cost: 1 credit
- Status: Beta. Built and tested against recorded responses; the shape may still gain fields.
- Cache: Results are kept up to 30 days; send
max_age_daysto reuse them for free. - Timeout: A request still running after about 25 seconds answers
202with a job to poll (Batch and jobs).
Parameters#
| Name | Type | Required | Description |
|---|---|---|---|
url | URL | yes | Spotlight URL (snapchat.com/@user/spotlight/...). Accepted hosts: snapchat.com. |
Every request also accepts:
trim:truefor a smaller response withoutnullfields andextra.raw:trueto also get the platform's original object asraw.max_age_days: accept a cached result up to this many days old, for 0 credits (Caching).
Example request#
Set your key in the environment first (see Authentication).
curl
curl -G "https://api.socialscrape.io/v1/snapchat/spotlight" \
-H "x-api-key: $SOCIALSCRAPE_API_KEY" \
--data-urlencode "url=https://www.snapchat.com/@jack.scalise/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYb3djZ3FqY2VhAZXDhShdAZXDhPWfAAAAAQ"Python
import os
import requests
params = {
"url": "https://www.snapchat.com/@jack.scalise/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYb3djZ3FqY2VhAZXDhShdAZXDhPWfAAAAAQ",
}
res = requests.get(
"https://api.socialscrape.io/v1/snapchat/spotlight",
headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
params=params,
)
body = res.json()
if body["ok"]:
print(body["data"])
else:
print(body["error"]["code"], body["error"]["message"])TypeScript
const url = new URL("https://api.socialscrape.io/v1/snapchat/spotlight");
url.search = new URLSearchParams({
"url": "https://www.snapchat.com/@jack.scalise/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYb3djZ3FqY2VhAZXDhShdAZXDhPWfAAAAAQ"
}).toString();
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();
if (body.ok) {
console.log(body.data);
} else {
console.error(body.error.code, body.error.message);
}n8n
{
"nodes": [
{
"name": "SocialScrape Snapchat Spotlight video",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
0,
0
],
"parameters": {
"method": "GET",
"url": "https://api.socialscrape.io/v1/snapchat/spotlight",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "url",
"value": "https://www.snapchat.com/@jack.scalise/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYb3djZ3FqY2VhAZXDhShdAZXDhPWfAAAAAQ"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
}
]
}
}
}
],
"connections": {}
}Example response#
This is a sample from a recorded response, lists and long text are shortened. Status 200.
{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_f001e75e6a68811e22be5b8b",
"data": {
"object": "post",
"platform": "snapchat",
"id": "W7_EDlXWTBiXAEEniNoMPwAAYb3djZ3FqY2VhAZXDhShdAZXDhPWfAAAAAQ",
"url": "https://www.snapchat.com/@jack.scalise/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYb3djZ3FqY2VhAZXDhShdAZXDhPWfAAAAAQ",
"type": "video",
"author": {
"id": null,
"handle": "jack.scalise",
"name": "Jack Scalise",
"url": "https://www.snapchat.com/@jack.scalise",
"avatar_url": null,
"verified": null
},
"title": null,
"text": "You are my favorite notification!😄❤️",
"published_at": "2025-03-23T15:00:25.631000Z",
"duration_seconds": 11.2,
"language": "en",
"hashtags": null,
"mentions": null,
"stats": {
"views": 359951,
"likes": 1821,
"comments": 636,
"shares": 35059,
"saves": null,
"dislikes": null
},
"media": {
"thumbnail_url": "https://cf-st.sc-cdn.net/d/xL5FK70SP9np2rtr6jkMt.256.IRZXSOY?mo=GkMaCTIBBEgCUC5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiAAiILEgAqB0lSWlhTT1miARAImgoiCxIAKgdJUlpYU09Z&uc=46",
"video_url": "https://cf-st.sc-cdn.net/d/xL5FK70SP9np2rtr6jkMt.27.IRZXSOY?mo=Gk8aCTIBBEgCUC5gAVoQU3BvdGxpZ2h0U2hhcmluZ6IBKwgbEhoKGAjssDMgAUoOCglJICIpKB4jKSEQ9ANoAiILEgAqB0lSWlhTT1mQA8BX&uc=46",
"audio_url": null,
"image_urls": null,
"width": 540,
"height": 960
},
"song": {
"id": "129883952169",
"title": "Original Sound",
"artist": "jack.scalise",
"url": null
},
"location": null,
"is_pinned": null,
"is_sponsored": null,
"extra": {
"boost_count": 35666,
"description_generated": "This short-form content features Jack Scalise, a popular social media personality, inviting his audience to participate in a trending 'disturb me' challenge. The video opens with him speaking directly to the camera against scenic mountain b...",
"keywords": [
"relationship",
"communication",
"support"
],
"keywords_generated": [
"how to get noticed online",
"engagement tips for creators",
"create viral content"
],
"recommend_count": 1821,
"title_generated": "Jack Scalise's 'Disturb Me' Challenge: How to Get Noticed Online",
"transcript": "disturb me update me tell me how your day was because i love hearing from you",
"transcript_url": "https://bolt-gcdn.sc-cdn.net/3/qFbYrpUtxHtWW3OTCKXnH.vtt?bo=EgkyAX1IAlAuYAE%3D&uc=46"
}
},
"cursor": null,
"has_more": null
}Response#
A Post object in data.
See Data models for every field. The envelope around data is described in Responses.
Errors#
Failures are free: credits_charged is 0. Branch on error.code, never on the message.
| Code | HTTP | Retry | Meaning |
|---|---|---|---|
invalid_params | 400 | no | A parameter is missing, unknown or has the wrong type. |
unsupported_url | 400 | no | The URL is not one this endpoint accepts (wrong platform or form). |
not_found | 404 | no | The platform says this profile, post or item does not exist. |
Every request can also fail with the account and platform errors listed on the Errors page.
Example error:
{
"ok": false,
"error": {
"code": "not_found",
"message": "The platform says this profile, post or item does not exist.",
"retryable": false
},
"credits_charged": 0,
"request_id": "req_9acc3644304236fecbd84caa"
}Related endpoints#
- Snapchat public profile (
GET /v1/snapchat/profile) - Snapchat Spotlight comments (
GET /v1/snapchat/spotlight/comments)