GitPedia

Android market api php

PHP implementation of the java Android Market API

From vincentkoc·Updated June 18, 2026·View on GitHub·
·Archived

Un-official PHP client for the (legacy) Android Market / Google Play Store — first released in 2012 and still used for archival research, market-data collection, and automation pipelines. The project is written primarily in PHP, distributed under the GNU General Public License v2.0 license, first published in 2011. Key topics include: android-device, android-marketplace, php.

Android Market API (PHP)

DOI

Un-official PHP client for the (legacy) Android Market / Google Play Store — first released in 2012 and still used for archival research, market-data collection, and automation pipelines.


Table of Contents

  1. Overview
  2. Connection Settings & Troubleshooting
  3. Examples
  4. How to Cite
  5. Issues & Support
  6. Credits
  7. License

Overview

This library exposes most of the original Android Market RPCs (login,
app details, search, downloads) to PHP. Google has never released an
official Play Store API
, so this code relies on reverse-engineered
protobuf calls that still work for many use cases.


Connection Settings & Troubleshooting

Configure examples/local.php with:

SettingNotes
Google Account (USERNAME, PASSWORD)Use an App Password from a Google account with 2-step verification to reduce CAPTCHA blocks.
Android Device IDRetrieve via the free app https://play.google.com/store/apps/details?id=com.evozi.deviceid.
Rate-LimitingThe Play backend will 403/400 if you spam requests. Insert sleep() between calls.
CAPTCHA UnlockLog in to the same account in a browser and visit https://accounts.google.com/DisplayUnlockCaptcha.

Examples

See code for examples


How to Cite

If this software was helpful in your research, please cite version v1:

bibtex
@software{Koc_2025_android_market_api_php, author = {Vincent Koc}, title = {{Android Market API (PHP)}}, version = {v1}, year = {2025}, doi = {10.5281/zenodo.14769247}, url = {https://doi.org/10.5281/zenodo.14769247} }

Contributors

Showing top 7 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from vincentkoc/android-market-api-php via the GitHub API.Last fetched: 6/25/2026