PeumeAPI

Places & travel · Google Maps

Suggest Map Places

Get Google Maps autocomplete suggestions near a coordinate.

$0.023 per call

Call it

curl https://api.peume.com/v1/call/google-maps-suggest-map-places \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "ll": "your ll",
    "q": "your q"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-maps-suggest-map-places.

Parameters

llRequiredstring

The GPS coordinates of the location where you want the search to originate from. Its value must match the following format: `@` + `latitude` + `,` + `longitude` + `,` + `zoom/map_height` This will form a string that looks like this: e.g. `@40.7455096,-74.0083012,14z` or `@43.8521864,11.2168835,10410m`. The `zoom` attribute ranges from `3z`, map completely zoomed out - to `21z`, map completely zoomed in. Alternatively, you can specify `map_height` in meters (e.g., `10410m`).

qRequiredstring

The search query. A query that would be used to provide completion options.

hlstring

The language to use for the Google Maps Autocomplete search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region code (e.g., `en-gb` for British English, or `es-419` for Latin American Spanish).

glstring

The country to use for the Google Maps Autocomplete search. It's a two-letter country code. (e.g., `us` for the United States, `uk` for United Kingdom, or `fr` for France)

cpstring

Cursor pointer defines the position of cursor for the query provided, position starts from 0 which is a case where cursor is placed before the query `|query`. If not provided acts as cursor is placed in the end of query `query|`.

json_restrictorstring

The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.