v1

latestOpenAPI 3.0.32026-07-2672165314.6 KB
Rates

Nightly rates

Returns simplified nightly rates calendar for rental, requested by houseId and roomTypeId (most rentals on Lodgify have only a single room type id). For a more detailed response, consider using the V2 version of this endpoint.

get/v1/rates/calendar

Query parameters

houseIdinteger required

The ID of the house.

roomTypeIdinteger required

The ID of the room type (details for associated room types can be obtained in responses from Properties endpoints).

startDatestring required

The start date of the calendar. Rates start from this night (inclusive).

endDatestring required

The end date of the calendar. Rates go until this night (inclusive of this night).

Response

Success

datestring nullable
is_defaultboolean

Rates can be either "Default" or per date. The appropriate default rate (that is, the one with a matching min/max stay to the requested stay) will be applied for dates with no date-specific rate.

Example response

[
  {
    "prices": [
      {
        "price_per_day": 123.45
      }
    ]
  }
]