Get TikTok follower demographics
Returns the share of a TikTok account's followers by age, gender, country and city. Without breakdown it returns all four.
- Each value is a share of followers from 0 to 1, and each list is sorted largest first. It is not a follower count.
- Age, gender and country lists add up to 1. The city list can add up to less, because TikTok does not place every follower in a listed city.
- These are followers of the account, not the viewers of its videos. Viewer countries per video are on GET /v1/analytics?postId=...
- TikTok updates this data every 24-48 hours.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Query parameters
The Zernio SocialAccount ID for the TikTok account.
Comma-separated list of demographic dimensions: age, gender, country, city. Defaults to all four.
Responses
Success· the request worked
Errors· the request failed
How it behaves
Requirements
- The account needs at least 100 followers (400
tiktok_insufficient_followersotherwise). - The account owner must turn on Analytics in the TikTok app and have published at least one video. Until then an account with enough followers gets empty lists.
- Requires the user.insights scope, which an account gets by connecting through the TikTok for Business app (412
tiktok_insights_scope_missingotherwise). Accounts on the original TikTok integration must reconnect. - Requires the Analytics add-on.
Get post samples
Returns the raw readings behind a post's numbers, oldest first. Each sample is one analytics sync: the views and engagement as the platform reported them at `syncedAt`. Zernio only stores what it fetched from the platform, so nothing here was self-reported. ### Null values - `shares` and `saves` are null on platforms that do not return that counter, which is different from a real zero. - `watchSeconds` and `completionRate` are null when the platform gives no watch signal.
Get a tracking window
Returns one tracking window with the latest verified numbers we read from the platform. Once the window has completed, `finalReadAt` and `completionReason` say how it closed.