iTunes Search API
Apple's free search API for music, apps, podcasts, movies and books.
What it does
Apple’s iTunes Search API looks up content in the iTunes Store, App Store, Apple Books and Apple Podcasts: music tracks and albums, movies, TV, apps, ebooks, audiobooks and podcasts, with names, artwork URLs, prices, genres and (for music) 30-second previews.
Base URL
Authentication
None. No key, no sign-up. Two endpoints: /search?term= for keyword search and /lookup?id= (or ?bundleId=, ?upc=) for a known identifier.
Code examples
curl -s "https://itunes.apple.com/search?term=daft+punk&entity=album&limit=3" curl -s "https://itunes.apple.com/lookup?id=909253" # an artist curl -s "https://itunes.apple.com/search?term=syntax+error&media=podcast"
import requests
r = requests.get("https://itunes.apple.com/search",
params={"term": "the daily", "media": "podcast", "limit": 1}, timeout=10)
p = r.json()["results"][0]
print(p["collectionName"], p["feedUrl"], p["artworkUrl600"])Rate limits & quotas
Apple suggests keeping to about 20 calls/minute; burst past that and you get HTTP 403. Results default to 50 (limit max 200). Artwork URLs end in a size (100x100bb.jpg) that you can edit up to e.g. 600x600bb.jpg.
Key response fields
| resultCount / results[] | Number of matches and the array |
| trackName / collectionName / artistName | Item, album/show, and creator |
| artworkUrl100 / artworkUrl600 | Cover art (swap the size in the filename) |
| previewUrl | 30-second audio/video preview (music, podcasts) |
| feedUrl | RSS feed URL for podcasts — the main reason to use this API for pods |
Common errors
| 403 | Over the ~20/minute guidance — slow down. |
| resultCount: 0 | No match — broaden the term or check country/media. |
| (wrong store) | Add country=GB etc.; results and availability are per storefront. |
When to use it (and alternatives)
The easiest way to get podcast RSS feed URLs and artwork, App Store listing data, and Apple Music/Books metadata — no auth at all. For deeper music data use Spotify or MusicBrainz; for film/TV use TMDB.
FAQ
How do I get a podcast's episodes?
The Search/Lookup API gives you the show and its feedUrl. Fetch and parse that RSS feed for the episode list — Apple does not serve episodes as JSON.
How do I get a bigger cover image?
Take artworkUrl100 and change 100x100bb.jpg in the URL to 600x600bb.jpg (or larger). It is undocumented but widely used and reliable.
Why are prices or titles different for my users?
Everything is per storefront. Pass country= (ISO code) to match the user’s region; availability, pricing and even titles vary.
New to APIs?
Short guides for working with this API — and any other.