Social media5 min readBy Purrkey teamUpdated

How to fetch a Xigua video's details by item ID

Get a single Xigua video's content, creator, category, engagement, and share URL from one item ID

On this page

You have 25 Xigua item IDs in a campaign tracker and need each video's creator, category, engagement, and share URL before shortlisting partners. Run one item ID per call through tikhub.xigua.app.v2.fetch_one_video, then compare the returned fields in a table. The shortlist is five videos for manual review, so the worksheet needs to make those five easy to spot

The worksheet below is a design, not a result. The example item ID is the one supplied for this guide

Example input and worksheet design

Example input:

FieldValue
query.item_id7166554945800372769

The agent fills one row per call. Values here are placeholders showing the shape

group_iduser_info.namevideo_categories.level1video_categories.level2video_categories.level3digg_countdanmaku_countrepin_countvideo_like_countshare_urlitem_id
(number)(creator name)(level 1)(level 2)(level 3)(number)(number)(number)(number)(URL)7166554945800372769

The item_id column carries the input ID for the row. The output is the supplier's raw JSON with no fixed schema, so keep that key in your own worksheet even when a response is empty. The table columns are the fields to collect: group_id, user_info.name, video_categories.level1, video_categories.level2, video_categories.level3, digg_count, danmaku_count, repin_count, video_like_count, share_url, and item_id

What the tool takes

The contract requires query.item_id as a string. It does not define optional fields under query. Get the Xigua video ID from the source record, then send one ID per call. The call Agents call it through POST /v1/runs with toolId tikhub.xigua.app.v2.fetch_one_video

One limit sits next to this step: one item_id per call, and successful empty results are charged. A batch of 25 IDs therefore means 25 calls. The price rule states: "Fixed per-call price; successful empty results are charged." If a call returns no video data, the charge still applies, so keep the input ID and an empty result in the table. Test with one ID before the 25-ID batch so the column layout and empty-row handling are settled

How to read the output fields

Use user_info.name for the creator name and video_categories for the category path. The array entries expose level1, level2, and level3, plus source and version. The contract lists video_categories as an array, so read the first entry when you need one category path for the shortlist table. If a field is missing, leave the column empty rather than guessing a value

Engagement fields are digg_count, danmaku_count, repin_count, and video_like_count. share_url gives the share URL for the video, and group_id gives the video group identifier. The contract does not define a shortlist score, so decide your own comparison rule before the run. A single call returns one video's JSON, not a ranked list. Use the fields to compare candidates, then send the five selected rows to manual review

What one real call returned

The run on 2026-11-13 sent {"query": {"item_id": "7166554945800372769"}}. Billing status was SETTLED, charged 0.001 USD against a ceiling of 0.001 USD. data.video_categories was an array with 1 item, and data.related_video_toutiao was an array with 20 items

Top-level keys of data were: delete, log_pb, content, ip_info, group_id, ban_share, hide_type, share_url, user_bury, user_digg, user_info, digg_count, xi_related, ban_comment, ban_danmaku, group_flags, is_original, repin_count, digg_control, danmaku_count, user_super_digg, video_play_info, video_user_like, ban_danmaku_send, history_duration, video_categories, video_like_count, ban_audio_comment, ban_danmaku_reason, enable_share_guide

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch Xigua video details for 25 item IDs. Check the current inputs and price of tikhub.xigua.app.v2.fetch_one_video before running. Call it once per item ID with query.item_id as a string. Read the field names from the first page. Return a table with group_id, user_info.name, video_categories.level1, video_categories.level2, video_categories.level3, digg_count, danmaku_count, repin_count, video_like_count, share_url, and item_id. Keep the item_id I sent in the item_id column. If a result is empty, leave the output fields empty and keep the item_id. Do not guess values.

Example item ID: 7166554945800372769
Paste the other 24 item IDs here.

The prompt keeps one call per ID and asks the agent to read the field names from the first page before it fills the table. Replace the example ID with your tracker IDs, then keep the first run to one row to check the shape before the batch of 25

Estimated tool cost

Prices read from the catalog on November 13, 2026. The tool is listed at $0.001 per call. Its price unit is max_call: "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings, not settled charges. Model fees for the agent are not counted

StepFormulaUnit pricePlanned quantityTotal
Single video checkcalls x price$0.001 per call1$0.001
Batch of 25 item IDscalls x price$0.001 per call25$0.025
Batch plan$0.025

The price rule says: "Fixed per-call price; successful empty results are charged." The single check is one call at $0.001. The batch is 25 calls at $0.001 per call, or $0.025. The ceiling covers the 25 planned calls, and an empty result does not remove the charge under the stated rule

Next action

Open fetch_one_video and run the first example item ID before the batch of 25

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Xigua.
Explore Xigua tools and pricing

FAQ

How do I fetch Xigua video details by item ID?

Call tikhub.xigua.app.v2.fetch_one_video once with query.item_id as a string. The call returns the supplier JSON for that one video.

What input does tikhub.xigua.app.v2.fetch_one_video take?

It requires query.item_id as a string. The contract does not define optional fields under query.

Which output fields should I use for a partner shortlist?

Read group_id, user_info.name, the video_categories levels, digg_count, danmaku_count, repin_count, video_like_count, and share_url. Carry the input query.item_id into the item_id column.

Can I fetch 25 Xigua videos in one call?

No. The contract takes one query.item_id per call, so a batch of 25 IDs means 25 calls. Successful empty results are charged.

What did the real call on 2026-11-13 return?

It sent query.item_id 7166554945800372769 and settled at 0.001 USD against a ceiling of 0.001 USD. data.video_categories had 1 item, and data.related_video_toutiao had 20 items.

How much does a 25-ID Xigua video check cost?

At $0.001 per call, 25 calls are at most $0.025. A single call is at most $0.001, and agent model fees are not counted.

Next step

Try this with Xigua

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See Xigua tools

Share this article