Overview
When filtering listings with GET /api/listings, you can use thelisting_type query parameter to restrict results to a specific property category. Each category has a numeric ID and multilingual titles.
Use the ID in your request, for example:
Listing type reference
| ID | English | Spanish | Dutch | French |
|---|---|---|---|---|
| 1 | Apartment | Apartamentos | Appartement | Appartement |
| 2 | Villa | Villa | Villa | Villa |
| 3 | Land | Solar | Land | Atterrir |
| 4 | Penthouse | Penthouse | Penthouse | Penthouse |
| 5 | Townhouse | Townhouse | Stadswoning | Maison de ville |
| 6 | Commercial | Comercial | Commercieel | Commercial |
Usage in the Listings API
- Parameter:
listing_type - Type: number (integer)
- Example:
?listing_type=2returns only villas. - Omit
listing_typeto get all property types.