Getting Started with the Xeni Activities APIHow to Book an ActivityHow to Browse Activity Tags and CategoriesHow to Cancel an Activity BookingHow to Check Activity AvailabilityHow to Get Activity DetailsHow to Retrieve Activity Booking DetailsHow to Search for Activities with FiltersHow to Search for Activity DestinationsCar Rental API - Getting StartedCar Rental API - Understanding Response FieldsHow to Book a Car RentalHow to Get Rental Car Details and Equipment Add-OnsHow to Retrieve or Cancel a Car Rental BookingHow to Search for Available Rental CarsHow to Search for Pickup LocationsHow to Use Car Rental Search FiltersDeals API Best Practices for IntegrationDeals API Frequently Asked QuestionsGetting Started with the Xeni Deals APIDeals API Request Parameters and Headers ReferenceDeals API Supported Currencies and LocalizationHow to Display Deals in Your ApplicationHow to Fetch Hotel Deals by LocationFlights API Error Codes and TroubleshootingGetting Started with the Xeni Flights APIHow to Book a FlightHow to Check Flight Availability and PricingHow to Confirm or Cancel a Flight BookingHow to Retrieve Fare Rules for a FlightHow to Retrieve Flight Booking DetailsHow to Search for Airports Using AutocompleteHow to Search for FlightsHow to Use Flight Search Filters, Sorting, and PaginationHow to Check Room Availability and PricingHow to Filter Vacation Rental ResultsHow to Get Resort Property Details, Amenities, and AccessibilityHow to Hold and Confirm a Resort BookingHow to Release a Resort HoldHow to Retrieve Resort Booking DetailsHow to Search for Available ResortsHow to Search for Resort DestinationsHow to Search for Vacation Rental LocationsHow to Search for Vacation RentalsHow to Use Resort Search Filters and SortingGetting Started with the Xeni Resorts APIResorts API: Understanding Booking Statuses and PoliciesGetting Started with the Vacation Rentals APIVacation Rentals Frequently Asked QuestionsVacation Rentals Supported Property TypesUnderstanding Async Search for Vacation RentalsAuthentication & API SignaturesBooking Hotels — Direct API & SSO CheckoutError Handling, Rate Limits & Best PracticesGetting Started with the Xeni Hotels APIManaging Bookings: Status, Retrieval & CancellationPricing Confirmation & Token LifecycleRetrieving Hotel Details & Room AvailabilitySearching for Hotels: Locations, Filters & PaginationSearching for HotelsSession Management & Correlation IDsAPI authentication and getting your API keys

How to Filter Vacation Rental Results

Last updated: 2026-03-03

How to Filter Vacation Rental Results

The Vacation Rentals API supports multiple filter options to help narrow search results. Filters are passed in the filters object and the vacation_rentals array within the search request body.

Filter Options

Star Ratings

Filter properties by star rating. Pass an array of integers.

JSON
{
  "filters": {
    "ratings": [
      4,
      5
    ]
  }
}
ParameterTypeDescription
ratingsarray of numbersStar ratings to include (e.g., [3, 4, 5])

Amenities

Filter by available amenities. Pass an array of amenity name strings.

JSON
{
  "filters": {
    "amenities": [
      "pool",
      "wifi",
      "kitchen",
      "parking"
    ]
  }
}
ParameterTypeDescription
amenitiesarray of stringsAmenity names to require
To discover available amenity values, include amenities=true as a query parameter in the search request. The response will include amenity data for each property.

Property Name

Search for properties matching a name or keyword.

JSON
{
  "filters": {
    "name": "Lakeside"
  }
}
ParameterTypeDescription
namestringFull or partial property name to match

Price Range

Set minimum and/or maximum nightly price bounds. Prices are in the currency specified in the query string.

JSON
{
  "filters": {
    "min_price": 100,
    "max_price": 400
  }
}
ParameterTypeDescription
minpricenumberMinimum price per night
maxpricenumberMaximum price per night

Distance

Limit results to properties within a specific distance from the search coordinates.

JSON
{
  "filters": {
    "distance": 10
  }
}
ParameterTypeDescription
distancenumberMaximum distance in kilometers from the search lat/long

Rental Type Filter

Use the vacation_rentals body parameter (outside of filters) to limit results to specific property types:

JSON
{
  "vacation_rentals": [
    "Cottage",
    "Apartment",
    "Condo"
  ]
}

Supported values: "Condo", "Apartment", "Cottage", "Houseboat", "Mobile Home", "Aparthotel", "Condominium Resort".

Combining All Filters

All filter options can be combined in a single request. Only properties that match every specified filter are returned.

JSON
{
  "checkin_date": "2026-06-01",
  "checkout_date": "2026-06-08",
  "occupancy": [
    {
      "adults": 4,
      "childs": 2,
      "childages": [
        6,
        10
      ]
    }
  ],
  "lat": 39.0968,
  "long": -120.0324,
  "countryofresidence": "US",
  "placeid": "placeabc123",
  "vacation_rentals": [
    "Cottage",
    "Condo"
  ],
  "radius": 30,
  "sort": [
    {
      "key": "price",
      "order": "asc"
    }
  ],
  "filters": {
    "ratings": [
      4,
      5
    ],
    "amenities": [
      "pool",
      "wifi",
      "kitchen"
    ],
    "min_price": 150,
    "max_price": 600,
    "distance": 20
  },
  "is_async": false
}

Sorting

Control the order of search results with the sort array:

JSON
{
  "sort": [
    {
      "key": "price",
      "order": "asc"
    }
  ]
}
FieldTypeDescription
sort[].keystringThe field to sort by (e.g., "price")
sort[].orderstring"asc" for ascending, "desc" for descending

Pagination

Use query parameters to page through results:

POST /hotels/api/v2/properties/vacation-rentals?currency=USD&page=1&limit=25&amenities=true
ParameterTypeDescription
pagenumberPage number (starts at 1)
limitnumberResults per page (max 50)
To iterate through all results:
  1. Start with page=1.
  2. Check data.total in the response to determine the total number of results.
  3. Increment page until all results have been retrieved.

Tips for Effective Filtering

  • Start broad, then narrow — Begin with fewer filters and add more to refine results.
  • Use rental type filters for specific accommodation needs — travelers looking for a cottage experience will not want apartment results.
  • Combine price and distance to find affordable options close to the desired location.
  • Set amenities=true in the query string to receive amenity data in the response, which can inform further filtering.

Next Steps

Learn how async search mode works for vacation rentals and how to handle progressive result loading.

Was this article helpful?