ReviewlistGuides

Scrape App Store reviews with Python

About 30 lines of Python with the requests library download the latest 500 written reviews of any iPhone, iPad or Mac app per country and save them as CSV.

More

No API key, no headless browser. Or use the form above and skip the code.

Example: https://apps.apple.com/us/app/duolingo-language-lessons/id570060128, 570060128, com.duolingo.DuolingoMobile or just "Duolingo".
More countries Pro Each country store has its own reviews. With Pro, one run collects them from every store you choose. See Pro
Sample result Pro
AppVersionReviewsAverage
Duolingo7.148.15004.09/5

See sample report

Popular: ChatGPT Duolingo Spotify Instagram TikTok Uber all apps

Free or Pro

Free includes CSV and JSON for one app in one country. Pro adds all 182 countries, app comparison, Excel and shareable reports.

See Pro No card, no account.

The code

It reads Apple's public customer reviews feed (how the feed works): 10 pages of 50 reviews, newest first. The app ID is the number after "id" in the App Store link.

Read more

We ran this exact code on 20 November 2026 for Duolingo (570060128) and got 500 reviews; see the next section for a day when it did not.

import csv, time, requests

def app_store_reviews(app_id, country="us", pages=10):
    """Latest written reviews of an iOS app from Apple's public feed (up to 500)."""
    seen, out = set(), []
    for page in range(1, pages + 1):
        url = f"https://itunes.apple.com/{country}/rss/customerreviews/page={page}/id={app_id}/sortby=mostrecent/json"
        r = requests.get(url, timeout=20)
        if r.status_code != 200:
            break
        entries = r.json().get("feed", {}).get("entry", [])
        if isinstance(entries, dict):  # a page with a single review
            entries = [entries]
        for e in entries:
            if "im:rating" not in e or e["id"]["label"] in seen:
                continue
            seen.add(e["id"]["label"])
            out.append({
                "date": e["updated"]["label"],
                "rating": int(e["im:rating"]["label"]),
                "version": e["im:version"]["label"],
                "title": e["title"]["label"],
                "text": e["content"]["label"],
            })
        time.sleep(1)
    return out

reviews = app_store_reviews(570060128)  # Duolingo
with open("reviews.csv", "w", newline="", encoding="utf-8") as f:
    w = csv.DictWriter(f, fieldnames=reviews[0].keys())
    w.writeheader()
    w.writerows(reviews)
print(len(reviews), "reviews saved")
  • Entries without im:rating are skipped: in some answers the first entry is the app itself, not a review.
  • A single review comes as an object, not a list, so the code wraps it.
  • The review ID (e["id"]["label"]) removes duplicates when pages overlap.
  • For the most helpful reviews instead of the newest, change sortby=mostrecent to sortby=mosthelpful. Both lists together give up to 1,000 different reviews per country.

Empty pages: do not stop at the first one

Sometimes the feed answers 200 with no entry at all for a page that exists, and the code above then looks successful with fewer reviews. We ran it twice for Duolingo: on 20 November it saved 500 reviews, on 21 November only 50, because pages 2 to 10 came back empty.

Read more

A list really ends on a page with 1 to 49 reviews, so an empty page must be asked for again, not treated as the end.

Two things help. The empty answer is cached per exact URL, so equivalent addresses of the same page (the country added as ?cc=, the country dropped from the path, id= and page= swapped, mostRecent in other case) return the same reviews.

Read more

And the XML version of a page is sometimes there when the JSON one is empty. On 21 November the version below read 350 of the 500 reviews in the same conditions where the plain loop got 50:

import xml.etree.ElementTree as ET
NS = {"a": "http://www.w3.org/2005/Atom", "im": "http://itunes.apple.com/rss"}

def urls(app_id, country, page):
    """Equivalent addresses of the same page: Apple caches an empty answer per exact URL."""
    p = f"page={page}/id={app_id}"
    q = f"id={app_id}/page={page}"
    for fmt in ("json", "xml"):
        yield f"https://itunes.apple.com/{country}/rss/customerreviews/{p}/sortby=mostrecent/{fmt}", fmt
        yield f"https://itunes.apple.com/{country}/rss/customerreviews/{p}/sortby=mostrecent/{fmt}?cc={country}", fmt
        yield f"https://itunes.apple.com/rss/customerreviews/{p}/sortby=mostrecent/{fmt}?cc={country}", fmt
        yield f"https://itunes.apple.com/{country}/rss/customerreviews/{q}/sortby=mostRecent/{fmt}", fmt

def parse(body, fmt):
    if fmt == "json":
        entries = body.json().get("feed", {}).get("entry", [])
        if isinstance(entries, dict):  # a page with a single review
            entries = [entries]
        return [{"id": e["id"]["label"], "date": e["updated"]["label"], "rating": int(e["im:rating"]["label"]),
                 "version": e["im:version"]["label"], "title": e["title"]["label"], "text": e["content"]["label"]}
                for e in entries if "im:rating" in e]
    root = ET.fromstring(body.content)
    return [{"id": e.findtext("a:id", namespaces=NS), "date": e.findtext("a:updated", namespaces=NS),
             "rating": int(e.findtext("im:rating", namespaces=NS)), "version": e.findtext("im:version", namespaces=NS),
             "title": e.findtext("a:title", namespaces=NS), "text": e.findtext("a:content", namespaces=NS)}
            for e in root.findall("a:entry", NS) if e.find("im:rating", NS) is not None]

def read_page(app_id, country, page):
    for url, fmt in urls(app_id, country, page):
        reviews = parse(requests.get(url, timeout=20), fmt)
        if reviews:
            return reviews
    return []

def app_store_reviews(app_id, country="us"):
    pages = {p: read_page(app_id, country, p) for p in range(1, 11)}
    for attempt in range(2):  # empty pages: two more passes, a few seconds apart
        time.sleep(5)
        for p in [p for p, r in pages.items() if not r]:
            pages[p] = read_page(app_id, country, p)
    seen, out = set(), []
    for p in sorted(pages):
        for r in pages[p]:
            if r["id"] not in seen:
                seen.add(r["id"]); out.append(r)
    print("empty pages:", [p for p, r in pages.items() if not r])
    return out

It still can miss pages on a bad day (three of ten stayed empty in our run), so print how many are empty and do not present the result as complete. The feed guide has the details. The Actor below tries more forms and passes: the same day it saved all 500.

Every country

Reviews are separate per store: an app's German reviews are not in the US feed. Loop over the two-letter codes from the list of 182 stores and add a country column. At one request per second, all stores take about half an hour per app, and most small stores have no reviews.

On a schedule, without running a server

Apple's feed keeps only the latest 500 reviews, and a busy app replaces them in days, so a one-off script loses history. The App Store Reviews Scraper on Apify runs the same requests in the cloud, with the equivalent addresses, XML fallback and retries, all countries and a report, and can save only the reviews it has not saved before. From Python:

from apify_client import ApifyClient  # pip install apify-client

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("makerio/app-store-reviews").call(run_input={
    "apps": ["https://apps.apple.com/us/app/duolingo-language-lessons/id570060128"],
    "countries": ["us", "gb", "de"],
    "maxReviewsPerCountry": 500,
    "onlyNewReviews": True,  # next runs return only new reviews
})
for review in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(review["country"], review["rating"], review["appVersion"], review["title"])

It costs $0.08 per 1,000 reviews; Apify's free plan includes monthly credit. Add a schedule in Apify Console and the reviews arrive daily or weekly without code changes.

Questions

Do I need an API key?

No. The feed is public and needs no key or login. The Apify version needs an Apify account token.

Can I get more than 500 reviews?

Not from one list: Apple stops after 10 pages. Add the most helpful list for up to 1,000 per country, add more countries, or export regularly and keep the files. For your own app, App Store Connect's API returns all reviews.

Is this for Google Play too?

No. This feed is Apple only.

What do I do with the CSV?

See Analyze App Store reviews with Python: ratings per version, complaint words and a rating-prompt check.

Is there a Node.js version?

Yes: Scrape App Store reviews with Node.js, the same approach with the built-in fetch.

I do not want to write code.

The form at the top of this page does the same in your browser and gives CSV, JSON or Excel. See downloading App Store reviews.

Need more than one country or app?

Reviewlist Pro loads all 182 countries in one run, both review lists (up to 1,000 per country), up to 5 apps side by side, and exports to Excel or a ready-to-send HTML report. $9 a month or $49 a year, cancel any time, 3-day free trial in the browser.

See what Pro adds

Related guides and reports