> For the complete documentation index, see [llms.txt](https://developer.gotadi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.gotadi.com/english/b2b2c-partner/api-method/hotel-1/api.md).

# API

The examples below show the decrypted payload as an object for readability. On the wire, payload is a JSON string inside the envelope.

| # | API                                         | Purpose                                                   |
| - | ------------------------------------------- | --------------------------------------------------------- |
| 1 | `content/properties`                        | Hotel catalogue for one country (cursor)                  |
| 2 | `content/property`                          | Full content for one hotel                                |
| 3 | `availability`                              | Lowest price for up to 50 hotels                          |
| 4 | `offers`                                    | All rooms and rate plans of one hotel                     |
| 5 | `price-check`                               | Lock one rate, obtain a `bookingToken`                    |
| 6 | `bookings/create`                           | Create a booking awaiting payment                         |
| 7 | `bookings/commit`                           | Declare payment collected; Gotadi confirms with the hotel |
| 8 | `bookings/get`                              | Look up a booking                                         |
| 9 | `bookings/cancel-check` → `bookings/cancel` | Check the penalty, cancel the booking                     |
