Skip to main content
POST
Suggest

Request contract

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

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.

Authorizations

Authorization
string
header
required

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

Body

application/json
query
string
required

Free text: a city, landmark, area or property name.

origin
string
default:US

Traveller origin country (ISO 3166-1 alpha-2) Agoda ranks suggestions for. Default US. Pattern: ^[A-Za-z]{2}$.

Provider reference: default "US".

Response

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.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.