# Google Maps Reviews Search suggestions API (google_maps_reviews.search_suggest)

- Canonical page: [https://everyinfra.com/en/google-maps-reviews-api/search_suggest](https://everyinfra.com/en/google-maps-reviews-api/search_suggest?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "google_maps_reviews", "action": "search_suggest", "params": {...}}
- Price: $0.000556 per call ($0.56 per 1,000 requests); failed calls 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_maps_reviews&action=search_suggest

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | What the user has typed so far in the Google Maps search box, which can be half a word, such as `starbu`. Up to 200 characters. |
| language | not declared | no | not declared | The language code for the suggestions, such as `en` or `ja`; defaults to `en`. The addresses on place suggestions are written in this language too. |
| latitude | not declared | no | not declared | Latitude of the point to get suggestions near, from -90 to 90, for `search_suggest`. Give it together with `longitude`; one without the other is rejected before any charge. Without both, the platform's default location is used. |
| longitude | not declared | no | not declared | Longitude of the point to get suggestions near, from -180 to 180, for `search_suggest`. Give it together with `latitude`; one without the other is rejected before any charge. |
| limit | integer (1–) | no | not declared | Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without `limit`, whatever the value. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| keyword | The suggested text (search_suggest); when type is place, it is the place name followed by its address. |
| type | Kind of suggestion (search_suggest): query is a suggested search term that can be passed to search; place is a suggested place, which also carries feature_id, url, name, address, lat, lng and country_code. |
| rank | Position of this suggestion in the group (search_suggest), starting at 1, in the order the platform gives. |
| feature_id | Google Maps place identifier (in the form 0x…:0x…, the string after !1s in the place link). For profile, setting url to a place link that contains it also locates the same place. |
| url | Link to the record on the platform. |
| name | Name of the object itself, for account, product and business capabilities. |
| address | Full address, passed through as is. |
| lat | Latitude. |
| lng | Longitude. |
| country_code | Country code. |
| collected_at | Time this record was captured (ISO 8601, UTC). |
| 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_maps_reviews",
  "action": "search_suggest",
  "params": {
    "keyword": "coffee"
  }
}'
```

```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_maps_reviews",
        "action": "search_suggest",
        "params": {
            "keyword": "coffee",
        },
    },
    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_maps_reviews",
  "action": "search_suggest",
  "results": [
    {
      "keyword": …,
      "type": …,
      "rank": …,
      "feature_id": …,
      "url": …,
      "name": …,
      "address": …,
      "lat": …,
      "lng": …,
      "country_code": …,
      "collected_at": …,
      "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_maps_reviews
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
