Skip to content
Scrappa Get API key
Imobiliare.ro API 1 credit/request

Imobiliare.ro Property Search API Documentation

GET https://scrappa.co/api/imobiliare-ro/search?type=sale&location=8608&rooms=3&sort=latest

Search Romanian property for sale or rent on Imobiliare.ro. Filter by location, property type, rooms, bathrooms, price, keyword, amenities, floor, building stage and more. Sort the results and page through them with page. A page holds 30 listings. Each listing returns id, url, price text with amount and currency, address, rooms, usable area, highlights, extra features, photos, agency, seller type, days on market and promotion flags. Prices are in EUR or RON as the site shows them, so each listing carries its own currency. The response also returns the filter definitions of the page as facets. Use the autocomplete endpoint to find location ids. A valid search with no hits returns an empty listings list and is a successful, billable response.

Imobiliare.ro Property Search API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/imobiliare-ro/search?type=sale&location=8608&rooms=3&sort=latest
Auth header
x-api-key
Cost
1 credit/request
type = sale
Response preview
200 OK
{
    "success": true,
    "data": {
        "total_count": 8815,
        "pagination": {
            "page": 1,
            "page_size": 30,
            "total_pages": 294,
            "from": 1,
            "to": 30,
            "has_more": true
        },
        "search": {
            "title": "Apartamente de v\u00e2nzare \u00een Bucure\u0219ti",
...

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.

17 optional filters available.

type string Required

sale or rent.

Example value sale
property_type string Optional

apartments (default), studios, penthouses (sale), houses, detached_houses, duplex, land (sale), agricultural_land (sale), building_land (sale), commercial or offices (rent).

Example value example
location string Optional

One or more location ids from the autocomplete endpoint, separated by commas, e.g. 8608 for Bucuresti. Without a location the search covers Romania.

Example value 8608
page integer Optional

Page number, 1-based. Defaults to 1. A page holds 30 listings. A page past the last page returns an empty listings list.

Example value 1
rooms string Optional

Number of rooms: 1, 2, 3 or 4 (4 means 4 or more). Several values separated by commas, e.g. 2,3.

Example value 3
bathrooms string Optional

Number of bathrooms: 1, 2 or 3. Several values separated by commas.

Example value example
price_min integer Optional

Minimum price as a whole number in the chosen currency. For rent this is the monthly rent.

Example value 10
price_max integer Optional

Maximum price as a whole number in the chosen currency. For rent this is the monthly rent.

Example value 10
currency string Optional

EUR (default) or RON. Used with price_min and price_max: only listings priced in this currency are returned. Listings without a price are left out when a price filter is set.

Example value USD
keyword string Optional

Free-text keyword, up to 100 characters, e.g. terasa.

Example value running shoes
amenities string Optional

Comma separated: on-site-parking, garage, yard, central-heating, furnished, underfloor-heating, air-conditioning, pets-allowed, balcony, elevator, garden, terrace, swimming-pool, sewerage, gas, electricity, water.

Example value example
building_stage string Optional

Comma separated: new-build, established, off-plan, established-2011-past-6-years, established-2001-2010, established-1991-2000, established-1978-1990, established-1941-1977, established-before-1941.

Example value example
floor string Optional

Comma separated: below-ground, ground-floor, 1 to 10, above-10, attic, top-two-floors, excluded-last-floor.

Example value example
partitioning string Optional

Comma separated: detached, semi-detached, non-detached, circular.

Example value example
comfort string Optional

Comma separated: 1, 2, 3, luxury.

Example value example
nearby string Optional

Comma separated: metro-station, sea, mountains, countryside.

Example value example
features string Optional

Comma separated: virtual-tour, zero-commission, foreclosure.

Example value example
sort string Optional

latest, lowest-price or highest-price. Defaults to the site order. With lowest-price the site lists listings without a price first. They carry price_disclosed=false.

Example value latest

Request Examples

PHP
<?php

$curl = curl_init();

curl_setopt_array($curl, [
    CURLOPT_URL => "https://scrappa.co/api/imobiliare-ro/search?type=sale&location=8608&rooms=3&sort=latest",
    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
<?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/search?type=sale&location=8608&rooms=3&sort=latest');

if ($response->successful()) {
    echo $response->body();
} else {
    echo "Error: " . $response->status();
}
JavaScript
const options = {
    method: 'GET',
    headers: {
        'x-api-key': 'YOUR_API_KEY_HERE'
    }
};

fetch('https://scrappa.co/api/imobiliare-ro/search?type=sale&location=8608&rooms=3&sort=latest', 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));
JavaScript
const axios = require('axios');

const options = {
    method: 'GET',
    url: 'https://scrappa.co/api/imobiliare-ro/search?type=sale&location=8608&rooms=3&sort=latest',
    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);
}
Ruby
require 'net/http'
require 'uri'

uri = URI.parse("https://scrappa.co/api/imobiliare-ro/search?type=sale&location=8608&rooms=3&sort=latest")
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
Python
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/search?type=sale&location=8608&rooms=3&sort=latest", headers=headers)
    res = conn.getresponse()
    data = res.read()
    print(data.decode("utf-8"))
except Exception as e:
    print(f"Error: {e}")
finally:
    conn.close()
Python
import requests

headers = {
    'x-api-key': 'YOUR_API_KEY_HERE',
}

try:
    response = requests.get('https://scrappa.co/api/imobiliare-ro/search?type=sale&location=8608&rooms=3&sort=latest', headers=headers)
    response.raise_for_status()
    print(response.text)
except requests.exceptions.RequestException as e:
    print(f"Error: {e}")
Java
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/search?type=sale&location=8608&rooms=3&sort=latest")
        .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());
        }
    }
}
Go
package main

import (
    "fmt"
    "net/http"
    "io/ioutil"
)

func main() {
    client := &http.Client{}
    req, err := http.NewRequest("GET", "https://scrappa.co/api/imobiliare-ro/search?type=sale&location=8608&rooms=3&sort=latest", 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))
}
Terminal
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/imobiliare-ro/search?type=sale&location=8608&rooms=3&sort=latest"
C#
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/search?type=sale&location=8608&rooms=3&sort=latest"));
            var content = await response.Content.ReadAsStringAsync();
            Console.WriteLine(content);
        }
        catch (Exception ex)
        {
            Console.WriteLine($"Error: {ex.Message}");
        }
    }
}
TypeScript
import axios from 'axios';

async function run(): Promise<void> {
    try {
        const response = await axios({
            method: 'GET',
            url: 'https://scrappa.co/api/imobiliare-ro/search?type=sale&location=8608&rooms=3&sort=latest',
            headers: {
        'x-api-key': 'YOUR_API_KEY_HERE',
            },
        });

        console.log(response.data);
    } catch (error) {
        console.error('Error:', error);
    }
}

void run();
RUST
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/search?type=sale&location=8608&rooms=3&sort=latest")
        .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
JSON Response
200 OK
{
    "success": true,
    "data": {
        "total_count": 8815,
        "pagination": {
            "page": 1,
            "page_size": 30,
            "total_pages": 294,
            "from": 1,
            "to": 30,
            "has_more": true
        },
        "search": {
            "title": "Apartamente de v\u00e2nzare \u00een Bucure\u0219ti",
            "type": "sale",
            "property_type": "apartments",
            "sort": "latest"
        },
        "listings": [
            {
                "id": 985946,
                "url": "https://www.imobiliare.ro/oferta/apartament-de-vanzare-sector-6-militari-3-camere-985946",
                "position": 1,
                "listing_code": "X4PQ0000M",
                "title": "Militari Residence - 3 CAMERE",
                "location": "Militari, Sector 6",
                "address": "Strada Sergent Ilie Petre,nr 84, Militari, Sector 6",
                "county": "Bucuresti",
                "city": "Sector 6",
                "area": "Militari",
                "offer_type": "sale",
                "price": {
                    "text": "97.400 \u20ac",
                    "amount": 97400,
                    "currency": "EUR"
                },
                "price_disclosed": true,
                "rooms": 3,
                "usable_area_sqm": 70,
                "floor_label": "Etaj 3 / 7",
                "year_built_label": "2026 (Finalizat\u0103)",
                "highlights": [
                    {
                        "key": "bedroom_count",
                        "label": "3 camere"
                    },
                    {
                        "key": "usable_surface",
                        "label": "70 mp"
                    }
                ],
                "extra_features": [
                    {
                        "key": "commission_zero",
                        "title": "Comision 0%"
                    }
                ],
                "images": [
                    {
                        "url": "https://i.roamcdn.net/prop/imo/gallery-main-900w-watermark/j6WpjFieBmjYCZKqmUgfRw/-/_1I8pjhgbmRiYGpkZmAA/cac764c7-90f8-4789-ab0c-20933665c643.jpg"
                    }
                ],
                "image_count": 9,
                "has_video": false,
                "has_virtual_tour": false,
                "has_floor_plans": false,
                "favourites_count": 197,
                "days_on_market": 143,
                "seller_type": "developer",
                "agency": {
                    "name": "Militari Residence",
                    "slug": "x4pq",
                    "is_estate_agent": false
                },
                "is_boosted": false,
                "belongs_to_project": false,
                "is_zero_commission": true
            }
        ],
        "facets": {
            "filters": [
                {
                    "key": "bedrooms",
                    "label": "Nr. camere",
                    "type": "checkbox-segmented",
                    "options": [
                        {
                            "value": "1",
                            "label": "1"
                        },
                        {
                            "value": "2",
                            "label": "2"
                        }
                    ]
                }
            ],
            "categories_sale": [
                {
                    "id": 1,
                    "label": "Apartamente",
                    "slug": "apartamente"
                }
            ],
            "categories_rent": [
                {
                    "id": 1,
                    "label": "Apartamente",
                    "slug": "apartamente"
                }
            ],
            "sort_options": [
                {
                    "value": "latest",
                    "label": "Cele mai recente"
                }
            ]
        }
    },
    "meta": {
        "endpoint_family": "search",
        "billable": true
    }
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

NOT_FOUND

HTTP NOT_FOUND

The listing or profile does not exist. Not billed.

UPSTREAM_UNAVAILABLE

HTTP UPSTREAM_UNAVAILABLE

Imobiliare.ro could not be reached right now. Not billed.

UPSTREAM_BLOCKED

HTTP UPSTREAM_BLOCKED

Imobiliare.ro refused the request. Not billed.

PARSER_DRIFT

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.