YepAPI
TikTok API

User Profile

Get profile information for a TikTok user by their unique handle.

POST/v1/tiktok/user
$0.01/call

Usage

const res = await fetch('https://api.yepapi.com/v1/tiktok/user', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ unique_id: 'chefmaria' }),
});
const { data } = await res.json();
console.log(data);
curl -X POST https://api.yepapi.com/v1/tiktok/user \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"unique_id": "chefmaria"}'

Request Body

ParameterTypeRequiredDescriptionDefault
unique_idstringYesTikTok username (without @)

Response

{
  "ok": true,
  "data": {
    "user_id": "6842123456789012345",
    "unique_id": "chefmaria",
    "nickname": "Chef Maria",
    "avatar": "https://p16-sign.tiktokcdn.com/...",
    "signature": "Professional chef sharing quick recipes. New videos daily!",
    "is_verified": true,
    "region": "US",
    "language": "en",
    "follower_count": 1250000,
    "following_count": 342,
    "heart_count": 28500000,
    "video_count": 487,
    "digg_count": 12300
  }
}

Response Fields

FieldTypeDescription
okbooleanWhether the request succeeded
data.user_idstringUnique numeric user identifier
data.unique_idstringUser's unique handle
data.nicknamestringUser's display name
data.avatarstringProfile picture URL
data.signaturestringUser bio text
data.is_verifiedbooleanWhether the user is verified
data.regionstringUser's region/country code
data.languagestringUser's language
data.follower_countnumberNumber of followers
data.following_countnumberNumber of accounts followed
data.heart_countnumberTotal likes received across all videos
data.video_countnumberTotal number of videos posted
data.digg_countnumberNumber of videos the user has liked

On this page