Facet the Airbnb markets dataset
Returns suppressed distribution counts over the Airbnb markets dataset, honoring the same filters as search. Facet enum: country, market, currency, superhost, guest_favorite, rating_band, review_band, admin1 (top subdivision), locality (settlement), room_type (entire_place/private_room/hotel/shared_room), property_type (Airbnb's canonical listing type from the detail page), amenities (each amenity with the count of listings offering it). Enrichment-derived facets include a coverage object with the number and share of filtered listings carrying that dimension; buckets stay empty below the 20% minimum visibility gate. Coverage above the gate may still be partial. group_by enum: country, market, admin1, locality, room_type, property_type.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/datasets/airbnb-markets/facets
- Auth: API key in header x-api-key
Query parameters
Facet enum: country, market, currency, superhost, guest_favorite, rating_band, review_band, admin1, locality, room_type, property_type, amenities
Aggregate cell dimension enum: country, market, admin1, locality, room_type, property_type. Defaults to country
Exact ISO-3166-1 alpha-2 country filter, e.g. FR
Exact metro-market filter, max 128 characters
Count only Superhost listings
Count only Guest Favorite listings (an observed lower bound; the badge under-counts)
Minimum listing rating, from 0 through 5
Minimum listing review count, 0 or greater
Freshness filter, an ISO-8601 date (YYYY-MM-DD)
Minimum listings per bucket; raises the small-cell suppression floor
Headers
API key required
Response
OK
Example response
{
"code": 200,
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.