Snapchat: Spotlight
Spotlight from Snapchat as JSON. 1 credit per successful call.
GET /v1/snapchat/spotlightNeeds terms
Note
This endpoint needs the restricted-endpoint terms, which you can accept in your dashboard.
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
username | string | Required | Up to 64 characters |
story_id | string | Required | Up to 128 characters |
locale | string | Optional | Up to 16 characters |
Example request
curl "https://api.perceptlayer.com/v1/snapchat/spotlight?username=truss_hair&story_id=W7_EDlXWTBiXAEEniNoMPwAAYaGlrbGh2YWRyAY_uezdJAY_uemXNAAAAAw" \
-H "X-API-Key: $API_KEY"Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
The response has these 17 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
story_id | string |
title | string |
description | string |
view_count | integer |
share_count | integer |
comment_count | integer |
boost_count | integer |
uploaded_at | string |
duration_ms | integer |
width | integer |
height | integer |
thumbnail_url | url |
content_url | url |
creator | object |
keywords | string[] |
comments | object[] |
related_stories | object[] |