TikTok Get User Info

2.07 credits/call
ae_tiktok_get_user_info

Retrieve profile information for a specified user. Provide at least one identifier: sec_user_id or a numeric user_id. If both are provided, sec_user_id takes precedence. The response includes user information and request status details.

Social
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

Each call has a fixed charge of 2.07 credits. Charges are per query. A successful query is billed even if it returns no results.

Provide at least one identifier: sec_user_id or a numeric user_id. If both are provided, sec_user_id takes priority.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
user_idstringNo用户uid (可选,纯数字)/User uid (optional, pure number)""
sec_user_idstringNo用户sec_user_id/User sec_user_id""

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tiktok_get_user_info' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "sec_user_id": "MS4wLjABAAAA699RtC-a5Js01B9OUTxav3ONGaKtqRiveWFSjLC3FzQJuRoMS0rK6wrVWO1fVTOq"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": {
    "data": {
      "allow_find_by_contacts": false,
      "allow_others_download_video": false,
      "allow_others_download_when_sharing_video": false,
      "allow_share_show_profile": false,
      "allow_show_in_gossip": false,
      "allow_show_my_action": false
    },
    "extra": {
      "anonymous_is_silence": false,
      "mirror_profile_card_decoration": false,
      "now": 1793845455956
    },
    "status_code": 0
  },
  "docs": "https://api.tikhub.io/#/TikTok-App-V3-API/fetch_webcast_user_info_api_v1_tiktok_app_v3_fetch_webcast_user_info_get",
  "message": "Request successful. This request will incur a charge."
}

This example shows part of the response. Copied content is valid JSON.