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_id to playlist_videos to read the videos in it
  • Failed calls and empty results are not charged.

API health

24h health
Normal
  • Healthy / normal
  • Available
Normal

Last 24 hours

Last 30 days

  1. 1Request

    POST /api/v1/social
    {
      "platform": "tiktok",
      "action": "user_playlists",
      "params": {
        "username": "nasa"
      }
    }
  2. 2JSON response

    {
      "results": [
        {
          "playlist_id": …,
          "title": string,
          "cover_image_url": string,
          "video_count": number
        },
        …
      ]
    }
  3. 3Rows

    playlist_idtitlecover_image_urlvideo_count
    …stringstringnumber
  4. 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

A request with 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.

FieldTypeMeaning
playlist_id—Playlist ID (user_playlists); pass it unchanged as playlist_id to playlist_videos.
titlestringTitle. null when the platform has no titles (for example text-only posts).
urlstringLink to the record on the platform.
cover_image_urlstringVideo cover image link (signed, expires).
video_countnumberNumber of videos.
author_usernamestringAuthor's username (@handle), usually usable in URLs.
author_namestringAuthor's display name.
author_idstringAuthor'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_urlstringAuthor's avatar image link (on most platforms signed and expires).
platformstringSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

Use cases

  • See how a creator groups videos

    Read title and video_count to see the series an account has put together on its profile.

  • Open a playlist

    Pass playlist_id to playlist_videos to read the videos in that playlist in order.

  • Follow playlists over time

    Call again later and compare video_count to see which playlists grew.

  • Keep the owner with each playlist

    author_username, author_name, author_id and author_sec_uid identify 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:

ComparedTikTok for DevelopersEveryInfra
A playlistplaylist_item_total: \"Provides the total number of items in a playlist.\"Each row is one playlist with playlist_id, title and video_count.
Finding playlistsplaylist_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

  • username is required: a handle such as nasa (a leading @ is removed), a profile link or the account's sec_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_token back as page_token with the other parameters unchanged; only a page without next_page_token is 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_reason account_not_found. None of these is charged.
  • video_count is 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.

CallsCost
10,000$5.56
100,000$55.56
1,000,000$555.56

Totals use the list price per call.

Code samples

#
bash
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.

POST

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

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYestiktokPlatform identifier, fixed value.
actionbodystringYesuser_playlistsCapability identifier, fixed value.
usernamebody.paramsstringYes-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_tokenbody.paramsstringNo-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

#
No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.
json
{  "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.

FieldMeaning
playlist_idPlaylist ID (user_playlists); pass it unchanged as playlist_id to playlist_videos.
titleTitle. null when the platform has no titles (for example text-only posts).
urlLink to the record on the platform.
cover_image_urlVideo cover image link (signed, expires).
video_countNumber of videos.
author_usernameAuthor's username (@handle), usually usable in URLs.
author_nameAuthor's display name.
author_idAuthor's unique ID on the platform.
author_sec_uidThe 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_urlAuthor's avatar image link (on most platforms signed and expires).
platformSource 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.

Errors

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.

You can call the other TikTok endpoints with the same EveryInfra API key, for example playlist_videos.

Google Analytics needs consent. Privacy