TikTok analytics API: the metrics PubNio reads
PubNio's TikTok adapter declares 12 post metrics and 11 account metrics as supported. It re-reads each post on a schedule for 366 days after publishing. A metric TikTok does not report comes back as null with a reason. Provider facts checked 2026-12-05.
What PubNio returns
| Metric | Post field | Account field |
|---|---|---|
reach | reach | unique_video_views, daily series only; a total is refused |
views | video_views | video_views |
likes | likes | likes |
comments | comments | comments |
shares | shares | shares |
saves | favorites | not returned: not_exposed |
link_clicks | website_clicks | bio_link_clicks |
profile_visits | profile_views | profile_views |
| follows | new_followers | daily_new_followers |
followers | — | followers_count, else the latest daily_total_followers (lifetime total only) |
follower_gained | — | daily_new_followers |
follower_lost | — | daily_lost_followers |
watch_time_ms | total_time_watched × 1,000 (TikTok reports seconds) | not returned: not_exposed |
avg_watch_time_ms | average_time_watched × 1,000 (TikTok reports seconds) | not returned: not_exposed |
completion_rate | full_video_watched_rate, stored as TikTok returns it | not returned: not_exposed |
engagement | not declared | not returned: saves_not_exposed |
TikTok returns no value for the other keys, impressions, clicks, page_views, and engagement_rate: the adapter marks each not_exposed or leaves it out.
“Not declared” means the adapter's capabilities leave the metric out. A post reading then comes back unsupported with reason not_exposed; an account reading comes back pending with reason account_analytics_pending and stays there, because the account sync reads only declared metrics.
How PubNio reads it
- A TikTok post is read through the business video list, filtered to the post's video ID with
max_count=1. If TikTok does not list the video, every requested metric comes back pending with reasonvideo_not_listed. - Account metrics come from the business account endpoint for the date range, one row per day; totals add the days, and the same rows become the provider-daily series.
- TikTok's reference says “Post data will stop updating 365 days after the post is published.” PubNio's capabilities declare a 366-day read window, so its last daily read is of data TikTok no longer updates.
PubNio reads a TikTok post no sooner than 1 hour after it is published; a post the sync pass finds later is read when it is found. After the first read it reads every 30 minutes until it is a day old, every 6 hours until day 7, daily until day 30, and weekly after that. It stops reading the post 366 days after publishing.
TikTok returns lifetime totals for a post, so PubNio stores each read's increase on the UTC day of the read. The first read puts the whole total on that day, only summed metrics get daily points, and a total that drops is stored as zero, not a negative day.
Account metrics are read once a day, each time for the UTC dates from 30 days before the read through the day of the read, and readings count as stale two days after the last read.
Capabilities also declare latencySeconds: 86400, how long the adapter expects TikTok's numbers to take to settle. PubNio publishes the figure; reads are scheduled only by the rules above.
PubNio's TikTok analytics capabilities require the connection to hold user.info.profile and user.info.stats; when one is missing, the sync marks the metrics permission_missing. TikTok's reference names other permissions for the video fields: video.list for reach, video_views, and favorites, and video.insights for full_video_watched_rate, total_time_watched, average_time_watched, and new_followers. PubNio's TikTok connect flow requests neither, so PubNio's code does not settle whether TikTok returns those fields for a connected account.
watch_time_ms: TikTok's reference defines total_time_watched as “The amount of time viewers spent watching your video post, in seconds.” PubNio multiplies it by 1,000 for watch_time_ms, and average_time_watched for avg_watch_time_ms. Both are per video, from the business video list; accounts have no watch time (not_exposed).
- The multiplier is fixed in the adapter and applied before the value is stored, so the API returns milliseconds as the catalog's unit says.
- Average watch time is a weighted metric: weight it by views when combining videos rather than averaging the averages.
completion_rate: TikTok completion_rate in PubNio is full_video_watched_rate, read per video and stored as TikTok returns it. TikTok's reference calls the field “The percentage of viewers who finish watching your video post.” The catalog defines completion_rate as a 0 to 1 ratio, and PubNio applies no scaling, so check the value's range before comparing it with other networks.
- PubNio multiplies TikTok's watch-time fields by 1,000 but applies no multiplier to
full_video_watched_rate. TikTok's reference does not state a 0 to 1 or 0 to 100 range for it in words. - Account
completion_rateis unsupported with reasonnot_exposed.
reach: TikTok video reach is the video's reach field. Account reach is unique_video_views, kept only as daily values: an account total returns unsupported with reason reach_series_only, although capabilities declare account reach supported.
- The account read marks
unique_video_viewsnon-additive, so the totals step skips it while the series step keeps each day. - Post reach has no daily series: PubNio builds post days from changes in summed lifetime metrics only.
engagement: The API returns TikTok post engagement as unsupported with reason not_exposed. The adapter does derive it from likes, comments, shares, and saves (favorites), but post capabilities do not declare it, and the API answers from capabilities first. Account engagement is unsupported because accounts report no saves.
- A metric missing from a provider's capability list reads as
unsupportedwith reasonnot_exposed, before any stored value is consulted. engagement_rateis unsupported on both scopes: the TikTok adapter has no impressions to divide by.
Example
reach is declared, and no daily account read has stored it yet, so it is pending with reason not_published until the first read lands. engagement and impressions are metrics TikTok does not supply: each comes back unsupported with its reason. The request answers 200 with one entry per key.
GET /api/v1/workspaces/4e5f6a7b-8c9d-4e0f-9a1b-2c3d4e5f6a7b/analytics/accounts/7f3c2a10-5b4e-4d6f-8a9b-0c1d2e3f4a5b?metrics=reach&metrics=engagement&metrics=impressions
Authorization: Bearer pn_live_***
[
{
"key": "reach",
"value": null,
"availability": "pending",
"reason": "not_published"
},
{
"key": "engagement",
"value": null,
"availability": "unsupported",
"reason": "saves_not_exposed"
},
{
"key": "impressions",
"value": null,
"availability": "unsupported",
"reason": "not_exposed"
}
]
Limits
- No impressions or clicks for TikTok, so no engagement rate; no account saves, watch time, or completion rate.
- A request covers at most 366 days and 30 metrics, in UTC dates, and defaults to the last 30 days. How far back a daily series reaches depends on the workspace plan, and stored daily points are deleted after 400 days.
Sources
- TikTok API for Business: Get post data of a TikTok account, read 2026-12-05

