APIs / Snapchat / Spotlight

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.

ParameterTypeRequiredAllowed values
usernamestringRequiredUp to 64 characters
story_idstringRequiredUp to 128 characters
localestringOptionalUp to 16 characters

Example request

cURLshell
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.

FieldType
story_idstring
titlestring
descriptionstring
view_countinteger
share_countinteger
comment_countinteger
boost_countinteger
uploaded_atstring
duration_msinteger
widthinteger
heightinteger
thumbnail_urlurl
content_urlurl
creatorobject
keywordsstring[]
commentsobject[]
related_storiesobject[]