POST

API health

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

Last 24 hours

Last 30 days

Fetch the Stories a Snapchat account currently has up, with story ID, title, media link, thumbnail and post time. Friends-only Stories are not accessible, and full coverage of a Story's availability window is not guaranteed.

Send POST https://api.everyinfra.com/api/v1/social with platform set to snapchat and action set to stories. 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

#
Please help me write a data collection script with the EveryInfra Snapchat Stories endpoint (snapchat/stories).

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 stories, 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, story_id, story_title, media_url, thumbnail_url, posted_at, username, author_name, author_url.
- Example request body:
{
  "platform": "snapchat",
  "action": "stories",
  "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.
actionbodystringYesstoriesCapability identifier, fixed value.
usernamebody.paramsstringYes-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": "stories",
  "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

#
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": "stories",  "results": [    {      "id": "55a4f40c",      "story_id": "940c30d9",      "story_title": "🌕🔵🔴",      "media_url": "https://cf-st.sc-cdn.net/d/va9S7MHI1eESZ2IkPIyMA.1322.IRZXSOY?mo=GloaGBoAGgAyAQQ6AX1CBgipn8O4BkgCUF5gAVoHRGZNZWRpYaIBMAiqChIeChwgAUoWChEWCQoRCw0HCDgJBgUEBAMEAxD0A2gCIgsSACoHSVJaWFNPWZADgEY%3D&uc=94",      "thumbnail_url": "https://cf-st.sc-cdn.net/d/va9S7MHI1eESZ2IkPIyMA.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgipn8O4BkgCUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",      "posted_at": "2024-10-16T19:01:13+00:00",      "username": "fcbarcelona",      "author_name": "•••",      "author_url": "https://www.snapchat.com/•••",      "platform": "snapchat"    },    {      "id": "3ae0411b",      "story_id": "940c30d9",      "story_title": "🌕🔵🔴",      "media_url": "https://cf-st.sc-cdn.net/d/Q7KdutN2Y4OFTig0I9VlX.1322.IRZXSOY?mo=GloaGBoAGgAyAQQ6AX1CBgion8O4BkgCUF5gAVoHRGZNZWRpYaIBMAiqChIeChwgAUoWChEYDAwTDA8JCjoKBwYEBQQEBRD0A2gCIgsSACoHSVJaWFNPWZADgEY%3D&uc=94",      "thumbnail_url": "https://cf-st.sc-cdn.net/d/Q7KdutN2Y4OFTig0I9VlX.410.IRZXSOY?mo=Gj8aGBoAGgAyAQQ6AX1CBgion8O4BkgCUF5gAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiaAyILEgAqB0lSWlhTT1k%3D&uc=94",      "posted_at": "2024-10-15T16:39:33+00:00",      "username": "fcbarcelona",      "author_name": "•••",      "author_url": "https://www.snapchat.com/•••",      "platform": "snapchat"    }  ],  "count": 203,  "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.
story_idKeeps the platform's own meaning
story_titleKeeps the platform's own meaning
media_urlKeeps the platform's own meaning
thumbnail_urlThumbnail link, lower resolution than image_url.
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).

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.

Errors

Official references

#

Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.

  • Snapchat: Scope Boundaries for Public Stories vs. Friends-Only Stories ↗

    Official documentation clarifies that active Public Stories are accessible from public profile pages, whereas My Story · Friends is restricted to friends. EveryInfra covers only current public story scopes and does not commit to retrieving friends-only stories or expired historical assets.

    Checked 2026-09-04

Google Analytics needs consent. Privacy