---
title: "Full detail of a single Kwai video"
method: GET
path: "/kwai/video"
tags: ["Kwai"]
---

# Full detail of a single Kwai video

`GET /kwai/video`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/kwai/video`
- Auth: API key in header `X-API-KEY`

The returned id always equals the requested id: a page that substitutes a different video is
retried on a fresh proxy and only becomes a not-found once the retries are exhausted.

## Query parameters

- `photo_id` string, required

## Response `200`

- union
  - object
    - `success` boolean, required
    - `error` object, required
      - `code` 'UPSTREAM_UNAVAILABLE', required
      - `message` 'The Kwai video could not be loaded. Please retry.', required
      - `failure_type` 'upstream_non_200', required
      - `http_status` 502, required
    - `meta` object, required
      - `duration_ms` integer, required
      - `attempts` integer, required
      - `billable` boolean, required
      - `retryable` boolean, required
  - object
    - `success` boolean, required
    - `error` object, required
      - `code` 'VIDEO_NOT_FOUND', required
      - `message` 'Kwai has no video with this id.', required
      - `failure_type` 'video_id_substituted', required
      - `http_status` 404, required
    - `meta` object, required
      - `duration_ms` integer, required
      - `attempts` integer, required
      - `billable` boolean, required
      - `retryable` boolean, required
  - object
    - `success` boolean, required
    - `error` object, required
      - `code` 'UPSTREAM_UNAVAILABLE', required
      - `message` 'The Kwai video API is temporarily unavailable. Please retry.', required
      - `failure_type` 'proxy_pool_empty', required
      - `http_status` 503, required
    - `meta` object, required
      - `duration_ms` integer, required
      - `attempts` integer, required
      - `billable` boolean, required
      - `retryable` boolean, required
  - object
    - `success` boolean, required
    - `video` object, nullable, required
    - `meta` object, required
      - `duration_ms` integer, required
      - `attempts` integer, required
      - `billable` boolean, required
  - string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `404`: Kwai has no public data for this identifier. A not-found is a completed lookup that was not billed. Kwai has no public profile for this handle. A not-found is a completed lookup that was not billed.
- `422`: Kwai rejected the request body as malformed. Retrying will not change the outcome, so the request is sent once and is not billed. A required parameter is missing or malformed.
- `503`: The upstream service is temporarily unavailable. Please retry shortly.

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
