Appearance
Get Song Details
GET /v1/tiktok/song
Fetches detailed metadata for a specific TikTok sound or song by its clipId. Returns music_info with title, author, album, duration, user_count (number of videos using this sound), play_url, cover art, and artist details. Use the clipId from a sound URL or from the popular songs endpoint.
Authentication
All requests require the x-api-key header. Get your key at scrapecreators.com.
Query Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
clipId | string | yes | This is a little confusing because this isn't songId like you'd think. It is the clipId. I guess because you can clip different portions of a song 🤷♂️ | 7439295283975702544 |
Example Request
curl
bash
curl 'https://api.scrapecreators.com/v1/tiktok/song?clipId=7439295283975702544' \
-H 'x-api-key: $SCRAPECREATORS_API_KEY'Node / TypeScript
js
const params = new URLSearchParams({ clipId: '7439295283975702544' });
const res = await fetch(`https://api.scrapecreators.com/v1/tiktok/song?${params}`, {
headers: { 'x-api-key': process.env.SCRAPECREATORS_API_KEY }
});
const data = await res.json();
console.log(data);Python
python
import os, requests
r = requests.get(
'https://api.scrapecreators.com/v1/tiktok/song',
headers={'x-api-key': os.environ['SCRAPECREATORS_API_KEY']},
params={'clipId': '7439295283975702544'},
)
r.raise_for_status()
print(r.json())CLI
bash
scrapecreators tiktok song --helpExample Response
json
{
"music_info": {
"album": "Different",
"allow_offline_music_to_detail_page": false,
"artists": [
{
"avatar": {
"uri": "tos-maliva-avt-0068/e7d4971260ccf9834d92fe6a3c63e848",
"url_list": [
"https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/e7d4971260ccf9834d92fe6a3c63e848~c5_168x168.webp?lk3s=544a444f&nonce=23330&refresh_token=9e7d26286320fa35b998105f0dcbc158&x-expires=1741053600&x-signature=5oUamOIDpQFqlJS8XBBgEaNiNK0%3D&shp=544a444f&shcp=-"
],
"url_prefix": null
},
"enter_type": 2,
"follow_status": 0,
"follower_status": 0,
"handle": "micahtylertok",
"is_block": false,
"is_blocked": false,
"is_private_account": false,
"is_verified": false,
"is_visible": false,
"nick_name": "Micah Tyler",
"sec_uid": "MS4wLjABAAAAEdwuYUJfZcFMddE2j_F7VdBPJ-mFgfmhvS_OEZc_CwP9mgiFLDBlqsJOgEaAaHR5",
"status": 1,
"uid": "7086245766293226538"
}
],
"audition_duration": 60,
"author": "Micah Tyler",
"author_deleted": false,
"author_position": null,
"avatar_medium": {
"height": 720,
"uri": "tos-maliva-avt-0068/e7d4971260ccf9834d92fe6a3c63e848",
"url_list": [
"https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/e7d4971260ccf9834d92fe6a3c63e848~c5_720x720.webp?lk3s=544a444f&nonce=64063&refresh_token=84290303432aef362a12963995398c8c&x-expires=1741053600&x-signature=VWm%2FJPJZmHRb23mnxnbZIoyMEfY%3D&shp=544a444f&shcp=-"
],
"url_prefix": null,
"width": 720
},
"avatar_thumb": {
"height": 720,
"uri": "tos-maliva-avt-0068/e7d4971260ccf9834d92fe6a3c63e848",
"url_list": [
"https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/e7d4971260ccf9834d92fe6a3c63e848~c5_100x100.webp?lk3s=544a444f&nonce=19785&refresh_token=546fc5e384f6934ebcb6a569ae37a54d&x-expires=1741053600&x-signature=q5%2FBVdNQxITSyrSbvd69kij1sRE%3D&shp=544a444f&shcp=-"
],
"url_prefix": null,
"width": 720
},
"binded_challenge_id": 0,
"can_be_stitched": true,
"can_not_reuse": false,
"collect_stat": 0,
"commercial_right_type": 3,
"cover_large": {
"height": 720,
"uri": "tos-alisg-v-2774/okeuMAAZnBBv88JZBjFEgjDOtWCZQ4AEEwfoQb",
"url_list": [
"https://p16-sg.tiktokcdn.com/aweme/720x720/tos-alisg-v-2774/okeuMAAZnBBv88JZBjFEgjDOtWCZQ4AEEwfoQb.jpeg"
],
"url_prefix": null,
"width": 720
},
"cover_medium": {
"height": 720,
"uri": "tos-alisg-v-2774/okeuMAAZnBBv88JZBjFEgjDOtWCZQ4AEEwfoQb",
"url_list": [
"https://p16-sg.tiktokcdn.com/aweme/200x200/tos-alisg-v-2774/okeuMAAZnBBv88JZBjFEgjDOtWCZQ4AEEwfoQb.jpeg"
],
"url_prefix": null,
"width": 720
},
"cover_thumb": {
"height": 720,
"uri": "tos-alisg-v-2774/okeuMAAZnBBv88JZBjFEgjDOtWCZQ4AEEwfoQb",
"url_list": [
"https:/
... (truncated)Credits
Most ScrapeCreators endpoints consume 1 credit per successful response. Some heavier endpoints (transcripts, AI-driven enrichment, ad detail lookups) may cost more. Check GET /v1/credit-balance for your remaining balance.
Errors
| Status | Meaning | Action |
|---|---|---|
| 200 | Success. | Use the JSON payload. |
| 400 | Invalid or missing parameter. | Verify required parameters and value format. |
| 401 | Missing or invalid x-api-key. | Pass a valid API key in the header. |
| 402 | Out of credits. | Top up at scrapecreators.com or wait for plan reset. |
| 404 | Resource not found or private. | Confirm the handle, URL, or id and that the resource is public. |
| 429 | Rate limited. | Backoff and retry with exponential delay. |
| 500 | Server error or upstream platform failure. | Retry with backoff; report persistent errors to support. |