Data APIs · Google Maps
Google Maps data APIs for AI agents
morigraph has 5 Google Maps data APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including search, place lookup, reviews and contacts. You need no Google Maps developer account or API key, only one morigraph connection. Calls cost from 0.019 credits, about $1.90 for 1,000 calls, paid from one balance.
- APIs
- 5
- Price
- 0.019 to 0.065 credits a call
- Call it from
- MCP, command line and HTTP API
- Needs
- One morigraph connection. No Google Maps account or API key
Three ways to call it
Every data API is run by one tool, data_api, with the API's id and its arguments. The example is Google Maps Search.
In your assistant (MCP). Connect once, then ask in plain words
claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp
Use morigraph's Google Maps Search data API with {"limit":3,"location":"Austin, TX","query":"coffee"} and summarise what comes back.From a terminal or script (CLI)
npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"maps.search","input":{"limit":3,"location":"Austin, TX","query":"coffee"}}'From your own code (HTTP API)
curl https://api.morigraph.com/v1/tools/data_api \
-H "Authorization: Bearer $MORIGRAPH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"maps.search","input":{"limit":3,"location":"Austin, TX","query":"coffee"}}'5 Google Maps data APIs
| API | Id | Price |
|---|---|---|
| Google Maps Search | maps.search | 0.025 credits a call |
| Google Maps Place Lookup | maps.place | 0.019 credits a call |
| Google Maps Reviews | maps.reviews | 0.043 credits a call |
| Google Maps Contacts | maps.contacts | 0.065 credits a call |
| Google Maps Nearby Search | maps.search_nearby | 0.026 credits a call |
Google Maps Search
Search Google Maps for places matching a query and location: up to 20 normalized place records with ratings, addresses, and contact basics per request.
| Argument | Type | Required | What it is |
|---|---|---|---|
categoryFilterWords | array of string | no | Optional list of Google Maps place-category names to keep; results are limited to places whose category matches one of these. Use lowercase category names as shown on Google Maps (e.g. ["coffee shop", "restaurant"]). Omit to include all … |
language | string | no | Two-letter language code for the results (e.g. en). Default "en". |
limit | integer | no | Maximum number of results to return (1-20, default 20). Pricing depends on the selected provider and may be flat per request. |
location | string | yes | Free-text location to search in, ideally city plus country (e.g. Austin, USA). |
placeMinimumStars | two | twoAndHalf | three | threeAndHalf | four | fourAndHalf | no | Only return places with at least this average rating: two (2+), twoAndHalf (2.5+), three (3+), threeAndHalf (3.5+), four (4+), or fourAndHalf (4.5+). Places with no reviews are excluded. Omit this field to stay on the cheapest price; a r… |
query | string | yes | What you would type in the Google Maps search bar (e.g. coffee shop). |
website | allPlaces | withWebsite | withoutWebsite | no | Filter places by whether they list a website: allPlaces (default), withWebsite (only places that have a website), or withoutWebsite (only places without one). Omit this field, or send allPlaces, to stay on the cheapest price; withWebsite… |
Returns address categories category cid city countryCode hours image latitude longitude name permanentlyClosed phone placeId postalCode priceLevel rating reviewCount state street url website
The call
data_api({"api":"maps.search","input":{"limit":3,"location":"Austin, TX","query":"coffee"}})Google Maps Place Lookup
Look up a place on Google Maps by name or search query (optionally scoped to a location) and get the best-matching place with available address, contact, rating, and coordinate details as normalized JSON.
| Argument | Type | Required | What it is |
|---|---|---|---|
categoryFilterWords | array of string | no | Optional list of Google Maps place-category names to keep; the match is limited to a place whose category is one of these. Use lowercase category names as shown on Google Maps (e.g. ["coffee shop"]). Omit to allow any category and stay o… |
language | string | no | Two-letter language code for the result details (e.g. en). Default "en". |
location | string | no | Optional free-text location to scope the search, ideally city plus state or country (e.g. San Francisco, CA). Narrows the query to the best match in that area. |
placeMinimumStars | two | twoAndHalf | three | threeAndHalf | four | fourAndHalf | no | Only match a place with at least this average rating: two (2+), twoAndHalf (2.5+), three (3+), threeAndHalf (3.5+), four (4+), or fourAndHalf (4.5+). Places with no reviews are excluded. Omit this field to stay on the cheapest price; a r… |
query | string | yes | The business name or search text to look up, as you would type it into the Google Maps search bar (e.g. Blue Bottle Coffee). |
website | allPlaces | withWebsite | withoutWebsite | no | Filter by whether the place lists a website: allPlaces (default), withWebsite (only if it has a website), or withoutWebsite (only if it has none). Omit this field, or send allPlaces, to stay on the cheapest price; withWebsite and without… |
Returns address categories category city countryCode hours image latitude longitude name neighborhood permanentlyClosed phone placeId plusCode postalCode priceLevel rating reviewsCount state street url website
The call
data_api({"api":"maps.place","input":{"location":"San Francisco, CA","query":"Blue Bottle Coffee"}})Google Maps Reviews
Fetch up to 100 Google Maps reviews for a place by place ID, sorted the way you need, in one normalized response.
| Argument | Type | Required | What it is |
|---|---|---|---|
language | string | no | Two-letter language code for the review details (e.g. en). Default "en". |
limit | integer | no | Maximum number of results to return (1-100, default 100). |
placeId | string | yes | The Google Maps place ID to fetch reviews for (e.g. ChIJj61dQgK6j4AR4GeTYWZsKWw). |
postedLimit | 24h | week | month | year | no | Only return reviews posted within this window: 24h (past 24 hours), week (past 7 days), month (past month), or year (past year). Omit for no recency filter. |
reviewsFilterString | string | no | Only return reviews that Google's review search matches for this keyword or phrase. It matches whole words, case-insensitive, so mail does not match email. Omit to return all reviews (e.g. parking). |
sort | newest | mostRelevant | highestRanking | lowestRanking | no | Order in which reviews are returned (e.g. newest). Default "newest". |
Returns author authorUrl avatarUrl createdUtc isLocalGuide likes origin ownerResponse ownerResponseAt placeId publishedAgo rating reviewId reviewerId reviewerReviewsCount text url
The call
data_api({"api":"maps.reviews","input":{"limit":3,"placeId":"ChIJN1t_tDeuEmsRUsoyG83frY4"}})Google Maps Contacts
Search Google Maps for businesses and enrich each result with contact details (emails, phones, and social profiles from their websites), up to 20 records per request.
| Argument | Type | Required | What it is |
|---|---|---|---|
categoryFilterWords | array of string | no | Optional list of Google Maps place-category names to keep; results are limited to places whose category matches one of these. Use lowercase category names as shown on Google Maps (e.g. ["dentist", "orthodontist"]). Omit to include all ca… |
language | string | no | Two-letter language code for the results (e.g. en). Default "en". |
limit | integer | no | Maximum number of results to return (1-20, default 20). |
location | string | yes | Free-text location to search in, ideally city plus country (e.g. Denver, USA). |
placeMinimumStars | two | twoAndHalf | three | threeAndHalf | four | fourAndHalf | no | Only return places with at least this average rating: two (2+), twoAndHalf (2.5+), three (3+), threeAndHalf (3.5+), four (4+), or fourAndHalf (4.5+). Places with no reviews are excluded. Omit for no rating filter. |
query | string | yes | What you would type in the Google Maps search bar (e.g. dentist). |
website | allPlaces | withWebsite | withoutWebsite | no | Filter places by whether they list a website: allPlaces (default), withWebsite (only places that have a website), or withoutWebsite (only places without one). Contact enrichment pulls emails and social profiles from a place's website, so… |
Returns address categories category cid city countryCode domain emails facebooks image instagrams language latitude linkedIns longitude name neighborhood phone phones placeId postalCode rank rating reviewCount state street tiktoks twitters url website youtubes
The call
data_api({"api":"maps.contacts","input":{"limit":3,"location":"Austin, TX","placeMinimumStars":"four","query":"coffee shop","website":"withWebsite"}})Google Maps Nearby Search
Search Google Maps around an exact latitude and longitude and get up to 20 normalized places per call, each with the address broken into street, city, state, postal code and country (name those fields in requireFields when they must be present). Use this when you have coordinates and want the map viewport centred on them; use maps.search when you only have a place name. Pass the returned nextCurso
| Argument | Type | Required | What it is |
|---|---|---|---|
coordinates | object | yes | The exact map centre to search around. Use maps.search instead if you only have a place name. |
cursor | string | no | Opaque cursor from a previous response's nextCursor. Pass it back to get the next page of places. |
language | string | no | Two-letter language code for the results (e.g. en). Default "en". |
limit | integer | no | Accepted but does not change the page: every call returns one full Google Maps viewport of about 20 places, never trimmed, so nextCursor continues exactly where this response ended. Price is flat per request. Default 20. |
query | string | yes | What you would type in the Google Maps search bar (e.g. coffee shop). |
zoom | number | no | Google Maps viewport zoom. Lower covers a wider area, higher focuses more tightly around the coordinates. Default 13.1. |
Returns address categories category cid city countryCode description domain image latitude longitude name neighborhood nextCursor phone placeId postalCode rank rating reviewCount state street url website
The call
data_api({"api":"maps.search_nearby","input":{"coordinates":{"latitude":30.2672,"longitude":-97.7431},"limit":20,"query":"coffee shop"}})Good to know
- The price shown is the usual one. A call can cost more when the first source fails and another serves it; the most it can cost is shown beside each API, and
max_creditssets your own limit. - These APIs return public data. What you may do with it depends on the platform's terms and the privacy law where you operate, and that responsibility is yours.
- A failed call is not charged.
When to choose something else
Choose a provider that specialises in Google Maps data when you need it at high volume, on a schedule, or as bulk exports: you will get volume pricing and more control. Choose the platform's official API when you need data from your own account. These APIs are for an agent that needs an answer now, alongside other tools on the same balance.
Questions
Do I need a Google Maps API key or developer account?
No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call any of the 5 APIs on this page.
What does Google Maps data cost through morigraph?
Between 0.019 and 0.065 credits a call depending on the API, where a credit is about 10 cents. That is from about $1.90 for 1,000 calls. You pay per call from one balance, with no separate subscription.
Can Claude, ChatGPT or Cursor get Google Maps data?
Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call.
Which Google Maps data APIs are available?
Google Maps Search, Google Maps Place Lookup, Google Maps Reviews, Google Maps Contacts and Google Maps Nearby Search.
Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.