iTunes Music Search

Songs, albums, artists or music videos from Apple's iTunes Store search for any words, in one or more store countries: Apple ids, names, genre, release date, track and album prices with currency, track count, explicit flag, preview clip, artwork and store links.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usProducts, 26 fieldsv1.0

Data from itunes.apple.com/search

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Search terms
Words to search: song, album or artist names, such as folklore or taylor swift. Each term is searched on its own. One per line, or separated by commas.
Example: folklore
Entityoptional
What to return: song, album, musicArtist (artists) or musicVideo.
Countryoptional
Two-letter store country, such as us, gb or ca (us when empty). Give several separated by commas, such as us,gb,ca, to search each store.
Example: us
Maximum resultsoptional
Results per search term and country, 1 to 200.
Example: 50

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/itunes-music-search/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/itunes-music-search/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search_terms":["folklore"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

search_termslistrequired
Words to search: song, album or artist names, such as folklore or taylor swift. Each term is searched on its own.
example: folklore
entitytext
What to return: song, album, musicArtist (artists) or musicVideo.
default: songexample: albumone of: song, album, musicArtist, musicVideo
countrytext
Two-letter store country, such as us, gb or ca (us when empty). Give several separated by commas, such as us,gb,ca, to search each store.
default: usexample: us
max_resultsnumber
Results per search term and country, 1 to 200.
default: 50example: 50

What's in each record

26 fields: 21 here, 5 technical ones under Technical details.

Basics

  • Kind

    song, album, artist or music-video.

    Example song

  • Track name

    Name of the song or music video.

    Example exile (feat. Bon Iver)

  • Collection name

    Name of the album.

    Example folklore

  • Artist name

    Name of the artist as Apple credits it.

    Example Taylor Swift

  • Primary genre

    Apple's main genre, such as Pop or Alternative.

    Example Alternative

  • Track count

    Number of tracks on the album (on the song's disc, for songs).

    Example 16

  • Track number

    Position of the song on its disc.

    Example 4

  • Disc number

    Disc the song is on.

    Example 1

  • Duration (seconds)

    Length of the song or video in seconds.

    Example 286

  • Explicitness

    Apple's content flag: explicit, cleaned (an edited version) or notExplicit.

    Example notExplicit

  • Streamable

    Yes when the song plays on Apple Music.

    Example Yes

  • Rank

    Position in Apple's results for that term and country; 1 is the best match.

    Example 1

Prices

  • Track price

    Price of the single song or video; empty when it is sold only with the album.

    Example $1.29

  • Collection price

    Price of the whole album.

    Example $12.99

  • Currency

    ISO 4217 code of the prices, such as USD or GBP.

    Example USD

Location

  • Store country

    Two-letter code of the store searched, such as US.

    Example US

Dates

  • Release date

    The day the item was or will be released.

    Example Jul 24, 2020

Pictures and media

Technical detailsField names and types for developers, and the 5 fields hidden above

Hidden by default

These 5 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • ID idApple's id of the item: the track id for songs and music videos, the collection id for albums, the artist id for artists.
  • Track ID track_idApple's id of the song or music video.
  • Collection ID collection_idApple's id of the album.
  • Artist ID artist_idApple's id of the artist.
  • Search words search_termThe search term that found the item.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
kindtextKind3 of 3
store_urllinkStore link3 of 3
track_idtextTrack ID (hidden)3 of 3
collection_idtextCollection ID (hidden)3 of 3
artist_idtextArtist ID (hidden)3 of 3
track_nametextTrack name3 of 3
collection_nametextCollection name3 of 3
artist_nametextArtist name3 of 3
primary_genretextPrimary genre3 of 3
release_datedateRelease date3 of 3
track_pricemoneyTrack price3 of 3
collection_pricemoneyCollection price3 of 3
currencytextCurrency3 of 3
track_countnumberTrack count3 of 3
track_numbernumberTrack number3 of 3
disc_numbernumberDisc number3 of 3
duration_secondsnumberDuration (seconds)3 of 3
explicitnesstextExplicitness3 of 3
is_streamableyes or noStreamable3 of 3
preview_urllinkPreview link3 of 3
artwork_urlimage linkArtwork3 of 3
artist_urllinkArtist link3 of 3
store_countrytextStore country3 of 3
search_termtextSearch words (hidden)3 of 3
ranknumberRank3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordKindTrack nameCollection nameArtist namePrimary genreTrack countTrack numberDisc numberDuration (seconds)ExplicitnessStreamableRankTrack priceCollection priceCurrencyStore countryRelease dateStore linkPreview linkArtist linkArtwork
1songexile (feat. Bon Iver)folkloreTaylor SwiftAlternative1641286notExplicitYes1$1.29$12.99USDUSJul 24, 2020music.apple.com/us/album/exile-feat-bon-iver/1524801260?i=1524801587&uo=4audio-ssl.itunes.apple.com/itunes-assets/AudioPreview221/v4/31/2a/ef/312aef5a-48e7-5872-0c3c-7e026244acda/mzaf_13356540013339154926.plus.aac.p.m4amusic.apple.com/us/artist/taylor-swift/159260351?uo=4is1-ssl.mzstatic.com/image/thumb/Music125/v4/ca/f3/67/caf367a5-2cf6-6b2e-a891-97dc57b19f08/20UMGIM64216.rgb.jpg/600x600bb.jpg
2songFolkloreHeritage (Special Edition)OpethMetal1291497notExplicitYes2$1.29$11.99USDUSSep 14, 2011music.apple.com/us/album/folklore/453916266?i=453916275&uo=4audio-ssl.itunes.apple.com/itunes-assets/AudioPreview221/v4/98/06/e9/9806e91f-b4da-5d34-0168-45305b663e9c/mzaf_10774862754353583638.plus.aac.p.m4amusic.apple.com/us/artist/opeth/3196120?uo=4is1-ssl.mzstatic.com/image/thumb/Music/37/1d/2c/mzi.swfahwjx.jpg/600x600bb.jpg
3songFolkloreFolkloreBig Big TrainRock911451notExplicitYes3$0.99$9.99USDUSMay 27, 2016music.apple.com/us/album/folklore/1096218321?i=1096218358&uo=4audio-ssl.itunes.apple.com/itunes-assets/AudioPreview125/v4/d8/f1/f4/d8f1f4dc-905d-9ade-96ad-b739a17b7bb1/mzaf_4005640201484835649.plus.aac.p.m4amusic.apple.com/us/artist/big-big-train/287138759?uo=4is1-ssl.mzstatic.com/image/thumb/Music125/v4/9f/22/2d/9f222d80-ccb6-40f2-f23d-5669c4c87ed6/0797776132959.jpg/600x600bb.jpg

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Up to 200 results per search term and country, Apple's own ceiling, best match first; Apple offers no further pages. Add more terms for more results.
  • Apple allows about 20 searches a minute from one address, so each term and country pair takes about 3 seconds; very large runs end early if Apple says to slow down.
  • Prices are the iTunes Store's download prices in that country's currency. Apple Music streaming has no price here, and track_price is empty for tracks sold only with their album.
  • Artist results carry only the artist's id, name, genre and links; release date, prices and artwork stay empty for them.
  • Data comes from Apple's public iTunes Search service; Apple does not run or endorse this API. Apple's terms ask that you link each item back to Apple using store_url, and artwork and previews are for promoting the music.

Version history

A run uses the live version unless the request names another one with version.