Details of a TikTok sound by clip id: title, artist, album, duration, cover art and how many videos use it.
2 credits/ call
Never more than 6 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/tiktok.song" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"clipId":"6717159721276540930"}'{
"output": {
"found": true,
"data": {
"title": "Different (Acoustic)",
"duration": 60,
"videoCount": 358,
"isOriginal": false, …
}
},
"credits": 2
}Input and output
1 field
6717159721276540930.9 fields
Good to know
Metadata only (no audio).
Unknown clip ids return found: false. A miss is an answer, not an error.
The same key and credits work for every API.