# Get base price recommendation for this listing

`GET /listings/{id}/base_price_recommendation`

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

Return recommended, conservative, and aggressive base prices, the listing's active base price, anchoring
fields (`anchor_price`, `anchor_credibility`), and a consolidated row-level breakdown in `base_price_attribution`
aligned with the Wheelhouse app Recommended Breakdown.

## Request

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

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'). |

### Example request

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

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

Recommended and selected base prices, anchoring context, and a consolidated attribution breakdown. Monetary
fields use the response `currency` (listing currency by default, or the `currency` query parameter); amounts
are converted from the listing market currency inside Wheelhouse.

- `base_price_recommended` (integer, required): Recommended base nightly price.
- `base_price_conservative` (integer, required): Conservative variant.
- `base_price_aggressive` (integer, required): Aggressive variant.
- `base_price_selected` (integer, required): Currently active base price for the listing (may differ from recommendation if set manually).
- `anchor_credibility` (number, required, min: 0, max: 100): Effective anchoring strength as a percentage. Aligns
  with "credibility" shown in the app for observed bookings.
- `anchor_price` (integer, required, nullable): Median observed booking price used in anchoring, when available.
- `base_price_attribution` (object `base_price_attribution`, required): Consolidated signed amounts (in the response `currency`) for the Wheelhouse recommended base price
  breakdown, grouped to match the in-app "Recommended Breakdown" rows. Values are integers (rounded).
  - `market_baseline` (integer, required): Market-wide average listing price.
  - `bedrooms_bathrooms` (integer, required): Combined impact of bedroom and bathroom count.
  - `room_type` (integer, required): Room / listing type impact.
  - `guests` (integer, required): Combined impact of sleeps, extra guest fee, and included-guests positioning.
  - `location` (integer, required): Location specific impact.
  - `amenities_fees` (integer, required): Combined impact of amenities, cleaning fee, photo count, and security deposit.
  - `occupancy` (integer, required): Impact of occupancy positioning vs market.
  - `observed_bookings` (integer, required): Effect of observed median booking price vs the pure model price.
- `currency` (string, required): ISO-4217 code all monetary amounts are expressed in.

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

```json
{
  "base_price_recommended": 0,
  "base_price_conservative": 0,
  "base_price_aggressive": 0,
  "base_price_selected": 0,
  "anchor_credibility": 0,
  "anchor_price": 0,
  "base_price_attribution": {
    "market_baseline": 0,
    "bedrooms_bathrooms": 0,
    "room_type": 0,
    "guests": 0,
    "location": 0,
    "amenities_fees": 0,
    "occupancy": 0,
    "observed_bookings": 0
  },
  "currency": "string"
}
```

### 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
