Overview
When filtering listings with GET /api/listings, you can use thespecifications query parameter to restrict results to properties that have certain amenities or features. Specifications are passed as a comma-separated list of IDs.
Example:
Specification reference
Usage in the Listings API
- Parameter:
specifications - Type: string (comma-separated IDs)
- Example:
?specifications=4,6,9,13returns listings with Pool, Beachfront, Jacuzzi, or Sea view. - Omit
specificationsto get all listings regardless of amenities.