Skip to main content
Google Maps Platform logo

Overview

Add Google Maps Platform to any ModuleX agent or workflow. Search for places and retrieve place details using the Google Places API (New) (places.googleapis.com).
Categories: Developer Tools & Infrastructure · Geolocation · Maps & Places · Auth: Google Maps API Key · Actions: 2

Authentication

Google Maps API Key

Authenticate using your Google Cloud API key with Places API enabled
2

Step 2

Create or select a project
3

Step 3

Enable the Places API (New) for your project
4

Step 4

Create an API key or use an existing one
5

Step 5

Paste the API key below

Required Credentials

FieldDescriptionRequiredFormat
Google Maps API KeyYour Google Cloud API key with Places API (New) enabledYesAIzaSyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Available Actions

Parameters

text_query
string
required
The text string on which to search, for example: ‘restaurant’, ‘123 Main Street’, or ‘best place to visit in San Francisco’
included_type
string
Restricts results to places matching the specified type from Table A (e.g. ‘restaurant’, ‘cafe’, ‘hotel’)
include_pure_service_area_businesses
boolean
If true, include businesses that visit or deliver to customers directly but don’t have a physical location
language_code
string
BCP-47 language code for results (e.g. ‘en’, ‘fr’, ‘zh-CN’)
location_bias
object
Area to bias search results toward. JSON object with circle or rectangle specification
location_restriction
string
Area to restrict search results to. Results outside this area are not returned
ev_options
object
Parameters for identifying available EV charging connectors and charging rates
min_rating
number
Minimum average user rating (0.0 to 5.0 inclusive, in increments of 0.5)
open_now
boolean
If true, return only places that are currently open for business
price_levels
array
Restrict to places at certain price levels. Valid values: PRICE_LEVEL_FREE, PRICE_LEVEL_INEXPENSIVE, PRICE_LEVEL_MODERATE, PRICE_LEVEL_EXPENSIVE, PRICE_LEVEL_VERY_EXPENSIVE
rank_preference
string
How results are ranked: RELEVANCE (by search relevance) or DISTANCE (by distance)
region_code
string
Two-character CLDR region code to format and bias results
strict_type_filtering
boolean
When true and included_type is set, only return places matching the specified type
simplified
boolean
If true, return a reduced set of fields per place (id, name, type, status, rating, address, phone, website, hours, location)

Response

{
  "additionalProperties": false,
  "properties": {
    "success": {
      "title": "Success",
      "type": "boolean"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Error"
    },
    "places": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "title": "Places",
      "type": "array"
    }
  },
  "required": [
    "success"
  ],
  "title": "SearchPlacesOutput",
  "type": "object"
}

Parameters

place_id
string
required
A textual identifier that uniquely identifies a place, returned from the search_places action
simplified
boolean
If true, return a reduced set of fields (id, name, type, status, rating, address, phone, website, hours, location)

Response

{
  "additionalProperties": false,
  "properties": {
    "success": {
      "title": "Success",
      "type": "boolean"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Error"
    },
    "data": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Data"
    }
  },
  "required": [
    "success"
  ],
  "title": "GetPlaceDetailsOutput",
  "type": "object"
}

Limits & Quotas

  • Text Search: $32.00 per 1,000 requests (standard SKU pricing).
  • Place Details: $17.00 per 1,000 requests (standard SKU pricing).
  • Default quota: 6,000 QPM (queries per minute) per project; can be increased via Google Cloud Console.
  • Error model: non-2xx responses and timeouts are caught and returned as success=False + error rather than raising.

Algolia

Amazon Web Services

Apify