Get details for a TikTok song or sound by id.
Endpoint
/v1/tiktok/songs
Query
TikTok song or sound id. Use the trailing id from a music page URL, or `music.id` from a video lookup.
const response = await fetch( "https://api.socialfetch.dev/v1/tiktok/songs?id=7439295283975702544", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);