TikTokUSER
Get TikTok profile data
Retrieve a TikTok profile: display name, follower/following counts, total likes, and post count. Pass country_code to resolve the profile from a specific region; results default to US.
/v1/tiktok/user/profileSingle lookuphttps://social-api.airaa.xyzcurl "https://social-api.airaa.xyz/v1/tiktok/user/profile?username=tiktok&country_code=GB" \ -H "X-API-KEY: $AIRAA_KEY"
{
"user": {
"id": "107955",
"username": "tiktok",
"sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"display_name": "TikTok",
"profile_url": "https://www.tiktok.com/@tiktok",
"profile_picture_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg",
"bio": "Your next discovery is waiting on TikTok.",
"is_private": false,
"is_verified": true,
"follower_count": 96909397,
"following_count": 2,
"like_count": 468073262,
"post_count": 1510
}
}Parameters
Query stringusernamestringrequiredTikTok username (without the @)
Example tiktok
country_codestringoptionalTwo-letter ISO 3166-1 alpha-2 country code used to request region-specific results. Defaults to US when omitted
Default USExample GB
Response
200 · application/jsonAbsent fields are omitted, never null. Response conventions
| Field | Type | Description |
|---|---|---|
| user | object | The TikTok account |
| user.id | string | Canonical TikTok user ID |
| user.username | string | TikTok handle, without the @ |
| user.sec_uid | string | TikTok's secure user ID; stays the same if the username changes |
| user.display_name | string | Display name shown on the profile |
| user.profile_url | string · url | Absolute URL of the profile on tiktok.com |
| user.profile_picture_url | string · url | Profile picture URL on the TikTok CDN |
| user.bio | string | Profile bio text |
| user.is_private | boolean | Whether the account is private |
| user.is_verified | boolean | Whether the account has a verified badge |
| user.follower_count | integer | Number of followers |
| user.following_count | integer | Number of accounts this user follows |
| user.like_count | integer | Total likes received across all posts |
| user.post_count | integer | Number of posts on the profile |
Errors
{ "error": "message" }| Status | Meaning | Retry |
|---|---|---|
| 400 | Missing or invalid query parameter { "error": "username is required" } | No. Fix the request. |
| 401 | Missing or invalid { "error": "Invalid API key." } | No. Check the key. |
| 429 | Request quota exceeded — contact light@airaa.xyz to upgrade your plan { "error": "Request quota exceeded — contact light@airaa.xyz to upgrade your plan." } | After your quota resets |
| 500 | Server misconfiguration — API key environment variable not set { "error": "Server configuration error" } | No. Contact us. |
| 502 | Upstream provider temporarily unavailable — please try again { "error": "Upstream service unavailable" } | Yes, with backoff |
| 504 | Request timed out — please try again { "error": "Request timed out — please try again." } | Yes, with backoff |