TikTok
Profile
Get a TikTok account’s name, bio, avatar and counters.
Endpoint
GET
/s/tiktok/profileSend your API key in the X-API-Key header. tiktok is the usual service slug; use the one shown on your subscription if it differs.
Query parameters
| Name | Description |
|---|---|
usernamerequired | Account name, with or without the leading @.Example: scout2015 |
Example request
curl '/s/tiktok/profile?username=scout2015' \
-H 'X-API-Key: YOUR_API_KEY'Example response
The result is in data. Fields the platform didn't report are left out. Field reference: response shapes.
{
"data": {
"platform": "tiktok",
"id": "6743219038927391749",
"username": "scout2015",
"name": "Scout & Suki",
"bio": "Two pups and their humans 🐶",
"avatar": "https://p16.tiktokcdn.example/avatar-large.jpeg",
"verified": false,
"private": false,
"followers": 1580000,
"following": 120,
"postCount": 312,
"likes": 48200000
}
}Notes
- likes is the account’s total hearts. Private accounts are returned with private: true.