TikTok Fetch User Profile
2.07 credits/call
ae_tiktok_fetch_user_profile
### 用途 获取指定用户的公开个人资料信息。 ### 输入 - `secUid`:用户的 secUid。 - `uniqueId`:用户的用户名;如果已知个人主页链接中的用户名,优先使用此参数。 - `secUid` 和 `uniqueId` 至少提供一个。 ### 返回 返回包含该用户个人资料信息的数据,以及请求状态等响应信息。
2.07 credits/call
Pricing
2.07 credits/call
| Condition | Charge |
|---|---|
| Each call | 2.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.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
secUid | string | No | 用户secUid/User secUid | "" |
uniqueId | string | No | 用户uniqueId/User uniqueId | "" |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tiktok_fetch_user_profile' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"uniqueId": "it_is_perfume"
}
}'Response exampleresponse.json
{
"code": 200,
"data": {
"needFix": false,
"shareMeta": {
"desc": "@it_is_perfume 29.8k Followers, 88 Following, 1.7m Likes - Watch awesome short videos created by AboutPerfumes",
"title": "AboutPerfumes on TikTok"
},
"statusCode": 0,
"statusMsg": "",
"userInfo": {
"itemList": [],
"stats": {
"diggCount": 0,
"followerCount": 29800,
"followingCount": 88,
"friendCount": 23,
"heart": 1700000,
"heartCount": 1700000
},
"statsV2": {
"diggCount": "0",
"followerCount": "29755",
"followingCount": "88",
"friendCount": "23",
"heart": "1702580",
"heartCount": "1702580"
},
"user": {
"UserStoryStatus": 1,
"avatarLarger": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/a0bd0248c815cd6b8b9203bcdb62ecb5~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=[REDACTED]&x-expires=1794625200&x-signature=[REDACTED]&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88",
"avatarMedium": "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/a0bd0248c815cd6b8b9203bcdb62ecb5~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=[REDACTED]&x-expires=1794625200&x-signature=[REDACTED]&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b7",
"avatarThumb": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/a0bd0248c815cd6b8b9203bcdb62ecb5~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=[REDACTED]&x-expires=1794625200&x-signature=[REDACTED]&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b7",
"canExpPlaylist": true,
"id": "7243451766599353349"
}
}
},
"docs": "https://api.tikhub.io/#/TikTok-Web-API/fetch_user_profile_api_v1_tiktok_web_fetch_user_profile_get",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {
"secUid": "",
"uniqueId": "it_is_perfume"
}
}This example shows part of the response. Copied content is valid JSON.

