# Get a listing's nightly calendar time series

`GET /candidates/listing/{listing_id}/time_series`

> Wheelhouse Comp Set API. Web version: https://docs.usewheelhouse.com/comp-set/reference/get-comp-set-candidate-time-series · OpenAPI spec: https://docs.usewheelhouse.com/comp-set/openapi.yaml · Operation ID: `getCompSetCandidateTimeSeries` · Tag: Listing Analytics · Index of all docs pages: https://docs.usewheelhouse.com/llms.txt

Returns the calendar of a single listing over a date range — one entry per stay
date, ordered by stay date, carrying the nightly asking price, whether the night
is available, and its booking status.

Both `start_date` and `end_date` are inclusive, so passing the same date for both
returns that single night. The range defaults to one year back and one year
forward, and may span from three years back to one year forward. Historical
calendar data is retained for roughly the last twelve months, so earlier stay
dates return no entries. When no calendar data exists for the requested range,
the response is an empty array.

The listing must be a comparable Wheelhouse tracks on Airbnb, Vrbo, or
Booking.com. Anything else returns a 404 — including your own listings, even on
those channels, since a listing you have connected to Wheelhouse is not a
comparable; read its calendar with the Wheelhouse RM API instead.

## Request

`GET https://api.usewheelhouse.com/ss_api/v1/comp_set/candidates/listing/{listing_id}/time_series`

Authentication: send your Comp Set 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/comp-set/authentication.md).

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `listing_id` | integer | yes | Wheelhouse listing id. |

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `start_date` | string (date) | no | First stay date to return (inclusive). Defaults to one year ago. |
| `end_date` | string (date) | no | Last stay date to return (inclusive). Defaults to one year from today. |
| `currency` | string | no | Currency code for the returned prices. Defaults to the listing's currency. |

### Example request

```bash
curl -X GET 'https://api.usewheelhouse.com/ss_api/v1/comp_set/candidates/listing/{listing_id}/time_series' \
  -H 'X-Integration-Api-Key: <your Comp Set 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

Successfully retrieved the listing's calendar time series.

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

A single night of a listing's calendar.

- `stay_date` (string (date)): The night this entry describes.
- `price` (integer, nullable): Nightly asking price for the stay date, in `currency`. Null when no price was observed.
- `currency` (string, nullable): Currency code the price is expressed in.
- `is_available` (boolean, nullable): Whether the night is bookable on the channel.
- `status` (string): Booking status of the night — `available`, `booked`, or `blocked`.
- `booking_probability` (number): Confidence that the night is booked rather than blocked, from 0 to 1. Nights that were never observed as taken report 0.
- `block_time` (string (date-time), nullable): Timestamp at which the night was first observed as taken (booked or blocked). Null while the night is still available.

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,
    "status": "string",
    "booking_probability": 0,
    "block_time": "2026-01-01T00:00:00Z"
  }
]
```

### 400

Invalid date range or currency

### 401

API key authorization failed

### 404

Listing not found, or not a listing on Airbnb, Vrbo, or Booking.com
