Skip to main content

Overview

When filtering listings with GET /api/listings, you can use the listing_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:
GET https://anyhouse.app/api/listings?listing_type=1

Listing type reference

IDEnglishSpanishDutchFrench
1ApartmentApartamentosAppartementAppartement
2VillaVillaVillaVilla
3LandSolarLandAtterrir
4PenthousePenthousePenthousePenthouse
5TownhouseTownhouseStadswoningMaison de ville
6CommercialComercialCommercieelCommercial

Usage in the Listings API

  • Parameter: listing_type
  • Type: number (integer)
  • Example: ?listing_type=2 returns only villas.
  • Omit listing_type to get all property types.
See Listings for full API documentation.