# Fetch recommendations for a listing

`GET /recommendations`

> Wheelhouse Lite API. Web version: https://docs.usewheelhouse.com/lite/reference/get-recommendations · OpenAPI spec: https://docs.usewheelhouse.com/lite/openapi.yaml · Operation ID: `getRecommendations` · Tag: Recommendations · Index of all docs pages: https://docs.usewheelhouse.com/llms.txt

This will fetch recommendations for the listing specified in the parameters.

## Request

`GET https://app.usewheelhouse.com/api/v2/recommendations`

Authentication: send your Lite API key as the `token` query parameter (see https://docs.usewheelhouse.com/lite/authentication.md).

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `latitude` | number | yes | Latitude in decimal form. |
| `longitude` | number | yes | Longitude in decimal form. |
| `bedrooms` | number | yes | Number of bedrooms in the property. |
| `baths` | number | yes | Number of bathrooms in the property. |
| `sleeps` | number | yes | Number of guests the property can accommodate. |
| `country_code` | string | no | The ISO-3166 2 letter country code. |
| `num_photos` | number | no | Number of photos shown on the property's listing. |
| `room_type` | string | no | Room type of the property. One of `apartment`, `bnb`, `boat`, `bus`, `cabin`, `holiday_home`, `camping`, `camper`, `castle`, `hostel`, `hotel`, `house`, `houseboat`, `island`, `tower`, `mill`, `room`, `shared`. |
| `cleaning_fee` | number | no | Cleaning fee charged per stay. |
| `security_deposit` | number | no | Security deposit required per stay. |
| `guests_included` | number | no | Number of guests included in the base rent. |
| `amenities` | string | no | Comma-separated list of amenities. Any of `24_hour_check_in`, `air_conditioning`, `baby_bath`, `baby_monitor`, `babysitter_recommendations`, `balcony`, `bathroom_essentials`, `bathtub`, `bbq`, `beachfront`, `beach_essentials`, `bed_linens`, `bedroom_comforts`, `bicycles`, `breakfast`, `building_staff`, `cable_or_satellite_tv`, `carbon_monoxide_detector`, `ceiling_fans`, `changing_table`, `childrens_books_and_toys`, `childrens_dinnerware`, `cleaning_before_checkout`, `coffee_maker`, `cooking_basics`, `deck`, `dishes_and_silverware`, `dishwasher`, `dryer`, `elevator`, `elderly_accessible`, `essentials`, `ev_charger`, `extra_pillows_and_blankets`, `family_kid_friendly`, `fire_extinguisher` ,`fireplace`, `fireplace_guards`, `first_aid_kit`, `freezer`, `fresh_linens`, `fridge`, `game_console`, `garage`, `gym`, `hair_dryer`, `hangers`, `heating`, `high_chair`, `host_greets_you`, `hot_tub`, `hot_water`, `internet`, `iron`, `jacuzzi`, `kettle`, `keypad`, `kitchen`, `lake_access`, `laptop_friendly_workspace`, `lockbox`, `lock_on_bedroom_door`, `long_term_stays_allowed`, `luggage_dropoff`, `microwave`, `outlet_covers`, `oven`, `parking`, `parking_paid`, `parking_free_street`, `patio`, `pets_allowed`, `pool`, `shared_pool`, `pool_cover`, `pool_toys`, `private_yard`, `private_entrance`, `private_living_room`, `refrigerator`, `room_darkening_shades`, `sauna`, `self_check_in`, `shampoo`, `single_level_home`, `ski_in_out`, `smart_lock`, `smoke_detector`, `smoking_allowed`, `step_free_access`, `stereo`, `stove`, `streaming`, `suitable_for_events`, `table_corner_guards`, `towel`, `travel_crib`, `tv`, `washing_machine`, `waterfront`, `water_views`, `window_guards`. |
| `currency` | string | no | The ISO-4217 currency code of the currency the results should be in. Defaults to the local market currency. |
| `no_temporality` | boolean | no | Turn on/off temporality adjustments for lead-time independent forecasts. Defaults to on. |
| `min_price` | number | no | Minimum price limiting recommendation to ensure no recommended price is lower than this value. Defaults to zero. |
| `avg_booking_price` | number | no | Average nightly price the listing has been booked at in the past. Given in the requested `currency`. |
| `booking_price_certainty` | number | no | Certainty of the average booking price being a good representation of the listings worth. 0.0 means no certainty at all, 1.0 means full certainty that the price is representative. This can for example be derived from the number of nights booked or from host feedback. (min: 0, max: 1) |

### Example request

```bash
curl -X GET 'https://app.usewheelhouse.com/api/v2/recommendations?latitude=<latitude>&longitude=<longitude>&bedrooms=<bedrooms>&baths=<baths>&sleeps=<sleeps>&token=<your Lite 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

- `daily_recommendation` (array of object)
  - `base_price` (number): Recommended base price.
  - `temporality_dollar_value` (number): Change due to teamporality.
  - `seasonality_dollar_value` (number): Change due to seasonality.
  - `local_event_dollar_value` (number): Change due to local events.
  - `restriction_dollar_value` (number): Change due to minimum.
  - `total_price` (number): Total recommended price.
- `currency` (string, example: `USD`): The ISO4217 currency code for the recommended prices.

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

```json
{
  "daily_recommendation": [
    {
      "base_price": 0,
      "temporality_dollar_value": 0,
      "seasonality_dollar_value": 0,
      "local_event_dollar_value": 0,
      "restriction_dollar_value": 0,
      "total_price": 0
    }
  ],
  "currency": "USD"
}
```

### 400

Parameters malformed, see body for details.

### 404

No market coverage for given location.
