The Apple App Store is the built-in software repository for iPhone, iPad, and Mac devices, and it serves as the main entry point for brands on Apple devices. If someone wants to use a messaging service besides iMessage, order a rideshare, or get to a streaming service, their first stop is the App Store's search.
With the Apple App Store APIs from SerpApi, you can retrieve the App Store's search results, individual app listings, and app reviews. SerpApi takes care of all the typical web scraping complexities, so you can focus on your actual business or project.
What can you scrape from Apple App Store?
Here's everything you can pull from the App Store using SerpApi's Apple App Store APIs:
- Search results: The applications that appear in a search for a given query. You can configure the region and language to compare visibility in different markets. Advertisements, like the ones that sometimes appear as the first search result, are not included.
- Screenshots and icons: The screenshots from an app's listing, across all supported device categories, and the app's icon image.
- Supported devices: The minimum supported iOS version for a given application, and for some results, a list of all compatible devices.
- Description: The full text description from an app's listing.
- Ratings and reviews: The text, title, date, star rating, app version number, and author of each review for a given app.
- File size: The size of the downloaded application. It's just the base application file, not including any saved offline media, DLC in games, or cached data the app might accumulate in regular use.
- App metadata: The version, release date, content ratings, supported languages, package name, and other related information.

Getting started with SerpApi
You need a free SerpApi account before you can use the Apple App Store APIs. If you need faster speeds or more search capacity, upgrading to a paid account can be done at any time.
First, create an account and verify your email and other details. After that, get the API key from your account dashboard.

If your code will be shared or published anywhere, be sure to store your API key in a safe location, so no one else sees it. If the key is leaked or stolen, you can regenerate it from the dashboard.
Install the SerpApi library (optional)
SerpApi has official integrations for Python, JavaScript, Ruby, Java, and other environments. They aren't required, but they provide a simple wrapper around the API requests.
The APIs can also be used with cURL, fetch() in Node.js, or anything else that can send GET requests and process a JSON response.
Review the Apple App Store APIs documentation
SerpApi has extensive documentation for each of its APIs, covering all supported parameters and filters, code examples for popular languages, and example JSON/Markdown responses.
The App Store functionality is split into three APIs:
- Apple App Store Search Scraper API: This is used for viewing search results from the App Store, with
termas the required parameter in the API request for the search you want. - Apple App Store Product Page Scraper API: This returns the full listing for a given application. It needs an app ID as input, using the
product_idparameter. - Apple App Store Reviews Scraper API: This is used for scraping multiple pages of reviews with different sorting methods. The required parameter is
product_idfor the app's ID.
The app ID for using the Product Page Scraper API and Reviews Scraper API can usually be found in the URL. For example, this is the page for the Instagram app:
https://apps.apple.com/us/app/instagram/id389801252The app ID is the string of numbers after "id", so 389801252 for Instagram. If you use the Search Scraper API, each search result includes an id key.
How to scrape Apple App Store results
If you have your API key, you're ready to start pulling data from Apple App Store searches. The results will be identical across all libraries and GET requests, so use whichever method you want.
GET request with JSON
This will search for "shop" in the App Store in the United States, with English language results, and return the first 10 results in JSON format:
https://serpapi.com/search.json?engine=apple_app_store&term=shop&country=us&lang=en-us&num=10&api_key=YOUR_KEY_GOES_HEREEach search result includes an id that you can use as input for the other App Store APIs. With the id value of 297606951 from the Amazon Shopping app, you can check the full app listing with another GET request:
https://serpapi.com/search.json?engine=apple_product&product_id=297606951&type=app&country=us&api_key=YOUR_KEY_GOES_HEREThis uses the app's id value to pull the first page of the most recent reviews:
https://serpapi.com/search.json?engine=apple_reviews&product_id=297606951&country=us&sort=mostrecent&api_key=YOUR_KEY_GOES_HEREYou can also use SerpApi's JSON Restrictor feature to trim the API response to specific values. This searches for "shop" and only includes the title, ID, and link for each result:
https://serpapi.com/search.json?engine=apple_app_store&term=shop&country=us&lang=en-us&num=10&json_restrictor=organic_results[].{title,id,link}&api_key=YOUR_KEY_GOES_HEREThis can be helpful for reducing bandwidth usage, or for large language models (LLMs) with a limited context window.
GET request with Markdown
If you want a more human-readable format, or if the data will be used with LLMs, you can try Markdown output instead of JSON. The parameters are all identical, you just use search.md instead of search.json in the API request.
This will search for "movies" on the App Store, with the United States as the region, and return the results as a Markdown table:
https://serpapi.com/search.md?engine=apple_app_store&term=movies&country=us&lang=en-us&num=10&api_key=YOUR_KEY_GOES_HEREEach of the results includes an id that can be used for the other App Store APIs. Here's how you can fetch the app listing for Netflix in Markdown format, with 363590051 as its app ID:
https://serpapi.com/search.md?engine=apple_product&product_id=363590051&type=app&country=us&api_key=YOUR_KEY_GOES_HEREThis fetches the app's first page of most recent reviews, using the same app ID:
https://serpapi.com/search.md?engine=apple_reviews&product_id=363590051&country=us&sort=mostrecent&api_key=YOUR_KEY_GOES_HEREMarkdown output also works with JSON Restrictor to trim the API response to specific values. This searches for "movies" in the App Store, and limits the Markdown table in the response to just the title, ID, and link for each app:
https://serpapi.com/search.md?engine=apple_app_store&term=movies&country=us&lang=en-us&num=10&json_restrictor=organic_results[].{title,id,link}&api_key=YOUR_KEY_GOES_HEREThis can be helpful for reducing bandwidth usage, or for large language models (LLMs) with a limited context window.
Python
This example uses the SerpApi Python library to show results for "movies" in the App Store with their download sizes, then retrieve the snippet, description, and version history of the top result in a follow-up request:
import serpapi
client = serpapi.Client(api_key=YOUR_KEY_GOES_HERE)
# Print top 10 results for search
search_response = client.search({
"engine": "apple_app_store",
"term": "movies",
"country": "us",
"lang": "en-us",
"num": 10
})
print(f"\nTop 10 results for search query:\n")
for app in search_response["organic_results"]:
size_mb = round(app["size_in_bytes"] / 1000 / 1000)
print(f"{app['position']}. {app['title']} ({size_mb} MB)")
# Print snippet, full description, and release history for top result
top_app = search_response["organic_results"][0]
app_response = client.search({
"engine": "apple_product",
"product_id": top_app["id"],
"type": "app",
"country": "us",
"lang": "en-us"
})
print(f"\nSnippet for: {app_response['title']}\n=====\n{app_response['snippet']}\n")
print(f"\nDescription for: {app_response['title']}\n=====\n{app_response['description']}")
print(f"\nVersion history for: {app_response['title']}\n=====")
for version in app_response["version_history"]:
print(f"{version["release_version"]} - {version["release_date"]}")Here's how you can fetch the first page of reviews for the Netflix app using its ID, sorted by most helpful:
import serpapi
client = serpapi.Client(api_key=YOUR_KEY_GOES_HERE)
response = client.search({
"engine": "apple_reviews",
"product_id": 363590051, # App ID for Netflix
"country": "us",
"sort": "mosthelpful"
})
for review in response["reviews"]:
print(f"\n{review["rating"]} stars - {review["title"]}\n=====")
print(review["text"])Ruby
This example uses the SerpApi Ruby gem to show results for "groceries" in the App Store with their download sizes, then display the snippet, full description, and version history of the top result:
require "serpapi"
# Print top 10 results for search
search_response = SerpApi::Client.new(
api_key: YOUR_KEY_GOES_HERE,
engine: "apple_app_store",
term: "groceries",
country: "us",
lang: "en-us",
num: 10
)
puts "\nTop 10 results for search query:\n"
search_response.search.dig(:organic_results).each do |app|
size_mb = (app[:size_in_bytes] / 1000 / 1000).round
puts "#{app[:position]}. #{app[:title]} (#{size_mb} MB)"
end
# Print snippet, full description, and release history for top result
top_app = search_response.search.dig(:organic_results, 0)
app_response = SerpApi::Client.new(
api_key: YOUR_KEY_GOES_HERE,
engine: "apple_product",
country: "us",
lang: "en-us",
product_id: top_app[:id]
)
puts "\nSnippet for #{app_response.search[:title]}\n=====\n#{app_response.search[:snippet]}\n"
puts "\nDescription for #{app_response.search[:title]}\n=====\n#{app_response.search[:description]}\n"
puts "\nVersion history for #{app_response.search[:title]}\n====="
app_response.search.dig(:version_history).each do |version|
puts "#{version[:release_version]} - #{version[:release_date]}"
endHere's how you can retrieve the first page of reviews for the Instacart app, using its ID, with the reviews sorted by most helpful:
require "serpapi"
response = SerpApi::Client.new(
api_key: YOUR_KEY_GOES_HERE,
engine: "apple_reviews",
product_id: 545599256, # App ID for Instacart
country: "us",
sort: "mosthelpful"
)
response.search.dig(:reviews).each do |review|
puts "\n#{review[:rating]} stars - #{review[:title]}\n====="
puts review[:text]
endJavaScript and Node.js
This is how you can use the SerpApi JavaScript library to search for "email" apps on the App Store, display the first 10 results with their download size, and then fetch more details about the top result with another API query:
import { getJson } from 'serpapi';
// Print top 10 results for search
const search = await getJson({
api_key: YOUR_KEY_GOES_HERE,
engine: "apple_app_store",
term: "email",
country: "us",
lang: "en-us",
num: 10
});
console.log("\nTop 10 results for search query:\n");
for (let app of search.organic_results) {
let sizeMb = Math.round(app.size_in_bytes / 1000 / 1000);
console.log(`${app.position}. ${app.title} (${sizeMb} MB)`);
}
// Print snippet, full description, and release history for top result
const topApp = search.organic_results[0]
const listing = await getJson({
api_key: YOUR_KEY_GOES_HERE,
engine: "apple_product",
product_id: topApp.id,
type: "app",
country: "us",
lang: "en-us"
})
console.log(`\nSnippet for: ${listing.title}\n=====\n${listing.snippet}\n`);
console.log(`\nDescription for: ${listing.title}\n=====\n${listing.description}\n`);
console.log(`\nVersion history for: ${listing.title}\n=====`);
Object.values(listing.version_history).forEach(function (version) {
console.log(`${version.release_version} - ${version.release_date}`);
});This example will fetch the first page of "most helpful" reviews for the YouTube app, using its ID, and show each review with its star rating and text:
import { getJson } from 'serpapi';
let response = await getJson({
api_key: YOUR_KEY_GOES_HERE,
engine: "apple_reviews",
product_id: 544007664,
country: "us",
sort: "mosthelpful"
})
for (let review of response.reviews) {
console.log(`\n${review.rating} stars - ${review.title}\n=====`);
console.log(review.text);
}cURL
Here's how you can search for "delivery" apps on the App Store in a cURL request, with the region set to the United States:
curl --get https://serpapi.com/search \
-d api_key="YOUR_KEY_GOES_HERE" \
-d engine="apple_app_store" \
-d term="delivery" \
-d country="us" \
-d lang="en-us" \
-d page="0" \
-d num="10"This will fetch the full listing for the Adobe Photoshop app, using its ID:
curl --get https://serpapi.com/search \
-d api_key="YOUR_KEY_GOES_HERE" \
-d engine="apple_product" \
-d type="app" \
-d product_id="1457771281" \
-d country="us"Other languages and no-code solutions
You can still use the API directly with GET requests, even if there isn't an official SerpApi integration for your preferred environment or language. SerpApi also works with Make.com, Google Sheets, N8N, and other tools.
Conclusion
The Apple App Store is one of the most important storefronts for companies, brands, and independent developers. With the Apple App Store APIs from SerpApi, you can check an app's search ranking across different regions and languages, analyze the features and reviews from competing apps, and much more.
If you need help using SerpApi, please contact us.

