API reference / Devices, signing & primitives / ID converter
ID converter
Snowflake timestamps and uid ↔ sec_uid lookups.
- Upstream
local · snowflake + /aweme/v1/user/profile/other/- Access
- Every plan
- Runs on
- Primitive
- Billing
- Failed calls are free
Authorization
x-api-keyheader · stringrequired
Your API key. Create one in API keys.
Query parameters
idstringid or username
Any TikTok ID (video, user, comment, room). For example 7705852133855161377.
usernamestringid or username
A @username to resolve to uid and sec_uid.
Response
A 200 returns JSON with stable field names. Every response carries x-credits-cost, x-credits-tier and x-credits-remaining.
Errors
Errors return a JSON body with a stable code and cost 0 credits. See Errors and retries.