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

Njuskalo Locations API

GET https://scrappa.co/api/njuskalo/locations

Find the location slugs that the property search accepts. The list is curated: Croatian counties, the largest cities and the districts of Zagreb, each checked to work as a search location. Njuskalo has no public location search, so places that are not in the list cannot be used as a location filter. Each entry has its slug, label, level (county, city or district) and the slug of its parent county where one exists. The match ignores accents and capital letters. A query without a match answers 200 with an empty list and costs no credit. Cost: 1 credit per successful lookup with results.

Njuskalo Locations API 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/njuskalo/locations
Auth header
x-api-key
Cost
1 credit/request
query = coffee shops
Response preview
200 OK
{
    "data": {
        "count": 2,
        "query": "zag",
        "locations": [
            {
                "slug": "zagreb",
                "label": "Grad Zagreb",
                "level": "county",
                "parent": null
            },
            {
                "slug": "zagrebacka",
                "label": "Zagreba\u010dka",
...

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.

query string Required

Place name, at least 2 characters, e.g. zag.

Example value coffee shops

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": {
        "count": 2,
        "query": "zag",
        "locations": [
            {
                "slug": "zagreb",
                "label": "Grad Zagreb",
                "level": "county",
                "parent": null
            },
            {
                "slug": "zagrebacka",
                "label": "Zagreba\u010dka",
                "level": "county",
                "parent": null
            }
        ]
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "locations"
    },
    "success": true
}

Errors

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

404

HTTP 404

The listing, agency or result page does not exist. This response is not billable.

422

HTTP 422

A parameter or filter is missing or invalid. This response is not billable.

503

HTTP 503

Njuskalo is temporarily unavailable or answered a page that no longer matches the documented contract. Retry the request. This response is not billable.

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.