How to fetch a Bilibili user profile by UID
Fetch a Bilibili creator's profile fields from one UID and compile them into a comparison table for a collaboration shortlist
On this page
You have 25 Bilibili UIDs and need a profile comparison table to shortlist creators for a collaboration. The table is the deliverable: one row per UID, with the profile fields that drive a contact, review or exclude decision
Build the comparison table for 25 creators
The worksheet below is the design. Values here are placeholders showing the shape. Example UID: 1622953481; replace it with your own list
| mid | name | face | sex | level | sign | birthday | school.name | live_room.roomid | live_room.liveStatus | vip.label.text | attestation.desc | contact decision |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| (integer) | (text) | (avatar URL) | (text) | (integer) | (text) | (text) | (text) | (integer) | (integer) | (text) | (text) | contact, review or exclude |
Set your contact rules before the run. Use level, sign, school.name, live_room.liveStatus and vip.label.text as the decision inputs. The contract gives live_room.liveStatus as an integer, so decide what each value means for your shortlist. Keep attestation.desc as context for the same row
Keep the decision column last so the operator can sort or filter without moving profile fields. A contact decision can be a simple label that you define before the run; the tool returns profile fields, not a recommendation
Send one UID per call
The tool is tikhub.bilibili.web.fetch_user_profile. Its Agents call it through POST /v1/runs with toolId tikhub.bilibili.web.fetch_user_profile. The required input is a query object with uid as a string. Send one call per creator, so 25 UIDs means 25 calls
Example input: {"query":{"uid":"1622953481"}}. The first call can use that UID; the other 24 rows use UIDs from your own list. If your creator list is still a keyword list, the companion guide on search Bilibili videos by keyword covers that step
The catalog lists a fixed per-call price of $0.001 per call. Its rule text says successful empty results are charged, so a UID that returns no profile still uses a call. Plan the shortlist with that billing rule in mind
Keep the UID as text in the request and as an integer in the table. That difference is visible in the contract and the observed output
Read the fields that drive a decision
Fill the table from the data object. data.mid carries the UID as an integer. data.name, data.face, data.sex, data.level, data.sign, data.birthday and data.school.name fill their matching columns. data.live_room.roomid and data.live_room.liveStatus fill the live room columns. data.vip.label.text fills the VIP label column, and data.attestation.desc fills the attestation column
The output is the supplier raw JSON with no fixed schema. Field names in the contract output were observed on one run. Keys not listed there may or may not appear for other UIDs. Have the agent read the field names from the first page before it maps columns, and leave a cell empty when a field is absent
A row with no data.name cannot support a contact decision. Mark it review or exclude, depending on your list rules, rather than guessing a name. Use data.level, data.sign, data.school.name, data.live_room.liveStatus and data.vip.label.text together; the decision should weigh these fields as a group
data.face fills the avatar column, so the table can store the image reference beside the creator name. data.school.name and data.live_room.roomid may be absent in a row; an empty cell is a valid table state
What one real call returned
On 2026-11-13, one call sent {"query":{"uid":"1622953481"}}. Billing status was SETTLED, charged 0.001 USD against a ceiling of 0.001 USD
The run facts list these top-level keys of data: mid, sex, vip, elec, face, name, rank, sign, tags, coins, level, moral, theme, school, series, control, is_risk, pendant, silence, birthday, contract, face_nft, jointime, mcn_info, official, gaia_data, live_room, nameplate, top_photo, fans_badge
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch Bilibili user profiles for a creator shortlist. Check the current inputs and price of tikhub.bilibili.web.fetch_user_profile before running anything. Call the tool once per UID with query.uid as a string. Read the field names from the first page of the response before mapping columns. Return a table with mid, name, face, sex, level, sign, birthday, school.name, live_room.roomid, live_room.liveStatus, vip.label.text, attestation.desc and contact decision. Use contact, review or exclude in the decision column. Leave a cell empty when a field is absent. Do not invent missing values. Example UID: 1622953481. Replace this example with your 25 UIDs.Replace the example UID with your list before the run. Keep the first run to one UID so you can inspect the top-level keys, then run the other 24
Estimated tool cost
Prices from the Purrkey catalog, read November 13, 2026. The totals below are ceilings at the listed fixed per-call price. Model fees for the agent are not counted
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Single profile lookup | calls x per-call price | $0.001 per call | 1 | $0.001 |
| 25-creator shortlist | calls x per-call price | $0.001 per call | 25 | $0.025 |
Successful empty results are charged, so a row with no profile still sits in the planned quantity. The one real call settled at $0.001 against a $0.001 ceiling
Start with one UID, then run the shortlist
Run the first lookup from the tool page: Bilibili profile fetch. Use the returned field names to lock your table columns, then send the other 24 UIDs
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 Bilibili.FAQ
How do I fetch a Bilibili user profile by UID?
Call tikhub.bilibili.web.fetch_user_profile with query.uid as a string, once per UID. Use the returned fields to fill a comparison table and set a contact decision for each creator.
What input does the Bilibili profile tool take?
The required input is query, which contains uid as a string.
What fields should I compare for 25 Bilibili creators?
The table uses mid, name, face, sex, level, sign, birthday, school.name, live_room.roomid, live_room.liveStatus, vip.label.text and attestation.desc, plus a contact decision.
How much does it cost to fetch 25 Bilibili profiles?
At the listed fixed per-call price of $0.001 per call, 25 calls total $0.025 at the ceiling. A single lookup is $0.001.
What happens if a UID returns an empty result?
The catalog rule says successful empty results are charged, so the call still counts at $0.001.
Why can the profile output vary between UIDs?
Field names in the contract output were observed on one run, and keys not listed there may or may not appear for other UIDs.
Next step
Try this with Bilibili
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.