Docs menu

TikTok collection videos

Beta GET /v1/tiktok/collection/videos

GET /v1/tiktok/collection/videos

Videos saved in a public TikTok collection (also called a playlist).

  • Cost: 1 credit
  • Status: Beta. Built and tested against recorded responses; the shape may still gain fields.
  • Cache: Results are kept up to 30 days; send max_age_days to reuse them for free.
  • Timeout: A request still running after about 25 seconds answers 202 with a job to poll (Batch and jobs).

Parameters#

NameTypeRequiredDescription
urlURLyesPublic collection URL (tiktok.com/@user/collection/<name>-<id>). Accepted hosts: tiktok.com.

Every request also accepts:

  • cursor: the cursor from the previous page (Pagination).
  • trim: true for a smaller response without null fields and extra.
  • raw: true to also get the platform's original object as raw.
  • max_age_days: accept a cached result up to this many days old, for 0 credits (Caching).

Example request#

Set your key in the environment first (see Authentication).

curl
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"
Python
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,
)
body = res.json()

if body["ok"]:
    print(body["data"])
else:
    print(body["error"]["code"], body["error"]["message"])
TypeScript
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);
}
n8n
{
  "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": {}
}

Example response#

This is a sample from a recorded response, lists and long text are shortened. Status 200.

{
  "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=1edef707&x-expires=1793498400&x-signature=Cedulc%2BqXRVQsRCsrjmPnhp3BWc%3D&t=4d5b0474&ps...",
          "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 walk from the Pantheon. 📍 Largo di Torre Argentina, Rome, Italy This sunken square h...",
        "published_at": "2026-07-16T07:06:47Z",
        "duration_seconds": 68.0,
        "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-signature=J4fu3o2PdeO6zDLZ4%2B3uGtahIJ4%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43...",
          "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=20480&ft=4KJMyMzm8Zmo0KSSla4jVYfjQpWrKsd.&mime_type=video_mp4&rc=O2g6Mzg6PGk4OWc1ZDQ5M...",
          "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,
          "is_private": false,
          "music_is_original": true,
          "reposts": 0,
          "stitch_enabled": true,
          "video_definition": "540p"
        }
      },
      {
        "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=1edef707&x-expires=1793498400&x-signature=Cedulc%2BqXRVQsRCsrjmPnhp3BWc%3D&t=4d5b0474&ps...",
          "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 thing you can do. 📍 Juliet Club (Club di Giulietta), Verona, Italy Thousands of letters...",
        "published_at": "2026-07-20T06:29:10Z",
        "duration_seconds": 73.0,
        "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-signature=m%2FT1rNmvWRcHXg46bm1qHNm5K2U%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43...",
          "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=20480&ft=4KJMyMzm8Zmo0KSSla4jVYfjQpWrKsd.&mime_type=video_mp4&rc=OGczNGkzaTNlaTc2aTwza...",
          "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,
          "is_private": false,
          "music_is_original": true,
          "reposts": 0,
          "stitch_enabled": true,
          "video_definition": "540p"
        }
      }
    ],
    "cursor": null,
    "has_more": false,
    "parent": null
  },
  "cursor": null,
  "has_more": false
}

Response#

A list of Post objects in data.items, with data.cursor and data.has_more.

See Data models for every field. The envelope around data is described in Responses.

Errors#

Failures are free: credits_charged is 0. Branch on error.code, never on the message.

CodeHTTPRetryMeaning
invalid_params400noA parameter is missing, unknown or has the wrong type.
unsupported_url400noThe URL is not one this endpoint accepts (wrong platform or form).
not_found404noThe platform says this profile, post or item does not exist.

Every request can also fail with the account and platform errors listed on the Errors page.