Social media5 min readBy Purrkey teamUpdated

How to page a Kuaishou video comment thread

Pull one page of a Kuaishou video's comment data and its cursor for review or continued paging

On this page

You have five Kuaishou photo IDs from a recent campaign and need one comment snapshot per video before deciding which threads to answer first. Each call to tikhub.kuaishou.app.fetch_video_comment returns one page of comment data plus a cursor, so five first pages come from five calls and any further page costs another call

The table below is the deliverable: one row per video, carrying the fields you compare when you set an answering order. Values here are placeholders showing the shape

The deliverable table design

photo_idresultcommentCountpcursorrootCommentssubCommentsMap
(photo id)(integer)(integer)(cursor string or no_more)(N items)(object)
(photo id)(integer)(integer)(cursor string or no_more)(N items)(object)

Five rows, one per campaign video. The comparison that sets the answering order runs across data.commentCount and data.rootComments: the video reported with the larger comment count and the fuller root comment array goes to the top of the queue, and a video where the count and the array disagree is the one to look at by hand before replying

Input: one photo ID and an optional cursor

query.photo_id is required and is a string. You copy it from the Kuaishou video you are inspecting. Example input: public Kuaishou photo ID 1216928, which you replace with IDs from your own campaign

query.pcursor is optional. It comes from a prior response: read data.pcursor out of the page you already hold and send it back as query.pcursor when that video needs another comment page. Leave it out for the first page of each video

The call itself is through POST /v1/runs with toolId tikhub.kuaishou.app.fetch_video_comment. Successful empty results are charged: the price rule is fixed per call, so a video whose comment section is empty still settles at $0.001. An empty rootComments array is a paid answer, not a failed request, and it is a reason to check the photo ID before you spend another call on the same video

How to read the output fields

The output is the supplier's raw JSON with no fixed schema, and the contract says keys not listed may or may not appear on other inputs. Read the field names from the first page before you build anything on top of them

  • data.commentCount: an integer in the response, used as the count side of the comparison
  • data.rootComments: an array holding the top-level comment items on the page
  • data.subCommentsMap: an object that appears alongside the root comments
  • data.pcursor: the cursor string; when the page you hold is the end of the thread its value is no_more
  • data.result: an integer status field in the response

Send data.pcursor back as query.pcursor only when a video needs another comment page. Do not page a thread just to fill a column

What one real call returned

One call was made on 2026-11-13. The input sent was {"query": {"photo_id": "1216928"}}. Billing status was SETTLED, charged 0.001 USD against a ceiling of 0.001 USD

The top-level keys of data were result, pcursor, host-name, commentCount, rootComments, subCommentsMap and transparentPayload. data.result was 1, data.commentCount was 0, data.rootComments was an array with 0 items and data.pcursor was "no_more". Item contents are not described here because the run returned none

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch one page of
Kuaishou comments for each photo ID listed below. Check the current inputs
and price of tikhub.kuaishou.app.fetch_video_comment before running
anything. Send query.photo_id for each ID. Do not send query.pcursor on a
first page; reuse a pcursor value only from a previous response for the
same video when another comment page is requested. The output is the
supplier's raw JSON with no fixed schema, so read the field names from the
first page before assembling the table. Return a table with photo_id,
result, commentCount, pcursor, rootComments and subCommentsMap. Do not
guess values, and do not describe comments the response does not contain.

1216928

Replace the single example ID with your five campaign IDs. Keep the first pass to one video so you can see which field names come back before you run the other four

Estimated tool cost

Catalog prices read on November 13, 2026. The listing unit is max_call: "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings

StepFormulaUnit pricePlanned quantityTotal
One video, first pagecalls x max price$0.001 per call1$0.001
Five videos, first pagecalls x max price$0.001 per call5$0.005

Each additional page is another call at the same price, and a successful call that returns no comments is charged at that rate too. Model fees for the agent are not counted

Start with one photo ID

Send the first call for 1216928 or for one of your own IDs and read the field names against the table design before you spend the other four calls. The tool page is fetch_video_comment

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 Kuaishou.
Explore Kuaishou tools and pricing

FAQ

How do I get Kuaishou video comments by photo ID?

Call tikhub.kuaishou.app.fetch_video_comment once per photo ID and send the ID as query.photo_id. Each call returns one page of comment data plus a pcursor.

What is pcursor in the Kuaishou comment response?

It is the cursor string in data.pcursor, and you send it back as query.pcursor when you want another comment page for the same video. On the single run reported in this article it was no_more.

Does query.pcursor have to be sent on every call?

No. It is optional, and you leave it out for the first page of a video. Copy the value from a prior response only when that video needs another comment page.

How much does one Kuaishou comment page cost?

The listing price is $0.001 per call, read from the catalog on November 13, 2026. Five first pages are at most $0.005, and each extra page is another call.

Why was a call charged when the video had no comments?

The price rule says fixed per-call price and successful empty results are charged. An empty rootComments array is a paid answer, not a failed request.

Does the tool return a fixed output schema?

No. The output is the supplier's raw JSON with no fixed schema, and the field names listed in this article were observed on one run. Read the field names from the first page before you build a table on them.

Next step

Try this with Kuaishou

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 Kuaishou tools

Share this article