PeumeAPI

Places & travel · Google Maps

Search Google Maps

Search Google Maps places in a viewport, or resolve one exact place by id.

$0.0005 per call

Call it

curl https://api.peume.com/v1/call/search-google-maps-3 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "timeout": 50
  }
}'

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: search-google-maps-3.

Parameters

qstring

Business, category, address, or natural-language query. Required when type is 'search'.

typestring

'search' for results, 'place' for an exact-place data sequence. Required for query searches.

search · place

llstring

Viewport as '@lat,lon,14z' (zoom) or '@lat,lon,5000m' (radius).

locationstring

Named location resolved by the API. Requires z or m; cannot be combined with ll or lat/lon.

latnumber

Viewport center latitude. Requires lon and z or m.

lonnumber

Viewport center longitude. Requires lat and z or m.

znumber

Zoom level for location or lat/lon geography, 3-30. Cannot be combined with m.

minteger

Search radius in meters for location or lat/lon geography. Cannot be combined with z.

nearbyboolean

Use the supplied geography as a nearby-search scope. Requires ll, location, or lat/lon.

place_idstring

Google place ID to resolve one exact place. Cannot be combined with data_cid or data.

data_cidstring

Decimal Google CID to resolve one exact place. Cannot be combined with place_id or data.

datastring

Google Maps protobuf parameter sequence for search filters or an exact place. Exact-place data requires type 'place'.

hlstring

Interface and result language, such as 'en', 'en-GB', or 'de'. Default 'en'.

glstring

Two-letter country code for result localization, such as 'us'.

google_domainstring

Google domain to query, such as 'google.com' or 'google.co.uk'. Default 'google.com'.

min_priceinteger

Minimum price level. Cannot exceed max_price.

max_priceinteger

Maximum price level. Cannot be lower than min_price.

min_ratingstring

Preferred minimum rating (2, 2.5, 3, 3.5, 4, or 4.5). Google treats it as a relevance preference.

open_statestring

Only places open now or open 24 hours. Cannot be combined with open_on_day or open_at_hour.

now · 24h

open_on_daystring

Only places open on this day.

mon · tue · wed · thu · fri · sat · sun

open_at_hourinteger

Only places open at this hour, 24-hour clock. Requires open_on_day.

startinteger

Result offset. A Maps page holds 20 places. Default 0.

timeoutnumber

Seconds may spend before giving up (max 50, default 50). A timed-out call is not billed.

Example: 50

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.