RapidAPI logo

iTunes

FREE
By volodimir.kudriachenko
Updated 4 months ago
Music
8.3/10
Popularity Score
252ms
Latency
100%
Success Rate

iTunes API Documentation

Add iTunes and Mac Store search fields to your app.

View API Details
POSTgetContentByAmgAlbumId
POSTgetContentByAmgArtistId
POSTgetContentByAmgVideoId
POSTgetContentById
POSTgetContentByIsbn
POSTgetContentByUpc
POSTsearch
POSTsearchAudiobooks
POSTsearchEbooks
POSTsearchMovies
POSTsearchMusic
POSTsearchMusicVideos
POSTsearchPodcasts
POSTsearchShortFilms
POSTsearchSoftwares
POSTsearchTvShows
POSTsearchPodcasts

Search in podcasts.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
termSTRING
REQUIREDThe text string you want to search for.
countrySTRING
REQUIREDThe two-letter country code for the store you want to search.
Optional Parameters
limitNUMBER
OPTIONALThe number of search results you want the iTunes Store to return. In range 1 - 200.The default is 50.
entitySELECT
OPTIONALThe type of results you want returned, one of podcastAuthor, podcast.
attributeSELECT
OPTIONALThe attribute you want to search for in the stores, one of titleTerm, languageTerm, authorTerm, genreIndex, artistTerm, ratingIndex, keywordsTerm, descriptionTerm.
langSELECT
OPTIONALThe 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).
Code Snippet
unirest.post("https://iTunesvolodimir-kudriachenkoV1.p.rapidapi.com/searchPodcasts")
.header("X-RapidAPI-Host", "iTunesvolodimir-kudriachenkoV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://iTunesvolodimir-kudriachenkoV1.p.rapidapi.com/searchPodcasts
Request Method: POST
Response Headers
Response Body
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://iTunesvolodimir-kudriachenkoV1.p.rapidapi.com/searchPodcasts")
.header("X-RapidAPI-Host", "iTunesvolodimir-kudriachenkoV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication