UnifAPI Docs
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.

GET
/tiktok/users/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

UnifAPI API key (forwarded verbatim as the upstream provider token).

In: header

Path Parameters

id*string

TikTok sec_uid

Length20 <= length

Response 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
    ]
  }
}