Search APIs
Add Your API
iTunes API thumbnail

iTunes

4.4 Popularity
0% Service Level
127262ms Latency
N/A Test

API Overview

Connect to the iTunes Search API to add iTunes and Mac Store search fields to your app. Test an API in your browser and export the code snippet into your app.

Pricing is free but the API is restricted to Apple Affiliates. Read more information here: https://affiliate.itunes.apple.com/resources/documentation/itunes-store-web-service-search-api/

Add iTunes and Mac Store search fields to your app.

iTunes Package

The iTunes Search API allows you to place search fields in your website to search for content within the iTunes Store, App Store, iBooks Store and Mac App Store.

Custom datatypes:

DatatypeDescriptionExample
DatepickerString which includes date and time2016-05-28 00:00:00
MapString which includes latitude and longitude coma separated50.37, 26.56
ListSimple array["123", "sample"]
SelectString with predefined valuessample
ArrayArray of objects[{"Second name":"123","Age":"12","Photo":"sdf","Draft":"sdfsdf"},{"name":"adi","Second name":"bla","Age":"4","Photo":"asfserwe","Draft":"sdfsdf"}]

iTunes.search

Search for content within the iTunes Store, App Store, iBooks Store and Mac App Store.

FieldTypeDescription
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).

iTunes.searchMovies

Search in movies.

FieldTypeDescription
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
entitySelectThe type of results you want returned, one of movieArtist, movie.
attributeSelectThe attribute you want to search for in the stores, one of actorTerm, genreIndex, artistTerm, shortFilmTerm, producerTerm, ratingTerm, directorTerm, releaseYearTerm, featureFilmTerm, movieArtistTerm, movieTerm, ratingIndex, descriptionTerm.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).

iTunes.searchPodcasts

Search in podcasts.

FieldTypeDescription
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
entitySelectThe type of results you want returned, one of podcastAuthor, podcast.
attributeSelectThe attribute you want to search for in the stores, one of titleTerm, languageTerm, authorTerm, genreIndex, artistTerm, ratingIndex, keywordsTerm, descriptionTerm.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).

iTunes.searchMusic

Search in music.

FieldTypeDescription
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
entitySelectThe type of results you want returned, one of musicArtist, musicTrack, album, musicVideo, mix, song.
attributeSelectThe attribute you want to search for in the stores, one of mixTerm, genreIndex, artistTerm, composerTerm, albumTerm, ratingIndex, songTerm.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).

iTunes.searchMusicVideos

Search music and videos content.

FieldTypeDescription
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
entitySelectThe type of results you want returned, one of musicArtist, musicVideo.
attributeSelectThe attribute you want to search for in the stores, one of genreIndex, artistTerm, albumTerm, ratingIndex, songTerm.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).

iTunes.searchAudiobooks

Search in audiobooks.

FieldTypeDescription
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
entitySelectThe type of results you want returned, one of audiobookAuthor, audiobook.
attributeSelectThe attribute you want to search for in the stores, one of titleTerm, authorTerm, genreIndex, ratingIndex.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).

iTunes.searchShortFilms

Search in short films.

FieldTypeDescription
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
entitySelectThe type of results you want returned, one of shortFilmArtist, shortFilm.
attributeSelectThe attribute you want to search for in the stores, one of genreIndex, artistTerm, shortFilmTerm, ratingIndex, descriptionTerm.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).

iTunes.searchTvShows

Search in TV shows.

FieldTypeDescription
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
entitySelectThe type of results you want returned, one of tvEpisode, tvSeason.
attributeSelectThe attribute you want to search for in the stores, one of genreIndex, tvEpisodeTerm, showTerm, tvSeasonTerm, ratingIndex, descriptionTerm.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).

iTunes.searchSoftwares

Search in softwares.

FieldTypeDescription
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
entitySelectThe type of results you want returned, one of software, iPadSoftware, macSoftware.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).

iTunes.searchEbooks

Search in ebooks.

FieldTypeDescription
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).

iTunes.getContentById

Look up content by iTunes ID.

FieldTypeDescription
contentIdStringId of content for Retrieving.
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
mediaSelectThe media type you want to search for. The default is all.
entitySelectThe type of results you want returned, relative to the specified media type. For example: movieArtist for a movie media type search. The default is the track entity associated with the specified media type.
attributeSelectThe attribute you want to search for in the stores, relative to the specified media type. For example, if you want to search for an artist by name specify entity=allArtist&attribute=allArtistTerm. In this example, if you search for term=maroon, iTunes returns “Maroon 5” in the search results, instead of all artists who have ever recorded a song with the word "maroon" in the title.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).

iTunes.getContentByUpc

Look up an album or video by its UPC.

FieldTypeDescription
upcStringUPC of album or video.
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
mediaSelectThe media type you want to search for. The default is all.
entitySelectThe type of results you want returned, relative to the specified media type. For example: movieArtist for a movie media type search. The default is the track entity associated with the specified media type.
attributeSelectThe attribute you want to search for in the stores, relative to the specified media type. For example, if you want to search for an artist by name specify entity=allArtist&attribute=allArtistTerm. In this example, if you search for term=maroon, iTunes returns “Maroon 5” in the search results, instead of all artists who have ever recorded a song with the word "maroon" in the title.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).

iTunes.getContentByIsbn

Look up content by ISBN.

FieldTypeDescription
isbnStringInternational standard book number.
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
mediaSelectThe media type you want to search for. The default is all.
entitySelectThe type of results you want returned, relative to the specified media type. For example: movieArtist for a movie media type search. The default is the track entity associated with the specified media type.
attributeSelectThe attribute you want to search for in the stores, relative to the specified media type. For example, if you want to search for an artist by name specify entity=allArtist&attribute=allArtistTerm. In this example, if you search for term=maroon, iTunes returns “Maroon 5” in the search results, instead of all artists who have ever recorded a song with the word "maroon" in the title.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).

iTunes.getContentByAmgAlbumId

Look up an album by its AMG Album ID

FieldTypeDescription
amgAlbumIdListAMG Album identifier or comma separated Ids.
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
mediaSelectThe media type you want to search for. The default is all.
entitySelectThe type of results you want returned, relative to the specified media type. For example: movieArtist for a movie media type search. The default is the track entity associated with the specified media type.
attributeSelectThe attribute you want to search for in the stores, relative to the specified media type. For example, if you want to search for an artist by name specify entity=allArtist&attribute=allArtistTerm. In this example, if you search for term=maroon, iTunes returns “Maroon 5” in the search results, instead of all artists who have ever recorded a song with the word "maroon" in the title.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).

iTunes.getContentByAmgArtistId

Look up content by AMG artist ID.

FieldTypeDescription
amgArtistIdListAMG Artist Id or comma separated Ids.
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
mediaSelectThe media type you want to search for. The default is all.
entitySelectThe type of results you want returned, relative to the specified media type. For example: movieArtist for a movie media type search. The default is the track entity associated with the specified media type.
attributeSelectThe attribute you want to search for in the stores, relative to the specified media type. For example, if you want to search for an artist by name specify entity=allArtist&attribute=allArtistTerm. In this example, if you search for term=maroon, iTunes returns “Maroon 5” in the search results, instead of all artists who have ever recorded a song with the word "maroon" in the title.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).

iTunes.getContentByAmgVideoId

Look up content by AMG Video ID.

FieldTypeDescription
amgVideoIdListAMG Video identire.
termStringThe text string you want to search for.
countryStringThe two-letter country code for the store you want to search.
mediaSelectThe media type you want to search for. The default is all.
entitySelectThe type of results you want returned, relative to the specified media type. For example: movieArtist for a movie media type search. The default is the track entity associated with the specified media type.
attributeSelectThe attribute you want to search for in the stores, relative to the specified media type. For example, if you want to search for an artist by name specify entity=allArtist&attribute=allArtistTerm. In this example, if you search for term=maroon, iTunes returns “Maroon 5” in the search results, instead of all artists who have ever recorded a song with the word "maroon" in the title.
limitNumberThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
langSelectThe language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. The default is en_us (English).