Social Scraper
TikTok

Get Profile

Retrieve public TikTok profile information.

Get TikTok Profile

Retrieve public profile information for a TikTok user.

Endpoint

GET /tiktok/profile/:username

Parameters

Path Parameters

ParameterTypeRequiredDescription
usernamestringYesThe TikTok username (without @)

Request

Headers

HeaderRequiredDescription
AuthorizationYesBearer token with your API key

Example Request

curl -X GET "https://api.your-domain.com/tiktok/profile/tiktok" \
  -H "Authorization: Bearer YOUR_API_KEY"
const response = await fetch(
  'https://api.your-domain.com/tiktok/profile/tiktok',
  {
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY'
    }
  }
);

const profile = await response.json();
import requests

response = requests.get(
    'https://api.your-domain.com/tiktok/profile/tiktok',
    headers={'Authorization': 'Bearer YOUR_API_KEY'}
)

profile = response.json()

Response

Success Response

Status Code: 200 OK

Returns the TikTok user profile data including statistics and account information.

{
  "userInfo": {
    "user": {
      "id": "107955",
      "uniqueId": "tiktok",
      "nickname": "TikTok",
      "avatarThumb": "https://...",
      "avatarMedium": "https://...",
      "avatarLarger": "https://...",
      "signature": "Make Your Day",
      "verified": true,
      "secUid": "...",
      "privateAccount": false,
      "relation": 0,
      "openFavorite": false
    },
    "stats": {
      "followerCount": 85000000,
      "followingCount": 500,
      "heart": 520000000,
      "heartCount": 520000000,
      "videoCount": 250,
      "diggCount": 1500
    }
  }
}

Response Fields

FieldTypeDescription
userInfo.user.idstringUnique TikTok user ID
userInfo.user.uniqueIdstringTikTok username
userInfo.user.nicknamestringDisplay name
userInfo.user.signaturestringProfile bio
userInfo.user.verifiedbooleanWhether the account is verified
userInfo.user.privateAccountbooleanWhether the account is private
userInfo.user.avatarThumbstringURL to small profile picture
userInfo.user.avatarMediumstringURL to medium profile picture
userInfo.user.avatarLargerstringURL to large profile picture
userInfo.stats.followerCountnumberNumber of followers
userInfo.stats.followingCountnumberNumber of accounts followed
userInfo.stats.heartnumberTotal likes received
userInfo.stats.videoCountnumberNumber of videos posted

Error Responses

StatusDescription
400Invalid username format
401Invalid or missing API key
404Profile not found
429Rate limit exceeded
500Failed to extract profile data

See Error Handling for detailed error response formats.

Notes

TikTok usernames are case-insensitive. Both TikTok and tiktok will return the same profile.

Private TikTok accounts will return limited statistics. The privateAccount field will be true for these accounts.

On this page