Get TikTok Top-Track Chart
Return the TikTok top-track chart — either the post-based chart (default) or the country-based chart when countryChart=true. Each row merges track-basic-info with the chart row and a rankStats history carrying rank + posts.
Query Parameters
- Type: string Format: date-timedate
Date for the time-slice (YYYY-MM-DD). Required unless
latest=true. - Type: string enuminterval
Chart interval (e.g.
daily,weekly,all_time); defaults toall_time.values- daily
- weekly
- monthly
- semi
-yearly - yearly
- all
_time
- Type: integerlimitmin:1max:100
Maximum number of items to return per request.
- Type: integeroffsetmin:0max:9900
Number of items to skip; capped at 9900 because the underlying Elasticsearch window allows at most 10000 results (offset + limit).
- Type: booleancountry
Chart If true, return the country chart and use
code2. Otherwise, return the post chart. - Type: stringcode2min length:2max length:2
ISO 3166-1 alpha-2 country code (2 letters, e.g. 'US', 'BR', 'GB').
- Type: booleanlatest
If true, use the most recently available date and ignore
date.
Responses
- application/json
Request Example for get/api/charts/tiktok/tracks
curl https://api.chartmetric.com/api/charts/tiktok/tracks \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"obj": {
"length": 1,
"data": [
{
"id": 31475,
"tiktok_track_id": "Laxed-Siren-Beat-6804093117843770118",
"tiktok": 31475,
"name": "Laxed - Siren Beat",
"isrc": "NZAM02001128",
"image_url": "https://p16-sg.tiktokcdn.com/aweme/100x100/tos-alisg-i-0000/79fc18806b60494cb9117888b5a5f621.jpeg",
"cm_track": 29203381,
"tiktok_artist_names": [
"Jawsh 685"
],
"tiktok_track_ids": [
"Laxed-Siren-Beat-6804093117843770118"
],
"album_ids": [
5963064
],
"album_names": [
"Laxed (Siren Beat)"
],
"album_upc": [
"9420058747152"
],
"album_label": [
"Jawsh 685"
],
"release_dates": [
"2020-04-24T07:00:00.000Z"
],
"rank": 1,
"posts": 55300000,
"added_at": "2020-10-11T07:00:00.000Z",
"velocity": 0,
"pre_rank": 1,
"peak_rank": 1,
"peak_date": "2020-08-27T07:00:00.000Z",
"time_on_chart": "171",
"rankStats": [
{
"rank": 1,
"posts": 55300000,
"timestp": "2020-10-04T07:00:00.000Z"
}
],
"views": 411800,
"views_prev": 380000
}
]
}
}