音
Apple Music Charts API
3 endpointsMusic & AudioGlobalsocial:read3 real examples
Returns ranked most-played songs, albums and music videos for an Apple Music storefront.
View as Markdown| GET | /applecharts/topSongs | Most played songs of an Apple Music storefront, ranked. |
| GET | /applecharts/topAlbums | Most played albums of an Apple Music storefront, ranked. |
| GET | /applecharts/topMusicVideos | Most played music videos of an Apple Music storefront, ranked. |
topSongs
GET
/v1/applecharts/topSongsMost played songs of an Apple Music storefront, ranked.
scope social:read1 unitcached 1 hpaginated
Parameters
countrystring | Two-letter Apple Music storefront code, such as us, gb or jp. default us |
limitinteger | Items per page, 1 to 100. default 25 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
artistId | string |
artistName | string |
artworkUrl | string |
contentAdvisory | string |
genres | Genre[] |
name | string |
id | string |
name | string |
rank | integer (int64) |
releaseDate | string |
url | string |
curl "https://api.hoshime.com/v1/applecharts/topSongs" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/applecharts/topSongs", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/applecharts/topSongs", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "artistId": "1384373733", "artistName": "Ella Langley", "artworkUrl": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/e2/91/4d/e2914d0a-7f1d-f04c-fbf4-c50b38548838/196873638690.jpg/100x100bb.jpg", "contentAdvisory": "", "genres": [ { "name": "Country" }, { "name": "Music" } ], "id": "1844932150", "name": "Choosin' Texas", "rank": 1, "releaseDate": "2025-10-17", "url": "https://music.apple.com/us/album/choosin-texas/1844932149?i=1844932150" }, { "artistId": "290814601", "artistName": "KAROL G, Judeline & rusowsky", "artworkUrl": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/2b/66/b2/2b66b26c-ab23-faa1-c4ee-06fa2cce8f76/26UM1IM00558.rgb.jpg/100x100bb.jpg", "contentAdvisory": "", "genres": [ { "name": "Music" }, { "name": "Latin" } ], "id": "6796864754", "name": "BbY WOW", "rank": 2, "releaseDate": "2026-08-05", "url": "https://music.apple.com/us/album/bby-wow/6796864741?i=6796864754" } ], "meta": { "cached": false, "endpoint": "topSongs", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "applecharts", "requestId": "req_2Xb9kQ…", "units": 1 } }
topAlbums
GET
/v1/applecharts/topAlbumsMost played albums of an Apple Music storefront, ranked.
scope social:read1 unitcached 1 hpaginated
Parameters
countrystring | Two-letter Apple Music storefront code, such as us, gb or jp. default us |
limitinteger | Items per page, 1 to 100. default 25 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
artistId | string |
artistName | string |
artworkUrl | string |
contentAdvisory | string |
genres | Genre[] |
name | string |
id | string |
name | string |
rank | integer (int64) |
releaseDate | string |
url | string |
curl "https://api.hoshime.com/v1/applecharts/topAlbums" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/applecharts/topAlbums", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/applecharts/topAlbums", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "artistId": "1276656483", "artistName": "Lil Baby", "artworkUrl": "https://is1-ssl.mzstatic.com/image/thumb/Music211/v4/a2/df/3c/a2df3c58-fbda-cc45-b349-bad967c1e7a8/26UM1IM31430.rgb.jpg/100x100bb.jpg", "contentAdvisory": "Explict", "genres": [ { "name": "Music" }, { "name": "Hip-Hop/Rap" } ], "id": "6823820064", "name": "FRESH", "rank": 1, "releaseDate": "2026-11-06", "url": "https://music.apple.com/us/album/fresh/6823820064" }, { "artistId": "1482508209", "artistName": "BigXthaPlug", "artworkUrl": "https://is1-ssl.mzstatic.com/image/thumb/Music211/v4/f2/30/e2/f230e2c5-8527-184a-12f7-442f85567061/711209295424.png/100x100bb.jpg", "contentAdvisory": "Explict", "genres": [ { "name": "Hip-Hop/Rap" }, { "name": "Music" } ], "id": "6827763091", "name": "BETTER OVER TIME", "rank": 2, "releaseDate": "2026-11-02", "url": "https://music.apple.com/us/album/better-over-time/6827763091" } ], "meta": { "cached": false, "endpoint": "topAlbums", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "applecharts", "requestId": "req_2Xb9kQ…", "units": 1 } }
topMusicVideos
GET
/v1/applecharts/topMusicVideosMost played music videos of an Apple Music storefront, ranked.
scope social:read1 unitcached 1 hpaginated
Parameters
countrystring | Two-letter Apple Music storefront code, such as us, gb or jp. default us |
limitinteger | Items per page, 1 to 100. default 25 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
23 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
contentAdvisory | string |
description | string |
durationSeconds | integer (int64) |
genres | Genre[] |
name | string |
id | string |
likeCount | integer (int64) |
publishedAt | string |
rank | integer (int64) |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/applecharts/topMusicVideos" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/applecharts/topMusicVideos", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/applecharts/topMusicVideos", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "271256", "name": "Drake & Qendresa", "url": "", "username": "" }, "commentCount": 0, "contentAdvisory": "Explict", "description": "", "durationSeconds": 0, "genres": [ { "name": "Hip-Hop" } ], "id": "6818209994", "likeCount": 0, "publishedAt": "2026-05-15T00:00:00Z", "rank": 1, "thumbnails": [ { "height": 0, "url": "https://is1-ssl.mzstatic.com/image/thumb/Video221/v4/13/39/fe/1339fed8-0d66-8aea-9e03-66680022de29/26UMGIM64084.crop.jpg/100x73mv.jpg", "width": 0 } ], "title": "Slap The City", "url": "https://music.apple.com/us/music-video/slap-the-city/6818209994", "viewCount": 0 }, { "author": { "avatarUrl": "", "id": "1047679432", "name": "Jack Harlow", "url": "", "username": "" }, "commentCount": 0, "contentAdvisory": "", "description": "", "durationSeconds": 0, "genres": [ { "name": "Hip-Hop/Rap" } ], "id": "6829221600", "likeCount": 0, "publishedAt": "2026-11-06T00:00:00Z", "rank": 2, "thumbnails": [ { "height": 0, "url": "https://is1-ssl.mzstatic.com/image/thumb/Video221/v4/27/2e/7f/272e7fa6-715d-bb44-ce92-6396b4d9324b/USATV2611517.sca1.jpg/100x56mv.jpg", "width": 0 } ], "title": "SWEET ACTION II", "url": "https://music.apple.com/us/music-video/sweet-action-ii/6829221600", "viewCount": 0 } ], "meta": { "cached": false, "endpoint": "topMusicVideos", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "applecharts", "requestId": "req_2Xb9kQ…", "units": 1 } }