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

Boligsiden Foreclosures API Documentation

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

Boligsiden Foreclosures API Documentation List homes up for foreclosure auction: address, coordinates, address type, auction date, whether viewing is planned, publication date, build year, living area, lot area, rooms, public valuation, image and status. The upstream offers no location or price filter for auctions, so only paging and sorting are available.

Boligsiden Foreclosures API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/boligsiden/foreclosures
Auth header
x-api-key
Cost
1 credit/request
Response preview
200 OK
{
    "data": {
        "meta": {
            "page": 1,
            "has_more": true,
            "new_hits": 4,
            "per_page": 20,
            "total_hits": 87,
            "total_pages": 5
        },
        "results": [
            {
                "id": "e024d31c-5796-4bb0-bb26-45cf800e873a",
                "url": "https://www.boligsiden.dk/adresse/smedebakken-63-4160-herlufmagle",
...

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.

4 optional filters available.

sort_by string Optional

published_date or auction_date.

Example value example
sort_ascending boolean Optional

true or false. Used with sort_by. Defaults to true.

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,
            "new_hits": 4,
            "per_page": 20,
            "total_hits": 87,
            "total_pages": 5
        },
        "results": [
            {
                "id": "e024d31c-5796-4bb0-bb26-45cf800e873a",
                "url": "https://www.boligsiden.dk/adresse/smedebakken-63-4160-herlufmagle",
                "area": 95,
                "city": "Herlufmagle",
                "road": "Smedebakken",
                "rooms": 3,
                "region": "Region Sj\u00e6lland",
                "status": "Tvangsauktion",
                "address": "Smedebakken 63, 4160 Herlufmagle",
                "latitude": 55.333103,
                "lot_area": 788,
                "province": "Vest- og Sydsj\u00e6lland",
                "zip_code": 4160,
                "cancelled": false,
                "image_url": "https://images.boligsiden.dk/images/foreclosure_case/e024d31c-5796-4bb0-bb26-45cf800e873a/1440x960/4a207eeb-054a-4029-8529-36aaf5791996.webp?h=6d1dbc289558b8b2678c84440d65a05d5ccf53496d148fe21e097b2657405a35",
                "longitude": 11.805673,
                "valuation": 1170000,
                "address_id": "0a3f50b1-76bb-32b8-e044-0003ba298018",
                "auction_at": "2026-11-17T08:30:00Z",
                "year_built": 1949,
                "case_source": "statstidende",
                "address_type": "villa",
                "house_number": "63",
                "municipality": "N\u00e6stved",
                "published_at": "2026-10-24T00:00:00Z",
                "auction_planned": true,
                "viewing_planned": false
            }
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "foreclosure"
    },
    "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": {
        "sort_by": [
            "The selected sort by is invalid."
        ]
    },
    "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": "foreclosure"
    },
    "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.