TikTok

TikTok Music Details

Get a sound's details by music URL or numeric music ID. Returns its title, artist, album, duration, playback URL, cover image, and the number of videos using it.

Price: $0.006 per request. Free tier: 50 requests/month.

get/v1/tiktok/music

Request

  • Base URL: https://apidirect.io
  • URL: https://apidirect.io/v1/tiktok/music
  • Auth: API key in header X-API-Key

Query parameters

urlstring

TikTok music URL, e.g. https://www.tiktok.com/music/Face-Off-7016547803243022337 (max 500 characters). Provide exactly one of url or music_id.

music_idstring

Numeric music ID: the number at the end of a music URL, also returned as music_id on every video. Provide exactly one of url or music_id.

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.