> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindcase.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Play Apps API

> Get Google Play apps with title, app url, developer, developer id, rating, ratings count, by inputs or search query.

`POST /v1/data/google-play/apps/run`

**Pricing:** $0.0025 per app ($2.50 per 1,000).

## Ways to call it

* **Inputs**: set `inputs` (optional: `maxResults`, `country`, `language`)
* **Search Query**: set `query` (optional: `maxResults`, `country`, `language`)

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**inputs** `string[]`

One or more inputs. One request reads them all.

**query** `string`

Search Query.

**maxResults** `integer` (default: 100)

How many apps to return in total. Defaults to 100; use 0 for all.

**country** `string` (default: US)

Google Play country to read the store as, e.g. United States. Defaults to United States.

250 allowed values, for example `AF` (Afghanistan), `AL` (Albania), `DZ` (Algeria), `AS` (American Samoa), `AD` (Andorra), `AO` (Angola), `AI` (Anguilla), `AQ` (Antarctica), `AG` (Antigua and Barbuda), `AR` (Argentina). Fetch the full list with `GET /v1/data/google-play/apps?expand=options`.

**language** `string` (default: en)

Language.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/google-play/apps/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "inputs": [
      "com.whatsapp",
      "com.ticktick.task",
      "com.spotify.music"
    ],
    "country": "US",
    "language": "en"
  }
}'
```

```python Python theme={null}
import os, requests

r = requests.post(
    "https://api.mindcase.co/v1/data/google-play/apps/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "inputs": [
        "com.whatsapp",
        "com.ticktick.task",
        "com.spotify.music"
    ],
    "country": "US",
    "language": "en"
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/google-play/apps/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "inputs": [
    "com.whatsapp",
    "com.ticktick.task",
    "com.spotify.music"
  ],
  "country": "US",
  "language": "en"
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one app, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `appId` | App ID | text |
| `title` | Title | text |
| `appUrl` | App URL | url |
| `developer` | Developer | text |
| `developerId` | Developer ID | text |
| `rating` | Rating | rating |
| `ratingsCount` | Ratings Count | number |
| `reviewsCount` | Reviews Count | number |
| `ratingHistogram` | Rating Histogram | object |
| `installs` | Installs | text |
| `minInstalls` | Min Installs | number |
| `maxInstalls` | Max Installs | number |
| `price` | Price | number |
| `currency` | Currency | text |
| `free` | Free | boolean |
| `offersIAP` | Offers Iap | boolean |
| `iapRange` | Iap Range | text |
| `adSupported` | Ad Supported | boolean |
| `category` | Category | text |
| `categoryId` | Category ID | text |
| `categories` | Categories | object\_array |
| `contentRating` | Content Rating | text |
| `summary` | Summary | text |
| `description` | Description | text |
| `recentChanges` | Recent Changes | text |
| `version` | Version | text |
| `androidVersionText` | Android Version Text | text |
| `released` | Released | text |
| `lastUpdated` | Last Updated | datetime |
| `available` | Available | boolean |
| `preregister` | Preregister | boolean |
| `earlyAccess` | Early Access | boolean |
| `inPlayPass` | In Play Pass | boolean |
| `icon` | Icon | image |
| `headerImage` | Header Image | image |
| `screenshots` | Screenshots | array |
| `video` | Video | url |
| `developerEmail` | Developer Email | email |
| `developerWebsite` | Developer Website | url |
| `developerLegalName` | Developer Legal Name | text |
| `developerLegalAddress` | Developer Legal Address | text |
| `developerLegalPhone` | Developer Legal Phone | phone |
| `privacyPolicy` | Privacy Policy | url |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "google-play/apps",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "available": true,
      "minInstalls": 10000000000,
      "preregister": false,
      "developer": "WhatsApp LLC",
      "iapRange": "$0.40 - $199.99 per item",
      "title": "WhatsApp",
      "recentChanges": "• You can now choose to share recent group history with new members when you add them to a group<br>• Group calls now include the ability to transfer calls b...",
      "currency": "USD",
      "androidVersionText": "Varies with device",
      "released": "Oct 18, 2010",
      "developerEmail": "android@support.whatsapp.com",
      "maxInstalls": 12471035671,
      "inPlayPass": false,
      "earlyAccess": false,
      "adSupported": false,
      "developerWebsite": "http://www.whatsapp.com/",
      "developerLegalPhone": "+1 650-853-1300",
      "installs": "10,000,000,000+",
      "categoryId": "COMMUNICATION",
      "developerLegalAddress": "1 Meta Way, Menlo Park, CA 94025-1444, United States",
      "developerLegalName": "Meta Platforms, Inc.",
      "contentRating": "Everyone",
      "free": true,
      "video": null,
      "offersIAP": true
    }
  ]
}
```

## Related APIs

For reviews use [`google/play/reviews`](https://docs.mindcase.co/apis/google/play/reviews); for the searches an app ranks for use [`google-play/app-keywords`](https://docs.mindcase.co/apis/google-play/app-keywords); for iOS apps use [`app-store/apps`](https://docs.mindcase.co/apis/app-store/apps).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.