> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Geocoding API

> Geocoding API

## 请求规范

* **方法与路径:** POST /apis/v1/google-maps/geocoding-api
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/google-maps/geocoding-api`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi-public/zh/google-maps.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "google-maps.geocoding-api",
  "method": "POST",
  "path": "/apis/v1/google-maps/geocoding-api",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "address": {
              "description": "The street address or plus code that you want to geocode. Provide for geocoding (address to coordinates).",
              "examples": [
                "1600 Amphitheatre Parkway, Mountain View, CA"
              ],
              "type": "string"
            },
            "bounds": {
              "description": "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.",
              "examples": [
                "34.172684,-118.604794|34.236144,-118.500938"
              ],
              "type": "string"
            },
            "components": {
              "description": "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.",
              "examples": [
                "postal_code:94043|country:US"
              ],
              "type": "string"
            },
            "extra_computations": {
              "description": "Use this parameter to specify additional features in the response. Can select multiple values.",
              "examples": [
                [
                  "ADDRESS_DESCRIPTORS"
                ]
              ],
              "items": {
                "enum": [
                  "ADDRESS_DESCRIPTORS",
                  "BUILDING_AND_ENTRANCES"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "key": {
              "description": "Your application's API key. If not provided, will be extracted from connection metadata.",
              "examples": [
                "YOUR_API_KEY"
              ],
              "type": "string"
            },
            "language": {
              "description": "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"
              ],
              "type": "string"
            },
            "latlng": {
              "description": "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.",
              "examples": [
                "40.714224,-73.961452"
              ],
              "type": "string"
            },
            "location_type": {
              "description": "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.",
              "examples": [
                "ROOFTOP|RANGE_INTERPOLATED"
              ],
              "type": "string"
            },
            "place_id": {
              "description": "The place ID of the place for which you wish to obtain the human-readable address. Provide for place ID geocoding.",
              "examples": [
                "ChIJd8BlQ2BZwokRAFUEcm_qrcA"
              ],
              "type": "string"
            },
            "region": {
              "description": "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"
              ],
              "type": "string"
            },
            "result_type": {
              "description": "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.",
              "examples": [
                "street_address|locality"
              ],
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按实际用量收费。 默认请求预估费用：\$0.0053 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi-public/zh/google-maps.json POST /apis/v1/google-maps/geocoding-api
openapi: 3.1.0
info:
  description: ''
  title: Google Maps
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    google-maps:
      description: ''
      title: Google Maps
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: cb27db8d2cf9b47d1d7b0ddd5da721e87e13ecc61766ccb730c0ca6e31a6110f
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/google-maps/autocomplete
    - /apis/v1/google-maps/geocode-address-with-query
    - /apis/v1/google-maps/geocode-location
    - /apis/v1/google-maps/geocode-place
    - /apis/v1/google-maps/geocoding-api
    - /apis/v1/google-maps/get-time-zone
    - /apis/v1/google-maps/get2d-tile
    - /apis/v1/google-maps/get3d-tiles-root
    - /apis/v1/google-maps/place-photo
    - /apis/v1/google-maps/text-search
  x-aisa-document:
    composer_version: '31'
    facts_hash: cb27db8d2cf9b47d1d7b0ddd5da721e87e13ecc61766ccb730c0ca6e31a6110f
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:eff6e453d425c87b32048f6cf5565684627e5fd1435330e0afc0dcbf135801cc
    document_hash: sha256:08e79e64d4fde9eff7f29e572706e7576f8d314b587ebba51808821b8520668c
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: google-maps
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/google-maps/geocoding-api:
    post:
      tags:
        - Google Maps
      summary: Geocoding API
      operationId: google-maps.geocoding-api
      requestBody:
        content:
          application/json:
            schema:
              properties:
                address:
                  description: >-
                    The street address or plus code that you want to geocode.
                    Provide for geocoding (address to coordinates).
                  examples:
                    - 1600 Amphitheatre Parkway, Mountain View, CA
                  type: string
                bounds:
                  description: >-
                    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.
                  examples:
                    - 34.172684,-118.604794|34.236144,-118.500938
                  type: string
                components:
                  description: >-
                    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.
                  examples:
                    - postal_code:94043|country:US
                  type: string
                extra_computations:
                  description: >-
                    Use this parameter to specify additional features in the
                    response. Can select multiple values.
                  examples:
                    - - ADDRESS_DESCRIPTORS
                  items:
                    enum:
                      - ADDRESS_DESCRIPTORS
                      - BUILDING_AND_ENTRANCES
                    type: string
                  type: array
                key:
                  description: >-
                    Your application's API key. If not provided, will be
                    extracted from connection metadata.
                  examples:
                    - YOUR_API_KEY
                  type: string
                language:
                  description: >-
                    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
                  type: string
                latlng:
                  description: >-
                    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.
                  examples:
                    - 40.714224,-73.961452
                  type: string
                location_type:
                  description: >-
                    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.
                  examples:
                    - ROOFTOP|RANGE_INTERPOLATED
                  type: string
                place_id:
                  description: >-
                    The place ID of the place for which you wish to obtain the
                    human-readable address. Provide for place ID geocoding.
                  examples:
                    - ChIJd8BlQ2BZwokRAFUEcm_qrcA
                  type: string
                region:
                  description: >-
                    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
                  type: string
                result_type:
                  description: >-
                    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.
                  examples:
                    - street_address|locality
                  type: string
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__public_data
          description: Tool result data
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__public_data:
      $ref: >-
        #/components/schemas/Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__488d6814b3f58305
    Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__488d6814b3f58305:
      properties:
        error_message:
          type: string
        plus_code:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__1dac6903db104f91
        results:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__c23c670d0cc8cafb
          type: array
        status:
          type: string
      required:
        - status
        - results
      type: object
    Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__1dac6903db104f91:
      properties:
        compound_code:
          type: string
        global_code:
          type: string
      type: object
    Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__c23c670d0cc8cafb:
      properties:
        address_components:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__af1fc893ec6e6ead
          type: array
        formatted_address:
          type: string
        geometry:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__f1b8d20fa9be5055
        partial_match:
          type: boolean
        place_id:
          type: string
        plus_code:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__1dac6903db104f91
        postcode_localities:
          items:
            type: string
          type: array
        types:
          items:
            type: string
          type: array
      required:
        - address_components
        - formatted_address
        - geometry
        - place_id
        - types
      type: object
    Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__af1fc893ec6e6ead:
      properties:
        long_name:
          type: string
        short_name:
          type: string
        types:
          items:
            type: string
          type: array
      required:
        - long_name
        - short_name
        - types
      type: object
    Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__f1b8d20fa9be5055:
      properties:
        bounds:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__87605103bbd25bff
        location:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__a2bbcecf109e8119
        location_type:
          type: string
        viewport:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__87605103bbd25bff
      required:
        - location
        - location_type
        - viewport
      type: object
    Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__87605103bbd25bff:
      properties:
        northeast:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__a2bbcecf109e8119
        southwest:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__a2bbcecf109e8119
      required:
        - northeast
        - southwest
      type: object
    Response576A0Ea506F3_connect_GOOGLE_MAPS_GEOCODING_API__output__a2bbcecf109e8119:
      properties:
        lat:
          type: number
        lng:
          type: number
      required:
        - lat
        - lng
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.