Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
APIs Google Play Developer
A API Google Play Developer permite realizar várias tarefas de publicação e gerenciamento de apps. Ela
conta com dois componentes:
Assinaturas e compras no aplicativo
Use a API Google Play Developer para:
Use esses recursos para verificar o status das compras e para
modificar e cancelar compras recorrentes.
Para saber mais sobre como vender assinaturas em um app Android, leia
Faturamento do Google
Play no app no site para Desenvolvedores Android.
API Publishing
Com a API Publishing do Google Play Developer, é possível automatizar tarefas comuns relacionadas
à produção e à distribuição de apps. Ela fornece funções semelhantes àquelas disponibilizadas para um desenvolvedor no Play Console, como:
- fazer upload de novas versões de um app;
- lançar apps, atribuindo APKs a várias faixas (Alfa, Beta, lançamento
gradual ou produção);
- criar e modificar páginas "Detalhes do app" na Google Play Store, incluindo texto e gráficos
localizados e capturas de tela para vários dispositivos.
Essas tarefas são executadas usando o recurso edits,
que emprega uma abordagem transacional para fazer mudanças.
Agrupe várias mudanças em uma única edição de rascunho e,
em seguida, faça um commit com todas as mudanças. Nenhuma mudança tem efeito até que seja feito o commit com a edição.
Como começar
Para usar a API Google Play Developer, confira a
página Como começar.
Há bibliotecas Java e Python que você pode usar para gerenciar a interação com a
API Publishing. Fornecemos exemplos de código na página Bibliotecas de cliente e amostras de código. Se estiver usando
outras linguagens, acesse as APIs REST diretamente via HTTP.
Em caso de problemas ao usar a API Google Play Developer,
estamos
aqui para ajudar.
Outras APIs
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-08-21 UTC.
[null,null,["Última atualização 2025-08-21 UTC."],[[["\u003cp\u003eThe Google Play Developer API enables you to manage in-app purchases and subscriptions, as well as automate app publishing and management tasks.\u003c/p\u003e\n"],["\u003cp\u003eIt encompasses the Subscriptions and In-App Purchases API and the Publishing API, providing functionalities similar to the Play Console.\u003c/p\u003e\n"],["\u003cp\u003eYou can use it to manage in-app products, subscriptions, check purchase statuses, modify recurring purchases, upload new app versions, release apps to various tracks, and create or modify Play Store listings.\u003c/p\u003e\n"],["\u003cp\u003eGoogle offers comprehensive documentation, client libraries, and code samples to assist developers in integrating and utilizing the API's features.\u003c/p\u003e\n"],["\u003cp\u003eFurther APIs are available for managing game services, retrieving quality reports, replying to reviews, automating permissions, controlling Play Games Services metadata, and tracking voided purchases.\u003c/p\u003e\n"]]],["The Google Play Developer API manages app publishing and in-app purchases. It features two main components: Subscriptions and In-App Purchases API, enabling management of product catalogs, purchase status, and recurring purchases; and the Publishing API, automating app uploads, releases via tracks (alpha, beta, production), and Play Store listing modifications. Changes through edits are bundled and committed at once. Java and Python client libraries, or direct REST API access, are available for integration.\n"],null,["# Google Play Developer APIs\n==========================\n\nThe Google Play Developer API allows you to perform a number of publishing and app-management tasks. It\nincludes two components:\n\n- The [Subscriptions and In-App Purchases API](#subscriptions) lets you manage in-app purchases and subscriptions.\n- The [Publishing API](#publishing) lets you upload and publish apps, and perform other publishing-related tasks.\n\nSubscriptions and In-App Purchases\n----------------------------------\n\nYou can use the Google Play Developer API to manage:\n\n- Catalog management\n - [One Time Products](/android-publisher/api-ref/rest/v3/monetization.onetimeproducts)\n - [In-App Products](/android-publisher/api-ref/rest/v3/inappproducts)\n - [Subscription Products](/android-publisher/api-ref/rest/v3/monetization.subscriptions)\n- [Products purchase\n status](/android-publisher/api-ref/rest/v3/purchases.products)\n- [Subscriptions\n purchase management](/android-publisher/api-ref/rest/v3/purchases.subscriptions)\n\nYou can use these resources to check the status of purchases, and to\nmodify and cancel recurring purchases.\n\nTo learn more about how to sell subscriptions in an Android app, read\n[Google\nPlay In-app Billing](https://developer.android.com/google/play/billing/index.html) on the Android Developers site.\n\nPublishing API\n--------------\n\nThe Google Play Developer Publishing API allows you to automate frequent tasks having to do\nwith app production and distribution. This provides functions similar to\nthose available to a developer through the\n[Play Console](https://play.google.com/console),\nsuch as:\n\n- Uploading new versions of an app\n- Releasing apps, by assigning APKs to various [Tracks](/android-publisher/tracks) (alpha, beta, staged rollout, or production)\n- Creating and modifying Google Play Store listings, including localized text and graphics and multi-device screenshots\n\nThose tasks are performed using the new [edits](/android-publisher/edits)\nfunctionality, which take a transactional approach to making changes;\nyou bundle several changes into a single draft **edit**,\nthen commit the changes all at once. (None of the changes take effect\nuntil the edit is committed.)\n\nGetting Started\n---------------\n\nTo start using the Google Play Developer API, have a look at the\n[Getting Started](/android-publisher/getting_started) page.\n\nThere are Java and Python libraries you can use to manage interaction with the\nPublishing API. We have provided code samples on the\n[Client Libraries and Code Samples](/android-publisher/libraries) page. If you are using\nother languages, you can access the REST APIs directly via HTTP.\n\nIf you're having issues using the Google Play Developer API,\n[we're\nhere to help](https://support.google.com/googleplay/android-developer/answer/7218994).\n\nOther APIs\n----------\n\n- The [Google Play Games Services Publishing API](https://developer.android.com/games/pgs/publishing/publishing) allows you to automate frequent tasks having to do with game services production and distribution.\n- The [Reporting API](https://developer.android.com/google/play/developer-api#reporting) lets you retrieve information about your app's quality from Android vitals.\n- The [Reply to Reviews API](https://developer.android.com/google/play/developer-api#reviews) lets you retrieve and reply to reviews of your app.\n- The [Permissions API](https://developer.android.com/google/play/developer-api#permissions) lets you automate permission management within the Play Console.\n- The [Play Games Services Management API](https://developer.android.com/games/pgs/management/management) lets you issue REST calls to programmatically control the metadata underlying the Google Play Games Services features.\n- The [Voided Purchases API](https://developer.android.com/google/play/developer-api#voided-purchases) provides a list of orders that are associated with purchases that a user has voided."]]