Last updated
ChangelogGoogle Maps API
HealthyRead-onlyStructured data from maps.google.com. Generated from maps.google.com.
/search_places5 credits per callSearch 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).
Authorization: Bearer <key> on every request.Parameters
what to search for; may contain a place name, a category, or an address/city
latitude of the map centre used to bias results (default central London)
longitude of the map centre used to bias results
approximate search area radius in metres around lat/lng
number of results to skip, for paging (20 per page: 0, 20, 40, ...)
language code for the results, e.g. "en", "de"
country code for the results, e.g. "us", "gb"
Response fields
querye.g."coffee"counte.g.20places
namee.g."Archetype Coffee"place_ide.g."ChIJ32WYJnsbdkgR1FckbQTtMk8"feature_ide.g."0x48761b7b269865df:0x4f32ed046d2457d4"addresse.g."31 Riding House St, London W1W 7DY, United Kingdom"address_partslate.g.51.518557699999995lnge.g.-0.1409618categoriesratinge.g.4.9reviews_counte.g.425price_levelphonewebsitedescriptionhours
Fridaye.g."8:30 AM–4 PM"Saturdaye.g."10 AM–4 PM"Sundaye.g."10 AM–4 PM"Mondaye.g."8 AM–4 PM"Tuesdaye.g."8 AM–4 PM"Wednesdaye.g."8 AM–4 PM"Thursdaye.g."8 AM–4 PM"open_statuse.g."Closed · Opens 10 AM Sat"timezonee.g."Europe/London"neighborhoode.g."London, United Kingdom"thumbnaile.g."https://lh3.googleusercontent.com/grass-cs/AABkmLdTXy00y2JYJaNoIyu5GUCxrVjA7NjlpnQgPY5QfJy02o1fOe6k_u3Mv2QHsStBIW-XO7L7To8JjHxaPgPOIUZSFnqiBgakCOwr9KR43JKXmAMV8ef7_gJn57xyXi9hZzvBvwV78Q=w80-h106-k-no"google_maps_urle.g."https://www.google.com/maps/place/?q=place_id:ChIJ32WYJnsbdkgR1FckbQTtMk8"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"
{
"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.
https://mcp.maviapi.com/mcpOr 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 importPaste 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_placesSearch 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 Name Type / location Required Description query string / query No what to search for; may contain a place name, a category, or an address/city lat number / query No latitude of the map centre used to bias results (default central London) lng number / query No longitude of the map centre used to bias results radius_m number / query No approximate search area radius in metres around lat/lng offset integer / query No number of results to skip, for paging (20 per page: 0, 20, 40, ...) hl string / query No language code for the results, e.g. "en", "de" gl string / query No country code for the results, e.g. "us", "gb" Response fields Field Type Description query string count integer places object[] places[].name string places[].place_id string places[].feature_id string places[].address string places[].address_parts string[] places[].lat number places[].lng number places[].categories string[] places[].rating number places[].reviews_count integer places[].price_level null places[].phone null places[].website null places[].description null places[].hours object places[].hours.Friday string places[].hours.Saturday string places[].hours.Sunday string places[].hours.Monday string places[].hours.Tuesday string places[].hours.Wednesday string places[].hours.Thursday string places[].open_status string places[].timezone string places[].neighborhood string places[].thumbnail string places[].google_maps_url string - Place Details V2
GET /place_details_v2Full 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 Name Type / location Required Description place_id string / query No Google place ID (e.g. "ChIJ32WYJnsbdkgR1FckbQTtMk8"), as returned in `place_id` by search_places / nearby_places feature_id string / query No Google 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 hl string / query No language code for the results, e.g. "en", "de" gl string / query No country code for the results, e.g. "us", "gb" Response fields Field Type Description name string place_id string feature_id string address string address_parts string[] lat number lng number categories string[] rating number reviews_count integer price_level null phone null website null description null hours object hours.Friday string hours.Saturday string hours.Sunday string hours.Monday string hours.Tuesday string hours.Wednesday string hours.Thursday string open_status string timezone string neighborhood string thumbnail string google_maps_url string owner_description string attributes object attributes.Accessibility object[] attributes.Accessibility[].name string attributes.Accessibility[].available boolean review_snippets object[] review_snippets[].text string review_snippets[].rating integer review_topics object[] review_topics[].topic string review_topics[].mentions integer photos string[] business_status string - Place Details
GET /place_detailsFull 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 Name Type / location Required Description place_id string / query No Google place ID (e.g. "ChIJ32WYJnsbdkgR1FckbQTtMk8"), as returned in `place_id` by search_places / nearby_places feature_id string / query No Google 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 hl string / query No language code for the results, e.g. "en", "de" gl string / query No country code for the results, e.g. "us", "gb" Response fields Field Type Description name string place_id string feature_id string address string address_parts string[] lat number lng number categories string[] rating number reviews_count integer price_level null phone null website null description null hours object hours.Friday string hours.Saturday string hours.Sunday string hours.Monday string hours.Tuesday string hours.Wednesday string hours.Thursday string open_status string timezone string neighborhood string thumbnail string google_maps_url string owner_description string attributes object attributes.Accessibility object[] attributes.Accessibility[].name string attributes.Accessibility[].available boolean review_snippets object[] review_snippets[].text string review_snippets[].rating integer review_topics object[] review_topics[].topic string review_topics[].mentions integer photos string[] - Nearby Places
GET /nearby_placesPlaces 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 Name Type / location Required Description lat number / query No latitude of the point to search around (default Times Square, New York) lng number / query No longitude of the point to search around category string / query No kind 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_m number / query No approximate radius in metres of the area searched around the point offset integer / query No number of results to skip, for paging (20 per page: 0, 20, 40, ...) sort_by_distance boolean / query No true to order results nearest first instead of Google's relevance order hl string / query No language code for the results, e.g. "en", "de" gl string / query No country code for the results, e.g. "us", "gb" Response fields Field Type Description lat number lng number category string count integer places object[] places[].name string places[].place_id string places[].feature_id string places[].address string places[].address_parts string[] places[].lat number places[].lng number places[].categories string[] places[].rating number places[].reviews_count integer places[].price_level null places[].phone null places[].website string places[].description string places[].hours object places[].hours.Friday string places[].hours.Saturday string places[].hours.Sunday string places[].hours.Monday string places[].hours.Tuesday string places[].hours.Wednesday string places[].hours.Thursday string places[].open_status string places[].timezone string places[].neighborhood string places[].thumbnail string places[].google_maps_url string places[].distance_m integer
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.
| List | CSV columns |
|---|---|
Search PlacesGET /search_places | name, 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_places | name, 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 '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.
Related APIs
- 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…