The API reference moved here from eksis.io/developers.
Channels

Find songs for a TikTok post

GET
/v1/channels/{channelId}/tiktok/music

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.

Authorization

headerAuthorizationBearer <token>

Send your key as Authorization: Bearer eksis_sk_....

Path Parameters

channelId*string

Query Parameters

q?string

Song title or artist.

Lengthlength <= 80
country?string

Two-letter country code for the popular list and the search, e.g. ID.

Match^[A-Za-z]{2}$
Default"US"
range?string

How far back the popular list looks. Ignored with q.

Default"7DAY"
Value in"1DAY""7DAY""30DAY""90DAY"
scope?string

all searches all of TikTok right away. Needs q.

Default"popular"
Value in"popular""all"

Response Body

The songs.

application/json
  1. 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      }    ]  }}