Intelligence
Developers

Apple Music's US top ten

GET /api/v1/chart

GET https://terminal.cloud.wavo.me/api/v1/chart

The top ten songs of Apple Music's US chart today, each with its artist and its move since the day before; limit keeps the first few. The whole chart, and Canada's, are a subscriber's.

Parameters

NameInTypeRequiredDescription
limitqueryinteger, 1–10NoOnly the first this many songs; every one when left out.

Request

curl 'https://terminal.cloud.wavo.me/api/v1/chart?limit=3'

Response

200, application/json: the Chart schema in /openapi.json.

FieldTypeDescription
readAtstringAn instant, ISO 8601 in UTC.
chartobject or nullThe top ten of Apple Music's US chart; null before its first read.
chart.sourceApple Music
chart.territorystringISO 3166 code: US.
chart.namestringThe territory's name.
chart.daystringThe chart's day, YYYY-MM-DD.
chart.fetchedAtstringAn instant, ISO 8601 in UTC.
chart.songsarray of objects
chart.songs[].rankinteger
chart.songs[].titlestring
chart.songs[].artiststring
chart.songs[].moveone of new, same, up, downIts move since the day before: new to the chart, or same place.
chart.songs[].byinteger or nullThe places it moved up or down.
chart.songs[].urlstring or nullThe song on Apple Music.

Statuses

Every answer carries RateLimit-Policy; a refusal is an RFC 9457 problem, whose codes Errors lists.

StatusWhen
200Apple Music's US top ten.
400A parameter its schema refuses: invalid_parameter, naming it.
405Any method but GET: method_not_allowed. The API only reads.
429The IP address spent its bucket: rate_limit_exceeded.
503The read behind the answer failed: read_failed. Retry shortly.