Skip to main content
ScrapingRabbit

Blog · · 4 min read

Search the App Store With an API

Search the App Store as JSON: app id, developer, rating, price and version for any keyword. Working code, what each field means, and the limits to plan for.

Before you can read an app's reviews or compare it with others, you need to find it. Product teams use App Store search to see who ranks for a keyword, and analysts use it to compare ratings and prices across a category. This guide shows how to search with a single GET request, what each field means, and how to use the result.

Send the search text as query. Every call needs an API key. New accounts get 100 free credits and a first key is created automatically on sign-up (it is shown once on the dashboard). Sign in at scrapingrabbit.com/login, then send the key in the x-api-key header (a Bearer token also works). The code below reads it from the SCRAPINGRABBIT_API_KEY environment variable, so no key is ever written into your code.

curl -H "x-api-key: $SCRAPINGRABBIT_API_KEY" "https://api.scrapingrabbit.com/v1/apple/search?query=meditation"

A successful call costs 1 credit, as the OpenAPI file lists it. Failed calls are not charged.

A shortened real answer, read on 3 December 2026 for the search meditation. The real answer holds more fields for each app, such as the full description, screenshots and supported devices. We kept three apps and the main fields:

{
  "success": true,
  "data": {
    "term": "meditation",
    "country": "us",
    "organic_results": [
      {
        "position": 1,
        "id": 337472899,
        "title": "Insight Timer: Meditate, Sleep",
        "price": { "type": "free", "value": 0, "currency": "USD", "formatted": "Free" },
        "rating": [{ "type": "all", "rating": 4.89518, "count": 450154 }],
        "genres": [{ "name": "Health & Fitness", "id": "6013", "primary": true }],
        "developer": { "name": "Insight Network Inc", "id": 983080487 }
      },
      {
        "position": 2,
        "id": 571800810,
        "title": "Calm",
        "price": { "type": "free", "value": 0, "currency": "USD", "formatted": "Free" },
        "rating": [{ "type": "all", "rating": 4.77161, "count": 1998090 }],
        "genres": [{ "name": "Health & Fitness", "id": "6013", "primary": true }],
        "developer": { "name": "Calm.com", "id": 571800813 }
      },
      {
        "position": 3,
        "id": 493145008,
        "title": "Headspace: Sleep & Meditation",
        "price": { "type": "free", "value": 0, "currency": "USD", "formatted": "Free" },
        "rating": [{ "type": "all", "rating": 4.84208, "count": 973701 }],
        "genres": [{ "name": "Health & Fitness", "id": "6013", "primary": true }],
        "developer": { "name": "Headspace Inc.", "id": 384434796 }
      }
    ]
  }
}

Each app in the real answer also has link, version, age_rating, release_date and latest_version_release_date, so you can see how recently an app was updated.

What the fields mean

FieldMeaning
positionThe app's place in the results, starting at 1
idThe App Store app id, a number you can use to read the app's reviews
titleThe app name as the store shows it
priceThe price, with type set to free for free apps
ratingA list of ratings. The entry with type set to all covers every version, and count is how many ratings it has
genresThe app's categories. The one with primary set to true is its main category
developerThe developer's name and id

The rating field is a list, not a single number. Pick the entry whose type is all for the overall score.

Read it in code

async function searchApps(query) {
  const url = `https://api.scrapingrabbit.com/v1/apple/search?query=${encodeURIComponent(query)}`;
  const res = await fetch(url, { headers: { "x-api-key": process.env.SCRAPINGRABBIT_API_KEY } });
  const body = await res.json();
  if (!body.success) return [];

  return body.data.organic_results.map((app) => {
    const overall = app.rating.find((r) => r.type === "all");
    return {
      id: app.id,
      title: app.title,
      rating: overall?.rating ?? null,
      ratings: overall?.count ?? 0,
      price: app.price.formatted,
    };
  });
}

console.log(await searchApps("meditation"));

The code returns an empty list when the call fails, and reduces each app to its id, name, overall rating, number of ratings and price. A new app may have no ratings yet, so it uses null and 0 instead of crashing.

The same in Python:

import os
import requests

res = requests.get(
    "https://api.scrapingrabbit.com/v1/apple/search",
    params={"query": "meditation"},
    headers={"x-api-key": os.environ["SCRAPINGRABBIT_API_KEY"]},
    timeout=60,
)
body = res.json()
if body.get("success"):
    for app in body["data"]["organic_results"]:
        overall = next((r for r in app["rating"] if r["type"] == "all"), None)
        print(app["position"], app["title"], overall and overall["rating"], app["price"]["formatted"])

Go further

Each id works as the product_id for the reviews endpoint, which our App Store reviews guide covers. A common flow is to search a keyword, take the top apps, and read the reviews of each. Keep the cost in mind: that is one credit for the search plus one for each app's reviews.

Rating counts help you judge the scores. In the answer above, Calm has about two million ratings and Headspace about one million, so their averages rest on far more votes than a small app's.

Things to plan for

  • US store only. Apps that are not in the US store do not appear.
  • The order changes. It is the store's own ranking and moves over time, so store the date you ran each search.
  • A rating is a list. Read the entry whose type is all rather than the first one.
  • Some fields are long. The description and release notes can be several paragraphs, so do not put them in a log line.
  • Rate limits and credits. Each key is limited per minute: 10 requests on the free plan, 60 on Starter, 120 on Pro and 300 on Scale. Every successful call costs 1 credit, so cache a search you will repeat.
  • Always check success. A failed request returns success: false, a code such as RATE_LIMITED or INVALID_API_KEY, and a message. Failed calls are not charged.

Try it without code

The free App Store search tool works in the browser with no key and shows each app's developer, rating, price and version for any search you type.

Try it yourself

Frequently asked questions

What can I search for?

An app name or what the app does, for example notion or meditation. The search text can be up to 300 characters.

Which store does it search?

The US App Store. Apps that exist only in other countries' stores are not included.

Is the order of the results fixed?

No. The order is the store's own and changes over time, so store the date you ran the search.

More guides