---
title: "Boligsiden API: Previews | Perceptlayer"
description: "Previews from Boligsiden as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/boligsiden/previews
---

[APIs](https://perceptlayer.com/apis) / [Boligsiden](https://perceptlayer.com/apis/boligsiden) / Previews

# Boligsiden: Previews

Previews from Boligsiden as JSON. 1 credit per successful call.

GET `/v1/boligsiden/previews`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `page` | integer | Optional | Any |
| `per_page` | integer | Optional | Any |
| `sort_ascending` | boolean | Optional | Any |
| `zip_codes[]` | list of string | Optional | Any |
| `cities[]` | list of string | Optional | Up to 80 characters |
| `municipalities[]` | list of string | Optional | Any |
| `provinces[]` | list of string | Optional | Any |
| `address_types[]` | list of string | Optional | villa, terraced house, condo, holiday house, allotment, cooperative, farm, full year plot, holiday plot, villa apartment, cattle farm, pig farm, plant farm, forest, hobby farm, special, houseboat, garage, parking, business, double house, multiple family house, room |
| `sort_by` | string | Optional | created\_at, living\_area, lot\_area, price, price\_per\_area, zip\_code, rooms |
| `price_min` | integer | Optional | Any |
| `price_max` | integer | Optional | Any |
| `rooms_min` | integer | Optional | Any |
| `area_min` | integer | Optional | Any |
| `area_max` | integer | Optional | Any |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/boligsiden/previews?zip_codes[]=2100&sort_by=price" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/boligsiden?try=previews#playground) with your own parameters. 1 credit per successful call; failed calls are free.
