OpenAny
Get API keyAPI Key
APIDataEnrichment

Google logo
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
USE THIS API

Google Maps API

Prepare your request, then continue with your agent.

Selected price

$0.00015 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Google Maps API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body*object

body

Search Google Maps places, or get one place by ID.
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.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
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 / call0
—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—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · litescrapeUSD / call
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.

calls

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
timeoutURL query parametersquerynumberNo

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

dataJSON request bodybodystring | nullNo

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_cidJSON request bodybodystring | integer | nullNo

A decimal Google CID used to resolve one exact place. Cannot be combined with place_id or exact-place data.

glJSON request bodybodystring | nullNo

Two-letter country code used for regional result localization. Examples: us, gb, ca, au

google_domainJSON request bodybodystring | nullNo

Validated Google domain used for the request. Examples: google.com, google.co.uk, google.ca

hlJSON request bodybodystring | nullNo

Language used for Google Maps labels and returned text. Examples: en, es, fr, de

latJSON request bodybodystring | number | nullNo

Latitude for a coordinate-based viewport. Must be supplied with lon and either z or m.

llJSON request bodybodystring | nullNo

A complete viewport containing latitude, longitude, and either zoom or radius. Format: @lat,lon,14z or @lat,lon,5000m

locationJSON request bodybodystring | nullNo

A named geographic location resolved by the API. Cannot be combined with ll or lat/lon. Requires z or m.

lonJSON request bodybodystring | number | nullNo

Longitude for a coordinate-based viewport. Must be supplied with lat and either z or m.

mJSON request bodybodystring | integer | nullNo

Search radius in meters for location or lat/lon geography. Accepted range: 1 through 15,028,132. Cannot be combined with z.

max_priceJSON request bodybodystring | integer | nullNo

Maximum price level for returned places. Must be non-negative and cannot be lower than min_price.

min_priceJSON request bodybodystring | integer | nullNo

Minimum price level for returned places. Must be non-negative and cannot exceed max_price.

min_ratingJSON request bodybodystring | number | nullNo

Preferred minimum Google rating. Google treats this as a relevance preference.

nearbyJSON request bodybodyboolean | nullNo

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

open_at_hourJSON request bodybodystring | integer | nullNo

Filters for places open at a specific hour using 24-hour time. Accepted range: 0 through 23. Requires open_on_day.

open_on_dayJSON request bodybodystring | nullNo

Filters for places open on a specific day.

open_stateJSON request bodybodystring | nullNo

Filters by the current open state. Cannot be combined with open_on_day or open_at_hour.

place_idJSON request bodybodystring | nullNo

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.

qJSON request bodybodystring | nullNo

The business, category, address, or natural-language query to search. Required when type is search. Examples: coffee shops in Austin, dentist near Denver

startJSON request bodybodystring | integer | nullNo

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.

typeJSON request bodybodystring | nullNo

Chooses a result search or an exact place response. Required for query and filter searches. Use place when sending an exact-place data sequence.

zJSON request bodybodystring | number | nullNo

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

Inferred from examples
  • local_resultsobject[]
    • addressstring
    • countrystring
    • data_cidstring
    • data_idstring
    • descriptionstring
    • extensionsobject[]
      • accessibilitystring[]
    • gps_coordinatesobject
      • latitudenumber
      • longitudenumber
    • hoursstring
    • open_statestring
    • operating_hoursobject
      • fridaystring
      • mondaystring
      • saturdaystring
      • sundaystring
      • thursdaystring
      • tuesdaystring
      • wednesdaystring
    • order_onlinestring
    • phonestring
    • photos_linkstring
    • place_idstring
    • place_id_searchstring
    • positioninteger
    • provider_idstring
    • ratingnumber
    • reviewsinteger
    • reviews_linkstring
    • source_thumbnailstring
    • thumbnailstring
    • titlestring
    • typestring
    • type_idstring
    • type_idsstring[]
    • typesstring[]
    • websitestring
  • search_informationobject
    • local_results_statestring
    • query_displayedstring
  • search_metadataobject
    • created_atstring
    • google_maps_urlstring
    • idstring
    • json_endpointstring
    • processed_atstring
    • statusstring
    • total_time_takennumber
  • search_parametersobject
    • google_domainstring
    • hlstring
    • qstring
    • typestring
  • submit_feedback_for_this_response_herestring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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"
    }'
  3. 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"
    }

Common questions

Which inputs identify this request?

Provide JSON payload in body (object). Keep identifiers and URLs in the formats documented for this implementation.

What type does timeout use?

timeout uses the JSON type number in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

How should I structure the JSON body?

Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

How should I map the returned fields?

Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use Google Maps API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.