Find songs for a TikTok post
Songs a TikTok business account may use, for settings.music. Without q, the songs popular now in country. With q, a search of the popular TikTok Commercial Music Library first and, when nothing matches a query of 3 or more characters, a search across all of TikTok that still keeps only songs cleared for business use; scope=all goes there directly. Send one track unchanged as settings.music, adding volume, originalVolume, or startMs if needed. A video with a song is always public. Popular lists are kept for an hour and searches across all of TikTok for 7 days.
AuthorizationBearer <token>Send your key as Authorization: Bearer eksis_sk_....
channelId*stringq?stringSong title or artist.
length <= 80country?stringTwo-letter country code for the popular list and the search, e.g. ID.
^[A-Za-z]{2}$"US"range?stringHow far back the popular list looks. Ignored with q.
"7DAY""1DAY""7DAY""30DAY""90DAY"scope?stringall searches all of TikTok right away. Needs q.
"popular""popular""all"The songs.
application/json- response
data?curl -X GET 'https://api.eksis.io/v1/channels/string/tiktok/music' \ -H 'Authorization: Bearer eksis_sk_...'{ "data": { "status": "connected", "source": "popular", "tracks": [ { "id": "string", "name": "string", "artist": "string", "durationSec": 0, "thumbnailUrl": "string", "previewUrl": "string", "genres": [ "string" ], "rank": 0 } ] }}