TikTok Collection Videos Scraper API
List the videos in a public collection or playlist.
- 1 credit per call
- Failed calls are free
- Updated
- tiktok.collection.videos
{ "has_more": false, "result_count": 5, "items": [ { "createTime": 1784185607, "desc": "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 sβ¦", "id": "7663018809392909588", "author": { "nickname": "miotravelapp", "uniqueId": "miotravelapp" }, "stats": { "collectCount": 22200, "commentCount": 430, "diggCount": 133800, "playCount": 1000000, "shareCount": 19000 }, "video": { "duration": 68 } }, { "createTime": 1784528950, "desc": "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 β¦", "id": "7664493425168747796", "author": { "nickname": "miotravelapp", "uniqueId": "miotravelapp" }, "stats": { "collectCount": 1275, "commentCount": 10, "diggCount": 3148, "playCount": 27600, "shareCount": 347 }, "video": { "duration": 73 } } ]}
| # | Caption | Plays | Likes | Comments | Posted (Unix time) | Id |
|---|---|---|---|---|---|---|
| 1 | How often do you reckon they think about the Roman Empire? πββ¬ Onβ¦ | 1,000,000 | 133,800 | 430 | 1,784,185,607 | 7663018809392909588 |
| 2 | You can literally be Juliet from Romeo & Juliet π π One of the β¦ | 27,600 | 3148 | 10 | 1,784,528,950 | 7664493425168747796 |
| 3 | The cows of the alps throw a flower parade every september ππΈ Oβ¦ | 149,400 | 18,400 | 109 | 1,784,620,251 | 7664885578785131797 |
| 4 | A whole town of bookshops, ruled by a king who made his horse p⦠| 174,300 | 27,900 | 154 | 1,784,710,479 | 7665273106633624853 |
| 5 | This mountain was so cut off from the world that people thought⦠| 1,300,000 | 168,400 | 498 | 1,782,626,257 | 7656321429029555477 |
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| collection_id | string | one of | Collection identifier. | 7665668414573546258 |
| url | string | one of | Public URL of the page to fetch. | |
| count | integer | no | TikTok can return more or fewer records. From 1 to 35. | 10 |
| cursor | integer | no | Continuation cursor returned by a previous request. At least 0. |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | Example |
|---|---|---|
| items[].desc | string | How often do you reckon they think about the Roman Empire? πββ¬ Onβ¦ |
| items[].stats.playCount | integer | 1,000,000 |
| items[].stats.diggCount | integer | 133,800 |
| items[].stats.commentCount | integer | 430 |
| items[].createTime | integer | 1,784,185,607 |
| items[].author | object | 2 fields |
| items[].author.nickname | string | miotravelapp |
| items[].author.uniqueId | string | miotravelapp |
| items[].id | string | 7663018809392909588 |
| items[].stats | object | 5 fields |
| items[].stats.collectCount | integer | 22,200 |
| items[].stats.shareCount | integer | 19,000 |
| items[].video | object | 1 fields |
| items[].video.duration | integer | 68 |
| has_more | boolean | false |
| items | array | 5 records |
| result_count | integer | 5 |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "tiktok.collection.videos", "input": { "collection_id": "7665668414573546258", "count": 10 }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "tiktok.collection.videos", "input": { "collection_id": "7665668414573546258", "count": 10 }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "tiktok.collection.videos", "input": { "collection_id": "7665668414573546258", "count": 10 }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
With Upscrape, get the TikTok collection videos for collection id "7665668414573546258". Tell me what it costs before you run it, then show the results as a table.
More from the TikTok API
- TikTok User Profile Detail Scraper API1 credit
- TikTok User Videos Scraper API1 credit
- TikTok Video Detail Scraper API1 credit
- TikTok Video Comments Scraper API1 credit
- TikTok Comment Replies Scraper API1 credit
- TikTok Hashtag Videos Scraper API5 credits
- TikTok Video Transcript Scraper API1 credit
- TikTok Shop Product Detail Scraper API1 credit
- TikTok Shop Product Search Scraper API1 credit
- TikTok Shop Store Products Scraper API1 credit
- TikTok Shop Product Reviews Scraper API1 credit
- TikTok Song Detail Scraper API1 credit
- TikTok Song Videos Scraper API1 credit
- TikTok Trending Feed Scraper API1 credit
- TikTok User Live Status Scraper API1 credit
- TikTok Live Room Detail Scraper API1 credit
- TikTok User Followers Scraper API1 credit
- TikTok User Following Scraper API1 credit
The same data from other platforms
TikTok Collection Videos Scraper API FAQ
The short answers. The docs have the long ones.
How much does the TikTok Collection Videos Scraper API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send url or collection_id. The input fields below list every option with its type and limits.
Do I need a TikTok login?
No. It reads public TikTok data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds tiktok.collection.videos, checks its price and runs it with the same credits as the REST API.
Your first TikTok call is free.
Up to 100 free credits to start, no card needed.