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

Bezrealitky Autocomplete API Documentation

GET https://scrappa.co/api/bezrealitky/autocomplete

Bezrealitky Autocomplete API resolves a place name to Czech areas. Each result has a region_id such as R438171 that you pass to the search route as region_ids, plus name, district, region, coordinates and bounding box. Only areas are returned, not street addresses.

Bezrealitky Autocomplete API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/bezrealitky/autocomplete
Auth header
x-api-key
Cost
1 credit/request
q = coffee shops
Response preview
200 OK
{
    "data": {
        "query": "Brno",
        "results": [
            {
                "geo": {
                    "latitude": 49.1922443,
                    "longitude": 16.6113382
                },
                "bbox": {
                    "east": 16.6113392,
                    "west": 16.611337199999998,
                    "north": 49.1922453,
                    "south": 49.1922433
...

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.

2 optional filters available.

q string Required

Search text, 2 to 100 characters.

Example value coffee shops
size integer Optional

Number of results, 1 to 50 (default 10).

Example value 10
from integer Optional

Result offset for paging (default 0).

Example value 10

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": {
        "query": "Brno",
        "results": [
            {
                "geo": {
                    "latitude": 49.1922443,
                    "longitude": 16.6113382
                },
                "bbox": {
                    "east": 16.6113392,
                    "west": 16.611337199999998,
                    "north": 49.1922453,
                    "south": 49.1922433
                },
                "city": "Brno",
                "name": "Brno",
                "type": "administrative",
                "region": "Jihomoravsk\u00fd kraj",
                "borough": null,
                "district": "okres Brno-m\u011bsto",
                "region_id": "R438171",
                "display_name": "Brno, okres Brno-m\u011bsto, Jihomoravsk\u00fd kraj, \u010cesko"
            }
        ]
    },
    "meta": {
        "from": 0,
        "size": 10,
        "billable": true,
        "endpoint_family": "autocomplete"
    },
    "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, or the parameter does not exist. This response is not billable.

{
    "errors": {
        "q": [
            "The q field is required."
        ]
    },
    "message": "The request validation failed"
}
503

Upstream Unavailable

Bezrealitky could not be reached or returned data that does not match the request. This response is not billable and is retryable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "autocomplete"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Bezrealitky could not be reached. 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.