Snapchat Spotlight Comments Scraper API
Returns comments on a Snapchat Spotlight snap. Each comment includes text, display name, reaction count, nested reply count, and timestamp. Page with cursor.
GET /api/v1/data/snapchat/spotlight-comments · 1 credit per page · The same call repeated within 5 minutes may get the same answer, so data can be up to 5 minutes old.
Inputs
url(required): Full URL of the Snapchat Spotlight snap.cursor: Leave it out for the first page. For the next page, send next_cursor from the previous answer.since: Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`.until: Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.
What comes back
result_status(string): success, or not_available when the item does not exist, was removed or is not public.count(integer): How many comments this answer holds.comments[].id(string): The item's ID on the platform.comments[].post_id(string): The post the comment is on.comments[].text(string): Its text.comments[].published_at(string): When it was published (ISO 8601).comments[].language(string): Its language code.comments[].deleted(boolean): Whether it was deleted.comments[].author_name(string): The author's display name.comments[].like_count(number): Likes.comments[].reply_count(number): Replies to it.comments[].platform(string): The platform's name.comments[].source_data(object): Everything the platform sent for this row, as it came.comments[].source_data.comment.author.display_name(string): Comment author display namecomments[].source_data.comment.engagement.likes(number): Like / upvote countcomments[].source_data.comment.engagement.replies(number): Reply / child-comment count.comments[].source_data.comment.ext.published_at_epoch(number)comments[].source_data.comment.flags.deleted(boolean): Whether the comment is tombstoned (always present, even when false)comments[].source_data.comment.id(string): Platform-specific comment ID (always a string)comments[].source_data.comment.post_id(string): ID of the post this comment belongs tocomments[].source_data.comment.published_at(any): Comment creation timestamp as an ISO 8601 UTC string.comments[].source_data.comment.text(string): Comment body.comments[].source_data.computed.country.confidence(number)comments[].source_data.computed.country.source(string)comments[].source_data.computed.country.value(string)comments[].source_data.computed.language(string)next_cursor(string): Send it as cursor to get the next page; null when there is none.has_more(boolean): Whether there is another page.
Good to know
- Each page costs 1 credit. A call that finds nothing, or fails, is free.
- Each call returns one page of about 23 comments. To get the next page, send next_cursor from the answer as cursor.
- The same call repeated within 5 minutes may get the same answer, so data can be up to 5 minutes old.
Example call
GET /api/v1/data/snapchat/spotlight-comments?url=https%3A%2F%2Fwww.snapchat.com%2F%40lilah4823%2Fspotlight%2FW7_EDlXWTBiXAEEniNoMPwAAYY2pvZnd0ZXVmAZ8fgG8pAZ8ff-_IAAAAAQ
Questions
How much does the Snapchat Spotlight Comments API cost?
Each page costs 1 credit. A call that finds nothing, or fails, costs nothing.
What do I send?
You must send url. 2 more inputs are optional: since and until. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.
How do I get the next page?
Each call returns one page of about 23 rows. The answer carries next_cursor: send it back as cursor to get the page after. Each page is charged on its own, and an empty page is free.
How fresh is the data?
The same call repeated within 5 minutes may get the same answer, so data can be up to 5 minutes old.
Do I need a Snapchat account or developer app?
No. You call SocialHz with your SocialHz API key, and the same key works for every platform.
Can I try it before paying?
Yes. Signing up gives you 10 free credits, with no card needed.