Social media4 min readBy Purrkey teamUpdated

How to fetch a Bilibili user profile by user ID

Get a Bilibili user's profile card, follower counts, level, VIP status, and public account details from one user ID

On this page

You have five Bilibili user IDs from a creator outreach list and need one profile snapshot for each creator before you rank the contacts. Fetch each profile once, then compare follower counts, account level, VIP status and location in one table. The worksheet below is the deliverable; its values are placeholders showing the shape, not profile results from the run

The task and the snapshot table

Example input: 1622953481. Replace it with an ID from your list. The table columns follow the deliverable: name, mid, fans, attention, level_info.current_level, vip.vipStatus, place, regtime and likes.like_num

namemidfansattentionlevel_info.current_levelvip.vipStatusplaceregtimelikes.like_num
Example creator0000000000000Example place00

Values here are placeholders showing the shape. Use the same columns for each of the five rows

To work from a topic instead of an ID, the companion guide to search Bilibili videos by keyword covers that lookup

The input and the lookup step

The tool id is tikhub.bilibili.app.fetch_user_info. It takes a required query.user_id string. Provide the Bilibili user ID from the profile URL or account reference you are researching. Agents call it through POST /v1/runs with toolId tikhub.bilibili.app.fetch_user_info

The limit sits on this lookup step: the catalog says successful empty results are charged. An empty response still counts as a call, so run one ID before you queue the five

Reading the response fields

The output is the supplier's raw JSON with no fixed schema. Read the field names from the first response page; the contract lists keys observed on a single run and notes that other keys may appear. The worksheet fields map to data.card.name, data.card.mid, data.card.fans, data.card.attention, data.card.level_info.current_level, data.card.vip.vipStatus, data.card.place, data.card.regtime and data.card.likes.like_num

Use data.card.fans and data.card.likes.like_num as comparison fields, data.card.level_info.current_level as account level, data.card.vip.vipStatus as VIP status and data.card.place as location. Keep data.card.mid as the key that ties the response to the input user ID

data.card.regtime is the field for registration time in the profile card. A blank place stays blank in the table; do not fill it from another source

What one real call returned

One real call was made on 2026-11-13. Input sent: {"query": {"user_id": "1622953481"}}. Billing status was SETTLED, charged 0.001 USD against a ceiling of 0.001 USD

Top-level keys of data reported for the run: tab, card, elec, live, tab2, comic, entry, medal, audios, cheese, images, season, series, archive, article, setting, relation, is_params, play_game, favourite2, ugc_season, default_tab, fans_effect, ad_shop_type, coin_archive, like_archive, digital_button, guest_relation, nft_face_button, ad_container_path

Item and scalar facts from the same run: data.tab2 is an array with 4 items; first item keys are icon, param, title. data.medal = 1. data.relation = -999. data.is_params = true. data.default_tab = "video". data.ad_shop_type = 2. data.guest_relation = -999. data.space_button_list is an array with 2 items; first item keys are url, icon, style, title, sub_title, module_type, background_image, title_dark_color, title_light_color, sub_title_dark_color, background_dark_color, background_dark_image, sub_title_light_color, background_light_color. data.home_season_fusion_exp = 0

The agent prompt

The prompt below asks for one row per ID and keeps empty rows visible

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch one Bilibili user profile for each user ID in the outreach list. Check the current inputs and price of tikhub.bilibili.app.fetch_user_info before running anything. Call the tool once per query.user_id. Return a table with name, mid, fans, attention, level_info.current_level, vip.vipStatus, place, regtime and likes.like_num. Read the field names from the first response page. Mark an empty response as charged but no profile. Do not invent missing values.

Example input (replace with your five IDs):
query.user_id = "1622953481"

Replace the example ID with your five IDs. The prompt tells the agent to read field names from the first response page

Estimated tool cost

The price block gives $0.001 per call. Where the catalog lists a ceiling as max_call, read it as Maximum per call. Successful runs settle at the actual AnyAPI charge. This tool's listed price is $0.001 per call. The totals below are ceilings. Agent model fees are not counted

StepFormulaUnit pricePlanned quantityTotal
Single user lookup1 call x $0.001$0.001 per call1 call$0.001
Five-user outreach snapshot5 calls x $0.001$0.001 per call5 calls$0.005

The five-user plan assumes one call per ID. An empty result still counts as a call under the billing rule

Next action

Open fetch_user_info to check the current input and price, then run the five-ID snapshot

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

FAQ

How do I fetch a Bilibili user profile by user ID?

Call tikhub.bilibili.app.fetch_user_info with query.user_id set to the Bilibili user ID. The response keeps the supplier JSON, so read the profile fields from data.card.

What input does tikhub.bilibili.app.fetch_user_info take?

It takes a required query.user_id string. Use the Bilibili user ID from the profile URL or account reference you are researching.

What fields should I compare in a creator outreach list?

The worksheet uses name, mid, fans, attention, level_info.current_level, vip.vipStatus, place, regtime and likes.like_num.

How much does one Bilibili profile lookup cost?

The listed price is $0.001 per call. A single lookup plans one call at $0.001, and a five-user snapshot plans five calls at $0.005 before model fees.

Are empty Bilibili user results billed?

Yes. The catalog says successful empty results are charged, so an empty response still counts as one call.

What does the Bilibili profile tool return?

It returns the supplier's raw JSON with no fixed schema. The profile card fields used in the worksheet sit under data.card, and the field names were observed on one run.

Can I use the example user ID as written?

The example user ID is a placeholder for the guide. Replace it with the ID from your own outreach list before running the tool.

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.

See Bilibili tools

Share this article