How to fetch Weibo post comments by status ID
Fetch one Weibo post's comments with author, text, time and like counts for a comment review table, then page with the cursor
On this page
You have one Weibo post ID and need the first ten comments for a sentiment table, with author, text, time and like count on each row. Call tikhub.weibo.app.fetch_status_comments with the post ID and hot sorting, then take the rows you need from the returned page
The deliverable is a table you can hand to a reviewer: one row per comment with the author, text, time, like count and a sentiment label. Values here are placeholders showing the shape, not results from a run. Keep the raw text next to the label so a reviewer can read the comment in context
The review table and the input
Example input: public Weibo post ID 5364536451535591. Replace it with the post you are reviewing. If you still need the status ID, the companion guide on searching recent Weibo posts by keyword covers that step
The contract Agents call it through POST /v1/runs with toolId tikhub.weibo.app.fetch_status_comments. The request body puts the post ID in query.status_id, which is required. query.sort_type is optional and defaults to 0, with 0 for hot sorting and 1 for time sorting. query.max_id is optional and takes the cursor from a prior response. For the first page, the example sends the status ID, sort_type 0 and a null max_id
The table design below uses these columns
| Column | Source | Placeholder |
|---|---|---|
| text | data.text | Example comment text |
| user name | data.user.name | Example author |
| created at | data.created_at | Example timestamp |
| like counts | data.like_counts | 0 |
| floor number | data.floor_number | 1 |
| total number | data.total_number | 0 |
| sentiment label | your review label | neutral |
If the page returns more than ten items, keep the first ten rows for this review. The table is a design for the review, not a report of a run
How to read the output fields
The output is the supplier's raw JSON with no fixed schema. Field names in the contract were observed on a single run, so read the field names from the first page before you map the table
data.items is the array to iterate. Each item has a data object. Use data.text for the comment body, data.user.name for the author, data.created_at for the timestamp and data.like_counts to rank attention. Include data.floor_number and data.total_number in the table for row context
The sentiment label is your review label, not a field from the tool. Use the text and like counts to decide which themes to escalate, then keep the author and time on the row so a reviewer can check the source
Paging with max ID
Paging uses query.max_id. The contract lists it as the cursor from a prior response and does not show a page-number field. For a one-page review, send null or omit the cursor; for a second page, read the cursor from the prior response and send it in query.max_id. The output contract also lists moreInfo.params.max_id as an integer. The price rule says a successful empty result is charged, and a second page is a separate call
What one real call returned
One real call was made on 2026-11-13. Input sent: {"query": {"status_id": "5364536451535591", "max_id": null, "sort_type": "0"}}. Billing status was SETTLED, charged 0.001 USD against a ceiling of 0.001 USD. data.items is an array with 22 items; the first item has keys data, type and category. Top-level keys of data are items, config, moreInfo, pageData and loadedInfo. data.config, data.pageData and data.loadedInfo each equal "{}"
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch comments
for the Weibo post below and return a comment review table. Check the
current inputs and price of tikhub.weibo.app.fetch_status_comments before
running anything. Send query.status_id "5364536451535591", query.sort_type
"0" for hot sorting and query.max_id null for the first page. Read the
field names from the first page because the output is supplier JSON with
no fixed schema. Build rows from data.text, data.user.name,
data.created_at, data.like_counts, data.floor_number and
data.total_number, and add a sentiment label for review. Return a table
with those columns for the first ten comments. If the first page does not
give ten rows, stop and report the row count. Do not guess fields.Replace the example status ID with your own before running. The prompt asks for one page and a table
Estimated tool cost
The price block lists tikhub.weibo.app.fetch_status_comments at $0.001 per call. The unit is max_call, which the catalog defines as "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below use that ceiling
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| One post, first page | 1 call x max price | $0.001 per call | 1 call | $0.001 |
| Five posts, two pages each | 10 calls x max price | $0.001 per call | 10 calls | $0.010 |
Model fees for the agent are not counted. The one-post case is one call for the first page; the five-post case is ten calls for two pages on each post
Next action
Open the Weibo comment tool page to check the current input schema and price before you run the prompt
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 Weibo.FAQ
How do I fetch Weibo post comments by status ID?
Send the post ID in query.status_id to tikhub.weibo.app.fetch_status_comments. The request returns supplier JSON under data.items; read data.text, data.user.name, data.created_at and data.like_counts for the review table.
What inputs does tikhub.weibo.app.fetch_status_comments take?
The contract lists query.status_id as required, plus optional query.max_id as the cursor and optional query.sort_type, which defaults to 0 for hot sorting; 1 is time sorting.
What does sort type 0 mean?
The contract describes sort_type 0 as hot sorting and 1 as time sorting. The real call in this article sent 0.
How do I page through Weibo comments?
Use query.max_id as the cursor from a prior response. The contract does not show a page-number field.
What fields should I read for a comment review table?
Read data.text, data.user.name, data.created_at, data.like_counts, data.floor_number and data.total_number inside each item under data.items. Add a sentiment label for the review.
How much does it cost to fetch comments for one post or five posts?
At $0.001 per call, one post on its first page is 1 call and $0.001 at the ceiling. Five posts with two pages each is 10 calls and $0.010 at the ceiling.
What did the real call return?
The call on 2026-11-13 sent status ID 5364536451535591 with max_id null and sort_type 0. It settled at 0.001 USD against a 0.001 USD ceiling, and data.items had 22 items.
Next step
Try this with Weibo
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.