Skip to main content
POST
Geocoding API

Request contract

  • Method and path: POST /apis/v1/google-maps/geocoding-api
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/google-maps/geocoding-api
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0053 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
address
string

The street address or plus code that you want to geocode. Provide for geocoding (address to coordinates).

Example:

"1600 Amphitheatre Parkway, Mountain View, CA"

bounds
string

The bounding box of the viewport within which to bias geocode results more prominently (e.g., '34.172684,-118.604794|34.236144,-118.500938'). This parameter will only influence, not fully restrict, results.

Example:

"34.172684,-118.604794|34.236144,-118.500938"

components
string

A components filter with elements separated by a pipe (|). E.g., 'postal_code:94043|country:US'. Used for geocoding, can be restrictive or biasing. Supplying only components without address may return ZERO_RESULTS for some queries.

Example:

"postal_code:94043|country:US"

extra_computations
enum<string>[]

Use this parameter to specify additional features in the response. Can select multiple values.

Available options:
ADDRESS_DESCRIPTORS,
BUILDING_AND_ENTRANCES
Example:
key
string

Your application's API key. If not provided, will be extracted from connection metadata.

Example:

"YOUR_API_KEY"

language
string

The language in which to return results. If language is not supplied, the geocoder attempts to use the preferred language as specified in the Accept-Language header, or the native language of the domain from which the request is sent.

Examples:

"en"

"es"

latlng
string

The latitude and longitude coordinates specifying the location for which you want the closest, human-readable address (e.g., '40.714224,-73.961452'). Provide for reverse geocoding.

Example:

"40.714224,-73.961452"

location_type
string

A filter of one or more location types, separated by a pipe (|) (e.g., 'ROOFTOP|RANGE_INTERPOLATED'). Used for reverse geocoding and place ID geocoding.

Example:

"ROOFTOP|RANGE_INTERPOLATED"

place_id
string

The place ID of the place for which you wish to obtain the human-readable address. Provide for place ID geocoding.

Example:

"ChIJd8BlQ2BZwokRAFUEcm_qrcA"

region
string

The region code, specified as a ccTLD ('top-level domain') two-character value. This parameter will only influence, not fully restrict, results from the geocoder.

Examples:

"US"

"ES"

result_type
string

A filter of one or more address types, separated by a pipe (|) (e.g., 'street_address|locality'). Used for reverse geocoding and place ID geocoding.

Example:

"street_address|locality"

Response

Tool result data

results
object[]
required
status
string
required
error_message
string
plus_code
object