# Get price recommendations for this listing

`GET /listings/{id}/price_recommendations`

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

Return daily price recommendations for this listing. The horizon of the price
recommendations depends on the pricing tier this listing is in and can be
queried using the [pricing tier](https://docs.usewheelhouse.com/pro/reference/get-listing-pricing-tier.md) endpoint.
The `data` array starts from today's date in the listing's time zone, not UTC.
If the listing calendar is changed by our recommendations, integrators MUST
make another PUT to the [price calendar](https://docs.usewheelhouse.com/pro/reference/update-calendar.md) to update our calendar.

## Request

`GET https://api.usewheelhouse.com/ss_api/v1/listings/{id}/price_recommendations`

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 |
| --- | --- | --- | --- |
| `id` | string | yes | The integration partner's unique listing identifier. |

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `currency` | string | no | The final currency that the prices should be in. Uses listing's currency by default. Uses 3-digit ISO form (e.g. 'USD', 'GBP'). |
| `channel` | string | no | Channel name of the listing. Can be omitted if you request a listing you created, but required if you request a listing from another channel. See return value of the [/listings](https://docs.usewheelhouse.com/pro/reference/get-listings.md) endpoint. |
| `attribution` | boolean | no | Whether or not you want to receive a detailed attribution for each day. The attribution will break a daily recommendation down into contributing prices like seasonality, local events, etc. and activate all `attr_` response values. (default: `false`) |
| `price_model` | string | no | The price model version to use for the recommendations. By default you will get the model the listing is on. `current` is the model the listing gets without a pick of its own. `opt_in` is the opt-in model, and returns `400` when there are several; pass `price_model_id` instead. With no opt-in model, `opt_in` also gets the model the listing is on. (one of: `current`, `opt_in`) |
| `price_model_id` | integer | no | The ID of a price model to use, instead of `price_model`, from [GET /price_models](https://docs.usewheelhouse.com/pro/reference/get-price-models.md). It must be one the listing can use and that has run for the listing's market, or the request returns `400`. |

### Example request

```bash
curl -X GET 'https://api.usewheelhouse.com/ss_api/v1/listings/{id}/price_recommendations' \
  -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

Successfully retrieved recommendations

Body (`application/json`): object `recommendationsApiResponse`

- `error_messages` (array of string)
- `api_warnings` (array of string)
- `data` (array of object, required): Daily recommendations for prices. Includes min stays as configured by settings.
  - `stay_date` (string (date), required): The date of the given price info (YYYY-MM-DD).
  - `price` (number, required): The recomended nightly price for this day.
  - `currency` (string, required): The ISO-4217 3-letter currency code of the price.
  - `min_stay` (integer, nullable): The minimum stay applied to reservations overlapping this day. Omitted unless min stays are configured, and `null` on days no minimum stay rule covers.
  - `min_price` (integer, required, nullable): The minimum nightly price applied to this day, or `null` when none applies.
  - `custom_type` (string, required, nullable): Reflects if this price is based on a custom rate from the user. `null` means this is the Wheelhouse recommendation, otherwise it can be one of `fixed` (i.e. a fixed custom price) or `adjusted` (i.e. a percentage adjustment to the Wheelhouse recommendation).
  - `events` (array of object, required): The events in the listing's market that run over this date. An empty array means no event runs over the date. Several events can run over one date.
    - `title` (string, required, example: `Jazz Festival`): The name of the event.
    - `start_date` (string (date), required): The first date of the event (YYYY-MM-DD).
    - `end_date` (string (date), required): The last date of the event (YYYY-MM-DD), inclusive.
  - `attr_seasonality` (integer): The seasonality attribution of the recommended price. Only present if `attribution` query parameter is set to `true`.
  - `attr_local_demand` (integer): The local demand attribution of the recommended price. Only present if `attribution` query parameter is set to `true`.
  - `attr_availability` (integer): The availability/gap night attribution of the recommended price. Only present if `attribution` query parameter is set to `true`.
  - `attr_time` (integer): The time-based attribution of the recommended price. Only present if `attribution` query parameter is set to `true`.
  - `attr_custom_weekend` (integer): The custom weekend attribution of the recommended price. Only present if `attribution` query parameter is set to `true`.
  - `attr_scarcity` (integer): The scarcity attribution of the recommended price. Only present if `attribution` query parameter is set to `true`.
  - `attr_occupancy_pacing` (integer): The occupancy pacing attribution of the recommended price. Only present if `attribution` query parameter is set to `true`.
  - `attr_revenue_pacing` (integer): The revenue pacing attribution of the recommended price. Only present if `attribution` query parameter is set to `true`.
  - `attr_market_health_barometer` (integer): The market health barometer attribution of the recommended price. Only present if `attribution` query parameter is set to `true`.
  - `attr_historical_anchoring` (integer): The historical anchoring attribution of the recommended price. Only present if `attribution` query parameter is set to `true`.
  - `attr_restriction` (integer): The min/max restriction attribution of the recommended price. Only present if `attribution` query parameter is set to `true`.
  - `attr_user_adjustment` (integer): The user customization (see `custom_type` above) attribution of the recommended price. Only present if `attribution` query parameter is set to `true`.
  - `historical_anchor_date` (string (date)): The earlier date whose price historical anchoring held this date's recommendation up to, on the same day of the week, in the same week a year earlier, or two years earlier when that date has no price. Only present if `attribution` query parameter is set to `true` and historical anchoring raised this date's price.
  - `historical_anchor_pct` (number): The historical anchoring percentage in effect for this date. Present with `historical_anchor_date`.
  - `historical_anchor_price` (integer): The price on `historical_anchor_date` that anchoring weighed in, in this response's `currency`. Present with `historical_anchor_date`.
  - `historical_anchor_source` (string, one of: `observed`, `posted`): Where `historical_anchor_price` comes from, `observed` (the listing's price as Wheelhouse saw it on the channel once the date booked) or `posted` (the price Wheelhouse last posted for the date before it booked). Present with `historical_anchor_date`.
- `base_price` (integer, required): The selected base price used to calculate the recommended prices.
- `base_price_recommended` (integer, required): The Wheelhouse data-driven recommended base price.
- `base_price_conservative` (integer, required): The Wheelhouse data-driven conservative base price.
- `base_price_aggressive` (integer, required): The Wheelhouse data-driven aggressive base price.
- `global_min_stay` (integer, required, nullable): The global min stay setting, or `null` if the listing has no global minimum stay rule.
- `automatic_rate_posting_enabled` (boolean, required): Whether or not user wishes to use the Wheelhouse recommended prices for this listing. Integrators whose users configure prices via the Wheelhouse website should only update prices if this is true.

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

```json
{
  "error_messages": [
    "string"
  ],
  "api_warnings": [
    "string"
  ],
  "data": [
    {
      "stay_date": "2026-01-01",
      "price": 0,
      "currency": "string",
      "min_stay": 0,
      "min_price": 0,
      "custom_type": "string",
      "events": [
        {
          "title": "Jazz Festival",
          "start_date": "2026-01-01",
          "end_date": "2026-01-01"
        }
      ],
      "attr_seasonality": 0,
      "attr_local_demand": 0,
      "attr_availability": 0,
      "attr_time": 0,
      "attr_custom_weekend": 0,
      "attr_scarcity": 0,
      "attr_occupancy_pacing": 0,
      "attr_revenue_pacing": 0,
      "attr_market_health_barometer": 0,
      "attr_historical_anchoring": 0,
      "attr_restriction": 0,
      "attr_user_adjustment": 0,
      "historical_anchor_date": "2026-01-01",
      "historical_anchor_pct": 0,
      "historical_anchor_price": 0,
      "historical_anchor_source": "observed"
    }
  ],
  "base_price": 0,
  "base_price_recommended": 0,
  "base_price_conservative": 0,
  "base_price_aggressive": 0,
  "global_min_stay": 0,
  "automatic_rate_posting_enabled": true
}
```

### 400

The requested price model cannot be used for this listing, or `price_model=opt_in` is ambiguous

### 401

API key authorization failed

### 403

Listing authorization failed

### 404

Listing not found

### 406

Listing not active

### 409

We were unable to generate recommendations because of a user workflow error. Typically this means we haven't received a reservation update or a price calendar update in the last 24 hours

### 422

Listing not covered by a market

### 423

Price recommendations are still being generated, either from a previous request to this endpoint or from the initial creation of a listing.
