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.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
The TikTok account ID
Query Parameters
Two-letter ISO 3166-1 country code of the chart to read (for example ES). Defaults to TikTok's global chart.
2 <= length <= 2Response 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" } } ]}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.