# Google Play Bulk metrics API (google_play.bulk_metrics)

- Canonical page: https://everyinfra.com/en/google-play-api/bulk_metrics
- Endpoint: POST /api/v1/social with {"platform": "google_play", "action": "bulk_metrics", "params": {...}}
- Price: $0.01151 per call ($11.51 per 1,000 requests); failed and empty results are not charged
- Returns: list
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=google_play&action=bulk_metrics

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| app_ids | not declared | yes | not declared | The apps for `bulk_metrics` (1 to 20) or `keyword_intersection` (2 to 10), as an array or a comma-separated string of Android package names, the value after ?id= in a Play Store link, such as `com.spotify.music`. Only the US store is covered. On `bulk_metrics` each app gets one row and an app without data is left out; on `keyword_intersection` each row is one keyword they all rank for. Any other count is rejected before the call runs. |
| country | not declared | no | not declared | Storefront for `bulk_metrics`. Only the US store is covered: leave it out or pass us; any other country is rejected before the call runs. |
| limit | integer (1–) | no | not declared | The most rows to return in this call, an integer of 1 or more. The default applies when you leave it out, and a call can return fewer rows. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| app_id | platform-native meaning |
| keyword_count | platform-native meaning |
| top1_keywords | platform-native meaning |
| top3_keywords | platform-native meaning |
| top10_keywords | platform-native meaning |
| keywords_search_volume | platform-native meaning |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "google_play",
  "action": "bulk_metrics",
  "params": {
    "app_ids": [
      "com.spotify.music",
      "com.soundcloud.android"
    ]
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "google_play",
        "action": "bulk_metrics",
        "params": {
            "app_ids": [
                "com.spotify.music",
                "com.soundcloud.android",
            ],
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "google_play",
  "action": "bulk_metrics",
  "results": [
    {
      "app_id": …,
      "keyword_count": …,
      "top1_keywords": …,
      "top3_keywords": …,
      "top10_keywords": …,
      "keywords_search_volume": …,
      "platform": …
    }
  ],
  "count": …,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=google_play
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
