↑ ↓ to move ↵ to open

Snapchat Lens Directory

snapchat.lens.directory

Snapchat's Lens directory: the first page of trending Lenses with creator, previews, unlock links and category tabs.

At a glance

Endpoint ID
snapchat.lens.directory
Price
1 credit per call; failed calls are free
Runs for up to
30 seconds
Request
POST /execute
Run an endpoint
MCP tool when pinned
snapchat__lens__directory
Pin tools
OpenAPI
openapi.json
Download

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.lens.directory",  "input": {}}'

Input

This endpoint takes an empty input object.

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:

results[0].data
{  "has_more": true,  "url": "https://www.snapchat.com/lens",  "categories": [    {      "name": "For You",      "id": "FOR_YOU",      "selected": true    },    {      "name": "Trending",      "id": "TRENDING",      "selected": false    }  ],  "lenses": [    {      "name": "Imagine",      "creator": "Snapchat",      "icon_url": "https://bolt-gcdn.sc-cdn.net/3/0JtyOBYpWuNW3PLk8bf1f?bo=EhQyAX06AQRCBgiZo_LXBkgCUBJgAQ%3D%3D&uc=18",      "id": "3411441095283405",      "last_updated_epoch": 0,      "official": true,      "preview_video_url": "https://lens-storage.storage.googleapis.com/previewvideo/0a10d97f-fa83-448a-81ac-ba4b23eab8b4",      "scannable_uuid": "565e7595ec4e4a0da689762b127308ef",      "unlock_url": "https://snapchat.com/unlock/?type=SNAPCODE&uuid=565e7595ec4e4a0da689762b127308ef&metadata=01",      "tags": [        "ai filter",        "ai art"      ]    },    {      "name": "ggg11",      "creator": "Do !!",      "creator_username": "hn_n2345",      "icon_url": "https://bolt-gcdn.sc-cdn.net/3/nt588Em4LoQVdIbCA0prg?bo=EhQyAX06AQRCBgipw8bSBkgCUBJgAQ%3D%3D&uc=18",      "id": "458702645895115",      "last_updated_epoch": 0,      "official": false,      "preview_image_url": "https://lens-preview-storage.storage.googleapis.com/previewmedia/preview_thumbnail/38bf40c5-e7fe-4faa-8c11-9d0215ab9d7d.webp",      "scannable_uuid": "59aff30e001f45cc8f6e47291f78f73f",      "unlock_url": "https://snapchat.com/unlock/?type=SNAPCODE&uuid=59aff30e001f45cc8f6e47291f78f73f&metadata=01",      "tags": [        "doll face filter",        "cartoon face filter"      ]    }  ]}

Fields

FieldTypeExample
categories[].name string For You
categories[].id string FOR_YOU
categories[].selected boolean true
categories array 3 records
has_more boolean true
lenses array 3 records
lenses[].creator string Snapchat
lenses[].icon_url string https://bolt-gcdn.sc-cdn.net/3/0JtyOBYpWuNW3PLk8bf1f?bo=EhQyAX0…
lenses[].id string 3411441095283405
lenses[].last_updated_epoch integer 0
lenses[].name string Imagine
lenses[].official boolean true
lenses[].preview_video_url string https://lens-storage.storage.googleapis.com/previewvideo/0a10d9…
lenses[].scannable_uuid string 565e7595ec4e4a0da689762b127308ef
lenses[].tags array ai filter, ai art, ai transformation
lenses[].unlock_url string https://snapchat.com/unlock/?type=SNAPCODE&uuid=565e7595ec4e4a0…
url string https://www.snapchat.com/lens

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.