Anghami Track Chart
Return Anghami track chart entries. chartType accepts play or like. Anghami stores both genre and country charts in a single table, so the handler defaults code2 to 00 (global) and genre to all genres when unspecified. A single request may use either genre or code2, not both.
- Type: string enumchart
Type requiredAnghami track chart type (e.g.
play,like).values- play
- like
- Type: string Format: datedate
Date for the chart slice (
YYYY-MM-DD). Required unlesslatest=true. - Type: booleanlatest
If true, use the most recently available chart date and ignore
date. - Type: integerlimitmin:1
Maximum number of items to return per request.
- Type: integeroffsetmin:0
Number of items to skip from the start of the result set; pair with
limitto paginate. - code2required
ISO 3166-1 alpha-2 country code (uppercase, e.g. 'US') or 'GLOBAL'. When omitted, the platform's default chart scope applies.
- Type: stringmin length:2max length:2
ISO 3166-1 alpha-2 country code (2 letters, e.g. 'US', 'BR', 'GB').
- Type: string enumduration
Chart duration window. One of
daily,monthly,weekly,yearly,semi-yearly,real-time,all_time.values- daily
- monthly
- weekly
- yearly
- semi
-yearly - real
-time - all
_time
- Type: stringgenremax length:100required
Genre filter for the chart slice. Lowercased and trimmed.
- Type: integercity
Id min:0max:2147483647Chartmetric city ID to scope the chart to a city.
- application/json
curl 'https://api.chartmetric.com/api/charts/anghami/track/play?code2=&genre=' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"obj": [
{
"entityId": 15191225,
"targetId": "44638780",
"country": "00",
"cityId": 0,
"genre": "Country",
"rank": 1,
"rankDiff": 0,
"rankTrend": [
{
"timestp": "2025-06-29",
"rank": "1"
}
],
"peakDate": "2023-09-14",
"peakRank": 1,
"velocity7Day": 0,
"periodsOnChart": 622,
"consecutivePeriods": 622,
"chartedDate": "2025-07-04",
"name": "Love Story",
"imageUrl": "https://i.scdn.co/image/1558776870134bc39c55fd278f2748d338eb7887",
"createdAt": "2025-07-07T10:44:56.000Z",
"artists": [
{
"careerStage": "superstar",
"code2": "US",
"id": 2762,
"name": "Taylor Swift",
"imageUrl": "https://share.chartmetric.com/artists/299/172/11172299/11172299-profile.webp"
}
],
"album": {
"id": 10998,
"name": "Fearless",
"label": "Big Machine Records",
"releaseDate": "2008-01-01T00:00:00.000Z"
},
"optionalRows": {
"overallRank": 0,
"score": 0,
"isComeback": false
},
"targetExtras": {
"anghamiLikes": 64284,
"anghamiPlays": 1788070
},
"isChartGenre": true
}
]
}