TikTok user profile by username or user id
justoneapi.tiktok.user.profilePublic TikTok profile by username (uniqueId) or secUid
- Price
- $0.01476/successAt provider cost
- Success rate
- 100%Last 30 days · 1,466 calls
- Latency p50
- 1.5 sp95 2.5 s
- Last verified
- Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.tiktok.user.profile?uniqueId=tiktokPreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
one of uniqueId | secUid; uniqueId preferred. secUid in the response is the key needed by tiktok.user.videos.
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
secUid | string | Optional | opaque user id; use when the handle is unknown | |
uniqueId | string | Optional | public handle from the profile URL | tiktok |
- Query parameters
secUidstringOptionalopaque user id; use when the handle is unknown
uniqueIdstringOptionalpublic handle from the profile URL
Example:
tiktok
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.tiktok.user.profile?uniqueId=tiktok' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.tiktok.user.profile?uniqueId=tiktok",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.tiktok.user.profile?uniqueId=tiktok", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.01476/success, including the service fee.