PeumeAPI

Places & travel · Google Maps

Google Maps Nearby Search

Search Google Maps around an exact latitude and longitude and get up to 20 normalized places per call, each with the address broken into street, city, state, postal code and country. Use this when you have coordinates and want the map viewport centred on them; use maps.search when you only have a place name. Pass the returned nextCursor back as cursor for the next 20 places.

$0.0019 per call

Call it

curl https://api.peume.com/v1/call/google-maps-nearby-search \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "query": "your query",
    "coordinates": "your coordinates",
    "limit": 20,
    "language": "en",
    "zoom": 13.1
  }
}'

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-nearby-search.

Parameters

cursorstring

Opaque cursor from a previous response's nextCursor. Pass it back to get the next page of places. Pages can overlap: a page may repeat items an earlier page returned and is billed like any other, so de-duplicate by item id and stop when a page adds no new id.

routestring

Upstream source to run on; omit for "chameleon". chameleon ($0.0013 per call, 99.5% uptime); ibex ($0.0013 per call, 100% uptime). Output fields only some routes return: city (chameleon); countryCode (chameleon); domain (chameleon); neighborhood (chameleon); postalCode (chameleon); state (chameleon); street (chameleon). A route can refuse an input it cannot apply with a 400 source_unknown (not charged): retry on another route, or omit that input.

chameleon · ibex

queryRequiredstring

What you would type in the Google Maps search bar (e.g. coffee shop).

coordinatesRequiredobject

The exact map centre to search around. Use maps.search instead if you only have a place name.

limitinteger

Accepted but does not change the page: every call returns one full Google Maps viewport of about 20 places, never trimmed, so nextCursor continues exactly where this response ended. Price is flat per request.

Example: 20

languagestring

Two-letter language code for the results (e.g. en).

Example: en

zoomnumber

Google Maps viewport zoom. Lower covers a wider area, higher focuses more tightly around the coordinates.

Example: 13.1

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.