# Douyin High-Quality Video Play URLs API

> Returns direct high-quality playback URLs for multiple Douyin videos using comma-separated video IDs and an optional region code.

Source: https://www.sandbase.ai/model/douyin/web/multi-video-high-quality-play-url
API reference: https://www.sandbase.ai/model/douyin/web/multi-video-high-quality-play-url/docs

## Facts

- Provider: Douyin
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/douyin/web/multi-video-high-quality-play-url`
- Price: $0.38 per call
- Capabilities: api, douyin
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/douyin/web/multi-video-high-quality-play-url` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `aweme_ids` | string | no |  |
| `region` | any | no |  |

## FAQ

### How do I use the Douyin High-Quality Video Play URLs API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/web/multi-video-high-quality-play-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 Douyin High-Quality Video Play URLs API cost?

$0.38 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Douyin High-Quality Video Play URLs API accept?

No parameters are required. Optional: aweme_ids (string) and region (any). The Parameters table and the Playground on this page list every field.

### What does the Douyin High-Quality Video Play URLs 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 Douyin developer account or API key?

No. Douyin High-Quality Video Play URLs 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 Douyin API access separately.

## README

### Douyin High-Quality Video Play URLs API

Retrieve high-quality video playback URLs in bulk by passing comma-separated video IDs via `aweme_ids`. An optional `region` parameter adjusts the returned CDN links for specific geographic locations.

#### Use cases

- Collect clean video source files for offline media archiving.
- Retrieve high-resolution Douyin video streams for video editing pipelines.
- Extract original video links in batches to supply training datasets.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/multi-video-high-quality-play-url" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `region` | string | No | Optional ISO country code (for example, CN, US, or HK). |
| `aweme_ids` | string | No | Video id list, separated by commas, for example: "123,456,789", up to 50. |

#### Example response

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

```json
{
  "videos": [
    {
      "content_type": "video/quicktime",
      "original_video_url": "https://v26-colds.douyinvod.com/910b338418b78405b24b3c9b02ad6db1/6ac4fa01/video/…",
      "video_id": "7512756548356492544"
    }
  ]
}
```

#### Notes

- Accepts up to 50 video IDs separated by commas in `aweme_ids`.
- Set `region` to an ISO country code like CN, US, or HK to route to regional CDN URLs.

#### Related APIs

- [Douyin Batch Video ID Extraction](/model/douyin/web/all-aweme-id): Extracts video IDs from a list of Douyin video URLs.
- [Douyin sec_user_ids from URLs (Batch)](/model/douyin/web/all-sec-user-id): Extracts Douyin sec_user_id values in bulk from a list of user homepage URLs.
- [Douyin Webcast ID Extraction](/model/douyin/web/all-webcast-id): Extracts webcast IDs from a submitted list of Douyin live room links.
