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

Boliga For Sale Search API Documentation

GET https://scrappa.co/api/boliga/search

Boliga For Sale Search API Documentation Search homes for sale in Denmark on Boliga: for each listing the id, public Boliga url, address, zip code, city, municipality, coordinates, property type code, asking price in DKK, price per square metre, rooms, living size, lot size, build year, energy class, days on the market, creation date (ISO 8601, UTC), views and a photo. Filter by property type, municipality, zip codes, price, size, rooms and build year, sort by price, and page with page and page_size. Fields Boliga does not know are omitted. A valid search with no matches is a successful response with an empty results list.

Boliga For Sale Search API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/boliga/search
Auth header
x-api-key
Cost
1 credit/request
Response preview
200 OK
{
    "data": {
        "meta": {
            "page": 1,
            "has_more": true,
            "page_size": 3,
            "total_count": 25558,
            "total_pages": 8520
        },
        "results": [
            {
                "id": 2374672,
                "url": "https://www.boliga.dk/bolig/2374672/hyskenstraede-7-1207-koebenhavn-k",
                "city": "K\u00f8benhavn K",
...

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.

14 optional filters available.

page integer Optional

Page number, starting at 1. Defaults to 1.

Example value 1
page_size integer Optional

Listings per page, 1 to 100. Defaults to 50.

Example value 10
property_type string Optional

Boliga property type code: 1 villa, 2 townhouse, 3 apartment, 4 holiday home, 5 co-operative home. A comma separated list such as 1,3 is allowed. Example: 1.

Example value example
municipality integer Optional

Danish municipality code, e.g. 101 for Copenhagen. Example: 101.

Example value 10
zip_codes string Optional

One or more 4-digit Danish zip codes separated by commas. Example: 8600.

Example value example
price_min integer Optional

Minimum asking price in DKK.

Example value 10
price_max integer Optional

Maximum asking price in DKK.

Example value 10
size_min integer Optional

Minimum living size in square metres.

Example value 10
size_max integer Optional

Maximum living size in square metres.

Example value 10
rooms_min integer Optional

Minimum number of rooms.

Example value 10
rooms_max integer Optional

Maximum number of rooms.

Example value 10
build_year_min integer Optional

Earliest build year, e.g. 2000.

Example value 10
build_year_max integer Optional

Latest build year, e.g. 1900.

Example value 10
sort string Optional

Sort order: price-a (price ascending) or price-d (price descending). Boliga default order when omitted.

Example value relevance

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": {
        "meta": {
            "page": 1,
            "has_more": true,
            "page_size": 3,
            "total_count": 25558,
            "total_pages": 8520
        },
        "results": [
            {
                "id": 2374672,
                "url": "https://www.boliga.dk/bolig/2374672/hyskenstraede-7-1207-koebenhavn-k",
                "city": "K\u00f8benhavn K",
                "size": 291,
                "price": 20950000,
                "rooms": 12,
                "views": 427,
                "images": [
                    "https://i.boliga.org/dk/550x/2374/2374672.jpg"
                ],
                "street": "Hyskenstr\u00e6de 7",
                "latitude": 55.67804,
                "lot_size": 90,
                "zip_code": 1207,
                "longitude": 12.57678,
                "build_year": 1800,
                "created_at": "2026-10-07T23:30:03Z",
                "down_payment": 1050000,
                "municipality": 101,
                "basement_size": 77,
                "days_for_sale": 7,
                "price_per_sqm": 71993,
                "property_type": 1
            }
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "search"
    },
    "success": true
}

Errors

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

422

Validation Error

A query parameter is missing or invalid. No upstream request is made. This response is not billable.

{
    "errors": {
        "page_size": [
            "The page size must be 100 or fewer."
        ]
    },
    "message": "The request validation failed"
}
503

Service Unavailable

The upstream service is temporarily unavailable. Please retry shortly.

{
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "The Boliga API is temporarily unavailable. Please retry."
    },
    "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.