# Xigua Video Play URL API

> Returns the direct playback URL for a specific Xigua video using its unique item identifier. Developers supply the target video ID to retrieve playable media links.

Source: https://www.sandbase.ai/model/xigua/app-v2/one-video-play-url
API reference: https://www.sandbase.ai/model/xigua/app-v2/one-video-play-url/docs

## Facts

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

## Call it

`POST https://api.sandbase.ai/v1/api/xigua/app-v2/one-video-play-url` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

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

## FAQ

### How do I use the Xigua Video Play URL API?

Send a POST request to https://api.sandbase.ai/v1/api/xigua/app-v2/one-video-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 Xigua Video Play URL API cost?

$0.0015 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 Xigua Video Play URL API accept?

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

### What does the Xigua Video Play URL API return?

A JSON response returned in the same HTTP request (synchronous).

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

No. Xigua Video Play 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 Xigua API access separately.

## README

### Xigua Video Play URL API

Retrieve direct video playback links for Xigua videos by providing the target `item_id`. This endpoint allows clients to obtain playable media stream URLs directly.

#### Use cases

- Integrate playable Xigua media streams directly into external video players.
- Retrieve video playback links for content analysis and automated processing pipelines.
- Verify media availability and inspect streaming URLs for specific video IDs.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/xigua/app-v2/one-video-play-url" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id": "<item_id>"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `item_id` | string | Yes | Video id |

#### Notes

- `item_id` is required and specifies the unique identifier of the Xigua video.

#### Related APIs

- [Xigua Single Video Information](/model/xigua/app-v2/one-video): Returns lightweight single video data and associated related video information from Xigua for a specific post by its unique item ID.
- [Xigua Video Search](/model/xigua/app-v2/search-video): Search Xigua Video (ByteDance long-form video) by keyword: titles, creators, duration, publish time and comment counts, with sort and duration filters.
- [Xigua User Profile Details](/model/xigua/app-v2/user-info): Returns profile and personal information for a specified Xigua account.
