# Get the price calendar for a listing.

`GET /listings/{listing_id}/price_calendar`

> Wheelhouse Pro API. Web version: https://docs.usewheelhouse.com/pro/reference/get-price-calendar · OpenAPI spec: https://docs.usewheelhouse.com/pro/openapi.yaml · Operation ID: `getPriceCalendar` · Tag: Price Calendars · Index of all docs pages: https://docs.usewheelhouse.com/llms.txt

Returns the price calendar for a single listing. Each entry represents one stay date and includes the current price, availability, and booking state.

Defaults to today through the maximum calendar horizon (1.5 years) when `start_date` and `end_date` are omitted. The total date range may not exceed 3 years.

## Request

`GET https://api.usewheelhouse.com/ss_api/v1/listings/{listing_id}/price_calendar`

Authentication: send your integration API key in the `X-Integration-API-Key` header and your user API key in the `X-User-API-Key` header (see https://docs.usewheelhouse.com/pro/authentication.md).

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `listing_id` | string | yes | The channel's unique listing identifier. |

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `channel` | string | no | Channel name the listing is on. See return value of the [/listings](https://docs.usewheelhouse.com/pro/reference/get-listings.md) endpoint. |
| `start_date` | string (date) | no | First stay date to include (YYYY-MM-DD). Defaults to today. |
| `end_date` | string (date) | no | Last stay date to include (YYYY-MM-DD). Defaults to the maximum calendar horizon (1.5 years from today). The total range (`start_date` to `end_date`) may not exceed 3 years. |

### Example request

```bash
curl -X GET 'https://api.usewheelhouse.com/ss_api/v1/listings/{listing_id}/price_calendar' \
  -H 'X-Integration-API-Key: <your integration API key>' \
  -H 'X-User-API-Key: <your user API key>'
```

Only required parameters and body fields are filled in, with placeholder values. Add the optional ones you need from the lists above; some are required in combination, as their descriptions say.

## Responses

### 200

Array of calendar day entries ordered by stay date.

Body (`application/json`): array of object

- `stay_date` (string (date), required): The stay date.
- `price` (integer, required, nullable): The price for this date, or `null` if none is recorded.
- `currency` (string, required, nullable): ISO 4217 currency code for the price, or `null` if none is recorded.
- `is_available` (boolean, required): Whether the date is available for booking.
- `is_booked` (boolean, required): Whether the date has a confirmed booking.
- `block_time` (string (date-time), required, nullable): When the day was blocked/booked (ISO-8601), null for available days.
- `reservation_id` (string, required, nullable): The reservation ID associated with this date, if booked. This is the channel reservation ID (a string), or `null` when the night is not booked.
- `unit_number` (integer, required): The unit number, 0 if the listing is single-unit.
- `created_at` (string (date-time), required): The date and time the data was created.

Example shape (generated from the schema; placeholder values, not a real response):

```json
[
  {
    "stay_date": "2026-01-01",
    "price": 0,
    "currency": "string",
    "is_available": true,
    "is_booked": true,
    "block_time": "2026-01-01T00:00:00Z",
    "reservation_id": "string",
    "unit_number": 0,
    "created_at": "2026-01-01T00:00:00Z"
  }
]
```

### 400

Date range exceeds the 3-year maximum.

### 401

API key authorization failed.

### 403

Listing authorization failed.

### 404

Listing not found.
