Skip to main content

Listing Search API

Search listings with structured filters. Context-aware pricing applied automatically.


POST /api/v1/crs/listings
Content-Type: application/json
{
"rawParams": [
{ "filterName": "channelId", "filterValues": ["B2C"] },
{ "filterName": "city", "filterValues": ["Goa"] },
{ "filterName": "checkInDate", "filterValues": ["2026-05-15"] },
{ "filterName": "checkOutDate", "filterValues": ["2026-05-17"] },
{ "filterName": "adults", "filterValues": ["4"] },
{ "filterName": "children", "filterValues": ["2"] },
{ "filterName": "propertyType", "filterValues": ["Villa"] },
{ "filterName": "petFriendly", "filterValues": ["true"] },
{ "filterName": "maxPrice", "filterValues": ["20000"] }
]
}

Response

{
"singleListings": [
{
"listingId": "lst_abc",
"title": "Nimishka Villa",
"coverPicture": "https://cdn.elivaas.com/villa.jpg",
"propertyType": "VILLA",
"brand": "priv\u00e9",
"badges": [
{ "name": "Best Seller" },
{ "name": "In Demand" }
],
"adults": 6,
"bedrooms": 3,
"bathrooms": 2,
"unitCount": 4,
"locality": "Chattyan",
"city": "Kasauli",
"state": "Himachal Pradesh",
"rating": 4.6,
"tags": ["Pvt Pool", "Garden Area", "Scenic Views", "Game Room"],
"selectedProperties": [
{ "propertyId": "prop_1", "title": "Deluxe Room", "quantity": 2 }
],
"price": {
"total": 32800,
"perNight": 16400,
"totalBeforeDiscount": 38000,
"totalSaving": 5200,
"discountPercent": 14
},
"offerTitles": ["10% off with Visa"],
"cancellationPlans": [
{
"id": "plan_flex",
"name": "Flexible",
"planType": "FLEXIBLE",
"cancellationSummary": "Free cancellation till 7 days before check-in",
"hasDiscount": false,
"totalAfterDiscount": 32800,
"perNightAfterDiscount": 16400
}
]
}
],
"combinations": []
}

Available Filters

filterNameTypeExampleDescription
channelIdstringB2CSales channel
citystring[]["Goa"]Filter by city
statestring[]["Himachal Pradesh"]Filter by state
localitystring[]["Kasauli"]Filter by locality
checkInDatestring2026-05-15YYYY-MM-DD
checkOutDatestring2026-05-17YYYY-MM-DD
adultsint4Required adults
childrenint2Required children
petsint1Required pets
propertyTypestring[]["Villa"]Villa, Apartment, Resort
brandstring[]["priv\u00e9"]Filter by brand
amenitiesstring[]["Pool","Wifi"]Required amenities
tagsstring[]["Scenic Views"]Required tags
petFriendlybooleantruePet-friendly only
stressPropertiesbooleantrueStressed/deal properties
minPriceint5000Min per-night price
maxPriceint20000Max per-night price
minBedroomsint2Minimum bedrooms
minRatingdouble4.0Minimum rating
searchQuerystring"Nimishka"Text search on name
allowCombinationbooleantrueAllow multi-listing groups
Website API

On the website (POST /api/v1/listings/search), traffic context is auto-injected from the bev cookie. You don't need to pass partner_id or utm_source — the backend resolves it automatically.