Get a Genius chart: songs, albums, artists or referents (trending annotations). Every item carries page views. The response has no total. Request the next page until a page has no items. Artist and referent charts only support chart_genre all. Referent items have no lyric line.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
This endpoint has no required query parameters.
5 optional filters available.
string
Optional
songs, albums, artists or referents. Default: songs.
example
string
Optional
all, pop, rap, rock, country or electronic. Default: all.
example
string
Optional
all_time, day, week or month. Default: day.
example
integer
Optional
Page number, starting at 1. Default: 1.
1
integer
Optional
Results per page, 1-50. Default: 20.
10
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"chart_items": [
{
"item": {
"id": 3039923,
"url": "https://genius.com/Kendrick-lamar-humble-lyrics",
"stats": {
"pageviews": 12358095
},
"title": "HUMBLE.",
"full_title": "HUMBLE. by Kendrick Lamar",
"lyrics_url": "https://genius.com/Kendrick-lamar-humble-lyrics",
"artist_names": "Kendrick Lamar",
"lyrics_state": "complete",
"annotation_count": 21,
"song_art_image_url": "https://images.genius.com/483306c535608c27f9e3781b854dc91d.1000x1000x1.png",
"release_date_for_display": "March 30, 2017"
},
"type": "song"
}
]
},
"meta": {
"billable": true,
"proxy_tier": "mobile-proxies",
"technology": "http",
"endpoint_family": "chart"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Not Found
Genius has no resource for this id or path. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false
},
"error": {
"code": "NOT_FOUND",
"message": "The requested Genius resource was not found."
},
"success": false
}Validation Error
A parameter is missing or invalid. No upstream request is made. This response is not billable.
{
"errors": {
"id": [
"The id field is required."
]
},
"message": "The request validation failed"
}Genius Temporarily Unavailable
Genius did not answer in time or the request was blocked. Retry after a short pause. This response is not billable.
{
"meta": {
"billable": false,
"retryable": true
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "Genius is temporarily unavailable. Please retry."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.