# Kuaishou Single Video by URL API

> Retrieves video manifest data and streaming representation details for a specific Kuaishou post using its web link. Returns media properties such as resolution, frame rate, and direct video URLs.

Source: https://www.sandbase.ai/model/kuaishou/web/one-video-by-url
API reference: https://www.sandbase.ai/model/kuaishou/web/one-video-by-url/docs

## Facts

- Provider: Kuaishou
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/kuaishou/web/one-video-by-url`
- Price: $0.003 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, kuaishou
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/kuaishou/web/one-video-by-url` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `url` | string | yes |  |

## FAQ

### How do I use the Kuaishou Single Video by URL API?

Send a POST request to https://api.sandbase.ai/v1/api/kuaishou/web/one-video-by-url with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Kuaishou Single Video by URL API cost?

$0.003 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Kuaishou Single Video by URL API accept?

Required: url (string). The Parameters table and the Playground on this page list every field.

### What does the Kuaishou Single Video by URL API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

### Do I need a Kuaishou developer account or API key?

No. Kuaishou Single Video by URL runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Kuaishou API access separately.

## README

### Kuaishou Single Video by URL API

Access video stream manifests and quality representations for Kuaishou content by supplying a post link in `url`.

#### Use cases

- Retrieve direct stream URLs and video quality representations from a post link.
- Inspect video resolution, frame rates, and manifest data.
- Integrate Kuaishou video playback capabilities into external applications.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/web/one-video-by-url" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://v.kuaishou.com/GKTpYm"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `url` | string | Yes | — |

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "photo": {
    "manifest": {
      "adaptationSet": [
        {
          "representation": [
            {
              "frameRate": 29.97003,
              "hdrType": 0,
              "id": 1,
              "qualityLabel": "高清",
              "qualityType": "720p",
              "url": "https://v23-3.kwaicdn.com/upic/2024/06/19/21/BMjAyNDA2MTkyMTA5NDJfMTA5NjYzNzQwMV…",
              "kvqScore": {
                "nnvcScore": -1
              }
            }
          ]
        }
      ]
    }
  }
}
```

#### Notes

- Provide a valid Kuaishou post link using the required `url` parameter.

#### Related APIs

- [Kuaishou Web Share Short URL](/model/kuaishou/web/generate-share-short-url): Returns a shareable short URL for a specified Kuaishou video or photo post.
- [Kuaishou User ID Lookup](/model/kuaishou/web/get-user-id): Resolves a Kuaishou user ID from a provided user share link.
- [Kuaishou Web Hot List](/model/kuaishou/web/hot-list-v1): Returns the current trending hot list from Kuaishou Web.
