Social media5 min readBy Purrkey teamUpdated

How to fetch a Toutiao user profile by user ID

Fetch a Toutiao user's profile details and counts from one user ID call, then map the response into a worksheet for outreach

On this page

You have 25 Toutiao user IDs from a campaign list and need a consistent profile snapshot for each one before outreach. One call per ID returns name, description, avatar, follower and following counts, publish and digg counts, and an is_gov_media flag, so you can sort the list by reach and activity and decide who to contact first

The deliverable is a worksheet with one row per user ID. This guide shows the call, the fields to map and the cost for 1 or 25 calls. No table below is a result; values are placeholders showing the shape

The task and the worksheet

Example input rows, using placeholder IDs that you replace with IDs from your list:

Labeluser_id
Example90000000001
Example90000000002
Example90000000003

The worksheet uses these columns. Values here are placeholders showing the shape:

user_idnamedescriptionavatar_urlfollowers_countfollowings_countpublish_countdigg_countis_gov_media
90000000001(name or empty)(text or empty)(URL or empty)(integer)(integer)(integer)(integer)true or false

An empty string can appear as a field value in the response. Keep the row and leave the cell empty rather than dropping it, because the user ID and counts still let you sort the list

Input the tool takes

tikhub.toutiao.app.get_user_info takes a query object with the required field query.user_id. The value is the user ID string copied from the Toutiao profile you are researching or from your existing user ID list. Agents call it through POST /v1/runs with toolId tikhub.toutiao.app.get_user_info

Example value: "90000000001" as a string. The reader replaces it with a real ID from the campaign list

Reading the output fields that drive the decision

The supplier JSON is preserved as is; there is no fixed output schema across user IDs. Field names in the contract were observed on one run, so the agent must read the field names from the first page of the response before it maps the worksheet. That limit affects the mapping step, not the call count

The contract output observed a data object. Map these fields when they appear: data.user_id identifies the row, data.name fills the name column, data.description fills the description, and data.avatar_url fills the avatar URL. Use data.followers_count for reach. Use data.publish_count and data.digg_count for activity. data.followings_count adds the following count, and data.is_gov_media fills the boolean flag

Sort by followers_count for a first pass, then by publish_count and digg_count for a second pass. The table keeps both columns so you can choose the outreach order

What one real call returned

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

The response's data object had these top-level keys: name, gender, top_tab, user_id, bg_image, avatar_url, digg_count, description, is_gov_media, external_info, publish_count, big_avatar_url, followers_count, followings_count, external_media_type. data.name was ""; data.gender was 0; data.top_tab was an array with 1 item, whose first item keys were url, type, is_native, show_name, is_default, load_count, total_count, pseries_card_info, pseries_card_count, disable_common_params; data.user_id was 50000000001; data.avatar_url was ""; data.digg_count was 0; data.description was ""; data.is_gov_media was false; data.publish_count was 0; data.big_avatar_url was ""; data.followers_count was 0; data.followings_count was 0; data.external_media_type was 0

The agent prompt

The prompt below uses example IDs. Replace them with your 25 IDs:

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch Toutiao user profiles for the user IDs below. Check the current inputs and price of tikhub.toutiao.app.get_user_info before running anything. Call the tool once per user ID. Read the field names from the first page of the response before mapping the table. Return a table with user_id, name, description, avatar_url, followers_count, followings_count, publish_count, digg_count and is_gov_media. Leave cells empty when a field is missing or an empty string. Do not guess values.

90000000001
90000000002
90000000003

The prompt returns a table with one row per ID and the columns from the worksheet. The agent checks the current inputs and price before it runs the calls

Estimated tool cost

The catalog lists tikhub.toutiao.app.get_user_info at $0.001 per call. The unit is max_call: "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings, not settled charges. Agent model fees are not counted. The catalog rule also says successful empty results are charged

StepFormulaUnit pricePlanned quantityTotal
Single profile snapshotcalls x max price$0.001 per call1$0.001
25 profilescalls x max price$0.001 per call25$0.025

The 25 profile plan covers one call per user ID. If you test a single ID first, the planned quantity is 1 call and the total is $0.001

Next action

Open the Toutiao user profile tool and run the first user ID from your list. That single call gives you the field names for the mapping step before you commit to 25 calls

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

FAQ

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

Call tikhub.toutiao.app.get_user_info once per ID with query.user_id, then map the returned JSON into a worksheet with columns for name, description, avatar_url, followers_count, followings_count, publish_count, digg_count and is_gov_media.

What input does tikhub.toutiao.app.get_user_info take?

The required input is query.user_id, copied from the Toutiao profile or your existing user ID list.

Which output fields should I map into the worksheet?

The worksheet uses data.name, data.description, data.avatar_url, data.followers_count, data.followings_count, data.publish_count, data.digg_count and data.is_gov_media. Read the field names from the first page of the response before mapping the table.

How much does one Toutiao profile call cost?

The catalog price is $0.001 per call, listed as max_call. The unit means Maximum per call. Successful runs settle at the actual AnyAPI charge.

How much does it cost to snapshot 25 Toutiao profiles?

At $0.001 per call, 25 calls total $0.025. A single profile snapshot is 1 call at $0.001.

What did the real call on 2026-11-13 return?

The real call sent user_id 50000000001 and settled at 0.001 USD against a 0.001 USD ceiling. The data object included keys such as name, user_id, followers_count and publish_count, with the top-level key set listed in the body.

Next step

Try this with Toutiao

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 Toutiao tools

Share this article