# Snapchat Video details API (snapchat.video)

- Canonical page: [https://everyinfra.com/en/snapchat-api/video](https://everyinfra.com/en/snapchat-api/video?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "snapchat", "action": "video", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=snapchat&action=video

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | Specifies the exact Spotlight video URL required for the `video` action. Dedicated video endpoints do not accept profile or `add/` links as substitutes. On profile-oriented actions, full URLs serve only as a fallback input to parse the creator username. |
| spotlight_url | not declared | no | not declared | Provides a secondary compatibility input for the `video` action that takes lower precedence than `url`. Standard public video requests should populate `url` directly. |

## Response fields (items in `results`)

| 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. |
| 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). |
| hashtags | Hashtags in the text, in order of appearance; absent when there are none. |
| view_count | Views or plays. null means not disclosed, not 0. |
| share_count | Shares. null means not disclosed, not 0. |
| duration_ms | platform-native 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. |
| thumbnail_url | Thumbnail link, lower resolution than image_url. |
| media_url | platform-native meaning |
| username | Username (@handle). |
| author_name | Author's display name. |
| author_url | Link to the author's profile on the platform. |
| author_avatar_url | platform-native meaning |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```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": "video",
  "params": {
    "url": "https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYdW94bXd5dmF5AYv9OiSkAYv9OiP4AAAAAQ"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "snapchat",
        "action": "video",
        "params": {
            "url": "https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYdW94bXd5dmF5AYv9OiSkAYv9OiP4AAAAAQ",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "snapchat",
  "action": "video",
  "results": {
    "id": "W7_EDlXWTBiXAEEniNoMPwAAYdW94bXd5dmF5AYv9OiSkAYv9OiP4AAAAAQ",
    "url": "https://www.snapchat.com/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYdW94bXd5dmF5AYv9OiSkAYv9OiP4AAAAAQ",
    "text": "Watching my birds fly #pigeons #birds #birdvideos #miketyson",
    "hashtags": [
      "#birdvideos",
      "#birds",
      "#miketyson"
    ],
    "view_count": 3136747,
    "share_count": 1376,
    "duration_ms": 15650,
    "posted_at": "2023-11-23T17:28:47.864000+00:00",
    "thumbnail_url": "https://cf-st.sc-cdn.net/d/9I7Kkrsd2CA9Jb6iCshQ0.256.IRZXSOY?mo=GkYaCTIBBEgCUC5gAVCgAVoQRGZMYXJnZVRodW1ibmFpbKIBEAiAAiILEgAqB0lSWlhTT1miARAImgoiCxIAKgdJUlpYU09Z&uc=46",
    "media_url": "https://cf-st.sc-cdn.net/d/9I7Kkrsd2CA9Jb6iCshQ0.27.IRZXSOY?mo=Gn0aCTIBBEgCUC5gAVCiAVoQU3BvdGxpZ2h0U2hhcmluZ6IBVggbEkUKQwjFon8gATCcBDjAB0ABSi4KKfIBhgGUAYEBqQGHAZoBjAGGAYUBLzMmIBQbGBYXExEZFBATExQSFRMUEPQDUKJ6aAIiCxIAKgdJUlpYU09ZkAOieg%3D%3D&uc=46",
    "username": "•••",
    "author_name": "•••",
    "author_url": "https://www.snapchat.com/•••",
    "author_avatar_url": "https://cf-st.sc-cdn.net/•••",
    "platform": "snapchat"
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=snapchat
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
