Snapchat Posts by user API
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Collect a Snapchat account's Spotlight videos, with caption, media link, length, dimensions and view, share, comment, boost and recommendation counts. Length is in milliseconds, and chats and a complete back catalog are not included.
Send POST https://api.everyinfra.com/api/v1/social with platform set to snapchat and action set to user_posts. Price $1.39 per 1,000 requests ($0.001389 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
Snapchat Posts by user lists the public Spotlight videos one Snapchat account has posted, given its username. Each row carries the video's link, title, caption, summary and text, a media link and thumbnail, length, width and height, view, share and comment counts, boost and recommendation counts, and the publish time. Creator marketers and social analysts use it to see which short videos from an account draw views and shares, to compare creators before a campaign, or to archive an account's Spotlight output.
The username can be written with or without @, or as a snapchat.com/add/<name> link. duration_ms counts milliseconds, and width and height are pixels, which tells vertical videos from horizontal ones. A null view_count, share_count or comment_count means the number was not disclosed, not zero. Only Spotlight videos are listed; an account's current public Stories come from the Snapchat Stories capability.
AI prompt
#Please help me write a data collection script with the EveryInfra Snapchat Posts by user endpoint (snapchat/user_posts).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to snapchat and action to user_posts, and put the parameters inside params.
- Required parameters:
- username: Specifies a public creator handle, accepted as a plain username (with optional @ prefix) or a full snapchat.com profile URL.
- Optional parameters:
- limit: The most rows to return in this call, an integer of 1 or more. The default applies when you leave it out, and a call can return fewer rows.
- Returns a list of records. Main fields of each record: id, url, title, text, summary, caption, media_url, thumbnail_url, duration_ms, width, height, view_count; 20 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=snapchat.
- Example request body:
{
"platform": "snapchat",
"action": "user_posts",
"params": {
"username": "fcbarcelona"
}
}
- Price: $1.39 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | snapchat | Platform identifier, fixed value. |
action | body | string | Yes | user_posts | Capability identifier, fixed value. |
username | body.params | string | Yes | - | Specifies a public creator handle, accepted as a plain username (with optional @ prefix) or a full snapchat.com profile URL. This parameter retrieves public profile data for profile, current public stories for stories, or Spotlight short videos for user_posts. Private chats and friends-only stories are not accessible. |
limit | body.params | integer (1–) | No | - | The most rows to return in this call, an integer of 1 or more. The default applies when you leave it out, and a call can return fewer rows. |
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "snapchat",
"action": "user_posts",
"params": {
"username": "fcbarcelona"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "platform": "snapchat", "action": "user_posts", "results": [ { "id": "W7_EDlXWTBiXAEEniNoMPwAAYcWdyZmptcHNlAaDTaexlAaDTaenOAAAAAQ", "url": "https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYcWdyZmptcHNlAaDTaexlAaDTaenOAAAAAQ", "text": "😮💨 #fcbarcelona", "media_url": "https://bolt-gcdn.sc-cdn.net/bp/AJ0xy8jDjv8p8o8vwPOfd.27.IRZXSOY?mo=GmMaCTIBUUgCUC5gAVCiAVoQU3BvdGxpZ2h0U2hhcmluZ6IBPAgbEisKKQj0g3AgATCcBDjAB0ABShQKD-0BdIgBiwGCAWqmAY4BfBD0A1DIM2gCIgsSACoHSVJaWFNPWZADyDM%3D&uc=46", "thumbnail_url": "https://bolt-gcdn.sc-cdn.net/bp/AJ0xy8jDjv8p8o8vwPOfd.256.IRZXSOY?mo=GkYaCTIBUUgCUC5gAVCgAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiAAiILEgAqB0lSWlhTT1miARAImgoiCxIAKgdJUlpYU09Z&uc=46", "duration_ms": 6600, "width": 540, "height": 960, "view_count": 34713, "share_count": 8, "comment_count": 28, "boost_count": 4884, "recommend_count": 274, "posted_at": "2026-09-24T12:35:28.846000+00:00", "username": "fcbarcelona", "author_name": "•••", "author_url": "https://www.snapchat.com/@fcbarcelona", "platform": "snapchat" }, { "id": "W7_EDlXWTBiXAEEniNoMPwAAYcXJmYWl2dGl3AaDPbE16AaDPbEdQAAAAAQ", "url": "https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYcXJmYWl2dGl3AaDPbE16AaDPbEdQAAAAAQ", "text": "Flick 🤝 Belletti #fcbarcelona", "media_url": "https://bolt-gcdn.sc-cdn.net/bp/hY7Zyp5zxih25D1Ai5TjK.27.IRZXSOY?mo=GmIaCTIBUUgCUC5gAVCiAVoQU3BvdGxpZ2h0U2hhcmluZ6IBOwgbEioKKAiy5MgBIAEwnAQ4wAdAAUoSCg3BAYUBbosBc3NhnQFuEPQDUKpqaAIiCxIAKgdJUlpYU09ZkAOqag%3D%3D&uc=46", "thumbnail_url": "https://bolt-gcdn.sc-cdn.net/bp/hY7Zyp5zxih25D1Ai5TjK.256.IRZXSOY?mo=GkYaCTIBUUgCUC5gAVCgAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiAAiILEgAqB0lSWlhTT1miARAImgoiCxIAKgdJUlpYU09Z&uc=46", "duration_ms": 13610, "width": 540, "height": 960, "view_count": 27499, "share_count": 10, "comment_count": 48, "boost_count": 4768, "recommend_count": 300, "posted_at": "2026-09-23T17:59:34.992000+00:00", "username": "fcbarcelona", "author_name": "•••", "author_url": "https://www.snapchat.com/@fcbarcelona", "platform": "snapchat" } ], "count": 16, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
url | Link to the record on the platform. |
title | Title. null when the platform has no titles (for example text-only posts). |
text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
summary | Keeps the platform's own meaning |
caption | Keeps the platform's own meaning |
media_url | Keeps the platform's own meaning |
thumbnail_url | Thumbnail link, lower resolution than image_url. |
duration_ms | Keeps the platform's own meaning |
width | Keeps the platform's own meaning |
height | Keeps the platform's own meaning |
view_count | Views or plays. null means not disclosed, not 0. |
share_count | Shares. null means not disclosed, not 0. |
comment_count | Comments. null means not disclosed, not 0. |
boost_count | Keeps the platform's own meaning |
recommend_count | Keeps the platform's own meaning |
posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
username | Username (@handle). |
author_name | Author's display name. |
author_url | Link to the author's profile on the platform. |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
FAQ
#Can this capability post to Snapchat?
#No. It reads the public Spotlight videos an account has already published and returns their data; it does not publish, schedule or send anything to Snapchat. Private chats and friends-only Stories are not read either.
How do I convert duration_ms to seconds?
#Divide by 1000: a value of 15000 is a 15-second video. Convert before you group videos by length or compare them with lengths reported in seconds elsewhere, or a short clip will look a thousand times longer than it is.
How do I get the details of one video?
#Pass the row's url, the link to that Spotlight video, to the Snapchat Video details capability, which reads a single Spotlight video. An account link such as snapchat.com/add/<name> does not work there, because that capability needs a link to a specific video.
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
Official references
#Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.
- Snapchat: Spotlight as a Standalone Public Content Hub ↗
Official documentation defines Spotlight as a central hub for discovering community Snaps, accessible via web viewing. That definition covers content types only; it does not open this endpoint to Spotlight searches, uploads, or full trend filtering.
Checked 2026-09-05