buscar_parcelas
Searches a municipality’s parcels that match some filters and returns one row per parcel. Details and citations
are in ficha_parcela. Text filters match by “contains”, ignoring
accents and case (“urbanizable” also finds “no urbanizable”). Ranges are inclusive.
Arguments
| Argument | Type | What it is |
|---|---|---|
municipio | text, required | Municipality id, from municipios_urbanismo (for example madrid-057) |
clase | text | Land classification, by “contains” |
zona | text | Zone or ordinance code, by “contains” |
uso | text | Main permitted use, by “contains” |
superficie_min | number | Minimum parcel area, in m² |
superficie_max | number | Maximum parcel area, in m² |
techo_min | number | Minimum buildable floor area, in m² |
techo_max | number | Maximum buildable floor area, in m² |
con_techo | yes or no | Only parcels with a published floor area |
limite | integer | Rows per page, from 1 to 1000 (20 by default) |
cursor | text | The previous page’s siguiente |
Response
total, siguiente (the cursor) and the rows, 20 by default.