Social media5 min readBy Purrkey teamUpdated

How to run a Weibo comprehensive search for a keyword

Run one Weibo comprehensive search on page one and inspect the returned result categories and item data before choosing a narrower search_type

On this page

You have one keyword and need one page of Weibo comprehensive search results to decide whether to continue with user, video, topic or location search. Run tikhub.weibo.app.fetch_search_all once with search_type: 1, then review the returned categories and nested item data. The worksheet below is the deliverable

Build the page-one worksheet

Example keyword: 咖啡. The reader replaces it with the production keyword

Values here are placeholders showing the shape

categorytypeitemIditems.datamoreInfo.params.pagematch_note
(category from the page)(type from the page)(itemId from the page)(nested object)1(reader note)

The table has one row per data.items entry. Keep items.data as nested data in your own copy, and use match_note to record the decision clue

The category and type columns show how the entry is grouped. itemId gives you a stable handle for a group or feed entry. items.data is where nested supplier data sits, and moreInfo.params.page should read 1 for this preview. match_note is yours: write the clue that points to a narrower search_type

Inputs for the first call

The call is POST /v1/runs with the tool id tikhub.weibo.app.fetch_search_all

The contract documents query.query as the required keyword. query.page is optional and defaults to 1. query.search_type is optional and defaults to 1; for this preview set it to 1, the code the contract labels 综合

The other search_type codes in the contract are 61=实时, 3=用户, 64=视频, 63=图片, 62=关注, 60=热门, 21=全网, 38=话题, 98=超话, 92=地点 and 97=商品

Use page one for the preview. The worksheet records moreInfo.params.page so you can confirm the page you asked for

The output is the supplier's raw JSON with no fixed schema, so keys not listed may or may not appear on other inputs. The contract field names in the output section were observed on this single run, so read the actual keys from the first page

Start with data.items. Use category and type to group rows, and itemId to keep a stable reference to the group or feed entry. The nested items array holds data, style, itemExt and category fields in the observed shape

Inside items, the nested data object carries the supplier item data. Put what you need from items.data into the worksheet, and read the first page before you fill the columns

moreInfo.params.page records the page parameter. Check moreInfo.error before you trust the page. channelInfo.channels[].title lists the search tabs returned with the page

Use match_note to state whether the page looks like user, video, topic or location material. The tool cannot choose the next search_type for you. Record one note per row, then compare notes across rows before you pick a code

When you have a narrower code to test, the companion guide at https://purrkey.app/blog/run-advanced-weibo-keyword-search covers that follow-up

What one real call returned

One real call was made for this article on 2026-11-13. Input sent: {"query": {"query": "咖啡", "page": 1, "search_type": 1}}. Billing status was SETTLED, charged 0.001 USD against a ceiling of 0.001 USD. data.items is an array with 16 items; the first item keys were type, items, style, itemId and category. Top-level keys of data were dsl, items, config, footer, navInfo, moreInfo, pageData, loadedInfo, channelInfo, refreshInfo, navigationBar and globalChannelConfig. The empty objects were config, navInfo, pageData, loadedInfo and refreshInfo, each {}

The agent prompt

The prompt asks the agent to check the tool input and price before the call, then return the worksheet columns

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to run one Weibo
comprehensive search preview for the example keyword 咖啡. Check the current
inputs and price of tikhub.weibo.app.fetch_search_all before running. Use
query.query set to 咖啡, query.page set to 1 and query.search_type set to 1.
Read the field names from the first page before filling the table. Return a
table with category, type, itemId, items.data, moreInfo.params.page and
match_note. Keep items.data as nested data. Use match_note to record whether
the row suggests user, video, topic or location search. Do not call another
search_type in this run.

Replace 咖啡 with your keyword before running

Estimated tool cost

The price block lists $0.001 per call for tikhub.weibo.app.fetch_search_all, read through inspect on November 13, 2026. The rule text is "Fixed per-call price; successful empty results are charged." The max_call label used by some catalog tools means "Maximum per call. Successful runs settle at the actual AnyAPI charge"; this tool's price block states a fixed per-call price instead. The totals below are ceilings, and agent model fees are not counted

StepFormulaUnit pricePlanned quantityTotal
One keyword, one comprehensive pagecalls x price$0.001 per call1$0.001
One keyword, three search_type previewscalls x price$0.001 per call3$0.003

The one-call scenario matches the page-one preview. The three-call scenario compares search_type: 1 with two narrower codes after you choose them from the contract list. A single preview keeps the first spend to one call

Run the page-one preview

Start with one call at https://purrkey.app/tools/weibo?q=fetch_search_all. Use page one and search_type: 1, then fill the worksheet before you spend calls on narrower codes

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 run a Weibo comprehensive search for one keyword?

Call the Weibo comprehensive search tool with the query field set to the keyword, the page field set to 1 and the search type field set to 1. Read the page-one worksheet before choosing a narrower search type.

What inputs does the Weibo comprehensive search tool take?

The contract documents the query field as required, the page field as optional with default 1, and the search type field as optional with default 1. The search type codes in the contract are 1=综合, 61=实时, 3=用户, 64=视频, 63=图片, 62=关注, 60=热门, 21=全网, 38=话题, 98=超话, 92=地点 and 97=商品.

Which output fields should go into the page-one worksheet?

Use the category, type and itemId fields from data items, the nested data field from items, and the page field from more info params. The reader adds a match note to record why a row suggests a narrower search type.

How much does a Weibo comprehensive search cost?

The price block lists $0.001 per call for the Weibo comprehensive search tool. One comprehensive page is $0.001 and three search type previews are $0.003, before agent model fees.

What happens if a successful search returns no items?

The price rule says successful empty results are charged. The fixed per-call price is $0.001.

What is the match note in the worksheet?

It is the reader-added column for recording whether an item suggests user, video, topic or location search. The tool cannot make that choice for you.

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