TikTok User Videos Scraper API
List a creator's public videos, latest or most popular first, with caption, plays, likes, comments, shares and post time.
- 1 credit per call
- Failed calls are free
- Updated
- tiktok.user.videos
{ "has_more": true, "result_count": 2, "items": [ { "createTime": 1795205417, "desc": "one TikTok DM sent @Chef Moe to the grocery store with $5 and gave his cooking a whole new purpose. 🍽️❤️", "id": "7710348513128828191", "author": { "id": "107955", "nickname": "TikTok", "uniqueId": "tiktok", "verified": true }, "music": { "title": "original sound", "authorName": "TikTok", "duration": 95, "id": "7710348557388368670", "original": true }, "stats": { "collectCount": 928, "commentCount": 3720, "diggCount": 11000, "playCount": 881000, "shareCount": 1006 }, "statsV2": { "collectCount": "928", "commentCount": "3720", "diggCount": "11000", "playCount": "881000", "shareCount": "1006" }, "video": { "duration": 95, "height": 1280, "ratio": "720p", "width": 720 } }, { "createTime": 1794753620, "desc": "You know their game 🎾 But are the @WTA singles stars ready for your TikTok comments? We let them unlock what you had to say 🔓 See how they …", "id": "7708408003065580831", "author": { "id": "107955", "nickname": "TikTok", "uniqueId": "tiktok", "verified": true }, "music": { "title": "original sound", "authorName": "TikTok", "duration": 79, "id": "7708408053574011678", "original": true }, "stats": { "collectCount": 1406, "commentCount": 3664, "diggCount": 12500, "playCount": 805700, "shareCount": 1385 }, "statsV2": { "collectCount": "1406", "commentCount": "3664", "diggCount": "12500", "playCount": "805700", "shareCount": "1385" }, "video": { "duration": 79, "height": 1280, "ratio": "720p", "width": 720 }, "challenges": [ { "title": "fagewtafinals", "id": "7701734100247412750" }, { "title": "theultimatestage", "id": "7567845262828404758" } ] } ]}
| # | Create time | Desc | Id |
|---|---|---|---|
| 1 | 1,795,205,417 | one TikTok DM sent @Chef Moe to the grocery store with $5 and g… | 7710348513128828191 |
| 2 | 1,794,753,620 | You know their game 🎾 But are the @WTA singles stars ready for … | 7708408003065580831 |
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| handle | string | one of | The creator's handle. | tiktok |
| sec_uid | string | one of | The creator's secure ID from a profile response, as an alternative to the handle. | |
| count | integer | no | About how many videos to return. TikTok can send a few more or fewer. | 5 |
| cursor | integer | no | Pass cursor from the last response to get the next page. | |
| sort_by | string | no | Latest videos first, or the most popular. | latest · popular |
| target_user_id | string | no | The creator's numeric user ID, when you have it. |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | What it is | Example |
|---|---|---|---|
| items[].music.title | string | original sound | |
| items[].author | object | 4 fields | |
| items[].author.id | string | TikTok's ID for the video. | 107955 |
| items[].author.nickname | string | TikTok | |
| items[].author.uniqueId | string | tiktok | |
| items[].author.verified | boolean | true | |
| items[].createTime | integer | When the video was posted, as a Unix time in seconds. | 1,795,205,417 |
| items[].desc | string | The video's caption. | one TikTok DM sent @Chef Moe to the grocery store with $5 and g… |
| items[].id | string | TikTok's ID for the video. | 7710348513128828191 |
| items[].music | object | 5 fields | |
| items[].music.authorName | string | TikTok | |
| items[].music.duration | integer | 95 | |
| items[].music.id | string | TikTok's ID for the video. | 7710348557388368670 |
| items[].music.original | boolean | true | |
| items[].stats | object | 5 fields | |
| items[].stats.collectCount | integer | 928 | |
| items[].stats.commentCount | integer | 3720 | |
| items[].stats.diggCount | integer | 11,000 | |
| items[].stats.playCount | integer | 881,000 | |
| items[].stats.shareCount | integer | 1006 | |
| items[].statsV2 | object | 5 fields | |
| items[].statsV2.collectCount | string | 928 | |
| items[].statsV2.commentCount | string | 3720 | |
| items[].statsV2.diggCount | string | 11000 | |
| items[].statsV2.playCount | string | 881000 | |
| items[].statsV2.shareCount | string | 1006 | |
| items[].video | object | 4 fields | |
| items[].video.duration | integer | 95 | |
| items[].video.height | integer | 1280 | |
| items[].video.ratio | string | 720p | |
| items[].video.width | integer | 720 | |
| has_more | boolean | Whether more videos are available. | true |
| items | array | The account's videos. | 2 records |
| result_count | integer | How many videos this answer holds. | 2 |
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.user.videos", "input": { "count": 5, "handle": "tiktok" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "tiktok.user.videos", "input": { "count": 5, "handle": "tiktok" }}''')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.user.videos", "input": { "count": 5, "handle": "tiktok" }}),});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, pull @tiktok's latest videos and make a table of caption, plays, likes and comments. Which ones got the most plays?
More from the TikTok API
- TikTok User Profile Detail 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 Collection 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 User Videos Scraper API FAQ
The short answers. The docs have the long ones.
How much does the TikTok User 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 handle or sec_uid. 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.user.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.