Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

TikTok Song

เอกสาร API
https://api.sandbase.ai/v1/api/tiktok/song

Fetch details for a TikTok song or sound (title, author, duration, cover art, and how many videos use it).

ราคา
เริ่มต้นที่ $0.0006USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
The clip identifier for the song, found in TikTok music URLs (e.g. 7439295283975702544).
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

TikTok Song API

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.

Use cases

  • Check how many TikTok videos use a track to see how widely it has spread.
  • Pull the title, author, and album for a sound ID to label it in a music tracking sheet.
  • Tell original sounds apart from licensed tracks using the isOriginal flag.
  • Save the cover image and share link to show a sound in a dashboard or report.

Request

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.

Parameters

NameTypeRequiredDescription
clipIdstringYesThe clip identifier for the song, found in TikTok music URLs (e.g. 7439295283975702544).

Example response

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
}

Response fields

FieldMeaning
foundtrue when the song exists. A lookup that finds nothing returns false.
data.titleName of the song or sound, for example luther.
data.authorArtist or creator credited for the sound, for example Kendrick Lamar & SZA.
data.albumAlbum the track belongs to, for example GNX.
data.durationLength of the sound. The example value is 59.
data.videoCountNumber of TikTok videos that use this sound.
data.isOriginalWhether the sound is marked as an original sound. It is false for this track.
data.songIdID of the song, the same value as the clipId in the request.
data.coverUrlURL of the cover image for the song.
data.shareUrlLink to the song's page on TikTok.

Notes

  • Take clipId from the number at the end of a TikTok music URL, such as 7439295283975702544.
  • Check found before reading data.
  • To list videos that use this sound, call TikTok Music Video List.
  • For a second view of a song, call TikTok Music Details.

Pricing

Billed at the actual cost of each call, about $0.0006 for the request above. Failed calls are not charged.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
TikTok SongAPI นี้
TikTok
เริ่มต้นที่ $0.0006 ต่อครั้งJSON
TikTokเริ่มต้นที่ $0.0012 ต่อครั้งJSON
TikTokเริ่มต้นที่ $0.0008 ต่อครั้งJSON
TikTokเริ่มต้นที่ $0.0008 ต่อครั้งJSON
TikTok$0.001 ต่อการเรียกJSON
TikTok$0.001 ต่อการเรียกJSON

คู่มือ:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ TikTok Song API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/song โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

TikTok Song API ราคาเท่าไร?

เริ่มต้นที่ $0.0006 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

TikTok Song API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: clipId (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

TikTok Song API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ TikTok ไหม?

ไม่จำเป็น TikTok Song ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก