Social media5 min readBy Purrkey teamUpdated

How to map a Xigua creator's topics from post list

Fetch a Xigua user's first page of posts and identify up to five content topics supported by the returned titles and categories

On this page

You have five Xigua creators on a shortlist for a health content partnership, five public user IDs and no post-level detail to compare them on. Fetch the first page of posts for one creator, then label up to five content topics that the returned titles and categories support. The same read for the other four creators feeds the decision on whose content focus fits the partnership brief

The worksheet design

The worksheet below is the deliverable: one row per post, with a topic label on each row and at most five distinct labels per creator. Values here are placeholders showing the shape

titlecategoriestagdigg_countplay_countshare_urltopic_label
(post title as returned)(strings from the item)(item tag)(integer)(integer)(item link)(short label, or empty)

Drop a label that no returned title or category supports rather than keeping it as a guess. Sorting rows by digg_count puts the strongest posts first for that read

Example input and the fetch step

Example user ID: 941602439445619. Replace it with the public user ID from the creator's profile or source record

The contract requires query.user_id as a string. It lists query.max_behot_time, also a string, as optional, and that value is supplied only when your workflow already has it. If the user ID is missing from your source record, ask for it; a display name is not a substitute

tikhub.xigua.app.v2.fetch_user_post_list is called through POST /v1/runs with toolId tikhub.xigua.app.v2.fetch_user_post_list. One call returns one page, so one call per creator covers the first page for this task

A call that succeeds with an empty data array is still charged. The catalog rule reads "Fixed per-call price; successful empty results are charged." That limit sits at this step: a creator with a quiet account costs a call and gives you no rows to label, so check the returned count before you plan the next four creators

Reading the fields that decide the labels

The output is the supplier's raw JSON with no fixed schema. Field names under output in the contract were observed on a single run, so tell the agent to read the names from the first page before mapping the rest

  • title: the text a topic label has to be supported by
  • categories: an array of strings on each item, the structured signal beside the title
  • tag: a single string per item, often matching one entry in categories
  • digg_count and play_count: integers listed in the contract output, used to order posts within one creator
  • share_url: the item link, for a manual check of a title that reads ambiguously
  • user_info: a block that repeats user_id, name and follower_count, which shows the page belongs to the account you queried

A topic label is supported when at least one returned title, categories entry or tag points at it. Beyond that it is your reading, not the tool's output. The tool returns one page of items per call, and it cannot label topics or compare two creators for you

What one real call returned

One call was made on 2026-11-13 with {"query": {"user_id": "941602439445619"}}. Billing settled with 0.001 USD charged against a ceiling of 0.001 USD. data was an array with 15 items. The first item carried these keys: gid, tag, rank, title, cursor, is_top, log_pb, source, can_top, ip_info, item_id, near_id, abstract, group_id, near_id2, near_id3, video_id, aggr_type, ban_share, cell_type, has_video, hide_type, share_url, user_info and behot_time

That is the only run behind this article, and the numbers above are the whole of its record

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch the first
page of posts for each Xigua user ID below and label up to five content
topics from the returned titles and categories. Check the current inputs
and price of tikhub.xigua.app.v2.fetch_user_post_list before running
anything. Call the tool once per user ID with query.user_id set to the
id. If a user ID is missing, ask for it instead of guessing one. The
output is the supplier's raw JSON, so read the field names from the
first page before mapping the rest. Return a table with title,
categories, tag, digg_count, play_count, share_url and topic_label.
Write each topic_label as a short phrase and support it with the
returned titles and categories. Do not invent labels and do not request
more than the first page.

Example user IDs:
941602439445619

The ID above comes from that single run. Keep your first pass to one creator so you can see the item count before you spend calls on the other four

Estimated tool cost

Price read through inspect on November 13, 2026. The unit is max_call: Maximum per call. Successful runs settle at the actual AnyAPI charge, so the totals below are ceilings

StepFormulaUnit pricePlanned quantityTotal
One creator, first pagecalls x max_call$0.001 per call1$0.001
Five creators, first pagecalls x max_call$0.001 per call5$0.005

Model fees for the agent are not counted. An empty data array does not lower these figures, because a successful empty result is charged as well

Next action

Fetch the first page for one creator at the Xigua post list tool. Compare the returned titles and categories with the partnership brief before you run the other four creators

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 map a Xigua creator's topics from their user ID?

Call tikhub.xigua.app.v2.fetch_user_post_list with the public user ID in query.user_id to get the first page of posts, then group the returned title, categories and tag values into up to five topic labels supported by that page.

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

The contract requires query.user_id as a string and lists query.max_behot_time, also a string, as optional. That second value is supplied only when your workflow already has it.

What does the tool return?

The supplier's raw JSON with no fixed schema. On the single run described in the article, data was an array with 15 items, and the first item's keys included title, tag, categories, digg_count and share_url.

How much does it cost to map five Xigua creators?

One call per creator at $0.001 per call, so five first-page calls come to at most $0.005. The totals are ceilings, and successful runs settle at the actual AnyAPI charge.

Is a call charged when the creator has no posts on the page?

Yes. The catalog rule says successful empty results are charged, so a call that comes back with an empty data array still costs $0.001 at the ceiling.

Can the tool label topics or compare creators for me?

No. It returns one page of items per call, and the topic labels come from reading the returned title, categories and tag values against your partnership brief.

Why should the agent read field names from the first page?

The output is the supplier's raw JSON with no fixed schema, and the field names listed in the contract were observed on a single run, so later pages may carry different keys.

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