The main endpoint: filtered, sorted, paged listings.
One property is one row. Where several portals advertise the same flat we return the cluster's primary listing, not all of them, so a result set can be counted. Each row carries source and url - the original listing on the portal that published it, which is where a user must be sent. We do not broker and take no commission.
Alongside the rows: total for the whole filtered set, median_ppm (the median €/m² of that set, not of this page), and facets with counts per city, deal and property type so a caller can offer the alternatives rather than only what was asked for. facets.neighbourhood appears once city narrows the search.
Only active listings are served. A property that has sold or been withdrawn leaves here and appears under /api/archive.
21 parametra ▾
| Parametri | Tipi | Çfarë bën |
|---|---|---|
| deal | stringsale · rent |
|
| city | string | City slug, as |
| q | stringmax 120 chars | Free text over the title, address, city and neighbourhood. Accent-insensitive: |
| property_type | string | One of the ids from |
| rooms_min | integer | Bedrooms, inclusive. A garsoniere (studio) is recorded as 0 by some sources and 1 by others, so |
| rooms_max | integer | Bedrooms, inclusive. |
| area_min | number | Floor area in m², inclusive. |
| area_max | number | Floor area in m², inclusive. |
| price_min | number | Price in EUR, inclusive. Monthly for rentals. Everything is converted to EUR on ingest at one rate across the whole index, so a lek-priced listing is comparable with a euro-priced one. |
| price_max | number | Price in EUR, inclusive. |
| ppm_max | number | Maximum price per m² in EUR. Our own figure, not the portal's. |
| bbox | string |
|
| near | string |
|
| updated_since | string | ISO-8601 timestamp. Only listings changed since then, which is how to poll for new stock without walking the whole index. A trailing |
| neighbourhood | integer | Neighbourhood id from |
| features | string | Comma-separated amenity ids from |
| agency | integer | Agency id, from |
| has_geo | booleandefault false | Only listings we have placed on the map. |
| sort | stringnewest · price_asc · price_desc · ppm_asc · ppm_desc · area_descdefault newest | One of: |
| page | integer1–500default 1 | 1-based. |
| per_page | integer1–100default 24 | Up to 100. The default is 24. |
- 200
- 401
- 422
- 429