2021 Audio & Video
WWDC21 · 8 min · Audio & Video
Explore the catalog with the Apple Music API
Discover how you can use the Apple Music API to fetch music catalog metadata for your app. Explore the latest updates to the API as well as some advanced techniques for shaping your requests and highlighting the right metadata for a project. To get the most out of this session, we recommend some familiarity with the Apple Music API.
Watch at developer.apple.com ↗Code shown on screen · 6 snippets
Search Suggestions Terms Request
/v1/catalog/us/search/suggestions?term=taylor&kinds=terms Search Suggestions Top Results Request
/v1/catalog/us/search/suggestions?term=taylor&kinds=topResults&types=artists,songs Search Suggestions Relate Albums Request
/v1/catalog/us/search/suggestions?term=taylor&kinds=topResults&types=artists,albums,songs&relate[songs]=albums Search Suggestions Extend artistUrl Request
/v1/catalog/us/search/suggestions?term=taylor&kinds=topResults&types=artists,albums,songs&relate[songs]=albums&extend[songs]=artistUrl Artist Top Songs View Request
/v1/catalog/us/artists/159260351?views=top-songs Top Charts Request
/v1/catalog/us/charts?types=playlists&with=dailyGlobalTopCharts,cityCharts Resources
Related sessions
-
18 min -
18 min