APIs / Real estate / Tecnocasa
1 credit per call7 endpoints14 datapoints
Tecnocasa API
Tecnocasa API for homes for sale or rent in Italy and Spain, map results, listings, agencies and their stock, and places as JSON. 1 credit per successful call.
{
"success": true,
"data": {
"search_parameters": {
"country": "it",
"listing_type": "sale",
"city_id": "13800324507779",
"province": "MI",
"region": "lom",
"min_price": "200000",
"max_price": "300000",
"page": 1,
"limit": 15
},
"search_metadata": {
"total_results": 334,
"total_pages": 23,
"page": 1,
"limit": 15,
"has_next_page": true,
"page_out_of_range": false,
"filtered_out": 0,
"country": "it",
"listing_type": "sale"
},
"listings": [
{
"id": 61299336,
"title": "Monolocale in vendita",
"subtitle": "Milano, Via Soperga - Loreto",
"price": {
"raw": "€ 225.000",
"amount": 225000,
"currency": "EUR"
},
"surface": {
"raw": "30 Mq",
"m2": 30
},
"rooms": 1,
"rooms_label": "1 locale",
"bathrooms": 1,
"bathrooms_label": "1 bagno",
"agency_id": "micj5",
"detail_url": "https://www.tecnocasa.it/vendita/appartamenti/milano/milano/61299336.html",
"images": [
{
"id": 67185555,
"order": 1,
"thumbnail": "https://cdn-media.medialabtc.it/it/agencies/micj5/estates/61299336/images/67185555/card.jpeg",
"medium": "https://cdn-media.medialabtc.it/it/agencies/micj5/estates/61299336/images/67185555/detail.jpeg",
"large": "https://cdn-media.medialabtc.it/it/agencies/micj5/estates/61299336/images/67185555/gallery.jpeg"
}
],
"exclusive": false,
"top": true
},
{
"id": 61283681,
"title": "Mansarda in vendita",
"subtitle": "Milano, Via della chiesa rossa - Gratosoglio",
"price": {
"raw": "€ 250.000",
"amount": 250000,
"currency": "EUR"
},
"surface": {
"raw": "64 Mq",
"m2": 64
},
"rooms": 2,
"rooms_label": "2 locali",
"bathrooms": 1,
"bathrooms_label": "1 bagno",
"agency_id": "mice9",
"detail_url": "https://www.tecnocasa.it/vendita/appartamenti/milano/milano/61283681.html",
"images": [
{
"id": 66713491,
"order": 1,
"thumbnail": "https://cdn-media.medialabtc.it/it/agencies/mice9/estates/61283681/images/66713491/card.jpeg",
"medium": "https://cdn-media.medialabtc.it/it/agencies/mice9/estates/61283681/images/66713491/detail.jpeg",
"large": "https://cdn-media.medialabtc.it/it/agencies/mice9/estates/61283681/images/66713491/gallery.jpeg"
}
],
"virtual_tour": "https://www.smartvt360.it/pss/25fab3fd-5afe-43f8-9cb3-96fdbd08a6b0",
"exclusive": false,
"top": true
},
{
"id": 61294600,
"title": "Loft in vendita",
"subtitle": "Milano, Via Merula - Ronchetto Sul Naviglio",
"price": {
"raw": "€ 260.000",
"amount": 260000,
"currency": "EUR"
},
"surface": {
"raw": "92 Mq",
"m2": 92
},
"rooms": 2,
"rooms_label": "2 locali",
"bathrooms": 1,
"bathrooms_label": "1 bagno",
"agency_id": "micp5",
"detail_url": "https://www.tecnocasa.it/vendita/appartamenti/milano/milano/61294600.html",
"images": [
{
"id": 67039759,
"order": 1,
"thumbnail": "https://cdn-media.medialabtc.it/it/agencies/micp5/estates/61294600/images/67039759/card.jpeg",
"medium": "https://cdn-media.medialabtc.it/it/agencies/micp5/estates/61294600/images/67039759/detail.jpeg",
"large": "https://cdn-media.medialabtc.it/it/agencies/micp5/estates/61294600/images/67039759/gallery.jpeg"
}
],
"virtual_tour": "https://www.smartvt360.it/pss/901ad48c-ea48-4378-a320-79f7de63d05b",
"exclusive": false,
"top": true
}
]
},
"meta": {
"endpoint_family": "search",
"request_id": "req_bd0cb4fa722f4c33a60f728cb9c7a395",
"credits_charged": 1,
"credits_remaining": 1807
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | idinteger | titlestring | subtitlestring | priceobject | surfaceobject | roomsinteger | rooms_labelstring | bathroomsinteger | bathrooms_labelstring | agency_idstring | detail_urlurl | imagesobject[] | exclusiveboolean | topboolean |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 61299336 | Monolocale in vendita | Milano, Via Soperga - Loreto | {3 fields} | {2 fields} | 1 | 1 locale | 1 | 1 bagno | micj5 | https://www.tecnocasa.it/vendita/appartamenti/milano/milano/61299336.html | [1 item] | false | true |
| 2 | 61283681 | Mansarda in vendita | Milano, Via della chiesa rossa - Gratosoglio | {3 fields} | {2 fields} | 2 | 2 locali | 1 | 1 bagno | mice9 | https://www.tecnocasa.it/vendita/appartamenti/milano/milano/61283681.html | [1 item] | false | true |
| 3 | 61294600 | Loft in vendita | Milano, Via Merula - Ronchetto Sul Naviglio | {3 fields} | {2 fields} | 2 | 2 locali | 1 | 1 bagno | micp5 | https://www.tecnocasa.it/vendita/appartamenti/milano/milano/61294600.html | [1 item] | false | true |
[
{
"id": 61299336,
"title": "Monolocale in vendita",
"subtitle": "Milano, Via Soperga - Loreto",
"price": {
"raw": "€ 225.000",
"amount": 225000,
"currency": "EUR"
},
"surface": {
"raw": "30 Mq",
"m2": 30
},
"rooms": 1,
"rooms_label": "1 locale",
"bathrooms": 1,
"bathrooms_label": "1 bagno",
"agency_id": "micj5",
"detail_url": "https://www.tecnocasa.it/vendita/appartamenti/milano/milano/61299336.html",
"images": [
{
"id": 67185555,
"order": 1,
"thumbnail": "https://cdn-media.medialabtc.it/it/agencies/micj5/estates/61299336/images/67185555/card.jpeg",
"medium": "https://cdn-media.medialabtc.it/it/agencies/micj5/estates/61299336/images/67185555/detail.jpeg",
"large": "https://cdn-media.medialabtc.it/it/agencies/micj5/estates/61299336/images/67185555/gallery.jpeg"
}
],
"exclusive": false,
"top": true
},
{
"id": 61283681,
"title": "Mansarda in vendita",
"subtitle": "Milano, Via della chiesa rossa - Gratosoglio",
"price": {
"raw": "€ 250.000",
"amount": 250000,
"currency": "EUR"
},
"surface": {
"raw": "64 Mq",
"m2": 64
},
"rooms": 2,
"rooms_label": "2 locali",
"bathrooms": 1,
"bathrooms_label": "1 bagno",
"agency_id": "mice9",
"detail_url": "https://www.tecnocasa.it/vendita/appartamenti/milano/milano/61283681.html",
"images": [
{
"id": 66713491,
"order": 1,
"thumbnail": "https://cdn-media.medialabtc.it/it/agencies/mice9/estates/61283681/images/66713491/card.jpeg",
"medium": "https://cdn-media.medialabtc.it/it/agencies/mice9/estates/61283681/images/66713491/detail.jpeg",
"large": "https://cdn-media.medialabtc.it/it/agencies/mice9/estates/61283681/images/66713491/gallery.jpeg"
}
],
"virtual_tour": "https://www.smartvt360.it/pss/25fab3fd-5afe-43f8-9cb3-96fdbd08a6b0",
"exclusive": false,
"top": true
},
{
"id": 61294600,
"title": "Loft in vendita",
"subtitle": "Milano, Via Merula - Ronchetto Sul Naviglio",
"price": {
"raw": "€ 260.000",
"amount": 260000,
"currency": "EUR"
},
"surface": {
"raw": "92 Mq",
"m2": 92
},
"rooms": 2,
"rooms_label": "2 locali",
"bathrooms": 1,
"bathrooms_label": "1 bagno",
"agency_id": "micp5",
"detail_url": "https://www.tecnocasa.it/vendita/appartamenti/milano/milano/61294600.html",
"images": [
{
"id": 67039759,
"order": 1,
"thumbnail": "https://cdn-media.medialabtc.it/it/agencies/micp5/estates/61294600/images/67039759/card.jpeg",
"medium": "https://cdn-media.medialabtc.it/it/agencies/micp5/estates/61294600/images/67039759/detail.jpeg",
"large": "https://cdn-media.medialabtc.it/it/agencies/micp5/estates/61294600/images/67039759/gallery.jpeg"
}
],
"virtual_tour": "https://www.smartvt360.it/pss/901ad48c-ea48-4378-a320-79f7de63d05b",
"exclusive": false,
"top": true
}
]id,title,subtitle,price,surface,rooms,rooms_label,bathrooms,bathrooms_label,agency_id,detail_url,images,exclusive,top
61299336,Monolocale in vendita,"Milano, Via Soperga - Loreto","{""raw"":""€ 225.000"",""amount"":225000,""currency"":""EUR""}","{""raw"":""30 Mq"",""m2"":30}",1,1 locale,1,1 bagno,micj5,https://www.tecnocasa.it/vendita/appartamenti/milano/milano/61299336.html,"[{""id"":67185555,""order"":1,""thumbnail"":""https://cdn-media.medialabtc.it/it/agencies/micj5/estates/61299336/images/67185555/card.jpeg"",""medium"":""https://cdn-media.medialabtc.it/it/agencies/micj5/estates/61299336/images/67185555/detail.jpeg"",""large"":""https://cdn-media.medialabtc.it/it/agencies/micj5/estates/61299336/images/67185555/gallery.jpeg""}]",false,true
61283681,Mansarda in vendita,"Milano, Via della chiesa rossa - Gratosoglio","{""raw"":""€ 250.000"",""amount"":250000,""currency"":""EUR""}","{""raw"":""64 Mq"",""m2"":64}",2,2 locali,1,1 bagno,mice9,https://www.tecnocasa.it/vendita/appartamenti/milano/milano/61283681.html,"[{""id"":66713491,""order"":1,""thumbnail"":""https://cdn-media.medialabtc.it/it/agencies/mice9/estates/61283681/images/66713491/card.jpeg"",""medium"":""https://cdn-media.medialabtc.it/it/agencies/mice9/estates/61283681/images/66713491/detail.jpeg"",""large"":""https://cdn-media.medialabtc.it/it/agencies/mice9/estates/61283681/images/66713491/gallery.jpeg""}]",false,true
61294600,Loft in vendita,"Milano, Via Merula - Ronchetto Sul Naviglio","{""raw"":""€ 260.000"",""amount"":260000,""currency"":""EUR""}","{""raw"":""92 Mq"",""m2"":92}",2,2 locali,1,1 bagno,micp5,https://www.tecnocasa.it/vendita/appartamenti/milano/milano/61294600.html,"[{""id"":67039759,""order"":1,""thumbnail"":""https://cdn-media.medialabtc.it/it/agencies/micp5/estates/61294600/images/67039759/card.jpeg"",""medium"":""https://cdn-media.medialabtc.it/it/agencies/micp5/estates/61294600/images/67039759/detail.jpeg"",""large"":""https://cdn-media.medialabtc.it/it/agencies/micp5/estates/61294600/images/67039759/gallery.jpeg""}]",false,trueRecorded from our API · 3 items shown · 14 datapoints per itemGET /v1/tecnocasa/search?listing_type=sale&city_id=13800324507779&province=MI&min_price=200000&max_price=300000
14 datapoints
Identity
- idinteger
- titlestring
- subtitlestring
- agency_idstring
Contact
- detail_urlurl
Reputation
- imagesobject[]
Price
- priceobject
Other
- surfaceobject
- roomsinteger
- rooms_labelstring
- bathroomsinteger
- bathrooms_labelstring
- exclusiveboolean
- topboolean
Playground
Run this API
curl "https://api.perceptlayer.com/v1/tecnocasa/search?listing_type=sale&city_id=13800324507779&province=MI&min_price=200000&max_price=300000" \
-H "X-API-Key: $API_KEY"Tecnocasa · 7 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters and an example request.
| Endpoint | Required parameters | Cost |
|---|---|---|
GET/v1/tecnocasa/agency | none+3 optional | 1 credit |
GET/v1/tecnocasa/agency-listings | agency_idcity_idprovince+15 optional | 1 credit |
GET/v1/tecnocasa/geo | type+2 optional | 1 credit |
GET/v1/tecnocasa/listing | none+3 optional | 1 credit |
GET/v1/tecnocasa/locations | q+1 optional | 1 credit |
GET/v1/tecnocasa/search | city_idprovince+16 optional | 1 credit |
GET/v1/tecnocasa/search-map | city_idprovince+13 optional | 1 credit |
Overview
About the Tecnocasa API
What you can get
The Tecnocasa API returns Tecnocasa property data as JSON through 7 endpoints. Every endpoint takes an optional country: it or es.
- Search:
searchandsearch-maptake acity_idand aprovince, withlisting_type(sale or rent),region,min_price,max_price,min_surface,max_surface,min_rooms,max_rooms,bathrooms,property_type(app, vil, cas, box or ter),district_ids[](repeatable) andagency_id.searchalso takessort(price_asc, price_desc, area_asc, area_desc, rooms_asc or rooms_desc),pageandlimit. - Listings:
listingtakes aurlorpath. - Agencies:
agencytakes aurlorpath;agency-listingstakes anagency_id,city_idandprovince, with the same filters assearch. - Places:
locationstakes aq;geotakes atype(regions, provinces or districts), withcity_id.
The recorded search for homes for sale in Milan (city_id=13800324507779, province=MI) between €200,000 and €300,000 returns search_metadata with total_results (334), total_pages, limit (15) and has_next_page, and listings, each with id, title, subtitle, price (amount, currency), surface (m2), rooms, bathrooms, agency_id, detail_url, images, exclusive and top.
How a call works
Search a city: GET /v1/tecnocasa/search?listing_type=sale&city_id=13800324507779&province=MI&min_price=200000&max_price=300000 with your key in the X-API-Key header. Each listing's detail_url is what listing takes as url, and its agency_id is what agency-listings takes. Check has_next_page before asking for the next page. Every successful call costs 1 credit; failed calls cost nothing.
More real estate APIs
Use cases
Track asking prices by size and rooms in Italian and Spanish cities
Use the Tecnocasa API to track asking prices by size and rooms in Italian and Spanish citiesNarrow a city to districts with `geo` and `district_ids[]`
Use the Tecnocasa API to narrow a city to districts with `geo` and `district_ids[]`List one agency's stock with `agency-listings`
Use the Tecnocasa API to list one agency's stock with `agency-listings`Plot listings on a map with `search-map`
Use the Tecnocasa API to plot listings on a map with `search-map`FAQ
Questions
Do I need a Tecnocasa account?
No. You call this Tecnocasa API with your Perceptlayer key in the `X-API-Key` header, with no Tecnocasa login.
How much does the Tecnocasa API cost?
Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Which countries does it cover?
Set `country` to it for Italy or es for Spain.
Should I build a Tecnocasa scraper instead?
You can, but a Tecnocasa scraper is code you maintain: page changes break it, requests get blocked, and Tecnocasa's terms govern how you collect data. The Tecnocasa API gives you 7 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Tecnocasa API with 100 free credits
No credit card. Failed calls are never billed.