Raw schema
{
"type": "object",
"properties": {
"price_type": {
"type": "string",
"enum": [
"sale",
"rent"
],
"description": "Whether to search for properties to buy ('sale') or rent ('rent')"
},
"district": {
"type": "string",
"description": "Portuguese district name (e.g., 'Lisboa', 'Porto', 'Braga', 'Faro')"
},
"municipality": {
"type": "string",
"description": "Municipality/concelho within a district"
},
"typology": {
"type": "string",
"description": "Comma-separated apartment types: T0, T1, T2, T3, T4, T5+"
},
"price_min": {
"type": "number",
"description": "Minimum price in EUR"
},
"price_max": {
"type": "number",
"description": "Maximum price in EUR. Rent: 400-2000. Sale: 80000-500000."
},
"area_min": {
"type": "number",
"description": "Minimum area in square meters"
},
"condition": {
"type": "string",
"description": "Comma-separated: new, renovated, used, to_renovate"
},
"has_elevator": {
"type": "boolean",
"description": "Filter for properties with elevator"
},
"has_parking": {
"type": "boolean",
"description": "Filter for properties with parking"
},
"has_garden": {
"type": "boolean",
"description": "Filter for properties with garden/outdoor space"
},
"near_lat": {
"type": "number",
"description": "Latitude for proximity search"
},
"near_lng": {
"type": "number",
"description": "Longitude for proximity search"
},
"near_max_minutes": {
"type": "number",
"description": "Maximum commute time in minutes (default: 30)"
},
"near_transport": {
"type": "string",
"enum": [
"walking",
"cycling",
"driving",
"transit"
],
"description": "Transport mode for commute (default: transit)"
},
"sort": {
"type": "string",
"enum": [
"price",
"area",
"scraped_at"
],
"description": "Sort field (default: scraped_at = newest)"
},
"dir": {
"type": "string",
"enum": [
"asc",
"desc"
],
"description": "Sort direction (default: desc)"
},
"page": {
"type": "number",
"description": "Page number (default: 1)"
},
"limit": {
"type": "number",
"description": "Results per page, max 20 (default: 10)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}