TikTok collection videos API
Videos saved in a public TikTok collection (also called a playlist).
- Cost
- 1 credit
- Cached repeats
- 0 creditssend max_age_days, results kept 30 days
- Failed requests
- 0 credits
- Status
- Betashape may still gain fields
You send url.
Request
Send your key in the x-api-key header.
curl -G "https://api.socialscrape.io/v1/tiktok/collection/videos" \
-H "x-api-key: $SOCIALSCRAPE_API_KEY" \
--data-urlencode 'url=https://www.tiktok.com/@kibblemaster808/collection/Want-to-go-7665668414573546258'import os
import requests
params = {
"url": "https://www.tiktok.com/@kibblemaster808/collection/Want-to-go-7665668414573546258",
}
res = requests.get(
"https://api.socialscrape.io/v1/tiktok/collection/videos",
headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
params=params,
timeout=60,
)
body = res.json()
if body["ok"]:
print(body["data"])
else:
print(body["error"]["code"], body["error"]["message"])const url = new URL("https://api.socialscrape.io/v1/tiktok/collection/videos");
url.search = new URLSearchParams({
url: "https://www.tiktok.com/@kibblemaster808/collection/Want-to-go-7665668414573546258",
}).toString();
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();
if (body.ok) {
console.log(body.data);
} else {
console.error(body.error.code, body.error.message);
}{
"nodes": [
{
"name": "SocialScrape TikTok collection videos",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
0,
0
],
"parameters": {
"method": "GET",
"url": "https://api.socialscrape.io/v1/tiktok/collection/videos",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "url",
"value": "https://www.tiktok.com/@kibblemaster808/collection/Want-to-go-7665668414573546258"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
}
]
}
}
}
],
"connections": {}
}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | url | yes | Public collection URL (tiktok.com/@user/collection/<name>-<id>). |
cursor | string | Opaque cursor from the previous page; pass it back unchanged. Also accepted as continuationToken, continuation_token, next_max_id, max_id, max_cursor, min_time, after, page_token, pageToken, paginationToken, next_page_id, page. |
Every request also accepts trim, raw and max_age_days.
Response
Sample from a recorded response, shortened. Values are public data, not yours.
{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_f3a5b83da55f1f53cee63f8d",
"data": {
"object": "list",
"items": [
{
"object": "post",
"platform": "tiktok",
"id": "7663018809392909588",
"url": "https://www.tiktok.com/@miotravelapp/video/7663018809392909588",
"type": "video",
"author": {
"id": "7506421330087576593",
"handle": "miotravelapp",
"name": "miotravelapp",
"url": "https://www.tiktok.com/@miotravelapp",
"avatar_url": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/eb230f3412263540ac627b98d71aa671~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=1edef...",
"verified": false
},
"title": null,
"text": "How often do you reckon they think about the Roman Empire? 🐈⬛ One of the most unusual ancient sites in Rome, and it's free to see from the street, a short ...",
"published_at": "2026-07-16T07:06:47Z",
"duration_seconds": 68,
"language": "en",
"hashtags": [
"romanempire",
"catsofrome",
"rometravel"
],
"mentions": null,
"stats": {
"views": 1000000,
"likes": 134200,
"comments": 429,
"shares": 19100,
"saves": 22248,
"dislikes": null
},
"media": {
"thumbnail_url": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/oUYM7iBIKB1BL5CGgwAtAiwJEfLCFXAiX9IAEA~tplv-tiktokx-origin.image?dr=9636&x-expires=1793498400&x-sig...",
"video_url": "https://v16-webapp-prime.us.tiktok.com/video/tos/alisg/tos-alisg-ve-37c815-sg/osQzVUAcgIumofVDQDUIiGXCsRfdomveAAyLlj/?a=1988&bti=ODszNWYuMDE6&&bt=652&eid=204...",
"audio_url": null,
"image_urls": null,
"width": 576,
"height": 1024
},
"song": {
"id": "7419587624324713233",
"title": "original sound",
"artist": "Antzisocial",
"url": "https://www.tiktok.com/music/original-sound-7419587624324713233"
},
"location": null,
"is_pinned": null,
"is_sponsored": false,
"extra": {
"ai_label_shown": true,
"author_followers": 39300,
"caption_languages": [
"eng-US"
],
"category_type": 116,
"comments_disabled": false,
"duet_enabled": true
}
},
{
"object": "post",
"platform": "tiktok",
"id": "7664493425168747796",
"url": "https://www.tiktok.com/@miotravelapp/video/7664493425168747796",
"type": "video",
"author": {
"id": "7506421330087576593",
"handle": "miotravelapp",
"name": "miotravelapp",
"url": "https://www.tiktok.com/@miotravelapp",
"avatar_url": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/eb230f3412263540ac627b98d71aa671~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=1edef...",
"verified": false
},
"title": null,
"text": "You can literally be Juliet from Romeo & Juliet 😭 💌 One of the most romantic things you can do in Italy, and almost no one visiting Verona knows it's a thi...",
"published_at": "2026-07-20T06:29:10Z",
"duration_seconds": 73,
"language": "en",
"hashtags": [
"julietclub",
"verona",
"italytravel"
],
"mentions": null,
"stats": {
"views": 27800,
"likes": 3152,
"comments": 10,
"shares": 351,
"saves": 1274,
"dislikes": null
},
"media": {
"thumbnail_url": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/okAADIGUoQpAAjTQBe78EWguCMWjS4IeBeQQFA~tplv-tiktokx-origin.image?dr=9636&x-expires=1793498400&x-sig...",
"video_url": "https://v16-webapp-prime.us.tiktok.com/video/tos/alisg/tos-alisg-ve-37c815-sg/o0AQdLON0uvFGwhFje9C3bIpAoIlD1EEgU7eIf/?a=1988&bti=ODszNWYuMDE6&&bt=567&eid=204...",
"audio_url": null,
"image_urls": null,
"width": 576,
"height": 1024
},
"song": {
"id": "7419587624324713233",
"title": "original sound",
"artist": "Antzisocial",
"url": "https://www.tiktok.com/music/original-sound-7419587624324713233"
},
"location": null,
"is_pinned": null,
"is_sponsored": false,
"extra": {
"ai_label_shown": true,
"author_followers": 39300,
"caption_languages": [
"eng-US"
],
"category_type": 120,
"comments_disabled": false,
"duet_enabled": true
}
}
],
"cursor": null,
"has_more": false,
"parent": null
},
"cursor": null,
"has_more": false
}Fields
A page of results. Each entry in items is a Post. cursor and has_more page through the rest.
A field the platform does not give is null, never made up. Extra platform details are in extra.
| Field | Type | Always | Notes |
|---|---|---|---|
object | "post" | ||
platform | Platform | yes | |
id | string | yes | |
url | string or null | ||
type | "video" or "short" or "reel" or "image" or "carousel" or "story" or "live" or "clip" or "text" or "link" or "tweet" or "pin" or "community_post" or "episode" or "unknown" | ||
author | Author or null | ||
title | string or null | ||
text | string or null | ||
published_at | string (ISO 8601 date-time) or null | ||
duration_seconds | number or null | ||
language | string or null | ||
hashtags | string[] or null | ||
mentions | string[] or null | ||
stats | Stats |
Show the other 6 fields
Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.
Questions
Which errors can it return?
invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.
How do I get more than one page?
Send the same request with cursor set to the cursor you received, until has_more is false. Each page costs its own price. See pagination.
Is there an SDK call for it?
The preview Python client has client.tiktok.collection_videos(...) and the TypeScript client client.tiktok.collectionVideos(). Both return the same envelope as the HTTP API. The packages are not published yet; plain HTTP works today in any language.
Can an AI agent call it?
Yes. The MCP server reaches every built endpoint, with the same prices.