Skip to content

Structured TikTok data: send urls. Cursor-paginated, 1 credit per successful call.

GET · POST1 credit / successful callCursor-paginated
GEThttps://api.scrapier.io/api/v2/tiktok-collection-videos/Open in Playground

Call GET /api/v2/tiktok-collection-videos/ with urls. The results are in data.videos; send data.next_cursor back as cursor to get the next page. 2 optional parameters refine the call (see Parameters).

Terminal window
curl -G "https://api.scrapier.io/api/v2/tiktok-collection-videos/" \
-H "X-API-Key: YOUR_API_KEY" \
--data-urlencode "urls=https://www.tiktok.com/@tiktok/collection/Summer-of-Sports-7394627756635573022" \
--max-time 210
NameTypeRequiredDefaultDescription
X-API-Key headerstringyes—Your API key from the dashboard.
urlsstringyese.g. https://www.tiktok.com/@tiktok/collection/Summer-of-Sports-7394627756635573022TikTok collection URL (https://www.tiktok.com/@user/collection/Name-<id>), bare collection id, or a vm.tiktok.com share link. One native page (up to 30 videos, under videos) per call, paged through TikTok's own offset. Required first call; ignored when cursor is supplied.
cursorstringno—Pagination cursor returned in the previous response's next_cursor. Pass it back unchanged to fetch the next page. When next_cursor is null, you have reached the last page.
include_collection_infobooleannotrueFetch owner profile + collection name / total / cover on page 1 (carried to later pages in the cursor).
locked in cursor
Advanced
NameTypeDefaultDescription
use_proxybooleantrueRoute the request through Scrapier's residential proxy pool. Default: true. Leave as is unless support tells you otherwise.
raw_databooleanfalseWhen true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under raw_responses, in place of the formatted items. When false (default) you get the formatted output. Pagination (cursor / next_cursor) works the same in both modes.
{
"success": true,
"data": {
"urls": "https://www.tiktok.com/@tiktok/collection/Summer-of-Sports-7394627756635573022",
"collection_id": "7394627756635573022",
"collection": {
"id": "7394627756635573022",
"name": "Summer of Sports",
"slug": "Summer-of-Sports",
"url": "https://www.tiktok.com/@tiktok/collection/Summer-of-Sports-7394627756635573022",
"total_videos": 139,
"cover_url": "https://p16-common-sign.tiktokcdn.com/tos-useast2a-p-0037-euttp/d71c5a45982a4fde9ef046df412d308b_1...(signed)",
"cover_urls": [
"https://p16-common-sign.tiktokcdn.com/tos-useast2a-p-0037-euttp/d71c5a45982a4fde9ef046df412d308b_1...(signed)"
],
"status": 3,
"source": "collection_list",
"owner": {
"username": "tiktok",
"display_name": "TikTok",
"id": "107955",
"sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"profile_url": "https://www.tiktok.com/@tiktok",
"avatar_url": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-ti...(signed)",
"bio": "Your next discovery is waiting on TikTok.",
"verified": true,
"private_account": false,
"follower_count": 95800000,
"following_count": 1,
"heart_count": 464100000,
"video_count": 1506,
"profile_status_code": 0,
"profile_status": "ok"
},
"warnings": []
},
"page": 1,
"page_size": 29,
"offset": 0,
"next_offset": 30,
"has_more": true,
"dropped": 1,
"videos": [
{
"input_url": "https://www.tiktok.com/@tiktok/collection/Summer-of-Sports-7394627756635573022",
"collection_id": "7394627756635573022",
"collection_url": "https://www.tiktok.com/@tiktok/collection/Summer-of-Sports-7394627756635573022",
"collection": {
"id": "7394627756635573022",
"name": "Summer of Sports",
"slug": "Summer-of-Sports",
"url": "https://www.tiktok.com/@tiktok/collection/Summer-of-Sports-7394627756635573022",
"total_videos": 139,
"cover_url": "https://p16-common-sign.tiktokcdn.com/tos-useast2a-p-0037-euttp/d71c5a45982a4fde9ef046df412d308b_1...(signed)",
"cover_urls": [
"https://p16-common-sign.tiktokcdn.com/tos-useast2a-p-0037-euttp/d71c5a45982a4fde9ef046df412d308b_1...(signed)"
],
"status": 3,
"source": "collection_list",
"owner": {
"username": "tiktok",
"display_name": "TikTok",
"id": "107955",
"sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"profile_url": "https://www.tiktok.com/@tiktok",
"avatar_url": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-ti...(signed)",
"bio": "Your next discovery is waiting on TikTok.",
"verified": true,
"private_account": false,
"follower_count": 95800000,
"following_count": 1,
"heart_count": 464100000,
"video_count": 1506,
"profile_status_code": 0,
"profile_status": "ok"
},
"warnings": []
},
"position": 2,
"video_id": "7399613114368396574",
"url": "https://www.tiktok.com/@nikita.ducarroz/video/7399613114368396574",
"caption": "Until next time! 🫶🏻 #olympics #paris2024 #olympicgames #bmx #OlympicVillage ",
"hashtags": [
"olympics",
"paris2024",
"olympicgames"
],
"mentions": [],
"create_time": 1722856728,
"created_at": "2024-08-05T11:18:48.000Z",
"duration_seconds": 10,
"stats": {
"play_count": 150400,
"like_count": 15700,
"comment_count": 147,
"share_count": 89,
"save_count": 532,
"repost_count": 0
},
"author": {
"username": "nikita.ducarroz",
"display_name": "Nikita Ducarroz",
"avatar_url": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/034acdd1b4d32f87ed37bf9b8ea48185~tplv-ti...(signed)",
"verified": false,
"id": "6765667025392108550",
"sec_uid": "MS4wLjABAAAAV8vrjebD8zqVNPqUJg4slIdqErA77t-Hi-CTHphLQVHp7MhvcHvASPOJ-JZ03Bd3",
"profile_url": "https://www.tiktok.com/@nikita.ducarroz",
"bio": "✨ BMX | 2X OLYMPIAN | 🥉 MEDALIST\nRED BULL ATHLETE",
"private_account": false,
"follower_count": 17300,
"following_count": 73,
"heart_count": 2000000,
"video_count": 142,
"digg_count": 1199,
"friend_count": 0,
"comment_setting": 0,
"duet_setting": 0,
"stitch_setting": 0,
"download_setting": 0,
"is_ad_virtual": false,
"is_embed_banned": false
},
"music": {
"id": "6714159100260813573",
"title": "sad SpongeBob music",
"author_name": "michael",
"album": null,
"duration_seconds": 19,
"original": true,
"copyrighted": true,
"commerce_music": true,
"play_url": "https://v58.tiktokcdn.com/video/tos/useast2a/tos-useast2a-v-27dcd7/dfd5490caffb4978adf...(signed)",
"cover_url": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/d0f7aa6aac3dc16795713c98be2f51f0~tplv-ti...(signed)",
"url": "https://www.tiktok.com/music/sad-SpongeBob-music-6714159100260813573"
},
"play_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oYCtpyIAqTAiZiFt2rIU3...(signed)",
"play_urls": [
"https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oYCtpyIAqTAiZiFt2rIU3...(signed)"
],
"download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oIyPggVDmBtvoQqFEEvLj...(signed)",
"cover_url": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/54ce5365fc8e49c19d91dd07815cd894_1722...(signed)",
"origin_cover_url": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/c172def72489494eac790dd7b2e93e7f_1722...(signed)",
"dynamic_cover_url": "https://p19-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/cb480402ab8549a7b933d351be2b3009_1722...(signed)",
"thumbnail_url": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/54ce5365fc8e49c19d91dd07815cd894_1722...(signed)",
"zoom_covers": {
"240": "https://p19-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/54ce5365fc8e49c19d91dd07815cd894_1722...(signed)",
"480": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/54ce5365fc8e49c19d91dd07815cd894_1722...(signed)",
"720": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/54ce5365fc8e49c19d91dd07815cd894_1722...(signed)",
"960": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/54ce5365fc8e49c19d91dd07815cd894_1722...(signed)"
},
"video": {
"width": 576,
"height": 1024,
"ratio": "540p",
"definition": "540p",
"video_quality": "normal",
"codec": "h264",
"format": "mp4",
"bitrate": 1643649,
"size_bytes": 2143730,
"vq_score": "62.63",
"is_hd": false,
"bitrate_variants": [
{
"gear": "normal_540_0",
"quality_type": 20,
"codec": "h264",
"format": "mp4",
"bitrate": 1643649,
"fps": 30,
"width": 576,
"height": 1024,
"size_bytes": 2143730,
"url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oYCtpyIAqTAiZiFt2rIU3...(signed)"
}
],
"subtitles": []
},
"text_language": "en",
"caption_lines": [
"Until next time! 🫶🏻",
"#olympics #paris2024 #olympicgames #bmx #OlympicVillage "
],
"ai_generated": null,
"aigc_description": null,
"stickers": [
"Unfortunately I have\nleft the Olympic Villa. "
],
"effects": [
"Green Screen",
"Green Screen Video"
],
"location": {
"id": "23661696391172616",
"name": "Paris 2024 Paralympic Village",
"address": "7 Rue Nicolau, 93400 Saint-Ouen-sur-Seine, France",
"city": "Seine Saint Denis",
"province": "",
"country": "",
"country_code": "3017382",
"category": "Residential",
"type": "Residential"
},
"anchors": [],
"warnings": [],
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": null,
"deleted": false,
"is_ad": false,
"is_prohibited": false,
"is_reviewing": false,
"private_item": false,
"secret": false,
"official_item": false,
"original_item": false,
"for_friend": false,
"share_enabled": true,
"duet_enabled": true,
"stitch_enabled": true,
"can_repost": true,
"can_comment": null,
"can_share": null,
"comment_status": 0,
"show_aigc": true,
"video_status": 10
},
"category_type": 112,
"playlist_id": "7399001233681550126",
"computed": {
"engagement_rate": 0.105957,
"language": "en",
"content_category": "sports",
"estimated_reach": 180480,
"engagement_rate_with_saves": 0.109495,
"total_interactions": 16468,
"like_rate": 0.104388,
"comment_rate": 0.000977,
"share_rate": 0.000592,
"save_rate": 0.003537,
"age_days": 774.95,
"views_per_day": 194.08,
"hashtag_count": 5,
"caption_length": 76
},
"scraped_at": "2026-09-19T10:03:23.186Z"
}
],
"next_cursor": "eyJjIjoiNzM5NDYyNzc1NjYzNTU3MzAyMiIsImNpIjp7ImNv..."
}
}

Sample from the live catalog; arrays trimmed to 3 items. Results are in data.videos.

FieldTypeExampleDescription
urlsstringhttps://www.tiktok.com/@tiktok/collection/Sum…—
collection_idstring7394627756635573022—
collectionobject{…}—
pageinteger1—
page_sizeinteger29—
offsetinteger0—
next_offsetinteger30—
has_morebooleantrue—
droppedinteger1—
videosarray[1 item]The results.
next_cursorstringeyJjIjoiNzM5NDYyNzc1NjYzNTU3MzAyMiIsImNpIjp7I…Pass back as cursor for the next page. null on the last page.
videos[].input_urlstringhttps://www.tiktok.com/@tiktok/collection/Sum…—
videos[].collection_idstring7394627756635573022—
videos[].collection_urlstringhttps://www.tiktok.com/@tiktok/collection/Sum…—
videos[].collectionobject{…}—
videos[].positioninteger2—
videos[].video_idstring7399613114368396574—
videos[].urlstringhttps://www.tiktok.com/@nikita.ducarroz/video…—
videos[].captionstringUntil next time! 🫶🏻 #olympics #paris2024 #o…—
videos[].hashtagsarray[5 items]—
videos[].mentionsarray[]—
videos[].create_timeinteger1722856728—
videos[].created_atstring2024-08-05T11:18:48.000Z—
videos[].duration_secondsinteger10—
videos[].statsobject{…}—
videos[].authorobject{…}—
videos[].musicobject{…}—
videos[].play_urlstringhttps://v16-webapp-prime.tiktok.com/video/tos…—
videos[].play_urlsarray[1 item]—
videos[].download_urlstringhttps://v16-webapp-prime.tiktok.com/video/tos…—
videos[].cover_urlstringhttps://p16-common-sign.tiktokcdn.com/tos-use…—
videos[].origin_cover_urlstringhttps://p16-common-sign.tiktokcdn.com/tos-use…—
videos[].dynamic_cover_urlstringhttps://p19-common-sign.tiktokcdn.com/tos-use…—
videos[].thumbnail_urlstringhttps://p16-common-sign.tiktokcdn.com/tos-use…—
videos[].zoom_coversobject{…}—
videos[].videoobject{…}—
videos[].text_languagestringen—
videos[].caption_linesarray[2 items]—
videos[].ai_generatednullnull—
videos[].aigc_descriptionnullnull—
videos[].stickersarray[1 item]—
videos[].effectsarray[2 items]—
videos[].locationobject{…}—
videos[].anchorsarray[]—
videos[].warningsarray[]—
videos[].flagsobject{…}—
videos[].category_typeinteger112—
videos[].playlist_idstring7399001233681550126—
videos[].computedobject{…}—
videos[].scraped_atstring2026-09-19T10:03:23.186Z—

Pass data.next_cursor back as cursor until it is null. Required inputs are ignored once a cursor is sent. Each page is one billed call. More in Pagination.

const url = "https://api.scrapier.io/api/v2/tiktok-collection-videos/";
let params = { urls: "https://www.tiktok.com/@tiktok/collection/Summer-of-Sports-7394627756635573022" };
const items = [];
for (let page = 0; page < 10; page++) { // each page is one billed call
const res = await fetch(`${url}?${new URLSearchParams(params)}`, {
headers: { "X-API-Key": "YOUR_API_KEY" },
signal: AbortSignal.timeout(210_000),
});
const body = await res.json();
if (!res.ok) throw new Error(body.error ?? body.detail ?? `HTTP ${res.status}`);
const data = body.data;
items.push(...(data.videos ?? []));
if (!data.next_cursor) break; // null = last page
params = { cursor: data.next_cursor };
}

Failed calls are free. Branch on the HTTP status and read the message from error (or detail). Full details in Errors.

StatusMeaningRetry?Charged?
400Bad or missing input.No — fix the paramsNo
401 / 403Missing, invalid or revoked API key.No — fix the keyNo
402Out of credits (body has balance).No — top upNo
404Unknown endpoint slug.No — check the slugNo
429 / 503Busy or throttled.Yes — after Retry-AfterNo
5xxTarget site or upstream failure, or timeout.Yes — with backoffNo
  • Locked into the cursor: include_collection_info. Set them on the first call; later pages reuse them.
  • TikTok Ad Library Leads — Structured TikTok data: every input is optional. Single lookup, 3 credits per successful call.
  • TikTok Ad Library — Structured TikTok data: send urls. Cursor-paginated, 1 credit per successful call.
  • TikTok Ads Top — Structured TikTok data: every input is optional. Cursor-paginated, 1 credit per successful call.
  • TikTok Comment Replies — Structured TikTok data: send urls. Cursor-paginated, 1 credit per successful call.