Zernio
Zernio
API Reference

Accounts

List accountsGETList partner businesses of the PageGETList trending commercial musicGETSearch TikTok location tagsGETCheck account healthGETList posts published on the platformGETCheck accounts healthGETGet Bluesky account settingsGETGet follower statsGETCheck whether an Instagram user follows the accountGETGet Slack account settingsGETGet TikTok creator infoGETUpdate accountPUTUpdate Bluesky account settingsPATCHUpdate Slack account settingsPATCHDisconnect accountDELETEShare the Page with a partner businessPOSTMove account to another profilePATCHRevoke a partner business from the PageDELETE
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Accounts

List trending commercial music

Returns the 100 currently trending tracks of TikTok's Commercial Music Library for a TikTok account connected through the TikTok for Business app. Use a track id as tiktokSettings.musicSoundInfo.musicSoundId when creating a post. The list is not paged; countryCode selects the country chart.


GET
/v1/accounts/{accountId}/tiktok/commercial-music

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Path Parameters

accountId*string

The TikTok account ID

Query Parameters

countryCode?string

Two-letter ISO 3166-1 country code of the chart to read (for example ES). Defaults to TikTok's global chart.

Length2 <= length <= 2

Response Body

application/json

application/json

import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.accounts.listTikTokCommercialMusic({  path: {    accountId: 'account_abc123',  },});console.log(data);
{  "tracks": [    {      "id": "string",      "commercialMusicId": "string",      "name": "string",      "artist": "string",      "durationSec": 0,      "genres": [        "string"      ],      "previewUrl": "string",      "thumbnailUrl": "string",      "rank": 0,      "clip": {        "id": "string",        "durationSec": 0,        "previewUrl": "string"      }    }  ]}
Was this page helpful?

List partner businesses of the Page

The business portfolios (Meta Business Managers) that may act on the Facebook Page behind this account, plus the Page's owning portfolio and linked Instagram professional account. Works on Facebook accounts and on Instagram accounts connected through Facebook Login.

Search TikTok location tags

Searches the location tags a TikTok account connected through the TikTok for Business app can attach to a video post. Send a result's id and name as tiktokSettings.locationId and locationName when creating a post. TikTok answers the 20 closest matches and fills the list with fuzzy matches when nothing matches, so an unrelated result does not mean the place is missing.