This is a new feature for our REST API users. Please feel free to comment or ask support for extensions to fit your specific use case.
Facet Search allows you to query the number of available accommodations with supplied filter parameters, broken down by different facets.
For the best user experience, every click on a filter should update the counts immediately.
These endpoints are public.
You don't need to supply an api-key
or token
.
{"meta": {"total": 8},"features": {"family-friendly": 4,"balkon": 8,"tiere": 7,"tv": 4,"rollstuhl": 8,"klimaanlage": 8,"lift": 8,"nichtraucher": 8,"gym": 8,"spa": 8,"parking": 8,"bar-lounge": 8,"businesscenter": 7,"sauna-dampfbad": 8,"wifi-internet": 8,"restaurant": 8,"bike-friendly": 8,"waschmaschine": 8}},{"type": {"hotel": 8}},{"quality": {"4": 8}},{"tags": {"bookingcom:type:Hotels": 8,"biking": 1}}