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

# Top destinations

> Discover city ids to search without a free-text query.

## Request contract

* **Method and path:** POST /apis/v1/agoda-com/hotels/top-destinations
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/agoda-com/hotels/top-destinations`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/agoda-com.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "agoda-com.hotels.top-destinations",
  "method": "POST",
  "path": "/apis/v1/agoda-com/hotels/top-destinations",
  "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": {}
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "limit": {
              "default": 20,
              "description": "limit\n\nProvider reference: minimum 1; maximum 50; default 20.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 50,
                "min": 1
              }
            },
            "origin": {
              "default": "US",
              "description": "Traveller origin country (ISO 3166-1 alpha-2). Pattern: ^[A-Za-z]{2}$.\n\nProvider reference: default \"US\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "scope": {
              "default": "international",
              "description": "scope\n\nProvider reference: allowed values [\"international\", \"domestic\"]; default \"international\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "international",
                  "domestic"
                ]
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

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


## OpenAPI

````yaml openapi/agoda-com.json POST /apis/v1/agoda-com/hotels/top-destinations
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/top-destinations:
    post:
      tags:
        - Agoda stays
      summary: Top destinations
      description: Discover city ids to search without a free-text query.
      operationId: agoda-com.hotels.top-destinations
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value: {}
            schema:
              additionalProperties: true
              properties:
                limit:
                  default: 20
                  description: |-
                    limit

                    Provider reference: minimum 1; maximum 50; default 20.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 50
                    min: 1
                origin:
                  default: US
                  description: >-
                    Traveller origin country (ISO 3166-1 alpha-2). Pattern:
                    ^[A-Za-z]{2}$.


                    Provider reference: default "US".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                scope:
                  default: international
                  description: >-
                    scope


                    Provider reference: allowed values ["international",
                    "domestic"]; default "international".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - international
                      - domestic
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-20.
                  summary: Official provider example
                  value:
                    count: 20
                    destinations:
                      - city_id: 14524
                        country: Malaysia
                        country_id: 198
                        image_url: >-
                          https://pix6.agoda.net/geo/city/14524/0435b08918aeb5e6ba2c933def5a3b57.jpg?ce=0&s=396x298&ar=4x3
                        name: Kuala Lumpur
                        name_english: Kuala Lumpur
                        property_count: 19902
                        url: https://www.agoda.com/city/kuala-lumpur-my.html
                      - city_id: 1622
                        country: Philippines
                        country_id: 70
                        image_url: >-
                          https://pix6.agoda.net/geo/city/1622/1_1622_02.jpg?ca=6&ce=1&s=396x298&ar=4x3
                        name: Manila
                        name_english: Manila
                        property_count: 13223
                        url: https://www.agoda.com/city/manila-ph.html
                      - city_id: 16087
                        country: Malaysia
                        country_id: 198
                        image_url: >-
                          https://pix6.agoda.net/geo/city/16087/1_16087_02.jpg?ca=6&ce=1&s=396x298&ar=4x3
                        name: Penang
                        name_english: Penang
                        property_count: 5161
                        url: https://www.agoda.com/city/penang-my.html
                      - city_id: 8691
                        country: Indonesia
                        country_id: 192
                        image_url: >-
                          https://pix6.agoda.net/geo/city/8691/1_8691_02.jpg?ca=6&ce=1&s=396x298&ar=4x3
                        name: Jakarta
                        name_english: Jakarta
                        property_count: 14249
                        url: https://www.agoda.com/city/jakarta-id.html
                      - city_id: 2994
                        country: United Arab Emirates
                        country_id: 64
                        image_url: >-
                          https://pix6.agoda.net/geo/city/2994/0c2aae36625e3e958684d0d4ae5b12d0.jpg?ce=0&s=396x298&ar=4x3
                        name: Dubai
                        name_english: Dubai
                        property_count: 19464
                        url: https://www.agoda.com/city/dubai-ae.html
                      - city_id: 9395
                        country: Thailand
                        country_id: 106
                        image_url: >-
                          https://pix6.agoda.net/geo/city/9395/1_9395_02.jpg?ca=6&ce=1&s=396x298&ar=4x3
                        name: Bangkok
                        name_english: Bangkok
                        property_count: 12048
                        url: https://www.agoda.com/city/bangkok-th.html
                      - city_id: 15121
                        country: Malaysia
                        country_id: 198
                        image_url: >-
                          https://pix6.agoda.net/geo/city/15121/1_15121_02.jpg?ca=6&ce=1&s=396x298&ar=4x3
                        name: Malacca
                        name_english: Malacca
                        property_count: 5883
                        url: https://www.agoda.com/city/malacca-my.html
                      - city_id: 1808
                        country: Malaysia
                        country_id: 198
                        image_url: >-
                          https://pix6.agoda.net/geo/city/1808/0fdfe2e24c886b78b03e2d0c0eb8df8e.jpg?ce=0&s=396x298&ar=4x3
                        name: Johor Bahru
                        name_english: Johor Bahru
                        property_count: 6994
                        url: https://www.agoda.com/city/johor-bahru-my.html
                      - city_id: 5070
                        country: Malaysia
                        country_id: 198
                        image_url: >-
                          https://pix6.agoda.net/geo/city/5070/1_5070_02.jpg?ca=6&ce=1&s=396x298&ar=4x3
                        name: Kota Kinabalu
                        name_english: Kota Kinabalu
                        property_count: 3417
                        url: https://www.agoda.com/city/kota-kinabalu-my.html
                      - city_id: 4001
                        country: Philippines
                        country_id: 70
                        image_url: >-
                          https://pix6.agoda.net/geo/city/4001/092eca9a1f0615374d2fcca17e130b61.jpg?ce=0&s=396x298&ar=4x3
                        name: Cebu
                        name_english: Cebu
                        property_count: 5254
                        url: https://www.agoda.com/city/cebu-ph.html
                      - city_id: 1808
                        country: Malaysia
                        country_id: 198
                        image_url: >-
                          https://pix6.agoda.net/geo/city/1808/0fdfe2e24c886b78b03e2d0c0eb8df8e.jpg?ce=0&s=396x298&ar=4x3
                        name: Johor Bahru
                        name_english: Johor Bahru
                        property_count: 6994
                        url: https://www.agoda.com/city/johor-bahru-my.html
                      - city_id: 4923
                        country: India
                        country_id: 35
                        image_url: >-
                          https://pix6.agoda.net/geo/city/4923/1_4923_02.jpg?ca=8&ce=1&s=396x298&ar=4x3
                        name: Bangalore
                        name_english: Bangalore
                        property_count: 5372
                        url: https://www.agoda.com/city/bangalore-in.html
                      - city_id: 17193
                        country: Indonesia
                        country_id: 192
                        image_url: >-
                          https://pix6.agoda.net/geo/city/17193/1_17193_02.jpg?ca=6&ce=1&s=396x298&ar=4x3
                        name: Bali
                        name_english: Bali
                        property_count: 32908
                        url: https://www.agoda.com/city/bali-id.html
                      - city_id: 18943
                        country: Indonesia
                        country_id: 192
                        image_url: >-
                          https://pix6.agoda.net/geo/city/18943/1_18943_02.jpg?ca=6&ce=1&s=396x298&ar=4x3
                        name: Bandung
                        name_english: Bandung
                        property_count: 7196
                        url: https://www.agoda.com/city/bandung-id.html
                      - city_id: 15523
                        country: Malaysia
                        country_id: 198
                        image_url: >-
                          https://pix6.agoda.net/geo/city/15523/1_15523_02.jpg?ca=6&ce=1&s=396x298&ar=4x3
                        name: Ipoh
                        name_english: Ipoh
                        property_count: 2516
                        url: https://www.agoda.com/city/ipoh-my.html
                      - city_id: 1399
                        country: Malaysia
                        country_id: 198
                        image_url: >-
                          https://pix6.agoda.net/geo/city/1399/1_1399_02.jpg?ca=6&ce=1&s=396x298&ar=4x3
                        name: Cameron Highlands
                        name_english: Cameron Highlands
                        property_count: 1789
                        url: https://www.agoda.com/city/cameron-highlands-my.html
                      - city_id: 16850
                        country: India
                        country_id: 35
                        image_url: >-
                          https://pix6.agoda.net/geo/city/16850/1_16850_02.jpg?ca=6&ce=1&s=396x298&ar=4x3
                        name: Mumbai
                        name_english: Mumbai
                        property_count: 4177
                        url: https://www.agoda.com/city/mumbai-in.html
                      - city_id: 14523
                        country: Malaysia
                        country_id: 198
                        image_url: >-
                          https://pix6.agoda.net/geo/city/14523/1_14523_02.jpg?ca=6&ce=1&s=396x298&ar=4x3
                        name: Kuching
                        name_english: Kuching
                        property_count: 1465
                        url: https://www.agoda.com/city/kuching-my.html
                      - city_id: 4064
                        country: Singapore
                        country_id: 114
                        image_url: >-
                          https://pix6.agoda.net/geo/city/4064/1_4064_02.jpg?ca=6&ce=1&s=396x298&ar=4x3
                        name: Singapore
                        name_english: Singapore
                        property_count: 1326
                        url: https://www.agoda.com/city/singapore-sg.html
                      - city_id: 11304
                        country: India
                        country_id: 35
                        image_url: >-
                          https://pix6.agoda.net/geo/city/11304/077a5dc2a344a604731be86537916ba0.jpg?ce=0&s=396x298&ar=4x3
                        name: Goa
                        name_english: Goa
                        property_count: 9254
                        url: https://www.agoda.com/city/goa-in.html
                    header: Most popular destinations
                    observed_at_ms: 1792518188473
                    origin: US
                    origin_country: United States
                    scope: international
                    source_url: https://www.agoda.com/
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Agoda's most popular destination cities for travellers from an
            origin country (international or domestic), with city ids, country
            and property counts.


            The response contains the tool result directly.


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


            | Documented field | Provider type | Description |

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

            | `city_id` | number |  |

            | `country` | string |  |

            | `country_id` | number |  |

            | `image_url` | string |  |

            | `name` | string |  |

            | `name_english` | string |  |

            | `property_count` | number |  |

            | `url` | string |  |



            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.