Social media5 min readBy Purrkey teamUpdated

How to trace Weibo hot ranking timelines by ranking type

Fetch a chosen Weibo hot ranking timeline and page through the returned status records and pagination fields

On this page

You have a Weibo hot ranking timeline to review, starting with 10 hourly records, and you need to know whether a second page changes which accounts or posts deserve a closer look. The deliverable is one table per page, with the status fields and the pagination values needed for the next call

The worksheet is a design, not a result. Values here are placeholders showing the shape

statuses.idstatuses.textstatuses.user.screen_namestatuses.created_atstatuses.reposts_countstatuses.comments_countstatuses.attitudes_countstatuses.region_nametotal_numbermax_idsince_id
(id)(text)(screen name)(date)(number)(number)(number)(region)(number)(number)(number)

The row shape keeps the post and account fields next to the three engagement counts. The final three columns carry page context, so a second page can be compared with the first without mixing records

Send the ranking query

The tool id is tikhub.weibo.web_v2.fetch_hot_ranking_timeline, and the Agents call it through POST /v1/runs with toolId tikhub.weibo.web_v2.fetch_hot_ranking_timeline. It takes a required query object. Inside it, query.ranking_type is required. query.count is optional with a default of 10. query.max_id and query.since_id are optional string pagination fields with defaults of 0, and the response supplies new values

Example input: query.ranking_type is hour, with query.count 10. Replace it with the ranking type you need

The limit sits on this step: query.ranking_type is required, and the contract lists only hour, yesterday, day_before, week, male, and female as supported values. A value outside that list is not described by the contract

Read the pagination and status fields

The output is the supplier's raw JSON with no fixed schema. The field names in the contract's output schema were observed on one run, and other inputs may add or omit keys

Use statuses as the record array. For each item, read id, text, user.screen_name, created_at, reposts_count, comments_count, attitudes_count and region_name. The engagement counts drive the first sort; the account name and text tell you what to inspect next

For paging, read top-level max_id and since_id and pass them into the next call. total_number is the top-level count field for the page response

For the companion hot search ranking workflow, see Fetch Weibo hot search rankings

What one real call returned

On 2026-11-13, one call sent {"query": {"ranking_type": "hour", "count": 10, "max_id": "0", "since_id": "0"}}

  • Billing: status SETTLED, charged 0.001 USD against a ceiling of 0.001 USD
  • Top-level keys of data: ok, max_id, since_id, statuses, total_number
  • data.ok = 1
  • data.max_id = 2
  • data.since_id = 0
  • data.statuses is an array with 20 items; first item keys: id, mid, rid, isAd, text, user, idstr, mlevel, rcList, source, buttons, is_paid, mblogid, pic_ids, pic_num, visible, can_edit, text_raw, favorited, mblogtype, created_at, isLongText, textLength, annotations, mixed_count
  • data.total_number = 100

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch one Weibo hot ranking timeline page for ranking_type hour with count 10, then fetch a second page using max_id or since_id from the first response. Check the current inputs and price of tikhub.weibo.web_v2.fetch_hot_ranking_timeline before running anything. Read the field names from the first page. Return a table with statuses.id, statuses.text, statuses.user.screen_name, statuses.created_at, statuses.reposts_count, statuses.comments_count, statuses.attitudes_count, statuses.region_name, total_number, max_id and since_id. Mark values from the second page so I can compare pages. Do not invent fields and do not treat the placeholder rows as results.

Replace query.ranking_type and the counts with your own values. The prompt asks the agent to read field names from the first page because the output has no fixed schema

Estimated tool cost

The price block lists $0.001 per call with a fixed per-call rule, and successful empty results are charged. The unit here is call; where a catalog line uses max_call, that unit means "Maximum per call. Successful runs settle at the actual AnyAPI charge." Agent model fees are not counted

The run facts show a settled charge of 0.001 USD against a ceiling of 0.001 USD. The table below is a ceiling for the planned calls at the fixed per-call price

StepFormulaUnit pricePlanned quantityTotal
First page for one ranking typecalls x fixed price$0.001 per call1$0.001
First page for six ranking typescalls x fixed price$0.001 per call6$0.006

One first page is 1 call. Six ranking types with one first page each is 6 calls. A second page adds one call per page fetched

Open the Weibo ranking tool

Start with one hour page and check the returned field names before adding a second page. Open the Weibo hot ranking timeline tool to check the current input schema and price

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

FAQ

How do I trace a Weibo hot ranking timeline by ranking type?

Call tikhub.weibo.web_v2.fetch_hot_ranking_timeline with query.ranking_type set to one of the supported values, starting with hour and count 10, then reuse max_id or since_id from the response for the next page.

What ranking types does the Weibo hot ranking timeline tool accept?

The contract lists hour, yesterday, day_before, week, male, and female; query.ranking_type is required.

What inputs does tikhub.weibo.web_v2.fetch_hot_ranking_timeline take?

It takes a required query object with required query.ranking_type and optional query.count, query.max_id and query.since_id; count defaults to 10 and the pagination fields default to 0.

Which output fields are used for pagination?

The top-level max_id and since_id fields are the pagination fields to reuse, and statuses is the array of records.

How much does one Weibo hot ranking timeline call cost?

The price block lists $0.001 per call with a fixed per-call rule, and successful empty results are charged.

Does count=10 return exactly 10 status records?

The one real call sent count 10 and data.statuses held 20 items. Read the first page before mapping the table.

What happens if the ranking type is omitted?

query.ranking_type is required, and the contract lists only hour, yesterday, day_before, week, male, and female as supported values.

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.

See Weibo tools

Share this article