Developer guide

The Google Play reviews API

Read and reply to Google Play reviews from your own code. What the Play Developer API returns, the 7 days it covers, and how to keep the reviews it drops.

Before you build

What the API gives you, and what it leaves out.

  • The last 7 days only

    reviews.list returns reviews written or edited in the last 7 days. Anything older is in Play Console's monthly CSV reports, not the API.

  • Written reviews only

    A star rating without text never appears, and neither does feedback on alpha or beta builds. The API covers production reviews with comments.

  • A language, not a country

    Each review carries a language code from the reviewer's device settings, plus the device and app version when Google has them. Nothing in it says which country it came from.

  • Translation built in

    Add translationLanguage and text comes back translated, with the reviewer's own words in originalText.

  • 350 characters per reply

    Plain text; HTML tags are stripped. A second reply replaces the first, and no call deletes one.

  • Quotas per app

    200 reads an hour and 2,000 replies a day, counted for each app separately, and you can ask Google to raise them.

Step by step

From a service account to a reply.

  1. Step 1: Give a service account access

    In Google Cloud, enable the Google Play Android Developer API and create a service account with a JSON key. In Play Console, open Users and permissions, invite the service account's email, and grant View app information and download bulk reports, and Reply to reviews.

  2. Step 2: Get an access token

    google-auth-library signs the key into a token for the androidpublisher scope. The token lasts an hour.

    shell
    npm install google-auth-library
    token.mjs
    import { GoogleAuth } from "google-auth-library";
    
    const auth = new GoogleAuth({
      keyFile: "service-account.json",
      scopes: ["https://www.googleapis.com/auth/androidpublisher"],
    });
    
    console.log(await auth.getAccessToken());
  3. Step 3: List the week's reviews

    Newest first, by when the review was written or last edited. 10 a page unless you ask for up to 100; translationLanguage adds an English copy.

    shell
    export TOKEN=$(node token.mjs)
    curl -s -H "Authorization: Bearer $TOKEN" \
      "https://androidpublisher.googleapis.com/androidpublisher/v3/applications/com.example.app/reviews?maxResults=100&translationLanguage=en"
  4. Step 4: Read the response

    One entry per review. userComment holds the review; your reply, once there is one, follows it as developerComment. lastModified.seconds counts seconds since the epoch, sent as a string.

    response.json
    {
      "reviews": [
        {
          "reviewId": "REVIEW_ID",
          "authorName": "Lena",
          "comments": [
            {
              "userComment": {
                "text": "Since the update the app closes right after the splash screen.",
                "originalText": "Seit dem Update schließt sich die App direkt nach dem Startbildschirm.",
                "lastModified": { "seconds": "1793870640", "nanos": 0 },
                "starRating": 2,
                "reviewerLanguage": "de",
                "appVersionName": "4.2.0",
                "androidOsVersion": 35
              }
            }
          ]
        }
      ],
      "tokenPagination": { "nextPageToken": "NEXT_PAGE" }
    }
  5. Step 5: Page through the week

    Pass nextPageToken back as token until a response comes without tokenPagination. Store each review by its reviewId: an edited review comes back with the same id and a new lastModified.

    list-reviews.mjs
    const BASE =
      "https://androidpublisher.googleapis.com/androidpublisher/v3/applications";
    
    export async function listWeek(packageName, token) {
      const reviews = [];
      let pageToken;
      do {
        const url = new URL(`${BASE}/${packageName}/reviews`);
        url.searchParams.set("maxResults", "100");
        url.searchParams.set("translationLanguage", "en");
        if (pageToken) url.searchParams.set("token", pageToken);
    
        const response = await fetch(url, {
          headers: { Authorization: `Bearer ${token}` },
        });
        if (!response.ok) {
          throw new Error(`HTTP ${response.status}: ${await response.text()}`);
        }
        const page = await response.json();
        reviews.push(...(page.reviews ?? []));
        pageToken = page.tokenPagination?.nextPageToken;
      } while (pageToken);
      return reviews;
    }
  6. Step 6: Reply

    Up to 350 characters of plain text, posted to the review's id. Sending again replaces the reply; the response echoes it with the time it was recorded.

    shell
    curl -s -X POST -H "Authorization: Bearer $TOKEN" \
      -H "Content-Type: application/json" \
      -d '{"replyText": "Danke, Lena! Version 4.2.1 behebt den Absturz beim Start."}' \
      "https://androidpublisher.googleapis.com/androidpublisher/v3/applications/com.example.app/reviews/REVIEW_ID:reply"
  7. Step 7: Keep the reviews older than a week

    Play Console writes every review into a monthly CSV in your developer account's Cloud Storage bucket, posted within three to seven days. Copy the bucket's URI with Copy Cloud Storage URI beside Reviews on the Play apps reports page (Manage account > Play apps reports). The files are UTF-16, so convert them before loading them anywhere that expects UTF-8.

    shell
    gcloud storage cp "gs://pubsite_prod_rev_0123456789/reviews/reviews_com.example.app_2026*.csv" .

Good to know

  • The reviewer is notified of your first reply, and again only when you reply after they edit their review. Editing your reply alone sends nothing.
  • Google discourages posting automatic replies with the plan of rewriting them by hand later.
  • maxResults tops out at 100, and pages run newest first.
  • Reading the monthly reports needs View app information and download bulk reports set at account level, not for one app.

From Google's Reply to Reviews guide and the Play Console reports help, as read on November 8, 2026.

countrymanager

Or skip building it.

countrymanager runs this loop for you, with App Store reviews in the same inbox. A person sends every reply.

  • Reviews kept past the week

    Each review the API returns is stored, so it is still there after Google's week has passed.

  • Translated and tagged

    Each review in its own language and in English, tagged and grouped by what it complains about.

  • Replies drafted, a person sends

    Drafted in the reviewer's language and held to Google's 350 characters. Nothing posts until someone sends it.

  • An API and MCP server of its own

    Every review as CSV, JSON, through an API and a CLI, or in Claude and ChatGPT over MCP.

    The MCP server

Questions

Can the Google Play API return reviews older than a week?
No. reviews.list returns only reviews written or edited in the last 7 days. For older ones, read the monthly CSV reports in your Play Console bucket, or call the API at least once a week and keep what it returns.Export App Store and Google Play reviews
Why are some reviews missing from the API?
The API returns production reviews that have text. A rating left without a comment, and feedback on alpha or beta builds, is only in Play Console.
Does the API say which country a review came from?
No. A review carries reviewerLanguage, taken from the device settings and sometimes absent, plus the device and app version, but no country. The monthly CSV reports have none either.
How long can a reply be?
350 characters of plain text. HTML tags are stripped and don't count. Replies show publicly under the review, so keep personal details out of them.
Can I delete a reply through the API?
No. The reviews resource has three calls: get, list and reply. Sending a new reply replaces the old one.
What are the quotas?
200 reads an hour and 2,000 replies a day, counted for each app separately, and you can ask Google to raise them.
Do I need my own service account to use countrymanager?
No. You invite countrymanager's service account in Play Console with the same two permissions, View app information and download bulk reports, and Reply to reviews. It reads the API on a schedule, stores each review it returns, and sends the replies your team writes.

Have a look inside.

The whole product, running on a sample app.

The demo needs no account, no credentials, nothing to install. Plans from €49/month.

Google Play is a trademark of Google LLC. countrymanager is not affiliated with or endorsed by Google.