General
Cleaning management via the API | The API can provide the reservation data your cleaning management system needs, but it does not include cleaning management features itself. For example, you cannot create cleaning tasks, assign cleaning staff, or update cleaning statuses through the API. Please build these features on your own system. |
Retrieving distribution status to OTAs | The distribution status to each OTA (e.g., delivered / not delivered) cannot be retrieved through the API. |
Raising the API rate limit | The API rate limit (120 requests per minute per partner) cannot be raised for individual integrations. You can reduce the request load in the following ways:
|
Integration with external systems | For integration with external systems or AI tools (such as MCP), please see [AirHost API] About API Usage. |
GET /availabilities (Query availabilities of given room type)
🔖 Booking Engine API | 💰 Pricing API |
Availability and manual blocks
You can retrieve information on blocks created manually on the reservation calendar through the API.
Block information you can retrieve
The blocks array in the response contains the following information.
Field | Description |
| Room number / room unit |
| Block start date |
| Block end date |
| Memo |
Effect on inventory counts
Manual blocks are also reflected in the inventory counts included in inventories in the response.
Blocked rooms are treated as used inventory and are excluded from the available inventory count.
GET /feeds (Pull Latest Updates)
🏷️ In-house System API (all events except | 🔖 Booking Engine API ( |
After the feed retention period (7 days) | Feed events are retained for 7 days. Feed events older than 7 days cannot be restored. |
POST /commit_feeds (Commit Feeds Cursor)
🔖 Booking Engine API ( | 🏷️ In-house System API (all events except |
POST /webhooks (Push webhook notification)
🏷️ In-house System API (all events except | 🔖 Booking Engine API ( |
GET /folios/{id} (Retrieve a Folio)
Payment information (payments) and payout data
Payment data (payments[]) specifications
Payment amount ( | The reservation amount (gross) the OTA charged the guest. It is not the actual payout amount (net) the OTA transfers to the property after deducting commission. |
Payment date ( | The date the payment data was created in AirHost. It is not the actual payout date from the OTA. |
Checking OTA commission |
|
OTA payout batch information is not supported
The Public API does not support retrieving OTA payout batch information (data per transfer). Therefore, we cannot provide payout dates, payout amounts, or the mapping between a single payout and the multiple reservations it covers.
Prepayment for reservations created via the BE API must be processed on your system. For details, see "Notes on prepayment and auto-payment for reservations created via the BE API" in the "POST /stays (Create a Stay)" section.
PUT /guest_profiles/{id} (Update Guest Profile)
GET /room_type_and_rate_plans (List room types and rates under a given property)
💰 Pricing API |
GET /properties (List Properties)
🔖 Booking Engine API | 💰 Pricing API | 🏷️ In-house System API |
POST /properties (Create a Property)
About the property creation API (Create a Property)
With POST /properties, you can create properties through the API.
Requirements: Available with your contracted API credentials (partner ID and access token). No additional application or setup is required.
After creation: The property can be used in the same way as one created in the admin console. OTA integration, importing existing reservations, and PriceLabs integration all work as usual.
Pricing: Creating a property is free. However, to retrieve the reservation data of the created property through the API, you need to activate the PMS API for each property on the subscription activation page.
Update / delete: Properties cannot be updated or deleted through the API.
Duplicate uid: Sending the same uid creates a new property each time. Existing properties are not updated, so please manage this on your side to avoid duplicate registrations.
Fields you can register: Basic information only. Please check the available fields in the API documentation.
GET /properties/{id} (Retrieve a Property)
🔖 Booking Engine API | 💰 Pricing API | 🏷️ In-house System API |
The room number (room_no) of the room assigned to a reservation can be found in this endpoint's response. For how to retrieve it, see "Retrieving room numbers" in the "GET /room_reservations/{id} (Retrieve a room reservation)" section.
GET /room_guests (List Room Guests under Given Room Reservation)
GET /room_guests/{id} (Retrieve a Room Guest)
GET /room_reservations (List Room Reservations Under a Stay)
GET /room_reservations/{id} (Retrieve a room reservation)
RoomReservation guest count fields
The guest count fields of RoomReservation are mapped based on guest categories and definitions that differ by OTA.
AirHost retrieves reservations from multiple OTAs, but the definitions of "child", "infant", and the child categories (ChildA–D) differ by OTA. Therefore, the API does not return values with a unified meaning; it returns values that reflect each OTA's definitions as closely as possible.
Even with the same field name, the meaning may differ depending on the OTA the reservation came from.
Basic meaning of each field
Standard guest count fields |
|
ChildA – ChildD fields
|
|
Notes on handling co-sleeping and child counts
child_d_count and co-sleeping | Some OTAs (Rakuten Travel, Ikyu, Temairazu) use | [Reasons]
Therefore, Note that Airbnb's |
child_count and ChildA–D | [Note] The following relationship is not guaranteed to hold strictly.
In practice, the result can be | When the A–D total is less than child_count (<) For age-based OTAs (Booking.com / Expedia / Opera, etc.), AirHost applies the following simplified mapping.
Children under 3 and over 12 are not included in ChildA–D. [Example] One 5-year-old and one 13-year-old
The 13-year-old is outside the ChildA–D range and is not included. |
When the A–D total is greater than child_count (>) | With Japanese OTAs (Ikyu, Rakuten Travel, Temairazu), infant categories not included in the OTA's | [Example (Ikyu)] With Ikyu, Therefore, [Notes]
|
Retrieving room numbers
Room numbers can be retrieved, but not directly from room_reservations.
room_reservationsreturns the assigned room asroom_unit.id.Call
GET /properties/{id}and find the room with the same ID inroom_types[].room_units[]to get the correspondingroom_no.
If no room has been assigned to the reservation yet, room_unit is empty and the room number cannot be retrieved.
There is currently no dedicated endpoint for retrieving Room Unit information individually.
The staying guest's name can be retrieved from main_guest. For the difference from the booker's name (booker), see "Retrieving the booker's name and the staying guest's name" in the "GET /stays (List Stays)" section.
PUT /room_reservations/{id} (Update a Room Reservation)
🔖 Booking Engine API (reservations you created only) | 🏷️ In-house System API (reservations you created only) |
Changing a reservation's room type
By specifying the room_type parameter, you can change the room type of an existing reservation.
When the room type change is complete, the following happens automatically:
The inventory allocation for the previous room type is released
Inventory for the new room type is allocated
Therefore, there is no need to adjust inventory manually.
* This applies to reservations created via the API.
For how per-night rates are handled when updating a reservation, see "Per-night rates when creating a reservation" in the "POST /stays (Create a Stay)" section (it also applies to reservation updates).
For how inventory and OTAs are updated when a reservation is cancelled, see "API reservations and inventory/OTA sync" in the "POST /stays (Create a Stay)" section.
GET /stays (List Stays)
🔖 Booking Engine API (reservations you created only) | 🏷️ In-house System API (all reservations, including OTA reservations) |
Retrieving the booker's name and the staying guest's name
In the AirHost API, booker information and staying guest information are returned as separate objects. Please note that where to retrieve them depends on your use case.
Booker's name (
Stay.booker): Available fromGET /stays(the person who made the reservation).Staying guest's name (
RoomReservation.main_guest): Available fromGET /room_reservations/{id}(the representative guest who actually stays).
* The booker (booker) and the staying guest (main_guest) are not always the same person.
RoomReservation rate-related fields
This section explains the specifications of the rate-related fields of room_reservation (fee_breakdown and per_day) and points to note when integrating.
fee_breakdown / per_day specifications and integration notes
room_reservation.fee_breakdown contains daily records with type=per_day. The sum of the per_day amounts matches accommodation_fee.
Topic | Description | Reason |
per_day vs. net room rate |
If there are fee items with To calculate the net room rate, subtract the included fees. | Depending on the rate settings, some fees (e.g., service charges) are bundled into the room rate, so |
per_day and fee_breakdown are officially supported | These fields are defined in the Public API specification and are officially supported. | You can safely rely on them in your integration. |
Differences by reservation source |
| The API returns the same data structure regardless of the reservation source. |
Differences by reservation status | Whether
| OTA cancellations and manual cancellations handle charge lines differently. |
per_day and other fees (e.g., cleaning_fee, channel_fee) |
However, whether they are included in
| The rate settings determine whether a fee is itemized separately or bundled into the room rate. |
POST /stays (Create a Stay)
🏷️ In-house System API | 🔖 Booking Engine API |
Per-night rates when creating a reservation
When creating or updating a reservation with POST /stays (Create a Stay) or PUT /room_reservations/{id} (Update a Room Reservation), there is no field for specifying the room rate for each night. When integrating a booking engine, please note the following behavior.
Topic | Description | Reason |
booking_fee accepts only the total amount |
| This is a current limitation of the Public API specification for reservation creation. |
How the total is distributed across nights | AirHost divides the submitted total evenly by the number of nights and sets it as the per-night rate. This average is what is shown in the reservation details, and it is also used for AirHost's automatic accommodation tax calculation. | Since no per-night rates are submitted, the system has no other basis for a per-night breakdown. |
charges[] is not a substitute for per-night rates |
Even if you submit one charge per night with a date and amount, the data is only reflected in the transaction/invoice records. It is not reflected in the reservation's per-night rate and does not affect the automatic accommodation tax calculation. |
|
Impact on accommodation tax | AirHost's automatic accommodation tax calculation is based on the per-night rate derived from In municipalities where the tax amount depends on the per-person, per-night rate (e.g., Osaka), the result may differ from the actual tax. | Tax is calculated from the per-night rate recorded on the reservation. |
Current workaround | If you need accurate per-night rates and tax amounts, please handle them manually in one of the following ways:
| There is currently no way to resolve this automatically through the API. |
Registering a reservation on fully booked dates
Even if you register a reservation on dates that are already fully booked, the reservation is saved and marked as an overlapped (double) booking. Do not judge success by the HTTP status code alone; also check the reservation status in the response.
API reservations and inventory/OTA sync
Reservations created via the API are allocated against AirHost inventory. Changes to AirHost inventory are automatically synced to connected OTAs.
Reservations can be changed or cancelled with PUT /room_reservations/{id} (Update a Room Reservation). When a reservation is cancelled, inventory is automatically restored and synced to OTAs.
* Updates to OTAs are not instant and may take a few minutes depending on the OTA. For details, see [Channel] Synchronization speed (interval) with each OTA and the risk of double booking (overlapped booking).
How API reservations are handled
Reservations registered with the Booking Engine API (POST /stays) are treated as reservations from the AirHost booking engine. Automated messages are sent in the same way as for regular reservations, and you can exclude them by selecting "AirHost" under "Do not send to these OTAs". Inventory changes caused by these reservations are also synced to connected OTAs.
Notes on prepayment and auto-payment for reservations created via the BE API
Please process prepayment for reservations created via the BE API on your own system.
Prepayment for BE API reservations cannot be collected at the time of booking using AirHost's payment integration.
Also note that the "Channel Manager > Auto Payment" settings do not apply to reservations created via the BE API.
Using prepayment in pre-check-in and refunds on cancellation
If you want guests to prepay through AirHost's pre-check-in feature, you can use the payment solution integration.
Note that if a reservation is cancelled after payment is completed, the refund is not processed automatically.
Please process the refund manually from the reservation's "Transactions" screen.
* For detailed refund steps, see this article.
GET /stays/{id} (Retrieve a Stay)
🏷️ In-house System API | 🔖 Booking Engine API (reservations you created only) |
GET /rate_plans (List Rate Plans Under a given property)
💰 Pricing API |
GET /rate_plans/{id} (Retrieve a Rate Plan)
💰 Pricing API |
id and uid in the response
When you retrieve rate plan information with GET /rate_plans/{id}, the response includes both id and uid.
If no uid is set for the rate plan, no error occurs; uid is returned as null (no value).
For how to specify id / uid when sending rates, see the "POST /rates (Post Rates under a given room type)" section.
POST /rates (Post Rates under a given room type)
💰 Pricing API |
Bulk rate updates
You can bulk-update the rates and sales status of a specified room type through the API.
Update scope
Room type: One room type can be specified per request.
Rate plans: Multiple rate plans within the same room type can be updated together.
If
rate_plansis not specified, all rate plans linked to the room type are updated.
Date range: A continuous period of up to 366 days can be specified.
Days of the week: With
update_weekdays, you can update specific days of the week only.
Fields you can update
In one request, you can set one value for one of the following fields.
Field | Description |
| Base rate per night |
| Rate tier level |
| Stop-sell status |
| Notes |
Note
To set different rates for different dates, send a separate request for each continuous date range that shares the same rate.
How rate updates affect other settings
Rate updates via the API change only the specified fields, such as daily rates and sales status.
The following settings are not changed by rate updates via the API.
Setting | Where it is set |
Additional guest fees | Rate plan settings |
Maximum room occupancy | Room type settings |
Specifying id / uid
When sending rate data, you can use either id or uid as the identifier.
By switching the dropdown menu on the API documentation page, you can see both formats: one using id and one using uid.
* A rate plan's id and uid can be found with "GET /rate_plans/{id} (Retrieve a Rate Plan)".
