Tiktok
Get a TikTok user profile by sec_uid
Returns the canonicalized public profile for the TikTok user with the given sec_uid. Returns 404 not_found if the user does not exist or is private.
Authorization
bearerAuth AuthorizationBearer <token>
UnifAPI API key (forwarded verbatim as the upstream provider token).
In: header
Path Parameters
id*string
TikTok sec_uid
Length
20 <= lengthResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/tiktok/users/stringstringstringst"{
"id": "string",
"username": "string",
"display_name": "string",
"avatar_url": "string",
"bio": "string",
"is_verified": true,
"is_private": true,
"follower_count": 0,
"following_count": 0,
"like_count": 0,
"video_count": 0,
"region": "string"
}{
"error": {
"type": "validation_error",
"message": "string",
"request_id": "string",
"issues": [
null
]
}
}{
"error": {
"type": "validation_error",
"message": "string",
"request_id": "string",
"issues": [
null
]
}
}{
"error": {
"type": "validation_error",
"message": "string",
"request_id": "string",
"issues": [
null
]
}
}{
"error": {
"type": "validation_error",
"message": "string",
"request_id": "string",
"issues": [
null
]
}
}{
"error": {
"type": "validation_error",
"message": "string",
"request_id": "string",
"issues": [
null
]
}
}{
"error": {
"type": "validation_error",
"message": "string",
"request_id": "string",
"issues": [
null
]
}
}{
"error": {
"type": "validation_error",
"message": "string",
"request_id": "string",
"issues": [
null
]
}
}List videos liked by a TikTok user
Returns a paginated list of videos the user has liked (where the user has made their likes public). Empty when likes are hidden.
List TikTok users similar to the given user
Returns a paginated list of users TikTok recommends as similar to the given user. The `limit` parameter is best-effort — upstream may ignore it.