Call it
curl https://api.peume.com/v1/call/tiktok-user-profile-by-username-or-secuid \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"uniqueId": "tiktok"
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-user-profile-by-username-or-secuid", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"uniqueId": "tiktok"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-user-profile-by-username-or-secuid",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"uniqueId": "tiktok"
}
},
)
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-user-profile-by-username-or-secuid.
Parameters
uniqueIdstringusername from the profile URL
Example: tiktok
secUidstringOther ways to do it
Same job, other sources, cheapest first.
Get a user's public profileBest sourceGet a user's public profile. Checks the cheapest source first and moves to the next one until it finds an answer.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 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.
