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
}
}'const res = await fetch("https://api.peume.com/v1/call/search-google-maps-3", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"timeout": 50
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-google-maps-3",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"timeout": 50
}
},
)
print(res.json()["output"])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
qstringBusiness, 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
llstringViewport as '@lat,lon,14z' (zoom) or '@lat,lon,5000m' (radius).
locationstringNamed location resolved by the API. Requires z or m; cannot be combined with ll or lat/lon.
latnumberViewport center latitude. Requires lon and z or m.
lonnumberViewport center longitude. Requires lat and z or m.
znumberZoom level for location or lat/lon geography, 3-30. Cannot be combined with m.
mintegerSearch radius in meters for location or lat/lon geography. Cannot be combined with z.
nearbybooleanUse the supplied geography as a nearby-search scope. Requires ll, location, or lat/lon.
place_idstringGoogle place ID to resolve one exact place. Cannot be combined with data_cid or data.
data_cidstringDecimal Google CID to resolve one exact place. Cannot be combined with place_id or data.
datastringGoogle Maps protobuf parameter sequence for search filters or an exact place. Exact-place data requires type 'place'.
hlstringInterface and result language, such as 'en', 'en-GB', or 'de'. Default 'en'.
glstringTwo-letter country code for result localization, such as 'us'.
google_domainstringGoogle domain to query, such as 'google.com' or 'google.co.uk'. Default 'google.com'.
min_priceintegerMinimum price level. Cannot exceed max_price.
max_priceintegerMaximum price level. Cannot be lower than min_price.
min_ratingstringPreferred minimum rating (2, 2.5, 3, 3.5, 4, or 4.5). Google treats it as a relevance preference.
open_statestringOnly places open now or open 24 hours. Cannot be combined with open_on_day or open_at_hour.
now · 24h
open_on_daystringOnly places open on this day.
mon · tue · wed · thu · fri · sat · sun
open_at_hourintegerOnly places open at this hour, 24-hour clock. Requires open_on_day.
startintegerResult offset. A Maps page holds 20 places. Default 0.
timeoutnumberSeconds may spend before giving up (max 50, default 50). A timed-out call is not billed.
Example: 50
