How to fetch a Weibo user profile by UID
Fetch one Weibo user's supplier JSON by UID and read observed profile fields for an account table
On this page
You have 30 Weibo UIDs from a campaign roster and need to confirm each account before outreach. One call to tikhub.weibo.app.fetch_user_info per UID returns that account's supplier JSON, and you read ten fields out of it into a row. That table is the deliverable, and it is a design, not a result
Example input and the account table
Example input, one UID to swap for a real one from your roster: 7449707763
Values here are placeholders showing the shape
| name | idstr | url | city | gender | level | urank | career.company | checked_at | |
|---|---|---|---|---|---|---|---|---|---|
| (account name) | (id as text) | (URL or blank) | (city value) | (m or f) | (address or blank) | (integer) | (integer) | (company or blank) | (date you ran it) |
Keep blank cells in the table. A blank records that the field was empty or absent for that UID, and that is something you can act on when you decide on the media list
What the tool takes
The request Agents call it through POST /v1/runs with toolId tikhub.weibo.app.fetch_user_info. The contract marks one field required: query.uid, typed as a string, so digits go in quotes. Start from the UIDs you already hold for the roster accounts. One required query.uid means one call per UID, so plan the run as a loop over the roster rather than a single submission
What one real call returned
On 2026-11-13 one call was sent with {"query": {"uid": "7449707763"}}. Billing came back SETTLED, charged 0.001 USD against a ceiling of 0.001 USD. The returned object had seven top-level keys: config, footer, header, headerBack, channelInfo, profileSkin and navigationBar. config held the string "{}". That is what the run establishes: a settled charge at the ceiling and the top-level key names. Field names below that level come from the contract, which records one observed sample
How to read the fields that drive a decision
The deliverable columns map to contract fields. name and idstr are strings, and idstr is the account id as text, so join on it against your roster. url, city, gender and email are strings. level and urank are integers. career is an object holding company, city, province, department, industry, begin_year and end_year, and career.company is the value you copy into the table
The limit sits on this step. Output is supplier JSON with no fixed schema, and keys observed on one UID may not appear on another. Read the field names from the first response before you write the mapping, then map with a default, so a missing key and an empty string both land as a blank cell. The contract's single observed sample shows url and email as empty strings, which is a blank value rather than a missing key. Do not fill such a cell from another source
A row with a blank email cannot be reached by email from this response. A row with a name and an idstr can still go into the table. Listing what an account posted is a separate job, covered in the guide at https://purrkey.app/blog/list-weibo-user-videos-by-id
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch Weibo user
profiles for the UIDs listed below. Check the current inputs and price of
tikhub.weibo.app.fetch_user_info before running anything. Call the tool
once per UID, sending query.uid as a string. Read the field names from
the first response before mapping later rows, because keys may differ
between UIDs. Return a table with name, idstr, url, city, gender, email,
level, urank, career.company and checked_at (the date of the run). Leave
a cell blank when the key is missing or the value is an empty string. Do
not guess values and do not fill blanks from another source.
7449707763Replace the example UID with the ones from your roster and keep the first batch to five, so you can see which fields come back before you spend on the other 25
Estimated tool cost
Prices read from the catalog on November 13, 2026. The unit is max_call: "Maximum per call. Successful runs settle at the actual AnyAPI charge", so the totals below are ceilings, not settled charges
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Fetch, first batch | calls x unit price | $0.001 per call | 30 | $0.03 |
| Fetch, full roster | calls x unit price | $0.001 per call | 120 | $0.12 |
The catalog rule for this tool reads "Fixed per-call price; successful empty results are charged", so a UID that comes back thin still costs its call. Model fees for the agent are not counted. A first batch of five sits at most at $0.005
Start with five UIDs
Open https://purrkey.app/tools/weibo?q=fetch_user_info and run five UIDs from the roster before you map the rest. Read the raw response once, then commit to the full list
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 a Weibo user profile by UID?
Send one call to tikhub.weibo.app.fetch_user_info per UID with query.uid as a string, then read the fields you need out of the returned supplier JSON into a row. The contract marks one field required, so one call covers one account.
What input does tikhub.weibo.app.fetch_user_info take?
The contract marks one field required: query.uid, typed as a string, so digits go in quotes. Start from the UIDs you already hold for the roster accounts.
What does the Weibo profile response look like?
The output is supplier JSON with no fixed schema. The one call recorded for this article returned seven top-level keys: config, footer, header, headerBack, channelInfo, profileSkin and navigationBar, and config held the string "{}".
Why is a profile field empty or missing?
Keys observed on one UID may not appear on another, and the contract's single observed sample shows url and email as empty strings. Map a missing key and an empty string to the same blank cell.
How much does it cost to fetch 30 Weibo profiles?
At $0.001 per call, 30 calls come to at most $0.03 and 120 calls to at most $0.12. The catalog rule for this tool says successful empty results are charged.
Does a UID that returns nothing still cost a call?
It does. The catalog rule reads "Fixed per-call price; successful empty results are charged", so a thin response is billed like any other.
How do I join the response to my roster?
idstr is the account id as text, so join on it against the roster. name is the display string you copy into the table.
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.