Snapchat Lens Directory Scraper API
Snapchat's Lens directory: the first page of trending Lenses with creator, previews, unlock links and category tabs.
- 1 credit per call
- Failed calls are free
- Updated
- snapchat.lens.directory
{ "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" ] } ]}
| # | Name | Selected | Id |
|---|---|---|---|
| 1 | For You | true | FOR_YOU |
| 2 | Trending | false | TRENDING |
| 3 | Face | false | FACE |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | Example |
|---|---|---|
| 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 |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
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": {}}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "snapchat.lens.directory", "input": {}}''')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.lens.directory", "input": {}}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
With Upscrape, get the Snapchat lens directory. Tell me what it costs before you run it, then show the results as a table.
More from the Snapchat API
The same data from other platforms
Snapchat Lens Directory Scraper API FAQ
The short answers. The docs have the long ones.
How much does the Snapchat Lens Directory Scraper API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Every input is optional; the input fields below list what each one does.
Do I need a Snapchat login?
No. It reads public Snapchat data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds snapchat.lens.directory, checks its price and runs it with the same credits as the REST API.
Your first Snapchat call is free.
Up to 100 free credits to start, no card needed.