Introducing the Instagram APIRead more →

TikTok Playlists API. Account playlists and public collections, page by page.

Account playlists and public collections. We handle the proxies, blocks and platform changes.

TikTok Playlists API at a glance

Returns a TikTok account's playlists and public collections, from a username, profile link, user ID or secUid. Each has its title, link, cover, owner and exact post count. Playlists come first, in the order the account set.

GET /v1/tiktok/playlists

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 13 typed fields null when unknown
  • 30 account playlists and public collections per page, the account's playlists in the order it set, then its public collections
  • handle is all it needs, e.g. tiktok

Send one request. Get up to 30 account playlists and public collections back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
handle = tiktok
GET /v1/tiktok/playlistsTry in
const params = new URLSearchParams({
  handle: "tiktok",
});
const res = await fetch(`https://socialtap.dev/v1/tiktok/playlists?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/tiktok/playlistsLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 6 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field TikTok doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    TikTok username with or without the @, a profile URL (tiktok.com/@tiktok), a numeric user ID or a secUid (MS4wLjABAAAA…).

  • Write one parser

    TikTok, Instagram, Spotify and 3 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, facebook, …).
idstring
Platform-native playlist ID (string): TikTok's playlist (mix) or collection ID, YouTube's list ID (PL…), Facebook's video list ID.
urlstring
Canonical playlist URL.
typestring
playlist: a list its owner curates and orders (TikTok playlists, YouTube playlists, Facebook playlists and series); collection: posts an account saved from any creator into a named public folder (TikTok collections). New values may be added; treat unknown values as playlist.
platform_typestring
The platform's own label, lowercase (mix, collection, playlist, series, podcast, …).
titlestring
Name its owner gave it.
descriptionstring
Description as plain text; null when it has none or the platform shows none (TikTok).
ownerobject
The account that curates it (for a collection, the account that saved the posts, not their authors). Where a platform's curators are not accounts (Apple Music), what it states of them: a name, perhaps a page and a picture, with id and username null, and every field null when it names no one.

What teams build with the TikTok Playlists API.

  • Find a creator's series and episode playlists

  • See which collections an account curates

  • Feed playlist links to the Playlist Posts API

Good to know before you build.

  • Playlists come first (type playlist, platform_type mix), then public collections (type collection), and the walk reads both.
  • TikTok shows no description for playlists or collections, so description is always null.
  • post_count is TikTok's count, which can include posts that are no longer public.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Any source1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the TikTok Playlists API.

More in the API reference.

How much does the TikTok Playlists API cost?
A page of up to 30 account playlists and public collections costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 24 hours.

Try it on an account you know.

Paste its handle or link in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs