Apple Music Scraper
Search Apple Music or retrieve public artist, album, and track catalogue data through Apple's public iTunes Search and Lookup API.
Workspace
Configure
Inputs stay here while results become exportable artifacts.
Start from an example
Results
Preview, inspect, copy, or export the complete output.
Your result will become an artifact
Run the tool to inspect structured rows, raw JSON, execution details, and downloadable JSON, CSV, and Markdown files.
Overview
Apple Music Scraper uses Apple's public iTunes Search and Lookup API to normalize music catalogue data without requiring an Apple developer token. It supports artist, album, track, and search modes with ids, names, artwork, genres, dates, prices, preview URLs, and catalogue links when exposed.
Last validated: Jul 15, 2026
Input
idstringNumeric Apple artist, album, or track id.
urlstring (uri)Public Apple Music URL containing a numeric id.
mode"artist" | "album" | "track" | "search"Catalogue operation to run.
querystringSearch term for search mode.
countrystringdefault: "US"Two-letter storefront country code.
max_resultsintegerdefault: 10Maximum search results or related records.
Output
modestringrequiredResolved operation mode
countintegerrequiredNumber of normalized records
itemsobject[]requiredNormalized public catalogue records
source_urlstringrequiredApple public catalogue endpoint fetched
Examples
apple-music-artist
{
"id": "262836961",
"mode": "artist",
"max_results": 3
}apple-music-album
{
"id": "1544491232",
"mode": "album",
"max_results": 3
}apple-music-track
{
"id": "1544491233",
"mode": "track"
}apple-music-search
{
"mode": "search",
"query": "Adele",
"max_results": 3
}Use cases
FAQ
Does this require an Apple developer token?
No. It uses Apple's public iTunes Search and Lookup API.
Can album mode return tracks?
Yes. Album lookup returns the public collection record followed by the bounded track list exposed by Apple.
Are preview URLs included?
They are returned when Apple's public catalogue response exposes one for a track.
Use it anywhere
MCP (Claude, ChatGPT, Codex)
# After connecting https://betterfetch.co/api/mcp, ask your AI to:
1. Call search_tools for "Apple Music Scraper"
2. Call run_tool with:
name: "apple_music_scraper"
input: {"id":"262836961","mode":"artist","max_results":3}REST
curl -sS -X POST "https://betterfetch.co/api/tools/apple_music_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input": {"id":"262836961","mode":"artist","max_results":3}}'Run locally
git clone https://github.com/better-fetch/tools/tree/main/tools/apple-music-scraper && cd apple-music-scraper && npm i
BETTER_FETCH_API_KEY=bf_your_key_here npx bf-tool run --input '{"id":"262836961","mode":"artist","max_results":3}'