Snapchat Posts by user API

POST

API health

24h health
Normal
24h average time
—
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Normal

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.

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.

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.

AI prompt

Paste this into your AI assistant. It already holds this endpoint's parameters, response fields and an example request, so the assistant can ask what you need and then write the scraper.

Please help me write a data collection script with the EveryInfra Snapchat Posts by user endpoint (snapchat/user_posts).

Endpoint contract:
- 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

NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYessnapchatPlatform identifier, fixed value.
actionbodystringYesuser_postsCapability identifier, fixed value.
usernamebody.paramsNot declaredYes-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.
limitbody.paramsinteger (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

bash
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

Real response

Captured September 26, 2026 at 08:56 (UTC) by calling this API with the parameters in the code sample above. results and count are that call's real response with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2. id, billing and quota differ on every call, so only their shape is shown.

json
{
  "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.

FieldMeaning
idThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
urlLink to the record on the platform.
titleTitle. null when the platform has no titles (for example text-only posts).
textBody 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).
summaryKeeps the platform's own meaning
captionKeeps the platform's own meaning
media_urlKeeps the platform's own meaning
thumbnail_urlThumbnail link, lower resolution than image_url.
duration_msKeeps the platform's own meaning
widthKeeps the platform's own meaning
heightKeeps the platform's own meaning
view_countViews or plays. null means not disclosed, not 0.
share_countShares. null means not disclosed, not 0.
comment_countComments. null means not disclosed, not 0.
boost_countKeeps the platform's own meaning
recommend_countKeeps the platform's own meaning
posted_atPublish 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.
usernameUsername (@handle).
author_nameAuthor's display name.
author_urlLink to the author's profile on the platform.
platformSource 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. Authentication runs before parameter checks, so unauthenticated requests never see the parameter schema.
422
Wrong parameter name or value. The error lists the parameters and allowed values this capability accepts and the closest match; it happens before any charge.
402
Insufficient balance. Top up first.
429
The account's per-minute request limit was reached (all of its API keys count together; a key's own lower limit applies first). Wait for Retry-After and try again; a rate package in the console raises the limit.
503
Could not complete right now. Any charge for the call goes back to your balance automatically, and the billing receipt in the response states the actual outcome, including when it is not yet known. Do not resend blindly.
200 empty
The request completed without data and is not charged (billing.reason = empty_result_refunded).

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