Skip to content

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

App Store Scraper API by ScrapeBadger

Get API key Docs MCP server Pricing

App Store Scraper API

Get Apple App Store data as JSON with one HTTP request. The App Store Scraper API returns app search results, full app details (version, price, ratings, star histogram, App Privacy labels, screenshots and what's new), customer reviews, a developer's apps and the top free, paid and grossing charts, for 170 storefronts. This repo has a runnable Python, Node.js and cURL example for each endpoint and the real response each one returned.

What does an App Store scraper do?

An App Store scraper collects public data from Apple's App Store, such as an app's rating, rating count, star histogram, price, version, release notes, chart rank and customer reviews, and returns it as structured data. Marketers use it for ASO and chart tracking, and product teams to read reviews. With this API you send an app ID like 570060128, a bundle ID, a keyword or a chart type and get JSON back.

Contents

Quick start

  1. Create a free ScrapeBadger account. You get 1,000 free credits, no card needed.

  2. Copy your API key from the dashboard and export it:

    export SCRAPEBADGER_API_KEY="your_api_key"
  3. Make your first request: search apps.

cURL

curl -sS --max-time 120 -G "https://scrapebadger.com/v1/app-store/search" \
  -H "X-API-Key: $SCRAPEBADGER_API_KEY" \
  --data-urlencode 'query=language learning' \
  --data-urlencode 'country=us' \
  --data-urlencode 'limit=10'

Python (pip install requests)

import json
import os

import requests

API_KEY = os.environ["SCRAPEBADGER_API_KEY"]

response = requests.get(
    "https://scrapebadger.com/v1/app-store/search",
    headers={"X-API-Key": API_KEY},
    params={
        "query": "language learning",
        "country": "us",
        "limit": 10,
    },
    timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))

Node.js (18+, no dependencies)

const params = new URLSearchParams({
  query: 'language learning',
  country: 'us',
  limit: '10',
});

const response = await fetch(`https://scrapebadger.com/v1/app-store/search?${params}`, {
  headers: { 'X-API-Key': process.env.SCRAPEBADGER_API_KEY },
  signal: AbortSignal.timeout(120000),
});
if (!response.ok) {
  throw new Error(`HTTP ${response.status}: ${await response.text()}`);
}
console.log(JSON.stringify(await response.json(), null, 2));

Every endpoint below has the same three versions in examples/, and the real response it returned is in output-samples/.

Endpoints

Base URL: https://scrapebadger.com. Authenticate with the X-API-Key header. Credits are charged only for successful requests.

Endpoint What it returns Credits per request Docs
GET /v1/app-store/search Search apps 8 Docs
GET /v1/app-store/apps/{app_id} Get app detail 8 Docs
GET /v1/app-store/apps/{app_id}/reviews Get app reviews 8 Docs
GET /v1/app-store/developers/{artist_id} Get developer apps 8
GET /v1/app-store/charts Top charts 8 Docs
GET /v1/app-store/genres List genres Free Docs
GET /v1/app-store/markets List markets Free Docs

Common parameters

Parameter Description Default
country Storefront country (two lowercase letters), e.g. us, gb, de, jp. Sets prices, availability, reviews and charts. GET /v1/app-store/markets lists all 170. us

Examples by endpoint

Each example prints the JSON response. The Python versions are below; Node.js and cURL versions are linked under each one.

Search apps

Search the Apple App Store.

GET /v1/app-store/search · Credits: 8 · Docs

Parameter Required Type Default Description
query Yes string Search term, e.g. 'chat'
country string us App Store country code
entity string software software | iPadSoftware | macSoftware
limit integer 25 Number of results. Search returns at most 200 per query (offset + limit up to 200); charts return up to 200.
offset integer 0 Results to skip, for paging through one search (offset + limit up to 200)
lang string Language, e.g. 'en_us'
import json
import os

import requests

API_KEY = os.environ["SCRAPEBADGER_API_KEY"]

response = requests.get(
    "https://scrapebadger.com/v1/app-store/search",
    headers={"X-API-Key": API_KEY},
    params={
        "query": "language learning",
        "country": "us",
        "limit": 10,
    },
    timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))

Node.js · cURL · Output sample (123 KB)

Get app details

App detail: bundle ID, version, price, ratings, star histogram, genres, minimum iOS version, size, languages, screenshots, what's new and App Privacy details.

GET /v1/app-store/apps/{app_id} · Credits: 8 · Docs

Parameter Required Type Default Description
app_id Yes string Numeric App Store ID (the digits after id in an App Store URL), e.g. 570060128. App details also accept a bundle ID such as com.duolingo.DuolingoMobile; reviews need the numeric ID.
country string us Storefront country (two lowercase letters), e.g. us, gb, de, jp. Sets prices, availability, reviews and charts. GET /v1/app-store/markets lists all 170.
lang string Result language, e.g. 'en_us'
include_extras boolean true Also return the star histogram, full-size screenshots with dimensions, chart position, Editors' Choice flag and App Privacy details. Set false for a faster call with the core fields only.
import json
import os

import requests

API_KEY = os.environ["SCRAPEBADGER_API_KEY"]

app_id = "570060128"

response = requests.get(
    f"https://scrapebadger.com/v1/app-store/apps/{app_id}",
    headers={"X-API-Key": API_KEY},
    params={
        "country": "us",
    },
    timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))

Node.js · cURL · Output sample (24 KB)

Get app reviews

Paginated customer reviews (50 per page, up to 10 pages).

GET /v1/app-store/apps/{app_id}/reviews · Credits: 8 · Docs

Parameter Required Type Default Description
app_id Yes string Numeric App Store ID (the digits after id in an App Store URL), e.g. 570060128. App details also accept a bundle ID such as com.duolingo.DuolingoMobile; reviews need the numeric ID.
country string us Storefront country (two lowercase letters), e.g. us, gb, de, jp. Sets prices, availability, reviews and charts. GET /v1/app-store/markets lists all 170.
page integer 1 Apple caps reviews at 10 pages
sort string mostRecent mostRecent | mostHelpful
import json
import os

import requests

API_KEY = os.environ["SCRAPEBADGER_API_KEY"]

app_id = "324684580"

response = requests.get(
    f"https://scrapebadger.com/v1/app-store/apps/{app_id}/reviews",
    headers={"X-API-Key": API_KEY},
    params={
        "country": "us",
        "sort": "mostRecent",
    },
    timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))

Node.js · cURL · Output sample (23 KB)

Get a developer's apps

Developer info and their published apps.

GET /v1/app-store/developers/{artist_id} · Credits: 8

Parameter Required Type Default Description
artist_id Yes string Numeric developer ID (the digits after id in an App Store developer URL), e.g. 570060151
country string us Storefront country (two lowercase letters), e.g. us, gb, de, jp. Sets prices, availability, reviews and charts. GET /v1/app-store/markets lists all 170.
import json
import os

import requests

API_KEY = os.environ["SCRAPEBADGER_API_KEY"]

artist_id = "570060151"

response = requests.get(
    f"https://scrapebadger.com/v1/app-store/developers/{artist_id}",
    headers={"X-API-Key": API_KEY},
    params={
        "country": "us",
    },
    timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))

Node.js · cURL · Output sample (36 KB)

Get top charts

Top charts, optionally scoped to a genre.

GET /v1/app-store/charts · Credits: 8 · Docs

Parameter Required Type Default Description
country string us Storefront country (two lowercase letters), e.g. us, gb, de, jp. Sets prices, availability, reviews and charts. GET /v1/app-store/markets lists all 170.
type string top-free top-free | top-paid | top-grossing
genre integer App Store genre ID, e.g. 6014 for Games. GET /v1/app-store/genres lists them.
limit integer 50 Number of results. Search returns at most 200 per query (offset + limit up to 200); charts return up to 200.
entity string apps apps (iPhone) | ipad
import json
import os

import requests

API_KEY = os.environ["SCRAPEBADGER_API_KEY"]

response = requests.get(
    "https://scrapebadger.com/v1/app-store/charts",
    headers={"X-API-Key": API_KEY},
    params={
        "country": "us",
        "type": "top-free",
        "limit": 25,
    },
    timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))

Node.js · cURL · Output sample (78 KB)

List genres

The Apple App Store genre/category ids.

GET /v1/app-store/genres · Credits: Free · Docs

import json
import os

import requests

API_KEY = os.environ["SCRAPEBADGER_API_KEY"]

response = requests.get(
    "https://scrapebadger.com/v1/app-store/genres",
    headers={"X-API-Key": API_KEY},
    timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))

Node.js · cURL · Output sample (3 KB)

List storefronts

Supported App Store country codes.

GET /v1/app-store/markets · Credits: Free · Docs

import json
import os

import requests

API_KEY = os.environ["SCRAPEBADGER_API_KEY"]

response = requests.get(
    "https://scrapebadger.com/v1/app-store/markets",
    headers={"X-API-Key": API_KEY},
    timeout=120,
)
response.raise_for_status()
print(json.dumps(response.json(), indent=2, ensure_ascii=False))

Node.js · cURL · Output sample (9 KB)

Example output

A real response from GET /v1/app-store/search, trimmed to the first items of each list. The full response is in output-samples/search.json.

{
  "query": "language learning",
  "country": "us",
  "entity": "software",
  "result_count": 9,
  "apps": [
    {
      "app_id": 570060128,
      "bundle_id": "com.duolingo.DuolingoMobile",
      "name": "Duolingo: Learn Languages",
      "censored_name": "Duolingo: Learn Languages",
      "kind": "software",
      "url": "https://apps.apple.com/us/app/duolingo-learn-languages/id570060128?uo=4",
      "developer_id": 570060151,
      "developer_name": "Duolingo",
      "developer_url": "https://apps.apple.com/us/developer/duolingo/id570060151?uo=4",
      "seller_name": "Duolingo, Inc",
      "seller_url": "https://www.duolingo.com",
      "price": 0.0,
      "currency": "USD",
      "formatted_price": "Free",
      "rating": 4.72211,
      "rating_count": 5648729,
      "rating_current_version": 4.72211,
      "rating_count_current_version": 5648729,
      "description": "Learn a new language, chess & more with the world's most downloaded education app! Duolingo is the fun, free app for learning 40+ languages through quick, bite-sized lessons. Practice speaking, reading, listening & writi…",
      "release_notes": "Our mascot owl, Duo, is trading in his usual diet of mice for bugs this week. Yup, we’re squashing those pesky bugs to make the experience better for all of you.\n\nFor more Duolingo news, contests and product releases, fo…",
      "version": "7.150.0",
      "minimum_os_version": "17.0",
      "file_size_bytes": 513746944,
      "content_rating": "4+",
      "advisories": [],
      "genres": [
        "Education"
      ],
      "genre_ids": [
        6017
      ],
      "primary_genre": "Education",
      "primary_genre_id": 6017,
      "language_codes": [
        "AR"
      ],
      "supported_devices": [
        "iPhone5s-iPhone5s"
      ],
      "features": [
        "iosUniversal"
      ],
      "is_game_center_enabled": false,
      "is_vpp_device_based_licensing_enabled": true,
      "icon_url": "https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/07/df/1b/07df1b16-6416-41a3-cf76-595bc7766c8f/AppIcon-0-0-1x_U007epad-0-1-85-220.png/512x512bb.jpg",
      "icon_url_60": "https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/07/df/1b/07df1b16-6416-41a3-cf76-595bc7766c8f/AppIcon-0-0-1x_U007epad-0-1-85-220.png/60x60bb.jpg",
      "icon_url_100": "https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/07/df/1b/07df1b16-6416-41a3-cf76-595bc7766c8f/AppIcon-0-0-1x_U007epad-0-1-85-220.png/100x100bb.jpg",
      "screenshot_urls": [
        "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/6e/ef/30/6eef3023-de04-3b29-21f8-a993245b9abd/iPhone6.5_-_Default_-_first_screen_adapt_Var_2_01.jpg/320x480bb.jpg"
      ],
      "ipad_screenshot_urls": [
        "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/76/6d/5b/766d5b1d-c08b-34c8-f9e9-f6dbb42783a1/Tablet_-_Default_-_first_screen_adapt_Var_2_01.jpg/360x480bb.jpg"
      ],
  …

Use it with AI agents (MCP)

ScrapeBadger runs a hosted MCP server, so Claude, Cursor, ChatGPT and other agents can call the App Store endpoints as tools, with no code.

  • Claude (claude.ai or Claude Desktop): Settings → Connectors → Add custom connector → https://mcp.scrapebadger.com/mcp, then sign in. No API key needed.
  • Cursor, VS Code, Windsurf and other clients: add this server to your MCP config:
{
  "mcpServers": {
    "scrapebadger": {
      "url": "https://mcp.scrapebadger.com/mcp?apis=app-store",
      "headers": { "Authorization": "Bearer YOUR_SCRAPEBADGER_API_KEY" }
    }
  }
}

Then ask:

Show me the top 10 free apps on the US App Store today, then compare the rating, rating count, star histogram and latest release notes of the first three.

Setup guides for each client are in the MCP docs.

Use cases

Use case What you collect Endpoints
App store optimization (ASO) Which apps rank for a keyword, with rating, rating count, price and genre Search apps
Chart tracking Daily top free, paid and grossing ranks, overall or for one genre, by country Get top charts, List genres
Competitor tracking Version, release notes, price, ratings and star histogram of rival apps Get app details, Get a developer's apps
Review analysis The most recent or most helpful reviews per country, with stars, title, text and version Get app reviews
Market research A publisher's full catalogue and how apps compare across storefronts Get a developer's apps, Get app details, List storefronts

Pricing

  • Each endpoint's credit cost is listed in the endpoints table.
  • Only successful requests are billed. Blocked, empty and failed results cost nothing.
  • New accounts get 1,000 free credits. After that, pay as you go or pick a monthly plan. Credits on pay-as-you-go never expire.

See ScrapeBadger pricing for the price per credit on each plan.

Errors

Errors come back as JSON with a detail field (and an error code on some).

Status Meaning What to do
400 / 422 A parameter is missing or invalid Check the parameter table for the endpoint
401 Missing, invalid or expired API key Send the key in the X-API-Key header
402 Out of credits Top up or upgrade in the dashboard
403 The key can't call this API, or the request came from an IP the key doesn't allow Check the key's scopes and IP allowlist
404 The item, page or profile doesn't exist (or is no longer public) Check the ID; not billed
429 Over your account's max concurrency Wait Retry-After (1 s) and retry; run fewer calls in parallel (concurrency)
502 / 503 / 504 The target site failed or timed out on this attempt Not billed. Retry with backoff

Long calls can run asynchronously: send Prefer: respond-async and poll the returned request_id (async requests).

FAQ

Is it legal to scrape the App Store?

App pages, ratings, charts and customer reviews on the App Store are public, and collecting public data is generally lawful in most jurisdictions. Reviews carry reviewer nicknames, which can be personal data, so check the rules that apply to how you store and use them (for example GDPR), and ask a lawyer if you're unsure.

What App Store data can I get?

App details (bundle ID, developer, version, price, rating and rating count, genres, minimum iOS version, file size, languages, screenshots), plus the 1 to 5 star histogram, what's new, chart position, Editors' Choice flag and App Privacy details; customer reviews; a developer's apps; top free, paid and grossing charts; and search results for iPhone, iPad and Mac apps. See the endpoints table.

How much does it cost?

Each request costs a fixed number of credits, shown in the endpoints table, and only successful requests are billed. You get 1,000 free credits when you sign up, then pay as you go or pick a plan on the pricing page.

Which countries are supported?

170 App Store storefronts. Pass the two-letter code in country (us, gb, de, jp and so on). Prices, availability, reviews and charts differ by storefront: the us and de reviews for one app are different reviews, not translations.

How fast is it, and are there rate limits?

Search, app details and reviews usually answer in under a second. There's no per-minute cap: you can run as many requests in parallel as your plan's max concurrency allows, and a request over it gets 429 without being billed. Search returns at most 200 results per query, and reviews stop at 10 pages of 50 per storefront.

Other languages

These examples use plain HTTP. Official SDKs wrap every endpoint with types and retries:

Language Repository Install
Python scrape-badger/scrapebadger-python pip install scrapebadger
Node.js / TypeScript scrape-badger/scrapebadger-node npm install scrapebadger
Go scrape-badger/scrapebadger-go
Java scrape-badger/scrapebadger-java
C# scrape-badger/scrapebadger-csharp
PHP scrape-badger/scrapebadger-php
Ruby scrape-badger/scrapebadger-ruby
Rust scrape-badger/scrapebadger-rust
Kotlin scrape-badger/scrapebadger-kotlin
Swift scrape-badger/scrapebadger-swift
Dart scrape-badger/scrapebadger-dart
C++ scrape-badger/scrapebadger-cpp

There is also a CLI (pip install scrapebadger-cli) and an n8n node.

Related scrapers

Learn more

Disclaimer

ScrapeBadger is an independent tool and is not affiliated with, endorsed by, or sponsored by App Store or Apple Inc. or any of its subsidiaries or affiliates. "App Store" is a trademark of Apple Inc., used here only to describe the platform this scraper works with. This repository only covers publicly available data. You are responsible for how you use the data you collect and for following the laws that apply to you.

License

MIT. The examples are free to copy into your own projects.