Skip to main content
The Quotation API accepts JSON requests over HTTPS only. Calls over plain HTTP are rejected. Every request is a POST and must be authenticated as described on the Authentication page.

Body

The request body is a single JSON object. It carries every required and optional parameter the API needs to compute a result. Field names, types, and accepted values are documented in the Reference.

Guests

The guests array sets the occupancy the API prices and taxes. Send at least one item. Without it, the result depends on how the hotel prices the room:
  • Room pricing: one entity per room and rate, at the room’s maximum occupancy.
  • Occupancy-based pricing: one entity per occupancy defined for the room.
  • Per person pricing: no rate is returned. For hotels that price per person with supplements, guests is mandatory.
To quote several occupancies, send one item per combination in the same request:
The response holds one entity per combination for each room and rate, with prices and taxes computed for that number of guests. Each entity repeats the requested combination in its own guests field, so you can match it to your request. The rest of the request stays the same, and it remains a single call.
Do not derive the price of one occupancy from another. Two occupancies can share a price on one rate, but per-person supplements, occupancy-based rates, and meal plans make prices vary with the number of guests. Taxes such as city tax also depend on it, and the API already computes them for each combination.

Safe to retry

The Quotation API is read-only. Calls never modify data on the D-EDGE side. You can safely retry a request without risk of duplication or side effects.