Tecnocasa Property Search API returns residential property for sale or rent in Italy and Spain as JSON. Filter by city, district, price, area, rooms, exact bathrooms, property type and agency, sort by price, area or rooms, and page through the results with up to 50 listings per page. Each listing carries the id, title, address line, price, previous price and discount, area, rooms, bathrooms, agency id, detail link, photos and virtual tour. The response also returns the total result count and the real page.
Notes: Get city_id, province and district_ids from the locations route. Every returned item satisfies every filter you set. Bathrooms is an exact count, there is no minimum bathrooms filter. There is no recency sort. A page number past the last page returns an empty list with the true totals and page_out_of_range: true, never data of another page. Prices, areas and counts are numbers and the original text is kept in raw or label fields. A hidden price (for example Informazioni in agenzia) is null, never 0. A valid empty result is a successful, billable response; failed requests are never billed.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
2 required parameters needed before sending a request.
16 optional filters available.
integer
Required
City id from the locations route (cities[].city_id). Example: 13800324507779.
1234567890
string
Required
Province code from the locations route (cities[].province). Example: MI.
example
string
Optional
it (default) for Tecnocasa Italy or es for Tecnocasa Spain. Example: es.
US
string
Optional
sale (default) or rent. Example: rent.
example
string
Optional
Optional region code. The province decides it when omitted. Example: lom.
US
integer
Optional
Minimum price in EUR. For rent this is the monthly rent. Example: 200000.
10
integer
Optional
Maximum price in EUR. Example: 300000.
10
integer
Optional
Minimum area in m2. Example: 80.
10
integer
Optional
Maximum area in m2. Example: 120.
10
integer
Optional
Minimum number of rooms (Spain: bedrooms). Example: 3.
10
integer
Optional
Maximum number of rooms. Example: 4.
10
integer
Optional
Exact number of bathrooms. There is no minimum filter because the source ignores it. Example: 2.
10
string
Optional
app (apartment), vil (villa), cas (house), box (garage or parking space) or ter (land). Example: app.
example
string
Optional
One or more district ids from the locations route or the geo route. Repeat district_ids[] or comma-separate. Example: 10068,10072.
example
string
Optional
Only ads of this agency. Example: mice0.
1234567890
string
Optional
price_asc, price_desc, area_asc, area_desc, rooms_asc or rooms_desc. Default: promoted ads first, then source order. Example: price_asc.
relevance
integer
Optional
One-based page number (default 1). A page past the last page returns an empty list with the real totals. Example: 2.
1
integer
Optional
Results per page, 1 to 50 (default 15). Example: 15.
10
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"listings": [
{
"id": 61290658,
"top": true,
"price": {
"raw": "\u20ac 730.000",
"amount": 730000,
"period": null,
"currency": "EUR"
},
"rooms": 4,
"title": "Quadrilocale in vendita",
"images": [
{
"id": 66921819,
"large": "https://cdn-media.medialabtc.it/it/agencies/mice0/estates/61290658/images/66921819/gallery.jpeg",
"order": 1,
"medium": "https://cdn-media.medialabtc.it/it/agencies/mice0/estates/61290658/images/66921819/detail.jpeg",
"thumbnail": "https://cdn-media.medialabtc.it/it/agencies/mice0/estates/61290658/images/66921819/card.jpeg"
}
],
"surface": {
"m2": 141,
"raw": "141 Mq"
},
"discount": null,
"subtitle": "Milano, Via Giovanni Battista Boeri - Meda Tibaldi",
"agency_id": "mice0",
"bathrooms": 2,
"exclusive": false,
"detail_url": "https://www.tecnocasa.it/vendita/appartamenti/milano/milano/61290658.html",
"rooms_label": "4 locali",
"virtual_tour": "https://www.smartvt360.it/pss/0af4aaed-e58e-455f-85a4-45db0406fbda",
"previous_price": null,
"bathrooms_label": "2 bagni"
},
{
"id": 61219041,
"top": true,
"price": {
"raw": "\u20ac 450.000",
"amount": 450000,
"period": null,
"currency": "EUR"
},
"rooms": 3,
"title": "Trilocale in vendita",
"images": [
{
"id": 66851144,
"large": "https://cdn-media.medialabtc.it/it/agencies/mick0/estates/61219041/images/66851144/gallery.jpeg",
"order": 1,
"medium": "https://cdn-media.medialabtc.it/it/agencies/mick0/estates/61219041/images/66851144/detail.jpeg",
"thumbnail": "https://cdn-media.medialabtc.it/it/agencies/mick0/estates/61219041/images/66851144/card.jpeg"
}
],
"surface": {
"m2": 80,
"raw": "80 Mq"
},
"discount": "\u20ac 20.000",
"subtitle": "Milano, Via Casoretto - Casoretto",
"agency_id": "mick0",
"bathrooms": 1,
"exclusive": false,
"detail_url": "https://www.tecnocasa.it/vendita/appartamenti/milano/milano/61219041.html",
"rooms_label": "3 locali",
"virtual_tour": "https://www.smartvt360.it/pss/51e59c1e-a06a-4e88-844f-c33199a0a3a7",
"previous_price": {
"raw": "\u20ac 470.000",
"amount": 470000,
"period": null,
"currency": "EUR"
},
"bathrooms_label": "1 bagno"
}
],
"search_metadata": {
"page": 1,
"limit": 15,
"country": "it",
"total_pages": 71,
"filtered_out": 1,
"listing_type": "sale",
"has_next_page": true,
"total_results": 1064,
"page_out_of_range": false
},
"search_parameters": {
"page": 1,
"limit": 15,
"region": "lom",
"city_id": 13800324507779,
"country": "it",
"province": "MI",
"max_price": 800000,
"min_price": 200000,
"listing_type": "sale"
}
},
"meta": {
"billable": true,
"endpoint_family": "search"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A required parameter or a value is invalid. This response is not billable.
{
"errors": {
"field": [
"The field is invalid."
]
},
"message": "The request validation failed"
}Not Found
The requested page does not exist. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "search"
},
"error": {
"code": "NOT_FOUND",
"message": "The requested resource was not found."
},
"success": false
}Upstream Unavailable
Tecnocasa could not be reached. This response is not billable and is retryable.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "search"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "Tecnocasa could not be reached. Please retry shortly."
},
"success": false
}Unexpected Upstream Data
Tecnocasa returned data in an unexpected shape. This response is not billable and is retryable.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "search"
},
"error": {
"code": "INVALID_UPSTREAM_SHAPE",
"message": "Tecnocasa returned data in an unexpected shape. Please retry shortly."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.