Skip to content
scrapeatlas.Dashboard

Get Snapchat Spotlight comments

Try in Playground

Retrieve a page of public Spotlight comments with author identity, text, timestamps, reactions and reply counts. Pass the returned cursor for another page.

GET/v1/snapchat/spotlight/commentsx-api-key
x-api-keystringrequiredheader

Your ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.

Query parameters
2
urlstringrequiredquery

Required HTTPS Snapchat Spotlight URL.

max 4096 chars

Examplehttps://www.snapchat.com/spotlight/Synthetic_Spotlight_Identifier_001
cursorstringquery

Optional opaque continuation value from the previous response. The response returns null when no next page is exposed.

min 4 chars · max 10924 chars

Response fields
31
requestIdstring

Request correlation UUID.

Upstream request count, decoded response bytes and elapsed milliseconds.

accounting.upstreamRequestsinteger

Upstream HTTP attempts used by this request.

≥ 0

accounting.responseBytesinteger

Decoded source response bytes.

≥ 0

accounting.durationMsnumber

Elapsed retrieval milliseconds.

≥ 0

successboolean

True when usable Snapchat data is returned.

statusenum

success or partial for usable data. Failure responses use failed or challenged.

one of: success, partial

sourceUrlstring

Canonical Snapchat page or Spotlight URL.

absolute HTTPS URL

fetchedAtstring

UTC retrieval timestamp.

Source, completeness and warnings for the returned public records.

coverage.sourceenum

public_page or public_comments.

one of: public_page, public_comments

coverage.completeboolean

Whether the selected source response was returned without a reported omission.

coverage.warningsstring[]

Warning codes describing omitted or additional records.

coverage.orderenumoptional

Returned record order, such as ranked or source_order.

one of: source_order, ranked

commentsobject[]

Comment text, author display name, millisecond timestamp, numeric threaded reply count and numeric reaction type/count pairs.

up to 100 items

sourceCommentsobject[]

Original public Reply fields with lossless unsigned IDs and decimal timestamps/counts, profile identity, badges, attributions, creator-favorite state, composite story IDs, moderation data, sentiment/TF-IDF/toxicity scores and attachment bytes. Source extensions are preserved.

up to 100 items

snapIdstring

Spotlight identifier for this comment page.

Normalized comment records alongside the preserved source comments.

up to 100 items

normalizedComments.idstringnullable

Comment high/low ID components joined by a hyphen, or null.

normalizedComments.textstring

Published comment text.

normalizedComments.createdAtstringnullable

UTC comment time, or null.

normalizedComments.likeCountintegernullable

Published like reaction count, or null.

normalizedComments.replyCountintegernullable

Published threaded reply count, or null.

Public author ID and display name.

normalizedComments.author.idstringnullable

Author high/low ID components joined by a hyphen, or null.

normalizedComments.author.displayNamestringnullable

Published author display name, or null.

cursorstringnullable

Optional opaque continuation value from the previous response. The response returns null when no next page is exposed.

hasMoreboolean

True when the response exposes a continuation cursor.

Spotlight identity for this comment page.

spotlight.idstring

Spotlight identifier.

spotlight.urlstring

Canonical Spotlight URL.

absolute HTTPS URL

HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.

Error codes
11
HTTPfailure.codeMeaning
400invalid_requestMissing, duplicate, unknown or malformed parameters.
401unauthorizedMissing or invalid service API key.
403restricted_pageThe requested page reports restricted access.
404not_foundThe requested public record was not found.
429upstream_rate_limitedSnapchat temporarily rate limited retrieval.
502upstream_challengedSnapchat challenged the request.
502unsupported_pageThe public source does not validate against the supported structure.
502response_too_large payload_too_complexThe source exceeded byte or structural bounds.
502unsafe_redirect request_limit upstream_errorRetrieval could not complete within its source and request bounds.
503busyThe worker admission queue is full or its wait deadline was exceeded.
504timeoutThe request exceeded its deadline.