Social media5 min readBy Purrkey teamUpdated

How to fetch a Kuaishou video's comments by photo ID

Fetch one Kuaishou video's comment page and record the cursor, comment count, and root and sub-comment counts for follow-up calls

On this page

You have three Kuaishou videos to check and need the comment page for each one before you decide which creator to shortlist for outreach. The worksheet below is the deliverable: one row per photo ID with the result value, cursor, comment count, root comment count and sub-comment map key count. Values in the table are placeholders showing the shape, not findings from your videos. One real call is reported later in this article, and the shortlist table stays a design

The shortlist worksheet

Example input uses query.photo_id, set to a public Kuaishou video ID for a mainstream account. Replace the value with your own target. The other two IDs in the design are placeholders. The table columns are the fields you need to compare before manual review

photo_id (Example)resultpcursorcommentCountrootComments lengthsubCommentsMap key count
3x7k9m2n4p6q8r1(integer)(cursor string)(number)(number)(number)
3a1b2c3d4e5f6g7(integer)(cursor string)(number)(number)(number)
3z9y8x7w6v5u4t3(integer)(cursor string)(number)(number)(number)

The photo_id column is reader-added. Keep one row per video, then add columns if your shortlist needs a manual review note. Do not put a decision in the table until you have read the returned counts

The input the tool takes

The tool id is tikhub.kuaishou.web.fetch_one_video_comment, and the tool is called through POST /v1/runs with toolId tikhub.kuaishou.web.fetch_one_video_comment. The required input is query.photo_id, the Kuaishou work or photo ID supplied with the target video. The optional input is query.pcursor, the cursor value returned by a prior call. Omit query.pcursor for the first fetch

The contract shows these fields. Check the tool page for the current input schema before a run. The output is the supplier's raw JSON with no fixed schema. Field names in the contract under output were observed on one real run, and keys not listed may or may not appear on other inputs

How to read the comment page

Read fields under data after each call. result is an integer in the contract. pcursor is a string to record and reuse for another page. commentCount is an integer for the video's comment count. rootComments is an array; count its items for the worksheet. subCommentsMap is an object; count its keys for the worksheet

Compare commentCount with the count of rootComments and the key count of subCommentsMap. If the counts in the fetched page are lower than commentCount, use the returned pcursor as query.pcursor on a follow-up call. The contract does not define a shortlist threshold. The tool returns counts and a cursor, not a recommendation

The price rule says successful empty results are charged at $0.002 per call. A video with zero comments still settles as one call. Paging uses the returned pcursor; send it as query.pcursor on the next call. The contract does not define cursor values beyond the string

What one real call returned

On 2026-11-13, one call was made with query.photo_id set and query.pcursor empty

Billing status was SETTLED, charged 0.002 USD against a ceiling of 0.002 USD. The top-level keys of data were result, pcursor, host-name, commentCount, rootComments, subCommentsMap. data.result was 1. data.commentCount was 0. data.rootComments was an array with 0 items

The agent prompt

The prompt below uses three example photo IDs. Replace them with your own targets. It tells the agent to check the current inputs and price before a run and to return the shortlist table

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch the
first comment page for three Kuaishou videos by photo ID and return a
table. Check the current inputs and price of
tikhub.kuaishou.web.fetch_one_video_comment before running anything.
Read the field names from the first page before mapping columns. Call
the tool once for each photo_id with query.photo_id and no
query.pcursor on the first pass. If you need another page, use the
returned pcursor as query.pcursor. Record photo_id, data.result,
data.pcursor, data.commentCount, the length of data.rootComments, and
the key count of data.subCommentsMap. Do not infer comment content and
do not send outreach.

3x7k9m2n4p6q8r1
3a1b2c3d4e5f6g7
3z9y8x7w6v5u4t3

Estimated tool cost

The price block lists $0.002 per call. The catalog's max_call note reads: "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings. Agent model fees are not counted

StepFormulaUnit pricePlanned quantityTotal
First page for one video1 call x max_call price$0.002 per call1$0.002
Three videos, two pages each6 calls x max_call price$0.002 per call6$0.012

The first row is the first page for one video. The second row is the larger plan for the three-video shortlist with two pages for each video. Successful empty results are charged, so a page with zero comments still counts as a call in the quantity column

Next action

Open the tool page to check the current input schema and price before you fetch the first page: fetch_one_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 fetch Kuaishou video comments by photo ID?

Call tikhub.kuaishou.web.fetch_one_video_comment with query.photo_id set to the video's photo ID. For a first page, omit query.pcursor; for a later page, use the pcursor returned by the prior call.

What inputs does tikhub.kuaishou.web.fetch_one_video_comment take?

The required input is query.photo_id. The optional input is query.pcursor, the cursor value returned by a prior call.

What does the Kuaishou comment tool return?

It returns supplier JSON with fields under data, including result, pcursor, commentCount, rootComments and subCommentsMap. The contract does not provide a fixed schema for other inputs.

Is a Kuaishou comment page with zero comments charged?

Yes. The price rule says successful empty results are charged at $0.002 per call.

How much does it cost to fetch comments for three Kuaishou videos with two pages each?

The plan uses 6 calls at $0.002 per call, for a ceiling of $0.012. The one-page check for one video is 1 call, at most $0.002.

What should I do with pcursor in the Kuaishou comment response?

Record it in the worksheet. For another page, send it as query.pcursor on the next call. The real run returned no_more, but the contract does not define cursor values beyond the string.

What did the real call return for photo ID 3x7k9m2n4p6q8r1?

It settled at 0.002 USD against a ceiling of 0.002 USD. data.result was 1, data.pcursor was no_more, data.commentCount was 0, and data.rootComments had 0 items.

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