Skip to main content
POST
Property rooms

Request contract

  • Method and path: POST /apis/v1/agoda-com/hotels/property-rooms
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/agoda-com/hotels/property-rooms
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
property_id
number
required

Agoda property id (hotel id) from suggest or search.

Provider reference: minimum 1.

adults
number
default:2

adults

Provider reference: minimum 1; maximum 36; default 2.

check_in
string

Check-in date YYYY-MM-DD, today or later. Default: 30 days from today. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

children
number
default:0

children

Provider reference: minimum 0; maximum 9; default 0.

currency
string
default:USD

Pattern: ^[A-Za-z]{3}$.

Provider reference: default "USD".

nights
number
default:1

nights

Provider reference: minimum 1; maximum 30; default 1.

rooms
number
default:1

rooms

Provider reference: minimum 1; maximum 9; default 1.

Response

The dated room grid of one property from Agoda's GetSecondaryData: property identity and address, and every room type with its offers: per-night price excluding and including taxes and fees, the whole-stay total excluding and including taxes and fees, the tax and fee lines (e.g. 'Service charge 5%', 'Tax 8%'), cancellation title, policy text and deadline code, breakfast, book-on-request and rooms left, in the requested currency.

The response contains the tool result directly.

The provider identifies room_types 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.