Skip to content
Scrappa Get API key
Realitica API 1 credit/request

Realitica Reference API Documentation

GET https://scrappa.co/api/realitica/v1/reference

Realitica Reference API lists the filter values of the search route: listing types, countries, property types, sort options and posting age options. The route makes no upstream call.

Realitica Reference API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/realitica/v1/reference
Auth header
x-api-key
Cost
1 credit/request
Response preview
200 OK
{
    "data": {
        "sorts": [
            {
                "key": "default",
                "label": "Default (sponsored first)"
            },
            {
                "key": "newest",
                "label": "Newest first"
            },
            {
                "key": "oldest",
                "label": "Oldest first"
...

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "sorts": [
            {
                "key": "default",
                "label": "Default (sponsored first)"
            },
            {
                "key": "newest",
                "label": "Newest first"
            },
            {
                "key": "oldest",
                "label": "Oldest first"
            },
            {
                "key": "price_asc",
                "label": "Price low to high"
            },
            {
                "key": "price_desc",
                "label": "Price high to low"
            }
        ],
        "currency": "EUR",
        "countries": [
            {
                "key": "montenegro",
                "label": "Montenegro"
            },
            {
                "key": "croatia",
                "label": "Croatia"
            },
            {
                "key": "serbia",
                "label": "Serbia"
            },
            {
                "key": "bosnia",
                "label": "Bosnia and Herzegovina"
            }
        ],
        "page_size": 25,
        "listing_types": [
            {
                "key": "sale",
                "label": "For sale"
            },
            {
                "key": "rent_short",
                "label": "Short-term rent"
            },
            {
                "key": "rent_long",
                "label": "Long-term rent"
            }
        ],
        "posted_within": [
            {
                "key": "any",
                "label": "Any time"
            },
            {
                "key": "7d",
                "label": "Last 7 days"
            },
            {
                "key": "1m",
                "label": "Last month"
            },
            {
                "key": "1y",
                "label": "Last year"
            }
        ],
        "property_types": [
            {
                "key": "Home",
                "label": "House"
            },
            {
                "key": "Apartment",
                "label": "Apartment"
            },
            {
                "key": "Land",
                "label": "Land"
            },
            {
                "key": "Commercial",
                "label": "Commercial property"
            },
            {
                "key": "Hotel",
                "label": "Hotel"
            },
            {
                "key": "Residential_lot",
                "label": "Residential lot"
            },
            {
                "key": "Agricultural_land",
                "label": "Agricultural land"
            },
            {
                "key": "Campground",
                "label": "Campground"
            },
            {
                "key": "Garage",
                "label": "Garage"
            }
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "reference"
    },
    "success": true
}

Errors

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

422

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"
}
503

Upstream Unavailable

Realitica could not be reached. This response is not billable and is retryable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "reference"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Realitica could not be reached. Please retry shortly."
    },
    "success": false
}
503

Unexpected Upstream Data

Realitica returned data in an unexpected shape. This response is not billable and is retryable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "reference"
    },
    "error": {
        "code": "INVALID_UPSTREAM_SHAPE",
        "message": "Realitica 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.