> ## 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

# Suggest

> Start here to turn a place or property name into Agoda ids.

## 请求规范

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

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

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

```json theme={null}
{
  "operationId": "agoda-com.hotels.suggest",
  "method": "POST",
  "path": "/apis/v1/agoda-com/hotels/suggest",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "query": "Landmark 81"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "origin": {
              "default": "US",
              "description": "Traveller origin country (ISO 3166-1 alpha-2) Agoda ranks suggestions for. Default US. Pattern: ^[A-Za-z]{2}$.\n\nProvider reference: default \"US\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "query": {
              "description": "Free text: a city, landmark, area or property name.",
              "type": "string"
            }
          },
          "required": [
            "query"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

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


## OpenAPI

````yaml openapi/zh/agoda-com.json POST /apis/v1/agoda-com/hotels/suggest
openapi: 3.1.0
info:
  description: ''
  title: Agoda stays
  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:
    agoda-com:
      description: ''
      title: Agoda stays
      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: 706c3f5206038028368faea845db1b686a1acfcb989850dfac3008de0f26a2fc
        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/agoda-com/hotels/property-faq
    - /apis/v1/agoda-com/hotels/property-reviews
    - /apis/v1/agoda-com/hotels/property-rooms
    - /apis/v1/agoda-com/hotels/search
    - /apis/v1/agoda-com/hotels/suggest
    - /apis/v1/agoda-com/hotels/top-destinations
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:88ba7059022f736392dd1bcaf71db8e89bbd12c79fdf0bdc6f0f9f5e2f671c11
    facts_hash: 706c3f5206038028368faea845db1b686a1acfcb989850dfac3008de0f26a2fc
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: agoda-com
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/agoda-com/hotels/suggest:
    post:
      tags:
        - Agoda stays
      summary: Suggest
      description: Start here to turn a place or property name into Agoda ids.
      operationId: agoda-com.hotels.suggest
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  query: Landmark 81
            schema:
              additionalProperties: true
              properties:
                origin:
                  default: US
                  description: >-
                    Traveller origin country (ISO 3166-1 alpha-2) Agoda ranks
                    suggestions for. Default US. Pattern: ^[A-Za-z]{2}$.


                    Provider reference: default "US".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                query:
                  description: 'Free text: a city, landmark, area or property name.'
                  type: string
              required:
                - query
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-20.
                  summary: Official provider example
                  value:
                    count: 6
                    observed_at_ms: 1792518149844
                    origin: US
                    query: Landmark 81
                    results:
                      - category: Landmark
                        city_id: 13170
                        city_name: Ho Chi Minh City
                        country_code: VN
                        country_id: 38
                        geo_hierarchy: Ho Chi Minh City
                        image_url: null
                        is_property: false
                        kind: landmark
                        name: Landmark 81 SkyView
                        object_id: 1518284
                        object_type_id: 16
                        page_type_id: 12
                        property_count: 1667
                        search_type: 3
                        search_url: https://www.agoda.com/search?city=13170&poi=1518284
                      - category: Property
                        city_id: 13170
                        city_name: Ho Chi Minh City
                        country_code: VN
                        country_id: 38
                        geo_hierarchy: Ho Chi Minh City, Vietnam
                        image_url: >-
                          https://pix6.agoda.net/hotelImages/66755965/0/6faabac7d309bb42890b75c0015dde02.jpg?ce=0
                        is_property: true
                        kind: property
                        name: Landmark 81 & Vinhomes - ZEN Saigon Citypoint
                        object_id: 66755965
                        object_type_id: 32
                        page_type_id: 103
                        property_count: null
                        search_type: 4
                        search_url: >-
                          https://www.agoda.com/search?city=13170&hotel=66755965&selectedproperty=66755965
                      - category: Property
                        city_id: 13170
                        city_name: Ho Chi Minh City
                        country_code: VN
                        country_id: 38
                        geo_hierarchy: Ho Chi Minh City, Vietnam
                        image_url: >-
                          https://pix6.agoda.net/hotelImages/6428322/-1/4461bffd9ee59dcdf29459ab546d2bf1.jpg?ce=0
                        is_property: true
                        kind: property
                        name: Vinpearl Landmark 81, Autograph Collection
                        object_id: 6428322
                        object_type_id: 32
                        page_type_id: 103
                        property_count: null
                        search_type: 4
                        search_url: >-
                          https://www.agoda.com/search?city=13170&hotel=6428322&selectedproperty=6428322
                      - category: Property
                        city_id: 13170
                        city_name: Ho Chi Minh City
                        country_code: VN
                        country_id: 38
                        geo_hierarchy: Ho Chi Minh City, Vietnam
                        image_url: >-
                          https://pix6.agoda.net/hotelImages/86286210/0/30e68ed4a4668a49714f4064be17fb97.jpg?ce=3
                        is_property: true
                        kind: property
                        name: Landmark 81 Area - K's Luxury Residence
                        object_id: 86286210
                        object_type_id: 32
                        page_type_id: 103
                        property_count: null
                        search_type: 4
                        search_url: >-
                          https://www.agoda.com/search?city=13170&hotel=86286210&selectedproperty=86286210
                      - category: Property
                        city_id: 13170
                        city_name: Ho Chi Minh City
                        country_code: VN
                        country_id: 38
                        geo_hierarchy: Ho Chi Minh City, Vietnam
                        image_url: >-
                          https://pix6.agoda.net/hotelImages/90373064/0/4a13d327a934a23a251817efccff4a72.jpg?ce=3
                        is_property: true
                        kind: property
                        name: Landmark 81 Apartments Service
                        object_id: 90373064
                        object_type_id: 32
                        page_type_id: 103
                        property_count: null
                        search_type: 4
                        search_url: >-
                          https://www.agoda.com/search?city=13170&hotel=90373064&selectedproperty=90373064
                      - category: Property
                        city_id: 13170
                        city_name: Ho Chi Minh City
                        country_code: VN
                        country_id: 38
                        geo_hierarchy: Ho Chi Minh City, Vietnam
                        image_url: >-
                          https://pix6.agoda.net/hotelImages/90716167/0/a8d23d4a7fc74fd7c7980730cee84b27.png?ce=3
                        is_property: true
                        kind: property
                        name: Lavela Urban Residences - Landmark 81 & Vinhomes
                        object_id: 90716167
                        object_type_id: 32
                        page_type_id: 103
                        property_count: null
                        search_type: 4
                        search_url: >-
                          https://www.agoda.com/search?city=13170&hotel=90716167&selectedproperty=90716167
                    source_url: >-
                      https://www.agoda.com/api/cronos/search/GetUnifiedSuggestResult/3/1/1/0/en-us/?searchText=Landmark%2081&origin=US&cid=-1&pageTypeId=1&logTypeId=1&isHotelLandSearch=true&lastSearchedCity=0
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Agoda's search-box suggestions for a free-text query: cities, areas,
            landmarks, airports and properties with their Agoda ids. Landmark
            and city ids feed `search`; property ids feed `property_rooms`,
            `property_reviews` and `property_faq`.


            The response contains the tool result directly.


            The provider identifies `results` as the primary payload key.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `category` | string | Agoda's own category label (Landmark,
            Property, City, ...). |

            | `city_id` | number |  |

            | `city_name` | string |  |

            | `country_code` | string |  |

            | `country_id` | number |  |

            | `geo_hierarchy` | string | Where the suggestion is, as Agoda
            prints it (e.g. 'Ho Chi Minh City, Vietnam'). |

            | `image_url` | string |  |

            | `is_property` | boolean |  |

            | `kind` | string | Derived from Agoda's DisplayNames.CategoryName,
            falling back to the object type id. |

            | `name` | string |  |

            | `object_id` | number | Agoda object id: landmark id (kind
            landmark), city id (kind city) or property id (kind property). |

            | `object_type_id` | number | Agoda ObjectTypeId as sent (16
            landmark, 32 property, ...). |

            | `page_type_id` | number |  |

            | `property_count` | number | Properties Agoda lists for the place;
            null for a property. |

            | `search_type` | number |  |

            | `search_url` | string | Agoda search results URL scoped to this
            suggestion. |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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