App Store Review Scraper (iOS): Three Routes, Tested

A tested app store review scraper guide: the 8 reviews Apple embeds per page, the 500-review feed robots.txt rules out, and the API for your own app.

MMotherlode Lab13 min read
Magpie title card: App Store Review Scraper (iOS): Three Routes, Tested

The App Store page for an app ships a few reviews inside its HTML, and they are a curated set. I pulled the 24 embedded reviews from Duolingo, Spotify, and Notion on October 17, 2026: zero one-star ratings, and not one shorter than 220 words. The newest 150 reviews of the same three apps, from Apple’s own feed, were 28% one-star with a median length of 18.5 words.

So an app store review scraper has to answer one question before any code runs: which reviews do you want, the ones Apple shows shoppers or the ones users actually wrote this week? iOS reviews live in three places, and I measured all three. Apple sanctions exactly one of them, and it only opens for apps you own.

What an app store review scraper can reach (tested 2026-10-17)

All numbers below come from live runs on a home connection, roughly 60 polite requests across eight apps. Apple changes this storefront regularly; re-test before you build on it.

Source What you get Volume Apple’s rules
App page, apps.apple.com/us/app/…/id<n> Rating, rating count, price, category from JSON-LD; up to 8 embedded reviews (10 on the “see all” view) One page per app per country robots.txt allows it; the terms forbid automated scraping
Legacy feed, itunes.apple.com/<cc>/rss/customerreviews/… Newest reviews with stars, title, text, app version, vote counts 50 per page, 10 pages: 500 per app per country robots.txt disallows it (/*/rss/*)
App Store Connect API Every review of an app you own, filterable by stars and territory All of them, 200 per request Official; needs your API key
iTunes Lookup API, itunes.apple.com/lookup?id=<n> Average rating to five decimals, rating count, version, price No review text /lookup?id= is allowed; /us/lookup?… is not

None of these sources returns developer replies to competitors’ reviews. The page’s review objects have no reply field, and neither do the feed’s entries.

Where Magpie fits: it fetches the app page, hands back the rating as JSON-LD, and watches the page for changes. The reviews come out through a short Python script, the feed needs your own JSON parsing, and the official API needs no scraper at all.

Apple’s terms, robots.txt, and the line between them

Two documents govern this, and they disagree.

robots.txt is the crawler etiquette file. On apps.apple.com it disallows /api/*, /v1/*, search, and /WebObjects/*, but app pages under /us/app/ are open. On itunes.apple.com it carries Disallow: /*/rss/* and Disallow: /*/lookup?.

The /rss/ line covers the review feed that the best-known free libraries wrap (Route 2 names two).

The Media Services Terms (last updated September 14, 2026) are blunter: “You may not use any software, device, automated process, or any similar or equivalent manual process to scrape, copy, or perform measurement, analysis, or monitoring of, any portion of the Content or Services.” That sentence covers robots-allowed app pages too. A scraper that obeys robots.txt is still outside Apple’s contract.

I am not your lawyer, and this is not legal advice. Robots permission and contract permission are separate questions; see robots.txt and web scraping and terms of service and scraping. For how courts have treated public-data collection, read is web scraping legal. The defensible end of the spectrum is reading a few public pages slowly, which is all Route 1 does.

Route 1: the reviews embedded in the app page

The static app page is 885 KB of HTML, and it needs no JavaScript to carry its data. Two payloads matter:

  1. A JSON-LD block of type SoftwareApplication with the app’s name, price, category, and aggregateRating. Duolingo’s read "ratingValue": 4.7, "reviewCount": 5511319.
  2. A script tag with the id serialized-server-data: 560 KB of JSON that the browser hydrates. The review shelf lives at shelfMapping.allProductReviews, and each review appears twice (once on the shelf, once inside its own “more” action). Deduplicated, Duolingo, Spotify, and Notion each had exactly 8.

Each review carries id, date (ISO 8601), rating, reviewerName, title, and contents. Ignore dateText: it holds an unfilled template string, * null *. The text is complete; none of the 24 reviews I checked was truncated.

Fetch the page with Magpie

Magpie is a local Go binary: no account, no API key, and the data never leaves your machine. It is free to build and run (AGPL-3.0-or-later, dual-licensed with a commercial option):

git clone https://github.com/motherlodelab/magpie.git
cd magpie && go build -o magpie ./cmd/magpie

Save the raw page, which keeps the script tags that hold the reviews:

magpie scrape "https://apps.apple.com/us/app/duolingo-language-lessons/id570060128" \
  --page-format raw --out duolingo.html

That took 1.75 seconds. For the rating alone, the default markdown scrape returns the JSON-LD as a sidecar, so you can skip the HTML entirely:

magpie scrape "https://apps.apple.com/us/app/duolingo-language-lessons/id570060128" \
  --page-format markdown --format json --out duolingo.json
# structured_data → Organization, SoftwareApplication, BreadcrumbList

To be fair to every other tool: any HTTP client receives the same bytes for Route 1. Magpie earns its place with the JSON-LD sidecar, the watch mode below, and a local history of every fetch.

Turn saved pages into a CSV

One stdlib-only Python file reads any number of saved pages:

#!/usr/bin/env python3
"""Pull the reviews Apple embeds in an App Store page, plus its rating.
Usage: appstore_reviews.py page.html [more.html ...] > reviews.csv"""
import csv, json, re, sys

def blob(html, script_id):
    m = re.search(rf'<script[^>]*id="{script_id}"[^>]*>(.*?)</script>', html, re.S)
    return json.loads(m.group(1)) if m else None

def find(node, kind, out):
    if isinstance(node, dict):
        if node.get("$kind") == kind:
            out.setdefault(node["id"], node)  # each review appears twice
        for v in node.values():
            find(v, kind, out)
    elif isinstance(node, list):
        for v in node:
            find(v, kind, out)
    return out

w = csv.writer(sys.stdout)
w.writerow(["app", "app_rating", "app_ratings", "date", "stars", "reviewer", "title", "words", "text"])
for path in sys.argv[1:]:
    html = open(path, encoding="utf-8").read()
    app = next((b for b in re.findall(r'<script[^>]*application/ld\+json[^>]*>(.*?)</script>', html, re.S)
                if '"SoftwareApplication"' in b), None)
    app = json.loads(app) if app else {}
    agg = app.get("aggregateRating", {})
    data = blob(html, "serialized-server-data")
    if not data:
        sys.exit(f"{path}: no serialized-server-data (not an App Store app page?)")
    for r in find(data, "Review", {}).values():
        text = (r.get("contents") or "").strip()
        w.writerow([app.get("name", ""), agg.get("ratingValue", ""), agg.get("reviewCount", ""),
                    r.get("date", "")[:10], r.get("rating", ""), r.get("reviewerName", ""),
                    r.get("title", ""), len(text.split()), text])

Run against three saved pages, it wrote 24 rows. Four of them, with the text column dropped to fit (real output):

app,app_rating,app_ratings,date,stars,reviewer,title,words
Duolingo: Learn Languages,4.7,5511319,2026-06-08,5,DanteiXmyerZ,Experience so far,284
Duolingo: Learn Languages,4.7,5511319,2026-05-23,5,openzzz122,Very improved app! I’m extremely pleased!,273
Spotify: Music and Podcasts,4.8,42617924,2026-01-12,5,Stuff the app needs to fix,Stuff YOU GUYS NEED TO FIX RIGHT AWAT,322
"Notion: Notes, Tasks, AI",4.8,90418,2023-04-07,2,Carisma.S,App won’t allow me to use subscription,310

Exporting further (encodings, Excel’s habit of mangling dates) is covered in the scrape-to-CSV guide.

The limit: a showcase, not a sample

Route 1 can’t stand in for real review data. Same three apps, same day:

Embedded on the page (24 reviews) Newest in the feed (150 reviews)
5 stars 17 67
4 stars 5 18
3 stars 1 12
2 stars 1 11
1 star 0 42
Length 220–322 words each median 18.5 words
Dates September 2018 to June 2026 the last few days to months

Notion makes the gap obvious. Half of its 50 newest reviews were one-star; its page showed one two-star and nothing lower.

Whatever rule Apple uses to choose them, it favors long, detailed reviews, some of them years old. That’s useful if you want to know what a shopper sees before tapping Get. It is useless for sentiment tracking, bug triage, or anything with “trend” in the brief.

Route 2: Apple’s legacy review feed (500 per country)

Two of the best-known free libraries wrap this feed: app-store-scraper on npm (0.18.0, November 2023), which refuses pages past 10, and the app-store-web-scraper Python package (0.2.0, June 2024), which calls it “undocumented”:

https://itunes.apple.com/us/rss/customerreviews/page=1/id=570060128/sortby=mostrecent/json

Swap json for xml to get Atom. Each entry has author, updated, im:rating, im:version, title, content, im:voteSum, and im:voteCount.

Pages 1 through 10 each returned 50 entries. Page 11 returned HTTP 400. The cap is 500 reviews per app, per country storefront, newest first.

One Apify vendor claims the feed “now answers empty for most apps.” It didn’t on October 17, 2026. I tried eight apps, from Halide (13,587 US ratings) to Spotify (42.6 million), and all eight returned 50 entries on both page 1 and page 10.

What 500 reviews buys you depends on how popular the app is:

App (US ratings, Lookup API) 500 newest reviews span
Spotify (42,611,355) about 1.5 days
ChatGPT (11,377,787) about 2 days
Duolingo (5,510,537) 3 days
WhatsApp (18,790,221) 14 days
Notion (90,419) 8 months
Overcast (47,964) 11 months
Halide (13,587) 3 years, 3 months

For a big app, the feed is a window of days, 1.5 for Spotify and 14 for WhatsApp; poll it daily per country or lose reviews forever. For a niche app, it reaches back years.

Now the rules again. /*/rss/* is disallowed in itunes.apple.com/robots.txt, and Magpie’s crawler honors that: magpie crawl on the feed URL stops with “robots.txt disallows crawl” and exits 5.

A single magpie scrape does not consult robots.txt at all. Magpie treats a one-URL scrape as a user-directed fetch, like curl or a browser tab, and checks robots only in crawl and research.

So the tool won’t make this call for you. Neither will I: the feed is public JSON that Apple serves to anyone, and the robots line says crawlers should keep out. Decide with both facts in hand.

Two practical notes if you do read it. Magpie’s rss vertical isn’t the right parser for this feed: it keeps only each entry’s title, link, and date, and drops the stars, text, and author. Parse the JSON yourself.

And go slowly. Ten pages is the hard cap per app per country; put a pause between requests rather than firing all ten at once.

One name collision to avoid: app-store-scraper on PyPI (0.3.5, last released November 2020) is a different project from the npm one. It skips the feed and calls Apple’s internal amp-api.apps.apple.com with a token lifted from the app page. I didn’t test it.

Route 3: the App Store Connect API (your own app, every review)

If the app is yours, stop scraping. Apple’s official endpoint returns every review, not 500:

GET https://api.appstoreconnect.apple.com/v1/apps/{id}/customerReviews

The {id} is your app’s resource ID; GET /v1/apps lists them. Parameters that matter:

  • limit: maximum 200
  • sort: createdDate, -createdDate, rating, -rating
  • filter[rating] and filter[territory]
  • exists[publishedResponse]: finds the reviews you haven’t answered

Each review returns body, createdDate, rating, reviewerNickname, title, and territory. Replies go through the sibling customerReviewResponses endpoint.

You need an App Store Connect API key: an issuer ID, a key ID, and a .p8 private key, all created under Users and Access → Integrations. Tokens are ES256-signed JWTs that Apple rejects if they live longer than 20 minutes:

#!/usr/bin/env python3
"""Every customer review of YOUR app, via the App Store Connect API.
Needs: pip install pyjwt cryptography requests
Usage: ASC_KEY_ID=... ASC_ISSUER_ID=... ASC_KEY_FILE=AuthKey_XXXX.p8 \
       asc_reviews.py <apple-id-of-your-app> > reviews.jsonl"""
import json, os, sys, time
import jwt, requests

def token():
    now = int(time.time())
    return jwt.encode(
        {"iss": os.environ["ASC_ISSUER_ID"], "iat": now, "exp": now + 1200, "aud": "appstoreconnect-v1"},
        open(os.environ["ASC_KEY_FILE"]).read(),
        algorithm="ES256",
        headers={"kid": os.environ["ASC_KEY_ID"], "typ": "JWT"},
    )

url = f"https://api.appstoreconnect.apple.com/v1/apps/{sys.argv[1]}/customerReviews"
params = {"sort": "-createdDate", "limit": 200}
while url:
    r = requests.get(url, params=params, headers={"Authorization": f"Bearer {token()}"}, timeout=30)
    if r.status_code != 200:
        sys.exit(f"HTTP {r.status_code}: {r.text[:300]}")
    page = r.json()
    for review in page["data"]:
        print(json.dumps({"id": review["id"], **review["attributes"]}, ensure_ascii=False))
    url, params = page.get("links", {}).get("next"), None  # next already carries the cursor
    time.sleep(1)

I don’t hold a key for any of the apps in this guide, so I tested the script with a throwaway key: it signed a valid token, and Apple answered 401 NOT_AUTHORIZED, “Authentication credentials are missing or invalid.” With your own key, the same loop should walk every page until links.next runs out; that’s the one path I couldn’t run.

Watch an app page for rating and version changes

Sometimes the reviews matter less than the moment something shifts: a new version ships, the rating drops a tenth. Magpie’s watch mode stores a snapshot of the cleaned page and reports a word diff only when it changes:

magpie watch "https://apps.apple.com/us/app/duolingo-language-lessons/id570060128" \
  --once --every 24h
# cron/systemd-timer mode; add --webhook <url> to POST {url, changed, old_hash, new_hash, diff}

The first run is a silent baseline (1.4 seconds); a repeat run with no change prints nothing. On Duolingo’s page, the text it compares includes the rating line (“4.7 out of 5”, “5.5M Ratings”) and the version notes, so an alert means one of those moved, or Apple changed the page’s editorial shelves. Not every page carries that line: Notion’s cleaned text has no rating at all, so a watch there sees only version notes. Once a day per app is plenty.

For exact numbers, skip the page and ask the Lookup API, which robots.txt allows in its /lookup?id= form:

curl -s "https://itunes.apple.com/lookup?id=570060128&country=us"
# "averageUserRating":4.72269, "userRatingCount":5510537, "version":"7.144.0", …

The page’s JSON-LD said 5,511,319 ratings within the same hour. The two sources are cached separately, so pick one and stick with it if you’re charting a trend.

Picking a route

  • It’s your app: the App Store Connect API. Complete, official, and it lets you reply. Nothing else on this page comes close.
  • You need what shoppers see: Route 1. The page route is robots-allowed and cheap, and the bias is the data: these are the reviews that sell the app.
  • You need competitors’ recent sentiment: the feed is the only free source with real volume, and it comes with the robots.txt problem above.
  • You’d rather rent it: Apify lists several App Store review actors priced from $0.20 to $4.00 per 1,000 rows (listing pages, October 2026), and the $4.00 one claims to page past the 500 cap. ASO suites like AppFollow and Appfigures sell review monitoring as a subscription; third-party listings disagree on their prices, so check their pages.

Once the reviews are in a CSV, the review sentiment analysis guide shows the LLM scoring half. Android is a different storefront with different rules; see the Google Play guide. For reviews of a whole business rather than an app, Trustpilot serves its reviews in server-rendered JSON-LD, and review monitoring covers the cross-site picture.

FAQ

Is it legal to scrape App Store reviews? Apple’s Media Services Terms prohibit automated scraping of any part of the store, including robots-allowed app pages. The review feed is also disallowed in robots.txt. Small-scale reading of public pages is rarely enforced, but a commercial project needs a lawyer’s opinion, not a blog post.

How many App Store reviews can I download? From the app page, 8 (10 on the “see all” view). From the legacy feed, 500 per app per country, newest first. From the App Store Connect API, every review, but only for apps your developer account owns.

Does Apple have an official API for App Store reviews? Yes, for your own apps: the App Store Connect API’s customerReviews endpoint, 200 reviews per request, with filters for stars and territory. Apple publishes no official API for reading other developers’ reviews.

Why don’t scraped reviews match what I see on my iPhone? Two reasons. The page shows a curated handful of long, mostly positive reviews, and every country has its own storefront with its own reviews. A US scrape won’t contain a German user’s review; repeat the request per country code.

Can I get developer responses to reviews? Only for your own app, through the App Store Connect API’s customerReviewResponses endpoint. Neither the app page’s embedded reviews nor the legacy feed carries a reply field.


A competitor’s app in one market: save its page once a week with the two-command setup above and keep the CSV. It records the shop window, not the complaints. Your own app: generate an App Store Connect key today; it’s the only route on this page that returns every review and doesn’t depend on Apple leaving a legacy door open.

Stop renting credits.

One flat price, your machine, your keys.

Download free for Windows, macOS and Linux

Windows · macOS · Linux $49/mo flat, cancel anytime