clipIdstringzorunlu
The clip identifier for the song, found in TikTok music URLs (e.g. 7439295283975702544).
https://api.sandbase.ai/v1/api/tiktok/songFetch details for a TikTok song or sound (title, author, duration, cover art, and how many videos use it).
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Returns details for one TikTok song or sound: title, author, album, duration, cover image URL, and the number of videos that use it. It needs the clipId from a TikTok music URL.
isOriginal flag.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/song" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"clipId": "7439295283975702544"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
clipId | string | Yes | The clip identifier for the song, found in TikTok music URLs (e.g. 7439295283975702544). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"album": "GNX",
"author": "Kendrick Lamar & SZA",
"coverUrl": "https://p16-common.tiktokcdn-us.com/tos-alisg-v-2774/ooCBAEtE4DqIfBLAjADiRIneQAT…",
"duration": 59,
"isOriginal": false,
"shareUrl": "https://www.tiktok.com/music/-7439295283975702544",
"songId": "7439295283975702544",
"title": "luther",
"videoCount": 1425960
},
"found": true
}
| Field | Meaning |
|---|---|
found | true when the song exists. A lookup that finds nothing returns false. |
data.title | Name of the song or sound, for example luther. |
data.author | Artist or creator credited for the sound, for example Kendrick Lamar & SZA. |
data.album | Album the track belongs to, for example GNX. |
data.duration | Length of the sound. The example value is 59. |
data.videoCount | Number of TikTok videos that use this sound. |
data.isOriginal | Whether the sound is marked as an original sound. It is false for this track. |
data.songId | ID of the song, the same value as the clipId in the request. |
data.coverUrl | URL of the cover image for the song. |
data.shareUrl | Link to the song's page on TikTok. |
clipId from the number at the end of a TikTok music URL, such as 7439295283975702544.found before reading data.Billed at the actual cost of each call, about $0.0006 for the request above. Failed calls are not charged.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/song" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"clipId": "7439295283975702544"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
clipIdstringzorunluThe clip identifier for the song, found in TikTok music URLs (e.g. 7439295283975702544).
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
TikTok SongBu API TikTok | Kullanım başına $0.0006'den itibaren | JSON |
TikTok | Kullanım başına $0.0012'den itibaren | JSON |
TikTok | Kullanım başına $0.0008'den itibaren | JSON |
TikTok | Kullanım başına $0.0008'den itibaren | JSON |
TikTok | $0.001 çağrı başına | JSON |
TikTok | $0.001 çağrı başına | JSON |
Kılavuzlar:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/tiktok/song adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.0006'dan başlayan, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: clipId (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. TikTok Song, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. TikTok API erişimi için ayrıca başvuru yapmanız gerekmez.