Social media5 min readBy Purrkey teamUpdated

How to scan Xigua video comments for questions

Fetch the first page of Xigua video comments and surface questions for content and community research

On this page

You have one public Xigua video ID for a food video and need to scan the first page of comments at the default count of 20 to find the questions viewers are asking. The tool is tikhub.xigua.app.v2.fetch_video_comment_list, called through POST /v1/runs with toolId tikhub.xigua.app.v2.fetch_video_comment_list. What comes back is a worksheet with one row per comment and a flag on the rows that ask something a viewer wants answered

The deliverable worksheet

The worksheet has six columns and one row per comment returned on the page you fetched

comment.textcomment.user_namecomment.create_timecomment.digg_countcomment.reply_countquestion_flag
(comment body as returned)(name as returned)(integer turned into a date)00yes
(comment body as returned)(name as returned)(integer turned into a date)00no

Values here are placeholders showing the shape. A request such as a viewer asking for the recipe behind a dish in the video belongs under yes even when the sentence carries no question mark. Sort the worksheet by comment.digg_count so the questions other viewers already backed sit at the top

The same worksheet shape suits Douyin comments, and that scan is written up in find questions in Douyin comments

Input: one video ID and a page window

query is required. query.item_id is the required field inside it and takes the video ID as a string. query.count is optional and defaults to 20; query.offset is optional and defaults to 0, which is the first page. The fields this guide sets are query.item_id, query.count and query.offset

Example input, with the ID below standing in for the video you want to scan: {"query": {"item_id": "7166554945800372769", "count": 20, "offset": 0}}. Swap in your own public video ID before running anything

A page that comes back empty is still billed. The price rule reads 'Fixed per-call price; successful empty results are charged', so a video whose requested page holds no comments costs $0.001 and leaves you with nothing to flag. Run one video before you queue five

Reading the fields that drive the decision

The output is the supplier's raw JSON with no fixed schema. The field names under output in the contract were observed on a single run, so have the agent read them from the first page before it builds the table. Keys not listed in the contract may or may not appear on other inputs

  • data: the array of items, each carrying a comment object
  • comment.text: the comment body, the field you read for a question
  • comment.user_name: who wrote the comment
  • comment.create_time: an integer, converted to a date for the table
  • comment.digg_count and comment.reply_count: integers showing how much attention the comment drew
  • id and comment.id_str: identifiers for spotting the same comment across pages

Two decisions come out of these fields. comment.text sets the flag. comment.digg_count sets reading order, so a question with 40 diggs is worked before one with none, and comment.reply_count tells you whether the thread already holds an answer

What one real call returned

On 2026-11-13 one call was made with this input: {"query": {"item_id": "7166554945800372769", "count": 10, "offset": 0}}. It settled at $0.001 against a $0.001 ceiling. data was an array with 10 items, and the first item carried these top-level keys: ad, id, comment, pk_forum, cell_type, forum_card, embedded_data, comment_resource_banner. Nothing beyond those facts is reported here, and the content of the items is not described. That call used count 10, so it says nothing about other counts

The agent prompt

The prompt below scans one video and returns the worksheet

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch the first
page of Xigua comments on one video and flag the questions viewers ask.
Check the current inputs and price of
tikhub.xigua.app.v2.fetch_video_comment_list before running anything.
Call it once with query.item_id set to the video ID below, query.count 20
and query.offset 0. The output is the supplier's raw JSON with no fixed
schema, so read the field names from the first page before building the
table. Return a table with comment.text, comment.user_name,
comment.create_time, comment.digg_count, comment.reply_count and
question_flag. Set question_flag to yes when the text asks something a
viewer wants answered, and no otherwise. Do not reply to any comment and
do not invent rows for comments that were not returned.

Video ID: 7166554945800372769

Estimated tool cost

The catalog price, read through inspect on November 13, 2026, is $0.001 per call with the unit call and the rule 'Fixed per-call price; successful empty results are charged'. The charge is fixed, so maximum per call $0.001 and successful runs settle at the actual AnyAPI charge, which for the call above was the full $0.001. Treat the totals below as ceilings

StepFormulaUnit pricePlanned quantityTotal
Scan one video, first comment pagecalls x per-call price$0.001 per call1$0.001
Scan five videos, first comment pagescalls x per-call price$0.001 per call5$0.005

Model fees for the agent are not counted. A second page on the same video is a second call, so scanning two pages of one video costs $0.002, and an empty page sits inside the same arithmetic

Next action

Open tikhub.xigua.app.v2.fetch_video_comment_list and run the first page on one video at count 20 before you queue five. If you want a different page size or a second page, change query.count and query.offset in the same call

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 scan Xigua video comments for questions?

Call tikhub.xigua.app.v2.fetch_video_comment_list with query.item_id set to the video ID, query.count at 20 and query.offset at 0, then read comment.text on each item and mark the ones that ask something in a question flag column.

What inputs does tikhub.xigua.app.v2.fetch_video_comment_list take?

query is required, query.item_id is required inside it and takes the video ID as a string, and query.count (default 20) and query.offset (default 0) are optional.

How many comments come back on the first page?

The call asks for query.count comments starting at query.offset, so the first page at the default asks for 20. The contract does not promise a full page, and the one reported run used count 10 and came back with 10 items.

Which fields decide whether a comment is worth answering?

comment.text decides the question flag, while comment.digg_count and comment.reply_count show how much attention the comment drew and let you order the rows.

How much does it cost to scan Xigua video comments?

The catalog price is $0.001 per call, so one video's first comment page is one call and $0.001, while five videos' first pages are five calls and $0.005. Successful empty results are charged.

What happens when a requested page holds no comments?

The call still settles. The price rule reads 'Fixed per-call price; successful empty results are charged', so an empty page costs $0.001 and gives you nothing to flag.

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