How to fetch likes on a Weibo post by status ID
Fetch the like records returned for a Weibo post by status ID and turn the supplier JSON into a compact review table
On this page
You have three Weibo post IDs from a campaign and need to check whether the returned likes are simple likes or emotional reactions. The call returns supplier JSON, so the useful output is a compact table you build from data.items, one table per post, with the post ID kept beside it. This guide designs that table and the call sequence for the three posts
Example input and review table design
Example input: public Weibo status ID 5364178745295471 with query.attitude_type set to 0. Replace the ID with each of your three campaign post IDs and keep the default reaction filter for the first pass. The review table has one row per item in data.items. Values here are placeholders showing the shape, not results from a run
| Type | Category | Attitude | User name | User ID | User location | Verified |
|---|---|---|---|---|---|---|
| (type) | (category) | (attitude code) | (name or empty) | (idstr or empty) | (location or empty) | true or false |
Keep one table per status_id. The call cannot merge three post IDs into one response; keep one table per post so the status ID stays attached. A row with a reaction code other than 1 is the signal for a closer comment review
Call the tool once per post
tikhub.weibo.app.fetch_status_likes takes a query object. query.status_id is required; copy the Weibo post ID from the post or ask the user for it. query.attitude_type is optional and defaults to 0; leave it at 0 for the default filter that includes the reaction codes listed in the contract, or set it to 1 for likes only. The contract lists 1 for like, 2 for happy, 3 for surprised, 4 for sad, 5 for angry, 6 for reward and 8 for hug. Agents call it through POST /v1/runs with toolId tikhub.weibo.app.fetch_status_likes. Run one call per post ID. The fixed per-call price applies even when a successful response returns an empty result; the price rule says successful empty results are charged
Read the output fields that decide the next step
The output is the supplier's raw JSON with no fixed schema. The contract's output section lists data.items, and the observed sample shows item fields type and category with a data object. For each item, read data.cur_sub_tab and data.attitudes_count from the data object. The contract says keys not listed may or may not appear on other inputs, so leave a cell empty when a field is missing. Use type and category for the first two columns, and data.cur_sub_tab and data.attitudes_count for the remaining columns
What one real call returned
A single real call was made on 2026-11-13. Input sent: {"query": {"status_id": "5364178745295471", "attitude_type": "0"}}. Billing status was SETTLED, charged 0.001 USD against a ceiling of 0.001 USD
The top-level keys of data were items, config, pageData and loadedInfo. data.items was an array with 51 items. The first item keys were data, type and category. data.config was "{}", data.pageData was "{}", and data.loadedInfo was "{}"
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch likes for
the Weibo post IDs below with tikhub.weibo.app.fetch_status_likes. Check
the current inputs and price of tikhub.weibo.app.fetch_status_likes
before running anything. Call it once per status_id with query.status_id
set to the post ID. Leave query.attitude_type at 0 for the default
reaction filter. Read the field names from the first page of the
supplier response. Return one table per post with the columns Type,
Category, Attitude, User name, User ID, User location and Verified; leave
a cell empty when a field is missing. Do not guess a field name and do
not send any message.
5364178745295471Replace the example status ID with your three campaign IDs. The agent should inspect the tool before the first call, and the field names come from the supplier response
Estimated tool cost
The catalog lists a fixed per-call price of $0.001. The totals below are ceilings; successful empty results are charged. Agent model fees are not counted
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Check 3 posts for the default reaction filter | calls x per-call price | $0.001 per call | 3 | $0.003 |
| Check 25 posts for likes only | calls x per-call price | $0.001 per call | 25 | $0.025 |
The first plan covers three calls. The second covers 25 calls and uses attitude_type 1 for likes only. A successful response with no items still costs one call at the same price
Run the three-post check
Open the tool page at Weibo post likes to confirm the current input schema and price, then run the three-post check with your campaign IDs
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 likes on a Weibo post by status ID?
Call tikhub.weibo.app.fetch_status_likes once per post with the post ID in query.status_id. Leave query.attitude_type at 0 for the default reaction filter, or set it to 1 for likes only.
What inputs does tikhub.weibo.app.fetch_status_likes take?
The contract shows query.status_id as required and query.attitude_type as optional with a default of 0. The attitude codes are 1 like, 2 happy, 3 surprised, 4 sad, 5 angry, 6 reward and 8 hug.
What does the output of tikhub.weibo.app.fetch_status_likes look like?
The output preserves the supplier JSON as is, and the contract says keys not listed may or may not appear. The observed sample has data.items, and each item has data, type and category.
Which fields drive the review table?
Use type and category for the first two columns, data.attitude for the reaction code, and data.user.name, data.user.idstr, data.user.location and data.user.verified for the user columns.
How much does it cost to check three posts?
At the fixed price of $0.001 per call, three calls cost $0.003. A 25-call check for likes only costs $0.025; successful empty results are charged.
What happens if a post has no likes?
A successful empty result is charged at the fixed per-call price. The call still counts as one call.
Can I fetch likes for more than one post in a single call?
Run one call per post ID, with query.status_id set to that ID.
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.