Skip to main content

Get App Store Reviews With an API

Updated 5 min readMarkdown

Originally published at scrapingrabbit.com. I built ScrapingRabbit.

App Store reviews tell you what users like and what breaks. Product teams read them to find bugs, and analysts read them to compare apps. This guide shows how to read the reviews of one app with a single GET request, and what each field means.

Request reviews

Send the app's id or its App Store link. 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/reviews?product_id=570060128"

A successful call costs 1 credit, as the OpenAPI file lists it. It returns one page of the most helpful reviews from the US store.

A shortened real answer, read on 3 December 2026. We cut each review text and left out the reviewer names:

{
  "success": true,
  "data": {
    "product_id": "570060128",
    "country": "us",
    "sort": "mosthelpful",
    "page": 0,
    "reviews": [
      {
        "id": "14158523706",
        "type": "user-reviews",
        "attributes": {
          "date": "2026-06-08T14:19:22Z",
          "isEdited": false,
          "rating": 5,
          "title": "Experience so far",
          "review": "So most importantly if you have a child who doesn't want to study ..."
        }
      },
      {
        "id": "14096045016",
        "type": "user-reviews",
        "attributes": {
          "date": "2026-05-23T09:08:00Z",
          "isEdited": false,
          "rating": 5,
          "title": "Very improved app! I’m extremely pleased!",
          "review": "Duolingo, this time has certainly outdone itself ..."
        }
      }
    ],
    "has_more": true,
    "next_page": 1
  }
}

The answer also has a userName for each review, and the has_more and next_page fields that say more reviews exist.

What the fields mean

Field Meaning
product_id The app id you asked for
country The store the reviews come from, us here
sort The order of the page, mosthelpful here
reviews[].id The review's own id, handy as a key when you store it
reviews[].attributes.rating Stars, 1 to 5
reviews[].attributes.title The review headline
reviews[].attributes.review The full text
reviews[].attributes.date When it was posted, as a UTC date and time
reviews[].attributes.isEdited Whether the reviewer changed it later
reviews[].attributes.userName The public display name
has_more Whether the store has more reviews than this page holds

Read it in code

async function appReviews(productId) {
  const url = `https://api.scrapingrabbit.com/v1/apple/reviews?product_id=${encodeURIComponent(productId)}`;
  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.reviews.map(({ id, attributes }) => ({
    id,
    rating: attributes.rating,
    title: attributes.title,
    date: attributes.date.slice(0, 10),
  }));
}

const reviews = await appReviews("570060128");
const average = reviews.reduce((sum, r) => sum + r.rating, 0) / Math.max(reviews.length, 1);
console.log(reviews.length, "reviews, average", average.toFixed(1));

The code keeps only the fields you need and works out the average rating of the page. It uses Math.max(reviews.length, 1) so an app with no reviews does not cause a division by zero. Remember that this is the most helpful page, not a random sample, so the average describes that page and not the whole app.

The same in Python:

import os
import requests

res = requests.get(
    "https://api.scrapingrabbit.com/v1/apple/reviews",
    params={"product_id": "570060128"},
    headers={"x-api-key": os.environ["SCRAPINGRABBIT_API_KEY"]},
    timeout=60,
)
body = res.json()
if body["success"]:
    for review in body["data"]["reviews"]:
        attrs = review["attributes"]
        print(attrs["rating"], attrs["date"][:10], attrs["title"])

Go further than one page

To find the app id for a name, use the App Store search endpoint. It returns apps with their id, rating and price, and each id works as the product_id here. A common flow is to search for a category keyword, take the top apps, and read the reviews of each. Keep the cost in mind: that is one credit for the search and one credit per app.

To watch an app over time, run the same request on a schedule and store each review by its id, so you only handle new ones.

Things to plan for

  • One page of the most helpful reviews. It is the store's own ordering, so it favors reviews other people found useful, not the newest ones.
  • US store only. Reviews from other countries are not included.
  • Reviews are long and can contain emoji. Store them as UTF-8 text and do not assume a length limit.
  • Reviews can be edited. Check isEdited if you compare a stored copy with a new read.
  • Store the time you read. The order and the counts change as people vote on reviews.
  • 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 credits, so cache each app's reviews.
  • 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 reviews viewer works in the browser with no key and shows these reviews for an app you pick. The free App Store search tool finds the app id first.

About the author

  • ScrapingRabbit is a web data API with ready-made endpoints for YouTube, TikTok, Instagram, X, Amazon, Walmart, Google and SEO data. I build it, and I write practical tutorials here, each with a real response and the limits to expect. Docs: https://scrapingrabbit.com/docs

No comments yet. Be the first to comment.