# Google Play Keyword intersection API (google_play.keyword_intersection)

- Canonical page: https://everyinfra.com/en/google-play-api/keyword_intersection
- Endpoint: POST /api/v1/social with {"platform": "google_play", "action": "keyword_intersection", "params": {...}}
- Price: $0.01151 per call ($11.51 per 1,000 requests); failed and empty results are not charged
- Returns: list, default 20, max 100 per call (larger values are capped)
- 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=keyword_intersection

## 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 `keyword_intersection`. Only the US store is covered: leave it out or pass us; any other country is rejected before the call runs. |
| limit | integer (1–100) | no | 20 | The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values are accepted and capped at the maximum. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| keyword | A search keyword the app ranks for (keywords_for_app). |
| search_volume | Search volume of the keyword on Google Play in the US (keywords_for_app), demand for the whole keyword rather than traffic to this app. |
| ranked_at | When the rank and search volume for this keyword were last updated, ISO 8601 (keywords_for_app). The data refreshes weekly to monthly, not in real time. |
| rankings | platform-native meaning |
| total_keywords | How many keywords the app ranks for in total (keywords_for_app), the same on every row; limit only sets how many of them this call returns. |
| 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": "keyword_intersection",
  "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": "keyword_intersection",
        "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": "keyword_intersection",
  "results": [
    {
      "keyword": …,
      "search_volume": …,
      "ranked_at": …,
      "rankings": …,
      "total_keywords": …,
      "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
