pisos.com property search

GET https://api.api.sh/pisos/v1/search
1 credit / call real estate try it in the playground →

Flats, houses, penthouses, duplexes, studios, lofts, rustic estates, premises, offices, garages, land, storage rooms, industrial buildings and buildings for sale or rent on pisos.com (Spain), with the site's filters (price range, minimum rooms, bathrooms and area, features such as terrace, lift or pool, listed in the last week or month, reduced price) and sorts. Each result has id, link, title, zone, price, rooms, bathrooms, area, floor, short description, tag, photo count, coordinates, locality, photos and the agency (logo and agency page); private sellers are flagged without name or phone. 30 per page. Pass next_page back as page; null on the last page.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
locationrequired string Place slug as in pisos.com links: madrid, madrid_capital, barcelona_capital, valencia, sevilla, malaga ... Example: madrid
transaction buy | rent buy or rent. Example: buy
property_type flats | houses | penthouses | duplexes | studios | lofts | rustic | premises | offices | garages | land | storage | industrial | buildings Property type. Example: flats
price_min number Minimum price (EUR).
price_max number Maximum price (EUR).
rooms_min integer Minimum rooms (1-5).
bathrooms_min integer Minimum bathrooms (1-4).
area_min number Minimum area (m²).
sort relevance | price_asc | price_desc | newest | rooms_asc | rooms_desc | area_asc | area_desc Sort order. Example: relevance
page integer Results page (1 = first). Pass next_page back here.
features string Comma-separated, all required: terrace, elevator, garden, pool, garage, storage, heating, air_conditioning, furnished (rent only).
posted week | month Only listings published in the last week or month.
price_reduced boolean true: only listings whose price was lowered.

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/pisos/v1/search?location=madrid" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.