Retrieve one Casa.it listing by id: transaction, property type, price as an integer in euros, estimated monthly mortgage, surface, rooms, floor, energy class and performance, location with coordinates, description (Markdown and plain text), all photos and floor plans, the grouped feature list, publisher, breadcrumb and the last update date (YYYY-MM-DD). Phone numbers are returned for agencies only. Listings expire quickly: removed or unknown ids answer 404 and are not billed.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
integer
Required
Casa.it listing id, e.g. 54729397. Take it from the id field of a search result.
54729397
Request Examples
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrappa.co/api/casa_it/listing?id=54729397",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: YOUR_API_KEY_HERE"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
<?php
use Illuminate\Support\Facades\Http;
$response = Http::timeout(30)
->withHeaders(['x-api-key' => 'YOUR_API_KEY_HERE'])
->get('https://scrappa.co/api/casa_it/listing?id=54729397');
if ($response->successful()) {
echo $response->body();
} else {
echo "Error: " . $response->status();
}
const options = {
method: 'GET',
headers: {
'x-api-key': 'YOUR_API_KEY_HERE'
}
};
fetch('https://scrappa.co/api/casa_it/listing?id=54729397', options)
.then(response => {
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}
return response.text();
})
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
const axios = require('axios');
const options = {
method: 'GET',
url: 'https://scrappa.co/api/casa_it/listing?id=54729397',
headers: {
x-api-key: 'YOUR_API_KEY_HERE',
}
};
try {
const response = await axios(options);
console.log(response.data);
} catch (error) {
console.error('Error:', error.message);
}
require 'net/http'
require 'uri'
uri = URI.parse("https://scrappa.co/api/casa_it/listing?id=54729397")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == 'https'
request = Net::HTTP::Get.new(uri.request_uri)
request['x-api-key'] = 'YOUR_API_KEY_HERE'
begin
response = http.request(request)
puts response.body
rescue => e
puts "Error: #{e.message}"
end
import http.client
import json
conn = http.client.HTTPSConnection("scrappa.co")
headers = {
'x-api-key': 'YOUR_API_KEY_HERE',
}
try:
conn.request("GET", "/api/casa_it/listing?id=54729397", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
except Exception as e:
print(f"Error: {e}")
finally:
conn.close()
import requests
headers = {
'x-api-key': 'YOUR_API_KEY_HERE',
}
try:
response = requests.get('https://scrappa.co/api/casa_it/listing?id=54729397', headers=headers)
response.raise_for_status()
print(response.text)
except requests.exceptions.RequestException as e:
print(f"Error: {e}")
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;
public class ApiExample {
public static void main(String[] args) {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://scrappa.co/api/casa_it/listing?id=54729397")
.addHeader("x-api-key", "YOUR_API_KEY_HERE")
.build();
try (Response response = client.newCall(request).execute()) {
if (response.isSuccessful()) {
System.out.println(response.body().string());
} else {
System.out.println("Error: " + response.code());
}
} catch (IOException e) {
System.out.println("Error: " + e.getMessage());
}
}
}
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
client := &http.Client{}
req, err := http.NewRequest("GET", "https://scrappa.co/api/casa_it/listing?id=54729397", nil)
if err != nil {
fmt.Println("Error creating request:", err)
return
}
req.Header.Set("x-api-key", "YOUR_API_KEY_HERE")
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error making request:", err)
return
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
fmt.Println("Error reading response:", err)
return
}
fmt.Println(string(body))
}
#!/bin/bash
curl -X GET \
-H "x-api-key: YOUR_API_KEY_HERE" \
"https://scrappa.co/api/casa_it/listing?id=54729397"
using System;
using System.Net.Http;
using System.Threading.Tasks;
class Program
{
static async Task Main()
{
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("x-api-key", "YOUR_API_KEY_HERE");
try
{
var response = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "https://scrappa.co/api/casa_it/listing?id=54729397"));
var content = await response.Content.ReadAsStringAsync();
Console.WriteLine(content);
}
catch (Exception ex)
{
Console.WriteLine($"Error: {ex.Message}");
}
}
}
import axios from 'axios';
async function run(): Promise<void> {
try {
const response = await axios({
method: 'GET',
url: 'https://scrappa.co/api/casa_it/listing?id=54729397',
headers: {
'x-api-key': 'YOUR_API_KEY_HERE',
},
});
console.log(response.data);
} catch (error) {
console.error('Error:', error);
}
}
void run();
use reqwest::Client;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = Client::new();
let response = client
.get("https://scrappa.co/api/casa_it/listing?id=54729397")
.header("x-api-key", "YOUR_API_KEY_HERE")
.send()
.await?;
println!("{}", response.text().await?);
Ok(())
}
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
success
data
meta
{
"success": true,
"data": {
"id": 54729397,
"url": "https://www.casa.it/immobili/54729397/",
"transaction": "vendita",
"property_group": "case",
"property_type": "appartamento",
"price": 298000,
"currency": "EUR",
"estimated_monthly_mortgage": 863,
"surface_sqm": 65,
"rooms": 2,
"floor": "4\u00b0 piano",
"energy_class": "F",
"energy_performance": "175.0 KWh/m2a",
"location": {
"street": "Via Damaso Cerquetti",
"district": "Colli Portuensi, Gianicolense, Monteverde",
"neighborhood": "Gianicolense",
"city": "Roma",
"province": "RM",
"province_name": "Roma",
"region": "Lazio",
"latitude": 41.872569,
"longitude": 12.457787
},
"description": "**Monteverde nuovo - Via Damaso Cerquetti** \nScopri questo splendido appartamento di 64 mq situato al quarto piano di un elegante edificio, dotato di ascensore. \nLa propriet\u00e0 si presenta in ottimo stato e offre un comodo balcone perfetto per goderti momenti...",
"description_text": "Monteverde nuovo - Via Damaso Cerquetti Scopri questo splendido appartamento di 64 mq situato al quarto piano di un elegante edificio, dotato di ascensore. La propriet\u00e0 si presenta in ottimo stato e offre un comodo balcone perfetto per goderti momenti di re...",
"images": [
"https://images-1.casa.it/800x600/listing/0/6f/14/c4/837395670.jpg",
"https://images-1.casa.it/800x600/listing/0/9d/0c/fb/837395671.jpg",
"https://images-1.casa.it/800x600/listing/0/f3/f6/b9/837395661.jpg"
],
"floorplans": [
"https://images-1.casa.it/800x600/listing/0/f4/3a/b1/837395727.jpg"
],
"features": [
{
"label": "Caratteristiche",
"items": [
{
"label": "Superficie",
"values": [
"65 m\u00b2"
]
},
{
"label": "Locali",
"values": [
"2"
]
},
{
"label": "Bagni",
"values": [
"1"
]
},
{
"label": "Piano",
"values": [
"4\u00b0"
]
},
{
"label": "Ascensore",
"values": [
"s\u00ec"
]
},
{
"label": "Altre caratteristiche",
"values": [
"balcone"
]
}
]
},
{
"label": "Stato e efficienza energetica",
"items": [
{
"label": "Condizioni immobile",
"values": [
"ristrutturato"
]
},
{
"label": "Aria condizionata",
"values": [
"assente"
]
},
{
"label": "Classe energetica",
"values": [
"F"
]
}
]
}
],
"publisher": {
"id": 1133866,
"type": "agency",
"name": "VALUE RE AGENCY S.R.L.",
"address": "Roma, Via Flaminia 141",
"phone": "0685871959",
"website": "https://valuereagency.com/",
"url": "https://www.casa.it/agenzie/value-re-agency-s-r-l-1133866/"
},
"breadcrumb": [
{
"label": "Tutta Italia",
"url": "https://www.casa.it/"
},
{
"label": "Roma (prov.)",
"url": "https://www.casa.it/liste/vendita/residenziale/roma-provincia/comuni/"
},
{
"label": "Case a Roma",
"url": "https://www.casa.it/vendita/residenziale/roma/"
}
],
"updated_at": "2026-10-15"
},
"meta": {
"endpoint_family": "listing",
"billable": true
}
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A required query parameter is missing or invalid. This response is not billable.
{
"errors": {
"id": [
"A Casa.it listing id is required, e.g. 54729397."
]
},
"message": "The request validation failed"
}Resource Not Found
The listing does not exist or is no longer online. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "listing"
},
"error": {
"code": "NOT_FOUND",
"message": "The requested Casa.it resource was not found."
},
"success": false
}Source Temporarily Blocked
The upstream service is temporarily unavailable. Please retry shortly.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "listing"
},
"error": {
"code": "UPSTREAM_BLOCKED",
"message": "The Casa.it data is temporarily unavailable. Please retry."
},
"success": false
}Service Unavailable
Casa.it could not be reached or answered with a page that no longer matches the documented contract. This response is not billable.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "listing"
},
"error": {
"code": "upstream_unavailable",
"message": "The upstream service is temporarily unavailable. 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.