Zernio
Zernio
API Reference

Accounts

List accountsGETList trending commercial musicGETCheck 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 accountDELETEMove account to another profilePATCH
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

{  "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 accounts

Returns connected accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on. Supports optional server-side pagination via page/limit params. When omitted, returns all accounts (backward-compatible). page and limit must be supplied together; out-of-range page/limit values are rejected with 400 rather than silently clamped.

Check account health

Returns detailed health info for a specific account including token status, permissions, and recommendations. For WhatsApp accounts the response also includes `platformConnection`, a live probe of the Meta link behind the channel (the same read as `GET /v1/whatsapp/number-info`). The OAuth token can be perfectly valid while Meta refuses to serve the phone-number object (for example after a phone-side coexistence disconnect), so `tokenStatus` alone is not a liveness signal for WhatsApp. When the Meta link is dead, `platformConnection.status` is `disconnected` and the overall `status` is `error`.