Google Maps API
Get Google Maps data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Compare 14 implementations (anyapi, LiteScrape and Serper), pass parameters such as limit, location, placeMinimumStars, and retrieve structured data including item collection and returned found field to search interfaces and source review, and integration reference.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / APIs
- 3 / 14
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Google Maps API
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- API
- Pricing
On this page
Overview
Google Maps API
Search for Google Maps places, or get one place by ID. Provide JSON payload in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | query: timeout; body: body |
| Selected implementation | litescrape · Google Maps |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Search interfaces and source review: Keep returned sources and query context together.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
local_results[].title |
Title |
local_results[].address |
Address |
local_results[].country |
Returned country field |
local_results[].data_cid |
Returned data cid field |
local_results[].data_id |
Returned data id field |
local_results[].description |
Description |
local_results[].extensions |
Returned extensions field |
local_results[].gps_coordinates |
Returned gps coordinates field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the JSON body and supported fields shown in the request template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/litescrape/api/google/maps' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"gl": "us",
"hl": "en",
"q": "787 Coffee New York",
"type": "search"
}'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published Google Maps API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| Google Maps Contacts · POST · View API reference | $0.00325 / call | —Select to load statistics | —successP50— | |
| Google Maps Reviews · POST · View API reference | $0.0035 / call | —Select to load statistics | —successP50— | |
| Google Maps Nearby Search · POST · View API reference | $0.0013 / call | —Select to load statistics | —successP50— | |
| Google Maps Place Lookup · POST · View API reference | $0.00175 / call | —Select to load statistics | —successP50— | |
| Google Maps Search · POST · View API reference | $0.00175 / call | —Select to load statistics | —successP50— | |
| Google Contributor Reviews · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| Google Maps Posts · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| Google Maps Popular Times · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| Google Maps Reviews · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
Current Google Maps · POST · View API reference | $0.00015 / call | 0 | —successP50— | |
| Google Maps Photo Metadata · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| Serper Reviews · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Serper Maps · POST · View API reference | $0.003 / call | —Select to load statistics | —successP50— | |
| Serper Places · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.00015
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 6. Price update time: not supplied.
Total $0.015
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/google/maps- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
timeout | URL query parametersquery | number | No | Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget. maximum: 90 |
data | JSON request bodybody | string | null | No | A Google Maps protobuf parameter sequence for search filters or an exact place. Maximum length: 8,192 characters. Exact-place data requires type=place. |
data_cid | JSON request bodybody | string | integer | null | No | A decimal Google CID used to resolve one exact place. Cannot be combined with place_id or exact-place data. |
gl | JSON request bodybody | string | null | No | Two-letter country code used for regional result localization. Examples: us, gb, ca, au |
google_domain | JSON request bodybody | string | null | No | Validated Google domain used for the request. Examples: google.com, google.co.uk, google.ca |
hl | JSON request bodybody | string | null | No | Language used for Google Maps labels and returned text. Examples: en, es, fr, de |
lat | JSON request bodybody | string | number | null | No | Latitude for a coordinate-based viewport. Must be supplied with lon and either z or m. |
ll | JSON request bodybody | string | null | No | A complete viewport containing latitude, longitude, and either zoom or radius. Format: @lat,lon,14z or @lat,lon,5000m |
location | JSON request bodybody | string | null | No | A named geographic location resolved by the API. Cannot be combined with ll or lat/lon. Requires z or m. |
lon | JSON request bodybody | string | number | null | No | Longitude for a coordinate-based viewport. Must be supplied with lat and either z or m. |
m | JSON request bodybody | string | integer | null | No | Search radius in meters for location or lat/lon geography. Accepted range: 1 through 15,028,132. Cannot be combined with z. |
max_price | JSON request bodybody | string | integer | null | No | Maximum price level for returned places. Must be non-negative and cannot be lower than min_price. |
min_price | JSON request bodybody | string | integer | null | No | Minimum price level for returned places. Must be non-negative and cannot exceed max_price. |
min_rating | JSON request bodybody | string | number | null | No | Preferred minimum Google rating. Google treats this as a relevance preference. |
nearby | JSON request bodybody | boolean | null | No | Uses the supplied geography as a nearby-search scope. Requires ll, location, or a lat/lon pair. |
open_at_hour | JSON request bodybody | string | integer | null | No | Filters for places open at a specific hour using 24-hour time. Accepted range: 0 through 23. Requires open_on_day. |
open_on_day | JSON request bodybody | string | null | No | Filters for places open on a specific day. |
open_state | JSON request bodybody | string | null | No | Filters by the current open state. Cannot be combined with open_on_day or open_at_hour. |
place_id | JSON request bodybody | string | null | No | 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 data return popular_times: null. |
q | JSON request bodybody | string | null | No | The business, category, address, or natural-language query to search. Required when type is search. Examples: coffee shops in Austin, dentist near Denver |
start | JSON request bodybody | string | integer | null | No | 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. |
type | JSON request bodybody | string | null | No | Chooses a result search or an exact place response. Required for query and filter searches. Use place when sending an exact-place data sequence. |
z | JSON request bodybody | string | number | null | No | Google Maps zoom level for location or lat/lon geography. Accepted range: 3 through 30. Cannot be combined with m. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
local_resultsobject[]addressstringcountrystringdata_cidstringdata_idstringdescriptionstringextensionsobject[]accessibilitystring[]
gps_coordinatesobjectlatitudenumberlongitudenumber
hoursstringopen_statestringoperating_hoursobjectfridaystringmondaystringsaturdaystringsundaystringthursdaystringtuesdaystringwednesdaystring
order_onlinestringphonestringphotos_linkstringplace_idstringplace_id_searchstringpositionintegerprovider_idstringratingnumberreviewsintegerreviews_linkstringsource_thumbnailstringthumbnailstringtitlestringtypestringtype_idstringtype_idsstring[]typesstring[]websitestring
search_informationobjectlocal_results_statestringquery_displayedstring
search_metadataobjectcreated_atstringgoogle_maps_urlstringidstringjson_endpointstringprocessed_atstringstatusstringtotal_time_takennumber
search_parametersobjectgoogle_domainstringhlstringqstringtypestring
submit_feedback_for_this_response_herestring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 2
Review these request fields before running. Keep the published provider and request method unchanged.
timeout- Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.
body- Search Google Maps places, or get one place by ID.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/litescrape/api/google/maps' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "gl": "us", "hl": "en", "q": "787 Coffee New York", "type": "search" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "local_results": [ { "address": "115 Sansome St, San Francisco, CA 94104", "country": "United States", "data_cid": "1419411507436839264", "data_id": "0x808580620f5d41dd:0x13b2c33ee2dfe160", "description": "Trendy cafe chain offering upscale coffee and pastries, plus coffee beans and brewing equipment.", "extensions": [ { "accessibility": [ "Wheelchair accessible entrance", "Wheelchair accessible restroom" ] } ], "gps_coordinates": { "latitude": 37.791306399999996, "longitude": -122.4009679 }, "hours": "Closed · Opens 8 AM Sun", "open_state": "Closed · Opens 8 AM Sun", "operating_hours": { "friday": "6:30 AM–5:30 PM", "monday": "6:30 AM–5:30 PM", "saturday": "8 AM–2 PM", "sunday": "8 AM–2 PM", "thursday": "6:30 AM–5:30 PM", "tuesday": "6:30 AM–5:30 PM", "wednesday": "6:30 AM–5:30 PM" }, "order_online": "https://www.google.com/searchviewer/42?cvd=CLw_EicKJeICIjIgEhkiF9LX29IPEQoNL2cvMTFiN3hqam0yNhgAOgMI8A0%3D&g2lbs=AEzIGDser7WG-cKvae2Mrv33gvWksxBKHgLb9PDYYzUR3pj1lLmCJv-0CQwsgKlo16uOsngYXXR8&hl=en-US&gl=us&fo_m=MfohQo559jFvMUOzJVpjPL1YMfZ3bInYwBDuMfaXTPp5KXh-&utm_source=tactile&gei=PA2vape2EK_6wbkPjv_y4Aw&ei=PA2vape2EK_6wbkPjv_y4Aw&fo_s=OA,SOE&opi=79508299&ebb=1&cs=0&foub=mcpp", "phone": "(510) 661-3510", "photos_link": "https://www.google.com/maps/place/@37.791306399999996,-122.4009679,17z/data=!4m2!3m1!1s0x808580620f5d41dd%3A0x13b2c33ee2dfe160?entry=photos", "place_id": "ChIJ3UFdD2KAhYARYOHf4j7DshM", "place_id_search": "https://ecll-litescrape-v3--site-api-web.modal.run/api/google/maps?place_id=ChIJ3UFdD2KAhYARYOHf4j7DshM&google_domain=google.com&hl=en", "position": 1, "provider_id": "/g/11b7xjjm26", "rating": 4.4, "reviews": 1295, "reviews_link": "https://ecll-litescrape-v3--site-api-web.modal.run/api/google/reviews?data_id=0x808580620f5d41dd%3A0x13b2c33ee2dfe160&hl=en", "source_thumbnail": "https://lh3.googleusercontent.com/gps-cs-s/AHRPTWmLGxfdtV0Hozce99l85XRy0KB0dADBBNUjinRGbxODq6tPWkP1yRqUU5qQpMyVQQIBwAAasjUDuIHTAXVofjeV8Hg4xwstMT9cuVps-E0hwuQMn10GYodFEpnp_m_MRdM5Zsv4=w114-h86-k-no", "thumbnail": "https://lh3.googleusercontent.com/gps-cs-s/AHRPTWmLGxfdtV0Hozce99l85XRy0KB0dADBBNUjinRGbxODq6tPWkP1yRqUU5qQpMyVQQIBwAAasjUDuIHTAXVofjeV8Hg4xwstMT9cuVps-E0hwuQMn10GYodFEpnp_m_MRdM5Zsv4=w114-h86-k-no", "title": "Blue Bottle Coffee", "type": "Coffee shop", "type_id": "coffee_shop", "type_ids": [ "coffee_shop" ], "types": [ "Coffee shop" ], "website": "https://bluebottlecoffee.com/us/eng/northern-california-cafes?utm_source=google&utm_medium=organic&utm_campaign=cafe_business_listing_norcal" }, { "address": "315 Linden St, San Francisco, CA 94102", "country": "United States", "data_cid": "13757888117856636050", "data_id": "0x80858098babc2d4b:0xbeedd659cc698c92", "description": "Trendy cafe chain offering upscale coffee drinks & pastries, plus beans & brewing equipment.", "extensions": [ { "accessibility": [ "Wheelchair accessible entrance", "Wheelchair accessible parking lot" ] } ], "gps_coordinates": { "latitude": 37.7763342, "longitude": -122.4232375 }, "hours": "Open · Closes 7:30 PM", "open_state": "Open · Closes 7:30 PM", "operating_hours": { "friday": "6:30 AM–7:30 PM", "monday": "6:30 AM–6:30 PM", "saturday": "6:30 AM–7:30 PM", "sunday": "6:30 AM–7:30 PM", "thursday": "6:30 AM–6:30 PM", "tuesday": "6:30 AM–6:30 PM", "wednesday": "6:30 AM–6:30 PM" }, "order_online": "https://www.google.com/searchviewer/42?cvd=CLw_EiQKIuICHzIdEhYiFNLX29IPDgoKL20vMDNwMTJyMhgAOgMI8A0%3D&g2lbs=AEzIGDtIcb6fFUtKfOHseftjYgret-QegTzX1Z4SQcYof7Pp0NcQ3y5hjNXRF9uqzZzrXJ3eygjN&hl=en-US&gl=us&fo_m=MfohQo559jFvMUOzJVpjPL1YMfZ3bInYwBDuMfaXTPp5KXh-&utm_source=tactile&gei=PA2vape2EK_6wbkPjv_y4Aw&ei=PA2vape2EK_6wbkPjv_y4Aw&fo_s=OA,SOE&opi=79508299&ebb=1&cs=0&foub=mcpp", "phone": "(510) 661-3510", "photos_link": "https://www.google.com/maps/place/@37.7763342,-122.4232375,17z/data=!4m2!3m1!1s0x80858098babc2d4b%3A0xbeedd659cc698c92?entry=photos", "place_id": "ChIJSy28upiAhYARkoxpzFnW7b4", "place_id_search": "https://ecll-litescrape-v3--site-api-web.modal.run/api/google/maps?place_id=ChIJSy28upiAhYARkoxpzFnW7b4&google_domain=google.com&hl=en", "position": 2, "provider_id": "/m/03p12r2", "rating": 4.6, "reviews": 904, "reviews_link": "https://ecll-litescrape-v3--site-api-web.modal.run/api/google/reviews?data_id=0x80858098babc2d4b%3A0xbeedd659cc698c92&hl=en", "source_thumbnail": "https://lh3.googleusercontent.com/gps-cs-s/AHRPTWl-KIqwUTpLEdcV0FUsIt6gpcx48v9CLNTGXJ9BPLpBNsii8LgZWjvMMM3ndkQ9KSWobhK5avkPAgi7CKodEbCaCtFNFFxi-Qgrf1Lfq-rDF3CvcjVJaYMclcj1gaL9xr1gjCwz=w114-h86-k-no", "thumbnail": "https://lh3.googleusercontent.com/gps-cs-s/AHRPTWl-KIqwUTpLEdcV0FUsIt6gpcx48v9CLNTGXJ9BPLpBNsii8LgZWjvMMM3ndkQ9KSWobhK5avkPAgi7CKodEbCaCtFNFFxi-Qgrf1Lfq-rDF3CvcjVJaYMclcj1gaL9xr1gjCwz=w114-h86-k-no", "title": "Blue Bottle Coffee", "type": "Coffee shop", "type_id": "coffee_shop", "type_ids": [ "coffee_shop" ], "types": [ "Coffee shop" ], "website": "https://bluebottlecoffee.com/us/eng/northern-california-cafes?utm_source=google&utm_medium=organic&utm_campaign=cafe_business_listing_norcal" } ], "search_information": { "local_results_state": "Results for exact spelling", "query_displayed": "Blue Bottle Coffee SF" }, "search_metadata": { "created_at": "2026-09-19 22:31:24 UTC", "google_maps_url": "https://www.google.com/maps/search/Blue%20Bottle%20Coffee%20SF/@40.7128,-74.006,50000m/?hl=en", "id": "3dc823489468ef4a8017866a", "json_endpoint": "https://ecll-litescrape-v3--site-api-web.modal.run/api/google/maps?q=Blue+Bottle+Coffee+SF&type=search&google_domain=google.com&hl=en", "processed_at": "2026-09-19 22:31:27 UTC", "status": "Success", "total_time_taken": 2.882 }, "search_parameters": { "google_domain": "google.com", "hl": "en", "q": "Blue Bottle Coffee SF", "type": "search" }, "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token" }