https://github.com/vincentkoc/android-market-api-php
PHP implementation of the java Android Market API
https://github.com/vincentkoc/android-market-api-php
android-device android-marketplace php
Last synced: about 1 month ago
JSON representation
PHP implementation of the java Android Market API
- Host: GitHub
- URL: https://github.com/vincentkoc/android-market-api-php
- Owner: vincentkoc
- License: gpl-2.0
- Archived: true
- Created: 2011-08-24T10:56:12.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2019-01-21T01:17:42.000Z (about 7 years ago)
- Last Synced: 2025-01-19T14:22:12.047Z (about 1 year ago)
- Topics: android-device, android-marketplace, php
- Language: PHP
- Homepage: https://github.com/koconder/android-market-api-php/wiki
- Size: 118 KB
- Stars: 234
- Watchers: 29
- Forks: 77
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Android Market API (PHP)
[](https://doi.org/10.5281/zenodo.14769247)
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](#overview)
2. [Connection Settings & Troubleshooting](#connection-settings--troubleshooting)
3. [Examples](#examples)
4. [How to Cite](#how-to-cite)
5. [Issues & Support](#issues--support)
6. [Credits](#credits)
7. [License](#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:
| Setting | Notes |
|---------|-------|
| **Google Account (`USERNAME`, `PASSWORD`)** | Use an _App Password_ from a Google account with 2-step verification to reduce CAPTCHA blocks. |
| **Android Device ID** | Retrieve via the free app . |
| **Rate-Limiting** | The Play backend will 403/400 if you spam requests. Insert `sleep()` between calls. |
| **CAPTCHA Unlock** | Log in to the same account in a browser and visit . |
---
## 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}
}