GET /v1/tiktok/user_playlist
TikTok playlist API: list a creator's playlists by username
Returns the playlists (series) a TikTok creator curates, each with its id and name. Send handle. An account with no playlists answers an empty list.
- Price
- $0.0005 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl
curl 'https://api.virev.ai/v1/tiktok/user_playlist?handle=tiktok' \
-H "Authorization: Bearer $VIREV_API_KEY"python
import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/tiktok/user_playlist",
params={
"handle": "tiktok",
},
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 | true returns the upstream JSON exactly as TikTok answered it instead of the normalized Playlist[]. |
Example response
The example response of the API reference, with lists cut to their first 3 items and long text shortened.
json
{
"data": [
{
"id": "7681171537575824159",
"name": "Songs Of The Summer 2026",
"videos": 3,
"cover_url": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/o8UZ7AA11Ciogu5XByiiAPBcCSAIMnAIEBfaK7~tplv-tiktokx-origin.image?dr=14575&x-expires=1795651200&x-signature=d1wbrzwA9B%2Bqsn4iy5FqhtSpdek%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shc…"
},
{
"id": "7659874208872221471",
"name": "Behind The Breakthrough",
"videos": 6,
"cover_url": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oM4EVAFCUEDiowAA0eAAfLEzqLIhR4OEVASzPC~tplv-tiktokx-origin.image?dr=14575&x-expires=1795651200&x-signature=gkEe9W84VfSZ0r%2F%2B%2FL6GBCBU5Kw%3D&t=4d5b0474&ps=13740610&shp=81f88b70…"
},
{
"id": "7516638364301265695",
"name": "In The Mix",
"videos": 24,
"cover_url": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oMr6rAA6QCIh5zBgE2FEAqDfIoAjTeAQIifXqO~tplv-tiktokx-origin.image?dr=14575&x-expires=1795651200&x-signature=e33rTOxlNonyNrxThIFeBlr%2BVTg%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shc…"
}
],
"meta": {
"source": "live",
"fetched_at": "2026-11-25T18:52:07+00:00",
"cost": "$0.0005",
"balance": "$326.8749",
"request_id": "req_8ae8439d7e1b28a94870662d1c48c151"
}
}How it works
The playlists (series) a creator curates, with each playlist’s video count. An account with no playlists answers an empty list. Returns Playlist[] under data; with get_raw=true returns the upstream JSON.
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. |