Habitaclia
get/habitaclia/search
Request
- Base URL: https://scrappa.co/api
- URL: https://scrappa.co/api/habitaclia/search
- Auth: API key in header X-API-KEY
Query parameters
transaction_type'buy' | 'rent' required
buy or rent.
property_type'flat' | 'house' | 'office' | 'garage' | 'building' | 'land' required
flat, house, office, garage, building or land.
codestring required
Numeric place code from /locations.
layer_idinteger required
Place level: 11 province, 14 zone, 20 municipality, 26 street.
pageinteger
1-based page number.
page_sizeinteger
Items per page, 1 to 1000.
sort_by'relevance' | 'price_asc' | 'price_desc' | 'newest' | 'null' nullable
relevance, price_asc, price_desc or newest. Defaults to relevance.
min_priceinteger nullable
Minimum price in EUR.
max_priceinteger nullable
Maximum price in EUR.
min_roomsinteger nullable
Minimum number of rooms.
min_bathroomsinteger nullable
Minimum number of bathrooms.
features[]string[]
Repeatable feature filter, for example features=pool&features=terrace. Allowed: pool, terrace, elevator, furnished, unfurnished, private_parking, private_garden, nearby_public_transport.
is_privateboolean nullable
Only private-owner listings when true.
Response
string required
Changes
No recorded changes to this operation across all 3 revisions of this API.