Social networks
Snapchat API
Retrieve public Snapchat profiles, stories, highlights, Spotlight videos and comments, feeds, Lenses, search results and topic collections.
Seven authenticated endpoints return public creator, content and discovery data as structured JSON, preserving Snapchat source records alongside normalized profile, video and comment fields.
API availability: Coming soon
http://localhost:3045Public API: https://api.scrapeatlas.com.Endpoints
/v1/snapchat/profileGet a Snapchat profile
Retrieve a public Snapchat profile, subscriber count, published stories, curated and Spotlight highlights, recent video metadata, Lenses and related profiles.
Reference/v1/snapchat/spotlightGet a Snapchat Spotlight video
Retrieve a public Spotlight video with its creator, caption, media, dimensions, timestamps, hashtags, sound context, engagement and generated metadata.
Reference/v1/snapchat/spotlight/commentsGet Snapchat Spotlight comments
Retrieve a page of public Spotlight comments with author identity, text, timestamps, reactions and reply counts. Pass the returned cursor for another page.
Reference/v1/snapchat/spotlight/feedBrowse the Snapchat Spotlight feed
Retrieve videos from Snapchat’s public Spotlight feed with creator details, captions, media, engagement and original source records.
Reference/v1/snapchat/lensGet a Snapchat Lens
Retrieve a public Lens with its creator, tags, preview image and video, Snapcode, related Lenses and Spotlight videos using the effect.
Reference/v1/snapchat/searchSearch Snapchat
Search public Snapchat content, returning Lens, Spotlight, topic, profile, publisher and place result sections with their source fields.
Reference/v1/snapchat/topicGet a Snapchat topic collection
Retrieve a public topic collection with its title, description and ordered videos, preserving media URLs, creator details, engagement, keywords and duration.
ReferenceQuick start
Create an API key on your account page, then call the public API. Values below are placeholders.
curl "https://api.scrapeatlas.com/v1/snapchat/profile?handle=example.creator" \
-H "x-api-key: YOUR_API_KEY"Coverage & limits
- One public profile, Spotlight video or Lens per detail request.
- Feed limit accepts 1 to 100; profile collections, related records and comments return at most 100 records, and each story returns at most 1,000 snaps.
- Spotlight and Lens URLs are at most 4,096 characters. Comment cursors are opaque and accept at most 8,192 decoded bytes.
- Four active retrieval slots, up to eight queued requests with a 10-second queue wait, a 25-second total retrieval deadline and at most six upstream HTTP attempts.
- At most 8 MiB decoded source bytes, nesting depth 64 and 250,000 examined source nodes per request.
- Media, thumbnail, preview and Snapcode URLs are returned as data.
- Search queries contain 1 to 50 characters. Topic slugs contain 1 to 64 letters, digits or hyphens. Search returns at most 100 sections, 100 results per section and 100 Spotlight cards; topic collections return at most 100 videos and 100 breadcrumb items.
- Repeated source comment structures, including reactions and attachment payloads, contain at most 100 entries.
| HTTP | failure.code | Meaning |
|---|---|---|
| 400 | invalid_request | Missing, duplicate, unknown or malformed parameters. |
| 401 | unauthorized | Missing or invalid service API key. |
| 403 | restricted_page | The requested page reports restricted access. |
| 404 | not_found | The requested public record was not found. |
| 429 | upstream_rate_limited | Snapchat temporarily rate limited retrieval. |
| 502 | upstream_challenged | Snapchat challenged the request. |
| 502 | unsupported_page | The public source does not validate against the supported structure. |
| 502 | response_too_large payload_too_complex | The source exceeded byte or structural bounds. |
| 502 | unsafe_redirect request_limit upstream_error | Retrieval could not complete within its source and request bounds. |
| 503 | busy | The worker admission queue is full or its wait deadline was exceeded. |
| 504 | timeout | The request exceeded its deadline. |