Total Airplays by Entity
Returns airplay counts for the given :type (artist, album, track), grouped by the requested :entity (country, city, station, track). Each item includes a plays_trend time series.
Path Parameters
- Type: integeridmin:0max:2147483647required
Chartmetric ID for the entity in
:type(artist / album / track ID). - Type: string enumtyperequired
Entity kind that
:idrefers to (one ofartist | album | track).values- artist
- track
- album
- Type: string enumentityrequired
Grouping dimension for airplay totals (one of
country | city | station | track).values- country
- city
- station
- track
Query Parameters
- Type: string Format: datesincerequired
Start date for aggregating airplay totals in ISO format (e.g.
2025-11-01); defaults to 180 days ago. - Type: integerstationmin:0max:2147483647
Chartmetric radio station ID; when set, restricts play counts to a single station.
- Type: integerlimitmin:1max:100
Maximum entries returned in the
:entitygrouping. - Type: string enumdate
Format Format of
air_dateinplays_trenditems:ISOfor ISO 8601 strings,UNIXfor UTC epoch seconds.values- I
S O - U
N I X
Responses
- application/json
Request Example for get/api/radio/{type}/{id}/airplay-totals/{entity}
curl 'https://api.chartmetric.com/api/radio/artist/0/airplay-totals/country?since=2026-01-21' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"obj": [
{
"code2": "US",
"name": "United States",
"plays": 81275,
"plays_percent": 0.43441659094553425,
"plays_trend": [
{
"air_date": "2023-01-01",
"count": 916
}
]
}
]
}