Call it
curl https://api.peume.com/v1/call/tiktok-get-a-user-s-public-profile \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"username": "your username",
"user_id": "your user id"
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-get-a-user-s-public-profile", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"username": "your username",
"user_id": "your user id"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-get-a-user-s-public-profile",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"username": "your username",
"user_id": "your user id"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: tiktok-get-a-user-s-public-profile.
Parameters
usernamestringidentity
user_idstringidentity
sec_uidstringidentity
Other ways to do it
Same job, other sources, cheapest first.
A TikTok profile's statsGet one TikTok account's public profile: display name, bio, exact follower, like and video counts, and verified badge.TikTok creator info and milestones by user idGet creator info and milestonesTikTok user profile by user id, secUid or usernameGet information of specified userTikTok user profile by username or secUidPublic TikTok profile by username (uniqueId) or secUidTikTok ProfileFetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.TikTok user profile by username or id — bio, statsFetches public profile data for a TikTok user by their handle or user_id — useful for looking up a creator's identity, bio, and account stats.
