# Xigua API on SandBase

> Read public Xigua Video surfaces for creator, content, and audience research: video search, video details, play URLs, user profiles, user post lists, and video comment threads with engagement-oriented public metadata.

Source: https://www.sandbase.ai/apis/xigua

- Endpoints: 6
- Call: `POST https://api.sandbase.ai/v1/api/{vendor}/{endpoint}` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body
- Billing: pay per call from one SandBase balance; no provider account or subscription needed

## Endpoints

- [Xigua Single Video Information](https://www.sandbase.ai/apis/xigua/app-v2/one-video.md): $0.001 per call
  Returns lightweight single video data and associated related video information from Xigua for a specific post by its unique item ID.
- [Xigua User Post List](https://www.sandbase.ai/apis/xigua/app-v2/user-post-list.md): $0.001 per call
  Returns a list of posts from a specific Xigua user account. Supports paginated results using timestamp cursor tokens.
- [Xigua User Profile Details](https://www.sandbase.ai/apis/xigua/app-v2/user-info.md): $0.001 per call
  Returns profile and personal information for a specified Xigua account. Queries details using the target user identifier.
- [Xigua Video Comment List](https://www.sandbase.ai/apis/xigua/app-v2/video-comment-list.md): $0.001 per call
  Returns comments for a specified Xigua video. Supports paginating through discussion threads using offset and result count parameters.
- [Xigua Video Play URL](https://www.sandbase.ai/apis/xigua/app-v2/one-video-play-url.md): $0.001 per call
  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.
- [Xigua Video Search](https://www.sandbase.ai/apis/xigua/app-v2/search-video.md): $0.001 per call
  Search Xigua Video (ByteDance long-form video) by keyword: titles, creators, duration, publish time and comment counts, with sort and duration filters.

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
