GET /v1/tiktok/user_detail
TikTok profile API: get followers, bio and likes by username
Returns a TikTok account's live profile: follower, following and video counts, bio, avatar, verified and private flags and bio links, with sec_uid, heart_count and region under extra. Send handle as a username, @handle or tiktok.com/@handle URL. A read saved in the last 24 hours is served again unless you set cached.
- Price
- $0.0005 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl 'https://api.virev.ai/v1/tiktok/user_detail?handle=flighthouse' \
-H "Authorization: Bearer $VIREV_API_KEY"import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/tiktok/user_detail",
params={
"handle": "flighthouse",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
handle required | query | string | TikTok handle, with or without @, or a tiktok.com/@handle URL. |
cached | query | auto | cache_only | live | auto (default) serves a read saved within the last 24 hours for these exact arguments, otherwise fetches. cache_only never contacts TikTok (404 not_cached when nothing is saved, whatever its age). live always fetches. Anything else is a 400. |
get_raw | query | boolean | Not available on this operation: the upstream document is an HTML page, and true answers 400. The default false returns the normalized type. |
Example response
The example response of the API reference, with lists cut to their first 3 items and long text shortened.
{
"data": {
"id": "24645153",
"username": "flighthouse",
"full_name": "flighthouse",
"biography": "New episodes daily! 🕺\nbusiness@flight.house",
"followers": 28796800,
"following": 1334,
"posts": 6382,
"is_verified": true,
"is_private": false,
"avatar_url": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/dbf978a5746e203e480ebce90c3d122d~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=1657644e&x-expires=1784044800&x-signature=ioC6oc2YmoMYuvRruub%2FlBPcO0A%3D&t=4d5b0474&p…",
"external_url": null,
"links": [],
"category": null,
"business_category": null,
"is_business": null,
"is_professional": null,
"business_email": null,
"business_phone": null,
"business_address": null,
"pronouns": [],
"highlight_reel_count": null,
"has_clips": null,
"is_recently_joined": null,
"fbid": null,
"extra": {
"sec_uid": "MS4wLjABAAAAnEkPI9XFOsqCQsqG7-JvND26SkmF2tHOSrDVR5abC0k",
"heart_count": 2641246983,
"region": null
}
},
"meta": {
"source": "live",
"fetched_at": "2026-07-12T16:03:16.146109+00:00",
"cost": "$0.0005",
"balance": "$0.3772",
"request_id": "req_5c5ab01bcb83c669903072760ebadb25"
}
}How it works
The profile page's user detail: counts, bio, flags, avatar and bio links. extra carries sec_uid, heart_count and region. Returns Profile under data; the upstream document is an HTML page, so get_raw is not available.
A field TikTok does not carry is null, a list it does not carry is [], and TikTok-only facts sit under extra. Unknown, unsupported, and repeated query parameters return 400 before acquisition or billing.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
404 | cached=cache_only found nothing saved for these arguments (not_cached; call again with cached=auto to fetch it), or the TikTok account or item does not exist (not_found). You are not charged. |
429 | Over the per-minute limit. The limit belongs to your organization and all its API keys share it: 100 requests per minute unless an increase was granted. Wait for the Retry-After seconds, then retry. On a live read, code rate_limited means the platform itself rate-limited this read; retry after the Retry-After seconds. You are not charged. |
502 | The upstream fetch failed. You are not charged. |
503 | Billing could not be confirmed, so no upstream data was returned. |
504 | The upstream request timed out. You are not charged. |