Google Maps Platform · Schema
ComputeInsightsRequest
Request for the ComputeInsights RPC.
EnvironmentGeocodingGeolocationMapsNavigationPlacesRoutingSolarGeospatial
Properties
| Name | Type | Description |
|---|---|---|
| filter | object | Required. Insight filter. |
| insights | array | Required. Insights to compute. Currently only INSIGHT_COUNT and INSIGHT_PLACES are supported. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/google-maps/json-schema/google-maps-compute-insights-request-schema.json",
"title": "ComputeInsightsRequest",
"description": "Request for the ComputeInsights RPC.",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/google-maps-areainsights-v1-api-openapi.yml#/components/schemas/ComputeInsightsRequest",
"properties": {
"filter": {
"$ref": "#/$defs/Filter",
"description": "Required. Insight filter."
},
"insights": {
"description": "Required. Insights to compute. Currently only INSIGHT_COUNT and INSIGHT_PLACES are supported.",
"items": {
"type": "string",
"enum": [
"INSIGHT_UNSPECIFIED",
"INSIGHT_COUNT",
"INSIGHT_PLACES"
]
},
"type": "array"
}
},
"type": "object",
"$defs": {
"Circle": {
"properties": {
"place": {
"description": "**Format:** Must be in the format `places/PLACE_ID`, where `PLACE_ID` is the unique identifier of a place. For example: `places/ChIJgUbEo8cfqokR5lP9_Wh_DaM`.",
"type": "string"
},
"latLng": {
"$ref": "#/$defs/LatLng",
"description": "The latitude and longitude of the center of the circle."
},
"radius": {
"format": "int32",
"type": "integer",
"description": "Optional. The radius of the circle in meters"
}
},
"description": "A circle is defined by a center point and radius in meters.",
"type": "object"
},
"CustomArea": {
"type": "object",
"properties": {
"polygon": {
"$ref": "#/$defs/Polygon",
"description": "Required. The custom area represented as a polygon"
}
},
"description": "Custom Area."
},
"Filter": {
"type": "object",
"properties": {
"priceLevels": {
"description": "Optional. Restricts results to places whose price level is included on this list. If `price_levels` is not set, all price levels are included in the results.",
"items": {
"enum": [
"PRICE_LEVEL_UNSPECIFIED",
"PRICE_LEVEL_FREE",
"PRICE_LEVEL_INEXPENSIVE",
"PRICE_LEVEL_MODERATE",
"PRICE_LEVEL_EXPENSIVE",
"PRICE_LEVEL_VERY_EXPENSIVE"
],
"type": "string"
},
"type": "array"
},
"locationFilter": {
"$ref": "#/$defs/LocationFilter",
"description": "Required. Restricts results to places which are located in the area specified by location filters."
},
"operatingStatus": {
"items": {
"enum": [
"OPERATING_STATUS_UNSPECIFIED",
"OPERATING_STATUS_OPERATIONAL",
"OPERATING_STATUS_PERMANENTLY_CLOSED",
"OPERATING_STATUS_TEMPORARILY_CLOSED"
],
"type": "string"
},
"type": "array",
"description": "Optional. Restricts results to places whose operating status is included on this list. If operating_status is not set, OPERATING_STATUS_OPERATIONAL is used as default."
},
"typeFilter": {
"$ref": "#/$defs/TypeFilter",
"description": "Required. Place type filters."
},
"ratingFilter": {
"$ref": "#/$defs/RatingFilter",
"description": "Optional. Restricts results to places whose average user ratings are in the range specified by rating_filter. If rating_filter is not set, all ratings are included in the result."
}
},
"description": "Filters for the ComputeInsights RPC."
},
"LatLng": {
"description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.",
"type": "object",
"properties": {
"latitude": {
"format": "double",
"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].",
"type": "number"
},
"longitude": {
"format": "double",
"description": "The longitude in degrees. It must be in the range [-180.0, +180.0].",
"type": "number"
}
}
},
"LocationFilter": {
"type": "object",
"description": "Location filters. Specifies the area of interest for the insight.",
"properties": {
"customArea": {
"$ref": "#/$defs/CustomArea",
"description": "Custom area specified by a polygon."
},
"region": {
"$ref": "#/$defs/Region",
"description": "Area as region."
},
"circle": {
"$ref": "#/$defs/Circle",
"description": "Area as a circle."
}
}
},
"Polygon": {
"properties": {
"coordinates": {
"description": "Optional. The coordinates that define the polygon.",
"items": {
"$ref": "#/$defs/LatLng"
},
"type": "array"
}
},
"description": "A polygon is represented by a series of connected coordinates in an counterclockwise ordered sequence. The coordinates form a closed loop and define a filled region. The first and last coordinates are equivalent, and they must contain identical values. The format is a simplified version of GeoJSON polygons (we only support one counterclockwise exterior ring).",
"type": "object"
},
"RatingFilter": {
"type": "object",
"properties": {
"minRating": {
"description": "Optional. Restricts results to places whose average user rating is greater than or equal to min_rating. Values must be between 1.0 and 5.0.",
"type": "number",
"format": "float"
},
"maxRating": {
"type": "number",
"description": "Optional. Restricts results to places whose average user rating is strictly less than or equal to max_rating. Values must be between 1.0 and 5.0.",
"format": "float"
}
},
"description": "Average user rating filters."
},
"Region": {
"properties": {
"place": {
"description": "The [place ID](https://developers.google.com/maps/documentation/places/web-service/place-id) of the geographic region. Not all region types are supported; see documentation for details. **Format:** Must be in the format `places/PLACE_ID`, where `PLACE_ID` is the unique identifier of a place. For example: `places/ChIJPV4oX_65j4ARVW8IJ6IJUYs`.",
"type": "string"
}
},
"description": "A region is a geographic boundary such as: cities, postal codes, counties, states, etc.",
"type": "object"
},
"TypeFilter": {
"description": "Place type filters. Only Place types from [Table a](https://developers.google.com/maps/documentation/places/web-service/place-types#table-a) are supported. A place can only have a single primary type associated with it. For example, the primary type might be \"mexican_restaurant\" or \"steak_house\". Use included_primary_types and excluded_primary_types to filter the results on a place's primary type. A place can also have multiple type values associated with it. For example a restaurant might have the following types: \"seafood_restaurant\", \"restaurant\", \"food\", \"point_of_interest\", \"establishment\". Use included_types and excluded_types to filter the results on the list of types associated with a place. If a search is specified with multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if you specify {\"included_types\": [\"restaurant\"], \"excluded_primary_types\": [\"steak_house\"]}, the returned places provide \"restaurant\" related services but do not operate primarily as a \"steak_house\". If there are any conflicting types, i.e. a type appears in both included_types and excluded_types types or included_primary_types and excluded_primary_types, an INVALID_ARGUMENT error is returned. One of included_types or included_primary_types must be set.",
"type": "object",
"properties": {
"includedPrimaryTypes": {
"description": "Optional. Included primary Place types.",
"items": {
"type": "string"
},
"type": "array"
},
"excludedPrimaryTypes": {
"type": "array",
"description": "Optional. Excluded primary Place types.",
"items": {
"type": "string"
}
},
"excludedTypes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional. Excluded Place types."
},
"includedTypes": {
"type": "array",
"description": "Optional. Included Place types.",
"items": {
"type": "string"
}
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-maps-compute-insights-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.