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

Boligsiden Agencies API Documentation

GET https://scrappa.co/api/boligsiden/agencies

Boligsiden Agencies API Documentation List the real estate agencies that sell in a city or municipality, sorted by rating, number sold, sale time, price change or price per square metre. Rows are slim (id, name, contact, rating, active listings); open the agency endpoint for the full profile. The result list is cached for six hours and paged by Scrappa.

Boligsiden Agencies API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/boligsiden/agencies
Auth header
x-api-key
Cost
1 credit/request
location_name = example
Response preview
200 OK
{
    "data": {
        "meta": {
            "page": 1,
            "has_more": true,
            "per_page": 20,
            "total_hits": 45,
            "total_pages": 3
        },
        "results": [
            {
                "id": "fe133761-8660-40fa-840a-016badf5d123",
                "cvr": "33017839",
                "name": "Nybolig Aarhus C - Bruuns Bro Lejligheder",
...

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.

6 optional filters available.

location_name string Required

City or municipality name as shown by the locations endpoint. Example: Aarhus C.

Example value example
location_type string Optional

city (default) or municipality.

Example value example
address_type string Optional

Only count agencies active in this address type, for example villa.

Example value example
sort_by string Optional

rating, amount_sold, sale_time, price_change or price_per_area.

Example value example
sort_ascending boolean Optional

true or false. Defaults to false.

Example value true
page integer Optional

Page number, starting at 1. Page times page size must not exceed 10000. Defaults to 1.

Example value 1
per_page integer Optional

Rows per page, 1 to 100. Defaults to 20.

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": {
        "meta": {
            "page": 1,
            "has_more": true,
            "per_page": 20,
            "total_hits": 45,
            "total_pages": 3
        },
        "results": [
            {
                "id": "fe133761-8660-40fa-840a-016badf5d123",
                "cvr": "33017839",
                "name": "Nybolig Aarhus C - Bruuns Bro Lejligheder",
                "slug": "nybolig-aarhus-c---bruuns-bro-lejligheder-m.p.-bruuns-gade-3-8000-aarhus-c-fe133761866040fa840a016badf5d123",
                "email": "8001@nybolig.dk",
                "phone": "86174011",
                "rating": {
                    "buyer": {
                        "score": 9.25,
                        "responses": 63
                    },
                    "seller": {
                        "score": 9.66,
                        "responses": 102
                    }
                },
                "address": {
                    "city": "Aarhus C",
                    "road": "M.P. Bruuns Gade",
                    "floor": "st",
                    "zip_code": 8000,
                    "house_number": "3"
                },
                "image_url": "https://images.boligsiden.dk/images/realtor_image/fe133761-8660-40fa-840a-016badf5d123/1440x960/d9e90ed3-44ae-45f9-8d26-e260230ffe01.webp?h=6e7842a56c1cdd1d3832c1de069da88629c0182b25f7ac41d714acbd8193b9b5",
                "branch_name": "Nybolig",
                "active_listings": {
                    "for_rent": 9,
                    "for_sale": 54,
                    "cooperative": 1
                }
            }
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "realtor_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": {
        "location_name": [
            "The location name field is required."
        ]
    },
    "message": "The request validation failed"
}
503

Service Unavailable

Boligsiden could not be reached, blocked or rate limited every attempt, or answered with a shape that no longer matches the documented contract. Retry shortly. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "realtor_search"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "The Boligsiden 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.