Retrieve one Imobiliare.ro listing (sale or rent) by id or by listing URL: price text with amount and currency, address, location coordinates, rooms and usable area summary, full description, key features, all specification values and amenity groups, energy class, all photos with thumbnail and large sizes, points of interest with distances, project, contact (agent name, job title, agency, masked phone) and similar listings. Phone numbers are masked as on the public page. An unknown or removed listing id returns a non-billable 404.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
This endpoint has no required query parameters.
2 optional filters available.
integer
Optional
Numeric listing id from a search result, e.g. 272436927. Use id or url.
272436927
string
Optional
Listing URL from a search result, e.g. https://www.imobiliare.ro/oferta/apartament-de-vanzare-sector-1-pipera-4-camere-272436927. Use id or url.
https://example.com/product
Request Examples
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrappa.co/api/imobiliare-ro/listing?id=272436927",
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/imobiliare-ro/listing?id=272436927');
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/imobiliare-ro/listing?id=272436927', 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/imobiliare-ro/listing?id=272436927',
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/imobiliare-ro/listing?id=272436927")
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/imobiliare-ro/listing?id=272436927", 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/imobiliare-ro/listing?id=272436927', 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/imobiliare-ro/listing?id=272436927")
.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/imobiliare-ro/listing?id=272436927", 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/imobiliare-ro/listing?id=272436927"
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/imobiliare-ro/listing?id=272436927"));
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/imobiliare-ro/listing?id=272436927',
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/imobiliare-ro/listing?id=272436927")
.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": {
"listing": {
"id": 272436927,
"url": "https://www.imobiliare.ro/oferta/apartament-de-vanzare-sector-1-pipera-4-camere-272436927",
"listing_code": "XG5V00001",
"title": "Apartament 4 camere - 122 m.p. utili + 14 m.p. balcon",
"address": "Pipera, Bucure\u0219ti",
"county": "Bucuresti",
"city": "Sector 1",
"area": "Pipera",
"offer_type": "sale",
"price": {
"text": "320.000 \u20ac",
"amount": 320000,
"currency": "EUR"
},
"price_disclosed": true,
"summary": [
{
"key": "bedroom_count",
"label": "Nr. cam.",
"value": "4"
},
{
"key": "usable_surface",
"label": "Sup. util\u0103",
"value": "123 mp"
}
],
"key_features": [
{
"key": "comfort",
"label": "Confort lux"
},
{
"key": "compartmentalization_type",
"label": "Decomandat"
}
],
"specifications": {
"details": [
{
"label": "Suprafa\u021b\u0103 util\u0103 total\u0103",
"value": "137 mp"
},
{
"label": "Nr. b\u0103i",
"value": "3"
}
],
"ids": [
"XG5V00001",
"272436927"
],
"energy_class": "A"
},
"geo": {
"latitude": 44.51485408,
"longitude": 26.15357123,
"is_exact": true
},
"images": [
{
"url": "https://i.roamcdn.net/prop/imo/gallery-main-900w-watermark/6w3lBA3A-v_XpXQS08SZIQ/-_1q4ZkoeDSvCJgfavgkZ8LNLwWAA/_1I8pjhgbmJoYmxiZGAA/9aa692f0-19d9-4045-ad25-a113ef1cb08d.jpeg",
"thumbnail_url": "https://i.roamcdn.net/prop/imo/gallery-thumb-140w/5z-wMDxcKxd8ygbOmnhsww/-/_1I8pjhgbmJoYmxiZGAA/9aa692f0-19d9-4045-ad25-a113ef1cb08d.jpeg"
}
],
"points_of_interest": [
{
"id": "education",
"label": "\u0218coal\u0103",
"total": 10,
"items": [
{
"name": "Kindergarden",
"category": "Gradini\u021be",
"distance": "aprox. 1000 m"
}
]
}
],
"contact": {
"agent": {
"name": "Nicu Dinu",
"job_title": "Sales and Legal Consultant"
},
"agency": {
"name": "Sunrise Homes"
},
"phone_masked": "0722 ... ..."
},
"seller_type": "developer",
"days_on_market": 332,
"year_built": "2025"
}
},
"meta": {
"endpoint_family": "listing",
"billable": true
}
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
HTTP NOT_FOUND
The listing or profile does not exist. Not billed.
HTTP UPSTREAM_UNAVAILABLE
Imobiliare.ro could not be reached right now. Not billed.
HTTP UPSTREAM_BLOCKED
Imobiliare.ro refused the request. Not billed.
HTTP PARSER_DRIFT
Imobiliare.ro returned an unexpected payload or a filter was not applied. Not billed.
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.