Get availability for a listing
Retrieves day-level availability for a listing, with optional date range, status, and price filters. For availability searches across listings, use the search endpoints.
Authorization
x-calry-api-key In: header
Path Parameters
Unique identifier of the listing
Query Parameters
Start date for availability period (ISO format)
date-timeEnd date for availability period (ISO format)
date-timeFilter by availability status
"AVAILABLE" | "NOT_AVAILABLE"Currency to display pricing in (ISO 4217)
Page number for pagination
11 <= valueNumber of days per page
901 <= value <= 730Whether to include the average nightly price in the response
falseReturn one record per date (AVAILABLE if any unit is free) instead of one per unit per date. Ideal for calendar display on multi-unit listings.
falseHeader Parameters
Optional tenant ID to specify which tenant to operate as. Controls access to listings and their availability. If not provided, the default tenant will be used.
Response Body
application/json
curl -X GET "https://example.com/api/v1/availability/123e4567-e89b-12d3-a456-426614174000"{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"date": "2025-12-15",
"status": "AVAILABLE",
"price": 200,
"minimumNights": 2,
"maximumNights": 30,
"currency": "USD",
"originalPrice": 250,
"priceModifications": {
"defaultDiscount": {
"percentage": 10,
"value": 25
},
"markup": {
"percentage": 10,
"value": 25
},
"promotionDiscount": {
"percentage": 10,
"value": 25
}
},
"unit": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"providerUnitID": "unit-123",
"name": "Ocean View Suite"
}
}
],
"meta": {
"total": 100,
"limit": 15,
"totalPages": 8,
"current": 2,
"previous": 1,
"next": 3
},
"avgNightlyPrice": 150
}