TikTok Song Videos Scraper API
List the videos that use a sound, from its music ID.
- 1 credit per call
- Failed calls are free
- Updated
- tiktok.music.posts
{ "has_more": true, "result_count": 1, "items": [ { "createTime": 1788307388, "desc": "this summer was all about the classic hits. here's to the ones that never got away 💿 #SongsofTheSummer2026", "id": "7680721699171601694", "author": { "id": "107955", "nickname": "TikTok", "uniqueId": "tiktok", "verified": true }, "music": { "title": "original sound", "authorName": "TikTok", "duration": 56, "id": "7680721756763523871", "original": true }, "stats": { "collectCount": 2998, "commentCount": 5699, "diggCount": 26200, "playCount": 527100, "shareCount": 2431 }, "statsV2": { "collectCount": "2998", "commentCount": "5699", "diggCount": "26200", "playCount": "527100", "shareCount": "2431" }, "video": { "duration": 56, "height": 1280, "ratio": "720p", "width": 720 }, "challenges": [ { "title": "songsofthesummer2026", "id": "7662843705761792030" } ] } ]}
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| music_id | string | yes | Music identifier. | 7680721756763523871 |
| count | integer | no | TikTok can return more or fewer records. From 1 to 35. | 5 |
| 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[].challenges[].title | string | songsofthesummer2026 |
| items[].music.title | string | original sound |
| items[].author | object | 4 fields |
| items[].author.id | string | 107955 |
| items[].author.nickname | string | TikTok |
| items[].author.uniqueId | string | tiktok |
| items[].author.verified | boolean | true |
| items[].challenges | array | 1 records |
| items[].challenges[].id | string | 7662843705761792030 |
| items[].createTime | integer | 1,788,307,388 |
| items[].desc | string | this summer was all about the classic hits. here's to the ones … |
| items[].id | string | 7680721699171601694 |
| items[].music | object | 5 fields |
| items[].music.authorName | string | TikTok |
| items[].music.duration | integer | 56 |
| items[].music.id | string | 7680721756763523871 |
| items[].music.original | boolean | true |
| items[].stats | object | 5 fields |
| items[].stats.collectCount | integer | 2998 |
| items[].stats.commentCount | integer | 5699 |
| items[].stats.diggCount | integer | 26,200 |
| items[].stats.playCount | integer | 527,100 |
| items[].stats.shareCount | integer | 2431 |
| items[].statsV2 | object | 5 fields |
| items[].statsV2.collectCount | string | 2998 |
| items[].statsV2.commentCount | string | 5699 |
| items[].statsV2.diggCount | string | 26200 |
| items[].statsV2.playCount | string | 527100 |
| items[].statsV2.shareCount | string | 2431 |
| items[].video | object | 4 fields |
| items[].video.duration | integer | 56 |
| items[].video.height | integer | 1280 |
| items[].video.ratio | string | 720p |
| items[].video.width | integer | 720 |
| has_more | boolean | true |
| items | array | 1 records |
| result_count | integer | 1 |
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.music.posts", "input": { "count": 5, "music_id": "7680721756763523871" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "tiktok.music.posts", "input": { "count": 5, "music_id": "7680721756763523871" }}''')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.music.posts", "input": { "count": 5, "music_id": "7680721756763523871" }}),});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 song videos for music id "7680721756763523871". 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 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 Song Videos Scraper API FAQ
The short answers. The docs have the long ones.
How much does the TikTok Song 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 music_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.music.posts, 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.