# Get a video play URL

Returns the best available play URL and file size for one video. Use `region` to pick the CDN region.

- Platform: Douyin V2
- Request: `GET https://api.toolzerhub.com/v2/douyin/videos/play-url`
- Auth: `x-api-key` header
- Cost: 8 credits per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/douyin-v2/videos/get-douyin-video-play-url

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `aweme_id` | query | yes | string | Douyin video id, or any douyin.com video URL (/video/, /note/, an iesdouyin share link, or a ?modal_id= link). |
| `region` | query | no | string | ISO country code selecting the CDN region Douyin returns (e.g. CN, US, HK). |

## Example request

```bash
curl "https://api.toolzerhub.com/v2/douyin/videos/play-url?aweme_id=<aweme_id>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
