Google Maps
/google_mapsSearch Google Maps places, or get one place by ID.
- Finished calls, last 7 days
- 0
Cancellations excluded. Execution times cover successful calls.
Use it with your agent
Set up https://www.agentrouter.to/SKILL.md, then use Litescrape’s /google_maps endpoint through AgentRouter.
Inputs
qOptional- The business, category, address, or natural-language query to search. Required when type is search. Examples: coffee shops in Austin, dentist near Denver
llOptional- A complete viewport containing latitude, longitude, and either zoom or radius. Format: @lat,lon,14z or @lat,lon,5000m
locationOptional- A named geographic location resolved by the API. Cannot be combined with ll or lat/lon. Requires z or m.
latOptional- Latitude for a coordinate-based viewport. Must be supplied with lon and either z or m.
lonOptional- Longitude for a coordinate-based viewport. Must be supplied with lat and either z or m.
zOptional- Google Maps zoom level for location or lat/lon geography. Accepted range: 3 through 30. Cannot be combined with m.
mOptional- Search radius in meters for location or lat/lon geography. Accepted range: 1 through 15,028,132. Cannot be combined with z.
nearbyOptional- Uses the supplied geography as a nearby-search scope. Requires ll, location, or a lat/lon pair.
dataOptional- A Google Maps protobuf parameter sequence for search filters or an exact place. Maximum length: 8,192 characters. Exact-place data requires type=place.
place_idOptional- A Google place identifier used to resolve one exact place or request live foot traffic. Cannot be combined with data_cid or exact-place data on the primary Maps endpoint. It is the only required parameter on /api/google/maps/popular-times. Every response is fetched live. Places without published busy hours return HTTP 404 not_found and are not billed.
data_cidOptional- A decimal Google CID used to resolve one exact place. Cannot be combined with place_id or exact-place data.
typeOptional- Chooses a result search or an exact place response. Required for query and filter searches. Use place when sending an exact-place data sequence.
hlOptional- Language used for Google Maps labels and returned text. Examples: en, es, fr, de
glOptional- Two-letter country code used for regional result localization. Examples: us, gb, ca, au
google_domainOptional- Validated Google domain used for the request. Examples: google.com, google.co.uk, google.ca
startOptional- Native Maps result offset: 0, 20, 40, and so on. Each request returns up to 20 places and each successful request costs one credit. Use pagination.next when it is present instead of constructing the next request manually.
min_priceOptional- Minimum price level for returned places. Must be non-negative and cannot exceed max_price.
max_priceOptional- Maximum price level for returned places. Must be non-negative and cannot be lower than min_price.
min_ratingOptional- Preferred minimum Google rating. Google treats this as a relevance preference.
open_stateOptional- Filters by the current open state. Cannot be combined with open_on_day or open_at_hour.
open_on_dayOptional- Filters for places open on a specific day.
open_at_hourOptional- Filters for places open at a specific hour using 24-hour time. Accepted range: 0 through 23. Requires open_on_day.
Example input
{
"q": "787 Coffee New York",
"type": "search",
"hl": "en",
"gl": "us"
}Output
Native JSON including result groups, pagination and billing receipt. Each continuation request is a separate call.