Getting Started

To start making API calls, you’ll set up and manage the Google Play Developer API directly from the Google Play Console. The API can only be managed by the owner of your Google Play Developer account. The following instructions explain how to:

  • Set up a new or existing API project
  • Manage OAuth clients
  • Use a service account to access the API
  • Access specialized APIs for analyzing your app

Linking your API Project

Before you can access the API, you must link your Google Play Console to an API project. In most cases, we recommend that you create a new API project, though current API users can link to an existing API project. Keep in mind that each API project can only be linked to a single Google Play Console account.

Creating a new API project

  1. Go to the API access page on the Google Play Console.
  2. Accept the Terms of Service.
  3. Click Create new project.

An API project is automatically generated and linked to your Google Play Console.

Using an existing API project

If you are already a user of the Google Play Developer API, you can link to your existing API project by following these steps. If the API project you want to link to is not listed, verify that your Google Play Console account is designated as an Owner, and the Google Play Developer API is enabled.

  1. Go to the API access page on the Google Play Console.
  2. Accept the API Terms of Service.
  3. Choose the project you’d like to link.
  4. Click Link.

Setting Up API Access Clients

In order to use the API you must configure one of the following authentication methods.

For a server application running on behalf of a non-human robot, such as a continuous integration system, a service account is recommended. For a client application running directly on behalf of a human user, such as an IDE plugin, an OAuth client may be used.

Using a service account

You can also create a service account to access the API from a build server without providing your personal user credentials:

  1. Go to the API access page on the Google Play Console.
  2. Under Service Accounts, click Create Service Account.
  3. Follow the instructions on the page to create your service account.

    Note that you should grant your service account access to the project in order for it to appear in Google Play Console.

  4. Once you’ve created the service account on the Google Play Console, click Done. The API access page automatically refreshes, and your service account will be listed.

  5. Click Grant Access to provide the service account the necessary rights to perform actions.

At this point, you should be able to access the API through the service account. For more information, see Using OAuth 2.0 for Server to Server Applications.

Using OAuth clients

You can allow users to perform actions via the API under their own credentials using an OAuth client. A user’s actions are limited to those permitted via the Users and permissions page on the Google Play Console.

  1. Go to the API access page on the Google Play Console.
  2. Under OAuth Clients, click Create OAuth Client.
  3. Configure your product's branding information, and click Continue.
  4. Click Create Client ID.

The details of your new OAuth client are displayed in a list on this page.

Specialized APIs

The Google Play Developer API contains several specialized APIs that allow you to perform specific types of analysis on your app:

Reply to Reviews API
Allows you to view user feedback for your app and reply to this feedback.
Voided Purchases API
Allows you to revoke access to in-app products associated with purchases that a user has voided.

Client Libraries

We have provided client libraries you can use to programmatically access the REST APIs. For more information, see Client Libraries and Code Samples.