TikTok Playlist Videos API
The videos inside one TikTok playlist, in the creator's chosen order. Requires a configured TikTok signer. Calls cost 1 credit each. A cache hit is free, and a failed or empty response is never charged.
Try it
Prefilled with the request that produced the example below. No key yet? Get a free key.
Request
GET
/v1/tiktok/playlist-videos| Parameter | Type | Required | Description |
|---|---|---|---|
| playlist_id | string | yes | id from tiktok.playlists, or a /playlist/ URL |
| count | number | no | Items per page (default 30, max 30) |
| cursor | string | no | pagination.cursor from a previous response |
Also accepts cache_max_age (a hit costs 0 credits) and include_raw (returns the untouched upstream payload under raw).
curl
curl "$API/v1/tiktok/playlist-videos?playlist_id=7646581660414905119&cache_max_age=7d" \
-H "x-api-key: $KEY"JavaScript
const query = new URLSearchParams({
playlist_id: '7646581660414905119',
cache_max_age: '7d',
});
const response = await fetch(`${API}/v1/tiktok/playlist-videos?${query}`, {
headers: { 'x-api-key': KEY },
});
const body = await response.json();
if (!body.success) throw new Error(body.error.code);
// 1 credit, 0 on a cache hit
console.log(body.data, body.meta.creditsCharged);Python
import os, httpx
r = httpx.get(
f"{os.environ['API']}/v1/tiktok/playlist-videos",
params={
"playlist_id": "7646581660414905119",
"cache_max_age": "7d",
},
headers={"x-api-key": os.environ["KEY"]},
timeout=30,
)
body = r.json()
if not body["success"]:
raise RuntimeError(body["error"]["code"])
print(body["data"], body["meta"]["creditsCharged"])Example response
Captured on , with raw removed and lists cut to two items. A live call returns current data.
response
{
"success": true,
"data": {
"items": [
{
"platform": "tiktok",
"id": "7646491231404559646",
"type": "video",
"url": "https://www.tiktok.com/@nba/video/7646491231404559646",
"title": "SOUND UP 🔊 Larry is back on the court and the stage is set for Game 1 of the NBA Finals! 🏆 #NBA #Basketball #NBAFinals #Spurs #Knicks ",
"text": "SOUND UP 🔊 Larry is back on the court and the stage is set for Game 1 of the NBA Finals! 🏆 #NBA #Basketball #NBAFinals #Spurs #Knicks ",
"authorId": "134941634731003904",
"authorHandle": "nba",
"authorName": "NBA",
"thumbnailUrl": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/o4IE7FqrcCAUEoDZQfVrAVAAEelPoH9bQAtARr~tplv-tiktokx-dmt-logom:tos-useast8-i-0068-tx2/ooodAdtEcaExHA1qAeAIRyZFyfArWoEVEDyCAU.image?dr=14573&x-expires=1792717200&x-signature=3KiV2meBsjCBTwZtRsqN82mzfxY%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=my",
"mediaUrls": [
"https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/okOdIudC1IqDCii0yADi18TiEwBQgoAZ5Afm2H/?a=1988&bti=ODszNWYuMDE6&&bt=1138&ft=-Csk_mDUPD12N0gaBn-UxNwvGY6e3wv25McAp&mime_type=video_mp4&rc=aTk4NjVmaGkzNDloaTM4O0Bpamg0NG45cnZ2OzMzaTczNEA1MDBjNTE1NjAxNjUtMmJgYSNiZnJkMmRzZ2JhLS1kMTJzcw%3D%3D&expire=1792720824&l=202610210959593905FF3BDF1034564E97&ply_type=2&policy=2&signature=abbb7cfdb0e6e187a846e5a971030427&tk=tt_chain_token&btag=e000b8000"
],
"durationSeconds": 25,
"viewCount": 8900000,
"likeCount": 803500,
"commentCount": 2995,
"shareCount": 43000,
"hashtags": [
"nba",
"basketball"
],
"mentions": [],
"isSponsored": true,
"publishedAt": "2026-06-01T18:11:40.000Z",
"fetchedAt": "2026-10-21T02:00:00.400Z"
},
{
"platform": "tiktok",
"id": "7646481536153292062",
"type": "carousel",
"url": "https://www.tiktok.com/@nba/photo/7646481536153292062",
"title": "THE STAGE IS SET 🏆",
"text": "#NBA #NBAFinals #Spurs #Knicks @ESPN @The Larry O’Brien Trophy @San Antonio Spurs ",
"authorId": "134941634731003904",
"authorHandle": "nba",
"authorName": "NBA",
"thumbnailUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/117576d9e1b8444ea0ddac2b1658a28c~tplv-photomode-image.jpeg?dr=14555&x-expires=1792717200&x-signature=M2tYO19XgjOZYPN%2B6klnCCsuzYg%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=my&ftpl=1",
"mediaUrls": [
"https://p16-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/117576d9e1b8444ea0ddac2b1658a28c~tplv-photomode-image.jpeg?dr=14555&x-expires=1792717200&x-signature=M2tYO19XgjOZYPN%2B6klnCCsuzYg%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=my&ftpl=1",
"https://p16-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/7b2511bfb1f24572a321f4390aa7a9a9~tplv-photomode-image.jpeg?dr=14555&x-expires=1792717200&x-signature=OyNl%2Bz7D%2BEZoIUJa4JwyVJxoWyc%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=9b759fb9&idc=my&ftpl=1"
],
"durationSeconds": null,
"viewCount": 163800,
"likeCount": 16800,
"commentCount": 85,
"shareCount": 314,
"hashtags": [
"nba",
"nbafinals"
],
"mentions": [
"espn",
"nbafinalstrophy"
],
"isSponsored": false,
"publishedAt": "2026-06-01T17:33:55.000Z",
"fetchedAt": "2026-10-21T02:00:00.401Z"
}
]
},
"pagination": {
"cursor": "20",
"hasMore": true,
"count": 20
},
"meta": {
"platform": "tiktok",
"endpoint": "tiktok.playlistVideos",
"creditsCharged": 1,
"cached": false,
"cacheAgeSeconds": null,
"durationMs": 2122,
"requestId": "req_x6kqpd71h71twu1n7chy"
}
}Returns
Returns a list of Post in data.items.
Cost and behaviour
| Credits | 1 per live request, 0 on a cache hit |
| Cacheable | yes: cache_max_age accepts a cached copy |
| Batchable | yes: usable as a target in POST /v1/jobs/batch |
| Subscribable | yes: as often as every 3600 seconds, firing a webhook only on a change |
Other TikTok endpoints
- /v1/tiktok/ad-library/ad One TikTok ad
- /v1/tiktok/ad-library/search Search the TikTok Ads Library
- /v1/tiktok/collection/videos Collection videos
- /v1/tiktok/comment-replies Replies to a comment
- /v1/tiktok/comments Comments on a video
- /v1/tiktok/creators/popular Popular creators
- /v1/tiktok/followers Accounts following a creator
- /v1/tiktok/following Accounts a creator follows