Questions tagged [itunes-search-api]

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

Overview

The Search API allows you to place search fields in your website to search for content within the iTunes Store, App Store, iBookstore and Mac App Store. You can search for a variety of content; including apps, ebooks, movies, podcasts, music, music videos, audiobooks, and TV shows. You can also call an ID-based lookup request to create mappings between your content library and the digital catalog. Terms and conditions apply.

The Affiliate Program allows you to earn a commission on qualifying revenue generated by clicks initiated from your website or app into the iTunes Store, App Store, iBookstore, and Mac App Store. For more information on the Affiliate Program, see http://www.apple.com/itunes/affiliates.

Searching

To search for content from a field in your website and display the results in your website, you must create a search field that passes a fully-qualified URL content request to the iTunes Store, parse the JavaScript Object Notation (JSON) format returned from the search, and display the results in your website.

The fully-qualified URL must have the following format:

https://itunes.apple.com/search?parameterkeyvalue

Where parameterkeyvalue can be one or more parameter key and value pairs indicating the details of your query.

To construct a parameter key and value pair, you must concatenate each parameter key with an equal sign (=) and a value string. For example: key1=value1. To create a string of parameter key and value pairs, you must concatenate each pair using an ampersand (&). For example:

key1=value1&key2=value2&key3=value3

http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html

42 questions
2
votes
1 answer

Obj-C, encode Simplified Chinese in an iTunes search querystring?

I'm struggling to use the iTunes search API with Simplified Chinese. I've tried a couple of character variations (provided by google translate) along with HTML encoding the characters. The code below doesn't cause any errors but it doesn't give me…
Jules
  • 7,568
  • 14
  • 102
  • 186
2
votes
1 answer

iTunes Search API Minimum Required iOS Version

I am trying to do what is asked in this question. My approach is to get the list of the supported devices, which (results taken from current Yelp App), could be an array much like this one: ["iPhone4S", "iPhone5s", "iPadMini4G",…
arik
  • 28,170
  • 36
  • 100
  • 156
2
votes
1 answer

Search iTunes/Appstore by Category or Price

Is there any chance I can search the Appstore (lets say the Mac Appstore i.e. but I think the search works the same for iTunes or the iOS store) by category or price and get all apps with the given category or price without the limit of 200…
nucci
  • 137
  • 1
  • 3
  • 13
1
vote
1 answer

Can I play iTunes song previews in an HTML page?

I need to show on my site search results from the iTunes Store, including previews of audio tracks. I could use the iTUnes search api to return JSON info with cover image, title and other info. But for previews url I have problems (like following…
Yauhen.F
  • 2,382
  • 3
  • 19
  • 25
1
vote
0 answers

itunes Seach API: Get results only from specific country

I am trying to search through the itunes Search API for genres in a specific country. I already went through How to use iTunes search for genres and is working that I recieve the Podcasts from the defined genre. Now I would like to receive just…
P.R
  • 43
  • 1
  • 6
1
vote
0 answers

Open iTunes with current track via my application

please help with my problem. I have mobile application of some radiostation. I use AVPlayer for playing music and get metadata, so i need to make search current track or artist(metadata) via iTunes app. I can not find any really important…
Genevios
  • 1,115
  • 1
  • 16
  • 29
1
vote
1 answer

Is there a way to bypass the required attribute "term" in the iTunes search API?

I'm using the iTunes search API (more specifically this gem for rails) for an app where the most important part of the query is the genre. I have a checklist where the user can select a certain genre and the matching genreId will be searched for in…
T Edi
  • 13
  • 1
  • 4
1
vote
0 answers

iTunes Search API exclude macSoftware

When using the iTunes Search API I get results for both iOS and Mac software. I'm looking for a way to exclude the macSoftware results. https://itunes.apple.com/lookup?id=284417353&entity=software,iPadSoftware URL: Apple's software on iTunes
Berendschot
  • 3,026
  • 1
  • 21
  • 43
1
vote
0 answers

How to display iTunes search API / json results in the correct order

Can anyone help me get the search results for iTunes apps to display in the correct order? An examples is as follows: http://itunes.apple.com/search?term=board%20portal&country=gb&entity=iPadSoftware Invariably, this returns the results for an iPad…
JulioLaker
  • 11
  • 2
1
vote
1 answer

lang = 5 letters for Apple's Search API, am I missing something?

Apple's search API documents specify: lang = The language, English or Japanese, you want to use when returning search results. Specify the language using the five-letter codename. For example: en_us. The default is en_us (English). examples:…
nkconnor
  • 672
  • 3
  • 18
1
vote
2 answers

Querying the Apple AppStore?

I'd like to be able to gather information about the apps that a particular user has deployed/registered under their Apple ID. I know that Apple has an iTunes search API available, but I don't see any way to query given an Apple ID (typically…
Shadowman
  • 11,150
  • 19
  • 100
  • 198
1
vote
1 answer

what character set is the Apple Search API returning the JSON in?

I'm using the Apple Search API and getting a JSON such as the one in this link What character set is the description string in? If I wanted to store this in a mysql table, what character set would mysql have to be using?
user1467188
  • 617
  • 1
  • 10
  • 28
0
votes
0 answers

Get subtitle info with iTunes Search API

I am trying to use iTunes API to get information about subtitle languages currently available of a movie. I'm using this API:…
ZedZac
  • 1
0
votes
3 answers

How do I build a Python program with the iTune ssearch service

I am a new learner to Python and am being asked to write a program that asks the user for a search term and then perform a search using the iTunes search service for the entity type album. The program should then print how many search results where…
Linda
  • 1
  • 1
0
votes
1 answer

Is there still a way to open an iTunes search API trackViewUrl in iTunes Store and not Apple Music?

Following this question we can get a JSON response from the iTunes Search API to direct users to the trackViewUrl. The answer suggested appending &app=itunes to have the iOS device open the URL in the iTunes Store instead of Apple Music, but my test…
Steve M
  • 9,296
  • 11
  • 49
  • 98