# Xigua Video (西瓜视频) data for AI agents

> ToolSocket gives Claude, ChatGPT, Cursor, Codex and any MCP or REST client live access to Xigua Video (西瓜视频) — videos and comments — through 6 ready-made tools. No Xigua Video account, scraper or API key of your own is needed: connect https://toolsocket.top/mcp once and pay per call (most calls $0.0015).

ToolSocket 让 Claude、ChatGPT、Cursor、Codex 等任何支持 MCP 或 REST 的 AI 智能体，直接读取西瓜视频的实时数据：视频和评论数据，共 6 个工具。不用注册西瓜视频账号、不用写爬虫，接入一个地址即可，按次计费（大多 $0.0015/次）。

## Connect

- MCP (Claude.ai, ChatGPT, Claude Code, Cursor, VS Code, Codex): `https://toolsocket.top/mcp` — OAuth sign-in or `Authorization: Bearer ts_live_…`
- Claude Code: `claude mcp add --transport http toolsocket https://toolsocket.top/mcp`
- Any agent that reads skills: `set up https://toolsocket.top/SKILL.md`
- Setup for every client: https://toolsocket.top/docs.md

## Example

Ask your agent: "Get the details and comments of this Xigua video." / 「获取这个西瓜视频的详情和评论。」

```bash
curl -s -X POST https://toolsocket.top/v1/run -H "Authorization: Bearer $TOOLSOCKET_API_KEY" \
  -H "content-type: application/json" -d '{"tool":"xigua#app/v2/search_video","input":{"keyword":"抖音","offset":0},"wait":30}'
```

## Tools (6)

| Tool | ID | Price | What it does |
|---|---|---|---|
| Xigua Video · Get single video data (app v2) · 西瓜视频 · 获取单个作品数据（app v2） | `xigua#app/v2/fetch_one_video` | $0.0015 / call | Get single video data (less information, does not include title and other information, but includes information about related videos) |
| Xigua Video · Get single video play URL (app v2) · 西瓜视频 · 获取单个作品的播放链接（app v2） | `xigua#app/v2/fetch_one_video_play_url` | $0.0015 / call | Get single video play URL, the interface returns the decoded play URL, which can be used directly. |
| Xigua Video · Video comment list (app v2) · 西瓜视频 · 视频评论列表（app v2） | `xigua#app/v2/fetch_video_comment_list` | $0.0015 / call | Video comment list |
| Xigua Video · Search video (app v2) · 西瓜视频 · 搜索视频（app v2） | `xigua#app/v2/search_video` | $0.0015 / call | Search video |
| Xigua Video · Personal information (app v2) · 西瓜视频 · 个人信息（app v2） | `xigua#app/v2/fetch_user_info` | $0.0015 / call | Personal information |
| Xigua Video · Get user post list (app v2) · 西瓜视频 · 获取个人作品列表（app v2） | `xigua#app/v2/fetch_user_post_list` | $0.0015 / call | Get user post list |
