API resource
TikTok
TikTok-only reads: account insights, the commercial music library for business accounts, and location tags. TikTok creator info lives under Accounts.
Get TikTok account-level insights
/v1/analytics/tiktok/account-insightsWorks on: TikTok
Query parameters
accountIdstringrequiredThe account id for the TikTok account.
metricsstringComma-separated list. Defaults to "follower_count,likes_count,video_count,followers_gained,followers_lost".
fromDatestringStart date (YYYY-MM-DD). Defaults to 30 days ago.
toDatestringEnd date (YYYY-MM-DD). Defaults to today.
sincestringAlias of fromDate, kept for existing callers
untilstringAlias of toDate, kept for existing callers
metricTypestring"total_value" returns the latest cumulative counter value. "time_series" returns daily values joined from AccountStats snapshots.
curl "https://creatoros-production-5658.up.railway.app/v1/analytics/tiktok/account-insights?accountId=acc_Q3n1PvR8dKc0Zb7LwY4sHx2mJt9Eg6Ua5Nf1Ck8Tq3Vz" \
-H "Authorization: Bearer $CREATOROS_API_KEY"{
"success": true,
"accountId": "acc_Q3n1PvR8dKc0Zb7LwY4sHx2mJt9Eg6Ua5Nf1Ck8Tq3Vz",
"platform": "tiktok",
"dateRange": {
"since": "string",
"until": "string"
},
"metricType": "time_series",
"breakdown": "string",
"metrics": {},
"unavailableMetrics": [
{
"metric": "string",
"reason": "not_enrolled",
"message": "string"
}
],
"dataDelay": "Data may be delayed up to 48 hours"
}List trending commercial music
/v1/accounts/{accountId}/tiktok/commercial-musicWorks on: TikTok
Path parameters
accountIdstringrequiredThe TikTok account ID
Query parameters
countryCodestringTwo-letter ISO 3166-1 country code of the chart to read (for example ES). Defaults to TikTok's global chart.
curl "https://creatoros-production-5658.up.railway.app/v1/accounts/acc_Q3n1PvR8dKc0Zb7LwY4sHx2mJt9Eg6Ua5Nf1Ck8Tq3Vz/tiktok/commercial-music" \
-H "Authorization: Bearer $CREATOROS_API_KEY"{
"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"
}
}
]
}Search TikTok location tags
/v1/accounts/{accountId}/tiktok/locationsWorks on: TikTok
Path parameters
accountIdstringrequiredThe TikTok account ID
Query parameters
querystringrequiredPlace name to search, for example a city, a venue or an address
curl "https://creatoros-production-5658.up.railway.app/v1/accounts/acc_Q3n1PvR8dKc0Zb7LwY4sHx2mJt9Eg6Ua5Nf1Ck8Tq3Vz/tiktok/locations?query=%3Cquery%3E" \
-H "Authorization: Bearer $CREATOROS_API_KEY"{
"locations": [
{
"id": "string",
"name": "string",
"address": "string"
}
]
}