Skip to content

Last updated

Changelog

Google Maps API

HealthyRead-only

Structured data from maps.google.com. Generated from maps.google.com.

Base URL
https://api.maviapi.com/v1/sites/maps-google
4
Endpoints
31 min ago
Last verified
99.9%
Uptime / 7d
811ms
p50 latency
GET/search_places5 credits per call

Search Places

Search Google Maps for places matching a text query (a place name, a business type, or both, e.g. "Archetype Coffee", "pizza", "hotels in Paris") around a location. Returns up to ~20 places with name, place_id, address, coordinates, categories, rating, review count, phone, website, opening hours and more (fields Google does not give are null).

Bearer auth. Pass your key as Authorization: Bearer <key> on every request.
stringOptionalin query

what to search for; may contain a place name, a category, or an address/city

numberOptionalin query

latitude of the map centre used to bias results (default central London)

numberOptionalin query

longitude of the map centre used to bias results

numberOptionalin query

approximate search area radius in metres around lat/lng

integerOptionalin query

number of results to skip, for paging (20 per page: 0, 20, 40, ...)

stringOptionalin query

language code for the results, e.g. "en", "de"

stringOptionalin query

country code for the results, e.g. "us", "gb"

querystringe.g."coffee"
countintegere.g.20
placesobject[]20 fields
namestringe.g."Archetype Coffee"
place_idstringe.g."ChIJ32WYJnsbdkgR1FckbQTtMk8"
feature_idstringe.g."0x48761b7b269865df:0x4f32ed046d2457d4"
addressstringe.g."31 Riding House St, London W1W 7DY, United Kingdom"
address_partsstring[]
latnumbere.g.51.518557699999995
lngnumbere.g.-0.1409618
categoriesstring[]
ratingnumbere.g.4.9
reviews_countintegere.g.425
price_levelnull
phonenull
websitenull
descriptionnull
hoursobject7 fields
Fridaystringe.g."8:30 AM–4 PM"
Saturdaystringe.g."10 AM–4 PM"
Sundaystringe.g."10 AM–4 PM"
Mondaystringe.g."8 AM–4 PM"
Tuesdaystringe.g."8 AM–4 PM"
Wednesdaystringe.g."8 AM–4 PM"
Thursdaystringe.g."8 AM–4 PM"
open_statusstringe.g."Closed · Opens 10 AM Sat"
timezonestringe.g."Europe/London"
neighborhoodstringe.g."London, United Kingdom"
thumbnailstringe.g."https://lh3.googleusercontent.com/grass-cs/AABkmLdTXy00y2JYJaNoIyu5GUCxrVjA7NjlpnQgPY5QfJy02o1fOe6k_u3Mv2QHsStBIW-XO7L7To8JjHxaPgPOIUZSFnqiBgakCOwr9KR43JKXmAMV8ef7_gJn57xyXi9hZzvBvwV78Q=w80-h106-k-no"
google_maps_urlstringe.g."https://www.google.com/maps/place/?q=place_id:ChIJ32WYJnsbdkgR1FckbQTtMk8"
Try itLive
GET
https://api.maviapi.com/v1/sites/maps-google/search_places?query=coffee&lat=51.5072&lng=-0.1276&radius_m=5000&offset=0&hl=en&gl=us
Request
curl "https://api.maviapi.com/v1/sites/maps-google/search_places?query=coffee&lat=51.5072&lng=-0.1276&radius_m=5000&offset=0&hl=en&gl=us" \
-H "Authorization: Bearer $MAVI_KEY"
Example1.3 KB
{
  "query": "coffee",
  "count": 20,
  "places": [
    {
      "name": "Archetype Coffee",
      "place_id": "ChIJ32WYJnsbdkgR1FckbQTtMk8",
      "feature_id": "0x48761b7b269865df:0x4f32ed046d2457d4",
      "address": "31 Riding House St, London W1W 7DY, United Kingdom",
      "address_parts": [
        "31 Riding House St"
      ],
      "lat": 51.518557699999995,
      "lng": -0.1409618,
      "categories": [
        "Coffee shop"
      ],
      "rating": 4.9,
      "reviews_count": 425,
      "price_level": null,
      "phone": null,
      "website": null,
      "description": null,
      "hours": {
        "Friday": "8:30 AM–4 PM",
        "Saturday": "10 AM–4 PM",
        "Sunday": "10 AM–4 PM",
        "Monday": "8 AM–4 PM",
        "Tuesday": "8 AM–4 PM",
        "Wednesday": "8 AM–4 PM",
        "Thursday": "8 AM–4 PM"
      },
      "open_status": "Closed · Opens 10 AM Sat",
      "timezone": "Europe/London",
      "neighborhood": "London, United Kingdom",
      "thumbnail": "https://lh3.googleusercontent.com/grass-cs/AABkmLdTXy00y2JYJaNoIyu5GUCxrVjA7NjlpnQgPY5QfJy02o1fOe6k_u3Mv2QHsStBIW-XO7L7To8JjHxaPgPOIUZSFnqiBgakCOwr9KR43JKXmAMV8ef7_gJn57xyXi9hZzvBvwV78Q=w80-h106-k-no",
      "google_maps_url": "https://www.google.com/maps/place/?q=place_id:ChIJ32WYJnsbdkgR1FckbQTtMk8"
    }
  ]
}

Get all the data, no code

Collect every page of GET /search_places into a dataset, for one request or for a whole list of them, then download it as CSV or JSON. A page costs the same as one call of the endpoint; the download is free.

Use Google Maps API from Claude, ChatGPT and your coding tools

Add this URL as a custom connector and sign in to maviapi. Nothing to install.

How to connect
https://mcp.maviapi.com/mcp

Or run it locally, with each endpoint of Google Maps API as its own tool:

claude mcp add maviapi -e MAVIAPI_TOOLS=maps-google -- npx -y '@maviapi/mcp'

Import Google Maps API into Postman and other tools

How to import

Paste a link into Postman, Insomnia, an agent framework or a no-code tool to get every endpoint with its parameters and response fields. The link always serves the current endpoints, so importing it again picks up new ones.

  • OpenAPI 3.1
    https://api.maviapi.com/v1/apis/maps-google/openapi.json
  • Postman
    https://api.maviapi.com/v1/apis/maps-google/postman.json

The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.

Build with the Google Maps API

Choose a starting endpoint

  • Search Places GET /search_places

    Search Google Maps for places matching a text query (a place name, a business type, or both, e.g. "Archetype Coffee", "pizza", "hotels in Paris") around a location. Returns up to ~20 places with name, place_id, address, coordinates, categories, rating, review count, phone, website, opening hours and more (fields Google does not give are null).

    Parameters and response fields for GET /search_places
    Request parameters
    NameType / locationRequiredDescription
    querystring / queryNowhat to search for; may contain a place name, a category, or an address/city
    latnumber / queryNolatitude of the map centre used to bias results (default central London)
    lngnumber / queryNolongitude of the map centre used to bias results
    radius_mnumber / queryNoapproximate search area radius in metres around lat/lng
    offsetinteger / queryNonumber of results to skip, for paging (20 per page: 0, 20, 40, ...)
    hlstring / queryNolanguage code for the results, e.g. "en", "de"
    glstring / queryNocountry code for the results, e.g. "us", "gb"
    Response fields
    FieldTypeDescription
    querystring
    countinteger
    placesobject[]
    places[].namestring
    places[].place_idstring
    places[].feature_idstring
    places[].addressstring
    places[].address_partsstring[]
    places[].latnumber
    places[].lngnumber
    places[].categoriesstring[]
    places[].ratingnumber
    places[].reviews_countinteger
    places[].price_levelnull
    places[].phonenull
    places[].websitenull
    places[].descriptionnull
    places[].hoursobject
    places[].hours.Fridaystring
    places[].hours.Saturdaystring
    places[].hours.Sundaystring
    places[].hours.Mondaystring
    places[].hours.Tuesdaystring
    places[].hours.Wednesdaystring
    places[].hours.Thursdaystring
    places[].open_statusstring
    places[].timezonestring
    places[].neighborhoodstring
    places[].thumbnailstring
    places[].google_maps_urlstring
  • Place Details V2 GET /place_details_v2

    Full details of one Google Maps place: every field of place_details (name, address, coordinates, categories, rating, review count, phone, website, opening hours, description, attributes, review snippets, review topics, photo URLs) plus business_status: "OPERATIONAL", "CLOSED_PERMANENTLY" or "CLOSED_TEMPORARILY" (null only when Google shows no status). Fields Google does not give are null.

    Parameters and response fields for GET /place_details_v2
    Request parameters
    NameType / locationRequiredDescription
    place_idstring / queryNoGoogle place ID (e.g. "ChIJ32WYJnsbdkgR1FckbQTtMk8"), as returned in `place_id` by search_places / nearby_places
    feature_idstring / queryNoGoogle Maps feature ID (e.g. "0x47c6098d7d832a0f:0x9d8f878939adfa9f"), as returned in `feature_id`; when given it is used instead of place_id and the call is faster
    hlstring / queryNolanguage code for the results, e.g. "en", "de"
    glstring / queryNocountry code for the results, e.g. "us", "gb"
    Response fields
    FieldTypeDescription
    namestring
    place_idstring
    feature_idstring
    addressstring
    address_partsstring[]
    latnumber
    lngnumber
    categoriesstring[]
    ratingnumber
    reviews_countinteger
    price_levelnull
    phonenull
    websitenull
    descriptionnull
    hoursobject
    hours.Fridaystring
    hours.Saturdaystring
    hours.Sundaystring
    hours.Mondaystring
    hours.Tuesdaystring
    hours.Wednesdaystring
    hours.Thursdaystring
    open_statusstring
    timezonestring
    neighborhoodstring
    thumbnailstring
    google_maps_urlstring
    owner_descriptionstring
    attributesobject
    attributes.Accessibilityobject[]
    attributes.Accessibility[].namestring
    attributes.Accessibility[].availableboolean
    review_snippetsobject[]
    review_snippets[].textstring
    review_snippets[].ratinginteger
    review_topicsobject[]
    review_topics[].topicstring
    review_topics[].mentionsinteger
    photosstring[]
    business_statusstring
  • Place Details GET /place_details

    Full details of one Google Maps place: name, address, coordinates, categories, rating, review count, phone, website, opening hours, description, accessibility/amenity attributes, review snippets, review topics and photo URLs (fields Google does not give are null).

    Parameters and response fields for GET /place_details
    Request parameters
    NameType / locationRequiredDescription
    place_idstring / queryNoGoogle place ID (e.g. "ChIJ32WYJnsbdkgR1FckbQTtMk8"), as returned in `place_id` by search_places / nearby_places
    feature_idstring / queryNoGoogle Maps feature ID (e.g. "0x48761b7b269865df:0x4f32ed046d2457d4"), as returned in `feature_id`; when given it is used instead of place_id and the call is faster
    hlstring / queryNolanguage code for the results, e.g. "en", "de"
    glstring / queryNocountry code for the results, e.g. "us", "gb"
    Response fields
    FieldTypeDescription
    namestring
    place_idstring
    feature_idstring
    addressstring
    address_partsstring[]
    latnumber
    lngnumber
    categoriesstring[]
    ratingnumber
    reviews_countinteger
    price_levelnull
    phonenull
    websitenull
    descriptionnull
    hoursobject
    hours.Fridaystring
    hours.Saturdaystring
    hours.Sundaystring
    hours.Mondaystring
    hours.Tuesdaystring
    hours.Wednesdaystring
    hours.Thursdaystring
    open_statusstring
    timezonestring
    neighborhoodstring
    thumbnailstring
    google_maps_urlstring
    owner_descriptionstring
    attributesobject
    attributes.Accessibilityobject[]
    attributes.Accessibility[].namestring
    attributes.Accessibility[].availableboolean
    review_snippetsobject[]
    review_snippets[].textstring
    review_snippets[].ratinginteger
    review_topicsobject[]
    review_topics[].topicstring
    review_topics[].mentionsinteger
    photosstring[]
  • Nearby Places GET /nearby_places

    Places of a given kind near a latitude/longitude, up to ~20 per page, each with name, place_id, address, coordinates, distance_m from the given point, categories, rating, review count, phone, website, opening hours and more (fields Google does not give are null).

    Parameters and response fields for GET /nearby_places
    Request parameters
    NameType / locationRequiredDescription
    latnumber / queryNolatitude of the point to search around (default Times Square, New York)
    lngnumber / queryNolongitude of the point to search around
    categorystring / queryNokind of place to look for, e.g. "restaurants", "coffee", "hotels", "pharmacy", "atm", "things to do", "gas station"; may also be a name such as "Starbucks"
    radius_mnumber / queryNoapproximate radius in metres of the area searched around the point
    offsetinteger / queryNonumber of results to skip, for paging (20 per page: 0, 20, 40, ...)
    sort_by_distanceboolean / queryNotrue to order results nearest first instead of Google's relevance order
    hlstring / queryNolanguage code for the results, e.g. "en", "de"
    glstring / queryNocountry code for the results, e.g. "us", "gb"
    Response fields
    FieldTypeDescription
    latnumber
    lngnumber
    categorystring
    countinteger
    placesobject[]
    places[].namestring
    places[].place_idstring
    places[].feature_idstring
    places[].addressstring
    places[].address_partsstring[]
    places[].latnumber
    places[].lngnumber
    places[].categoriesstring[]
    places[].ratingnumber
    places[].reviews_countinteger
    places[].price_levelnull
    places[].phonenull
    places[].websitestring
    places[].descriptionstring
    places[].hoursobject
    places[].hours.Fridaystring
    places[].hours.Saturdaystring
    places[].hours.Sundaystring
    places[].hours.Mondaystring
    places[].hours.Tuesdaystring
    places[].hours.Wednesdaystring
    places[].hours.Thursdaystring
    places[].open_statusstring
    places[].timezonestring
    places[].neighborhoodstring
    places[].thumbnailstring
    places[].google_maps_urlstring
    places[].distance_minteger

Export Google Maps data to CSV

Each list below downloads as a CSV file with one row per record. Collect it into a dataset with "Get all the data, no code" under the console above. The dataset reads the list page by page, and you download it as CSV, JSON or JSONL.

ListCSV columns
Search PlacesGET /search_placesname, place_id, feature_id, address, address_parts, lat, lng, categories, rating, reviews_count, price_level, phone, website, description, hours, open_status, timezone, neighborhood, thumbnail, google_maps_url
Nearby PlacesGET /nearby_placesname, place_id, feature_id, address, address_parts, lat, lng, categories, rating, reviews_count, price_level, phone, website, description, hours, open_status, timezone, neighborhood, thumbnail, google_maps_url, distance_m

A nested value (a list or an object) is written as JSON in one cell. How datasets and exports work

Google Maps API questions

What you get, what it costs and how to call it.

Is there an official Google Maps API?

Yes. Google Maps Platform offers the Places API, which returns location data and imagery about establishments and points of interest; it needs an API key. Source: Places API (New) (checked 2026-11-25). This Google Maps API is a separate, unofficial one: an independent, hosted API from maviapi for the public data on maps.google.com. It is not made, endorsed or supported by Google Maps.

What data can I get from the Google Maps API?

The Google Maps API has 4 endpoints. Each returns JSON with the parameters and fields documented above:

  • GET /search_places: Search Google Maps for places matching a text query (a place name, a business type, or both, e.g.
  • GET /place_details_v2: Full details of one Google Maps place: every field of place_details (name, address, coordinates, categories, rating, review count, phone, website, opening…
  • GET /place_details: Full details of one Google Maps place: name, address, coordinates, categories, rating, review count, phone, website, opening hours, description…
  • GET /nearby_places: Places of a given kind near a latitude/longitude, up to ~20 per page, each with name, place_id, address, coordinates, distance_m from the given point…

How much does the Google Maps API cost?

Calls are paid in credits from your maviapi plan, and only successful calls are charged. Every endpoint of this API costs 5 credits per call. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. Failed calls are free. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.

How do I call the Google Maps API?

Send an HTTPS request to the endpoint with your API key in the Authorization header. For example, GET /search_places:

cURL
curl 'https://api.maviapi.com/v1/sites/maps-google/search_places' \
  -H "Authorization: Bearer $MAVI_KEY"

Create a key on your API keys page, or try any endpoint first in the console above with the free test key.

What are the ways to get Google Maps data as JSON?

Each way to get Google Maps data as JSON fits a different need:

  • Places API (New): Google Maps Platform offers the Places API, which returns location data and imagery about establishments and points of interest; it needs an API key. Better when you need write access, account data or an agreement with Google Maps.
  • Your own scraper: Full control and no vendor, but the parsing, the blocked requests and the repairs after every change on maps.google.com are yours. Better for a one-off pull from a page that rarely changes.
  • Apify: A marketplace of Actors you run, where input, output and price are set by each Actor. Better when an Actor already returns what you need, or you want to host your own code. See maviapi vs Apify.
  • RapidAPI: A hub of APIs added by many providers, called with one RapidAPI key and priced per API. Better when you already use the hub and one of its APIs covers what you need. Source: RapidAPI docs.
  • maviapi: The Google Maps API on this page: 4 documented endpoints, a published response schema and one key for the whole catalog. Better when this data is part of your product and you do not want to maintain a scraper.

What happens when maps.google.com changes its layout?

Your code does not change. maviapi keeps the Google Maps API working when maps.google.com changes its pages, so you keep calling the same endpoints and get JSON in the shape documented here. See its current health on the status page and what changed in its changelog.

Will an update break my Google Maps API integration?

No. An endpoint you use never changes shape: new fields, optional parameters and endpoints are added beside it, and a change that would break a call ships as a new endpoint. Ignore response fields you do not know, and follow the changelog for what is new.

  • Google API

    Google Search as JSON: ranked web results and news search for any query.

  • Google Images API

    Structured data from images.google.com.

  • Tripadvisor API

    Trip-planning data from Tripadvisor: geo search plus attractions, restaurants and hotels by location (geo_id), with…