Availability
Get availability for a listing
Retrieves availability for a specific listing with pagination and optional date range filtering
Authorization
x-calry-api-key x-calry-api-key<token>
In: header
Path Parameters
listingID*string
Unique identifier of the listing
Query Parameters
startDate?string
Start date for availability period (ISO format)
Format
date-timeendDate?string
End date for availability period (ISO format)
Format
date-timestatus?string
Filter by availability status
Value in
"AVAILABLE" | "NOT_AVAILABLE"displayCurrency?string
Currency to display pricing in (ISO 4217)
page?number
Page number for pagination
Default
1Range
1 <= valuelimit?number
Number of days per page
Default
90Range
1 <= value <= 730includePrice?boolean
Whether to include the average nightly price in the response
Default
falseHeader Parameters
x-calry-tenant-id?string
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
}Empty
Empty
Empty