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
  • Runtime facts: 3b5a2acec503471a11eb19f2556b4dd51989d71bc63d22f67f55218e55b002ef
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based billing; Default request estimate: $0.0053 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.0053
  • Declared unit rate (USD): 1e-06
  • Billing unit: provider_credit
  • Cost contract: response_units
  • Published reference multiplier: 1.0
  • Declared maximum count/units: 10000000
  • Settlement evidence source: response_body

Authorizations

Authorization
string
header
required

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

Body

application/json
key
string

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

Example:

"YOUR_API_KEY"

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"

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"

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"

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"

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"

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"

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"

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"

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"

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:

Response

Tool result data

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