TikTok Account playlists API
List the playlists on a TikTok profile from a handle, a profile link or a sec_uid: each playlist's playlist_id, title, url, cover and video_count, for $0.56 per 1,000 calls.
- Playlists come in TikTok's order, up to 30 per page; page on with
next_page_token - Pass a row's
playlist_idtoplaylist_videosto read the videos in it - Failed calls and empty results are not charged.
API health
- 24h health
- Normal
- Healthy / normal
- Available
Last 24 hours
Last 30 days
1Request
POST /api/v1/social { "platform": "tiktok", "action": "user_playlists", "params": { "username": "nasa" } }2JSON response
{ "results": [ { "playlist_id": …, "title": string, "cover_image_url": string, "video_count": number }, … ] }3Rows
playlist_id title cover_image_url video_count … string string number 4CSV
tiktok-user_playlists-sample.csv playlist_id,title,url,cover_image_url,video_count,author_username,author_name,author_id,author_sec_uid,author_avatar_url,platform
username goes in, and one page of playlists comes back; each row in results is one playlist, listed as a field table and a CSV file.What data you get
Each row is one playlist. This endpoint has no public real sample yet. The table lists the fields, types and meanings that the response returns, with no values.
| Field | Type | Meaning |
|---|---|---|
| playlist_id | — | Playlist ID (user_playlists); pass it unchanged as playlist_id to playlist_videos. |
| title | string | Title. null when the platform has no titles (for example text-only posts). |
| url | string | Link to the record on the platform. |
| cover_image_url | string | Video cover image link (signed, expires). |
| video_count | number | Number of videos. |
| author_username | string | Author's username (@handle), usually usable in URLs. |
| author_name | string | Author's display name. |
| author_id | string | Author's unique ID on the platform. |
| author_sec_uid | — | The account's secUid: in live_room, the streamer's account, starting with MS4w; in music_detail, the music author's account, present only for original sounds; in photos, playlist_videos, user_reposts and user_stories, the post author's account; in user_playlists, the playlist owner's account. |
| author_avatar_url | string | Author's avatar image link (on most platforms signed and expires). |
| platform | string | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Use cases
See how a creator groups videos
Read
titleandvideo_countto see the series an account has put together on its profile.Open a playlist
Pass
playlist_idtoplaylist_videosto read the videos in that playlist in order.Follow playlists over time
Call again later and compare
video_countto see which playlists grew.Keep the owner with each playlist
author_username,author_name,author_idandauthor_sec_uididentify the account that owns the playlist.
TikTok for Developers vs EveryInfra
How the TikTok Research API playlist query and EveryInfra user_playlists compare on what a playlist is and how it is found:
| Compared | TikTok for Developers | EveryInfra |
|---|---|---|
| A playlist | playlist_item_total: \"Provides the total number of items in a playlist.\" | Each row is one playlist with playlist_id, title and video_count. |
| Finding playlists | playlist_id: \"The unique ID of the playlist.\" | username lists every playlist on that profile; the Research API page queries one playlist ID and has no query by account. |
The quotes come from the Query Playlist Info page of the TikTok for Developers Research API reference, which we checked on 2026-12-01. These rows compare only what a playlist is and how it is found. Official sources: Query Playlist Info
Limits and gotchas
usernameis required: a handle such asnasa(a leading @ is removed), a profile link or the account'ssec_uid. A value in the wrong form is rejected (422) before you are charged.- Up to 30 playlists per page, in TikTok's order. For the next page, send
next_page_tokenback aspage_tokenwith the other parameters unchanged; only a page withoutnext_page_tokenis the last one. - An account with no playlists returns an empty list, and so does a private account. An account that does not exist returns an empty result with
empty_reasonaccount_not_found. None of these is charged. video_countis the count TikTok shows on the playlist.
Pricing
You pay $0.000556 per call, not per row. One call returns one page, so each page you read counts as one call. Failed calls and empty results are not charged.
| Calls | Cost |
|---|---|
| 10,000 | $5.56 |
| 100,000 | $55.56 |
| 1,000,000 | $555.56 |
Totals use the list price per call.
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "tiktok",
"action": "user_playlists",
"params": {
"username": "nasa"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
API reference
See the parameters, response fields, errors and billing for user_playlists, and copy the page or open it as Markdown for an AI assistant.
AI prompt
#Please help me write a data collection script with the EveryInfra TikTok Account playlists endpoint (tiktok/user_playlists).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to tiktok and action to user_playlists, and put the parameters inside params.
- Required parameters:
- username: A TikTok username such as nasa (a leading @ is removed), a profile link, or the account's sec_uid.
- Optional parameters:
- page_token: Page token. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, with the other parameters unchanged. Each page holds up to 30 playlists and counts as one call.
- Returns a list of records. Main fields of each record: playlist_id (Playlist ID (user_playlists)), title, url, cover_image_url (Video cover image link (signed, expires…), video_count (Number of videos), author_username, author_name, author_id, author_sec_uid (The account's secUid: in live_room, the…), author_avatar_url (Author's avatar image link (on most pla…).
- Example request body:
{
"platform": "tiktok",
"action": "user_playlists",
"params": {
"username": "nasa"
}
}
- Price: $0.56 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | tiktok | Platform identifier, fixed value. |
action | body | string | Yes | user_playlists | Capability identifier, fixed value. |
username | body.params | string | Yes | - | A TikTok username such as nasa (a leading @ is removed), a profile link, or the account's sec_uid. An account that does not exist returns 200 with an empty result and empty_reason set to account_not_found, and the call is not charged. |
page_token | body.params | string | No | - | Page token. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, with the other parameters unchanged. Each page holds up to 30 playlists and counts as one call. Tokens last 24 hours, and the last page has no next_page_token. |
Response example
#{ "id": "req_…", "platform": "tiktok", "action": "user_playlists", "results": [ { "playlist_id": …, "title": …, "url": …, "cover_image_url": …, "video_count": …, "author_username": …, "author_name": …, "author_id": …, "author_sec_uid": …, "author_avatar_url": …, "platform": … } ], "next_page_token": …, "pagination": { … }, "count": …, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain. Values the platform does not show are never made up.
| Field | Meaning |
|---|---|
playlist_id | Playlist ID (user_playlists); pass it unchanged as playlist_id to playlist_videos. |
title | Title. null when the platform has no titles (for example text-only posts). |
url | Link to the record on the platform. |
cover_image_url | Video cover image link (signed, expires). |
video_count | Number of videos. |
author_username | Author's username (@handle), usually usable in URLs. |
author_name | Author's display name. |
author_id | Author's unique ID on the platform. |
author_sec_uid | The account's secUid: in live_room, the streamer's account, starting with MS4w; in music_detail, the music author's account, present only for original sounds; in photos, playlist_videos, user_reposts and user_stories, the post author's account; in user_playlists, the playlist owner's account. |
author_avatar_url | Author's avatar image link (on most platforms signed and expires). |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
FAQ
What does the TikTok playlists API return?
One row per playlist on the profile: playlist_id, title, url, cover_image_url, video_count and the owner's author_username, author_name, author_id, author_sec_uid and author_avatar_url.
How do I read the videos in a playlist?
Pass the row's playlist_id to playlist_videos.
What if the account does not exist?
You get an empty result with empty_reason account_not_found, and the call is not charged.
How much does it cost to list an account's playlists?
It costs $0.000556 per call, or $0.56 per 1,000 calls. Each page is one call. Failed calls and empty results are not charged.
Related TikTok endpoints
You can call the other TikTok endpoints with the same EveryInfra API key, for example playlist_videos.
- Search
search$0.56 per 1,000 callsSearch TikTok by keyword across the video, account or top tab. - Details
profile$0.56 per 1,000 callsLook up a TikTok account by handle. - Videos by user
user_videos$0.56 per 1,000 callsList a TikTok creator's videos with caption, publish time and like, comment, share and view counts. - Video details
video$0.56 per 1,000 callsFetch one TikTok video's caption, author, publish time and like, comment, share and view counts from its URL. - Comments
comments$0.56 per 1,000 callsRead the comments on a TikTok video. - Hashtag
hashtag$0.56 per 1,000 callsBrowse TikTok videos posted under a hashtag. - Followers
followers$0.56 per 1,000 callsCheck a TikTok account's follower, following, post and like totals by handle, with a precision flag for rounded numbers. - Transcript
transcript$0.56 per 1,000 callsExtract the transcript of a TikTok video from its URL. - Shop product search
shop_search$0.56 per 1,000 callsFind TikTok Shop products by keyword. - Shop creator details
shop_creator$0.56 per 1,000 callsSize up a TikTok Shop creator by handle. - Hashtag search
hashtag_search$0.81 per 1,000 callsSearch TikTok hashtags bykeyword. - Music search
music_search$0.81 per 1,000 callsSearch TikTok's sound library bykeyword, such as a song or artist. - Music chart
music_chart$0.81 per 1,000 callsRead a TikTok music chart:top50(default) orviral50. - Account search
user_search$0.56 per 1,000 callsSearch TikTok accounts bykeyword, in the order TikTok search ranks them. - Videos using a sound
sound_videos$0.56 per 1,000 callsList the TikTok videos that use one sound, from itsmusic_idor sound page link. - Comment replies
comment_replies$0.56 per 1,000 callsRead the replies under one comment on a TikTok video, from the videourland the comment'sidreturned bycomments. - Shop best sellers
shop_hot_products$0.81 per 1,000 callsRead the TikTok Shop best-seller list for one market: ID, JP, MX, MY (default), PH, SG, TH or VN. - Shop products by category
shop_category_products$0.81 per 1,000 callsList TikTok Shop products in one category bycategory_id, such as 601450 for beauty and personal care, in a chosen market. - Following
following$0.64 per 1,000 callsList the accounts a TikTok user follows, by handle. - Video download links
video_download$0.64 per 1,000 callsGet the download links for one TikTok video from itsurl, without the watermark. - Live room
live_room$0.81 per 1,000 callsCheck whether a TikTok account is live right now, by handle. - Shop store products
shop_products$0.81 per 1,000 callsList the products of one TikTok Shop store from itsshop_idor store link, in a chosen market. - Shop product reviews
shop_product_reviews$0.76 per 1,000 callsRead buyer reviews of one TikTok Shop product from itsproduct_idor product link. - Shop product detail
shop_product_detail$0.79 per 1,000 callsRead one TikTok Shop product from itsproduct_idor product link andcountry: the title inname,image_urlandimage_urls,priceandoriginal_pricein the localcurrency,skuswith each variant's price and stock,shop,rating_distribution,specs,descriptionand shipping. - Trending hashtags
trending_hashtags$0.81 per 1,000 callsRead the trending hashtags on TikTok for one market over the last 7, 30 or 90 days. - Username to user ID
resolve_user$0.56 per 1,000 callsTurn a TikTokusername(with or without @), a profile link or asec_uidinto the account's numericuser_id, itssec_uid, currentusernameand profileurl. - Link recognition
resolve_links$0.56 per 1,000 callsRead the video ID from one TikTok link inurl, including vm.tiktok.com and vt.tiktok.com share links. - Hashtag detail
hashtag_detail$0.56 per 1,000 callsRead one TikTok hashtag fromhashtag(its name, with or without #, a tag link or the numeric ID):hashtag_id,hashtag_name,url, exactvideo_countandview_count, andis_commercial. - Music detail
music_detail$0.56 per 1,000 callsRead one TikTok sound bymusic_idor music link:title,author_name,album,duration_seconds, how many videos use it (use_count),is_original,is_copyrighted, a cover link and a preview audio link that expires. - Photo post images
photos$0.56 per 1,000 callsGet every image of a TikTok photo post (photo mode or carousel) from itsurl, in the post's order:imageswith each image'surl,widthandheightin pixels, plusimage_urls, the same links as a list. - Profile contact
profile_contact$0.56 per 1,000 callsRead the bio text an account wrote on its own TikTok profile, and the link in it, fromusername(a handle with or without @, a profile link or asec_uid):user_id,sec_uid,username,display_name,url,bioandexternal_url, as written, not reworded or guessed. - Search suggestions
search_suggest$0.56 per 1,000 callsRead the related searches TikTok shows for a search termkeyword(1 to 100 characters). - Top ads
top_ads$0.79 per 1,000 callsRead the Top Ads list from TikTok's Creative Center for one country over the last 7, 30 or 180 days. - Playlist videos
playlist_videos$0.79 per 1,000 callsList the videos in one TikTok playlist from itsplaylist_idor playlist link, in the playlist's order. - User reposts
user_reposts$0.79 per 1,000 callsList the videos under the Reposts tab of a TikTok profile, byusername, most recent repost first. - Account stories
user_stories$0.88 per 1,000 callsRead the stories a TikTok account has up right now, byusername, oldest first, all in one call.