---
title: "Bilbasen API: Search | Perceptlayer"
description: "Search from Bilbasen as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/bilbasen/search
---

[APIs](https://perceptlayer.com/apis) / [Bilbasen](https://perceptlayer.com/apis/bilbasen) / Search

# Bilbasen: Search

Search from Bilbasen as JSON. 1 credit per successful call.

GET `/v1/bilbasen/search`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `category` | string | Optional | bil |
| `make` | string | Optional | Up to 50 characters |
| `model` | string | Optional | Up to 50 characters |
| `year_from` | integer | Optional | Any |
| `year_to` | integer | Optional | Any |
| `price_from` | integer | Optional | Any |
| `price_to` | integer | Optional | Any |
| `mileage_from` | integer | Optional | Any |
| `mileage_to` | integer | Optional | Any |
| `fuel` | string | Optional | 1, 2, 3, 6, 8, 11, 12 |
| `body_type` | string | Optional | Up to 50 characters |
| `horse_power_from` | integer | Optional | Any |
| `horse_power_to` | integer | Optional | Any |
| `consumption_from` | number | Optional | Any |
| `consumption_to` | number | Optional | Any |
| `photo_ads` | boolean | Optional | Any |
| `sort` | string | Optional | relevance, price\_asc, price\_desc, date\_desc, date\_asc, kml\_desc, distance\_asc, mileage\_asc, mileage\_desc, year\_desc, year\_asc, make\_asc, hk\_desc, moth\_asc, batterycapacity\_asc, batterycapacity\_desc, electricmotorrange\_asc, electricmotorrange\_desc |
| `page` | integer | Optional | Any |
| `page_size` | integer | Optional | Any |

## Example request

Bilbasen

GET /v1/bilbasen/search?category=bil&make=vw&model=tiguan&page=1&page\_size=3 

```
{
  "success": true,
  "data": {
    "listings": [
      {
        "listing_id": "7042703",
        "title": "VW Tiguan 2,0 TDi 190 Highline R-line DSG 4Motion 5d",
        "make_model_line": "VW Tiguan",
        "variant_line": "2,0 TDi 190 Highline R-line DSG 4Motion 5d",
        "year": 2017,
        "mileage_km": 181500,
        "fuel": "Diesel",
        "consumption_kml": 17.5,
        "location": "6920 Videbæk",
        "photo_url": "https://billeder.bilbasen.dk/bilinfo/60c9aa35-7b68-494b-a8fa-9f626f9bb00d.jpeg?class=RS236X163",
        "price": {
          "amount": 1796,
          "currency": "DKK",
          "display_value": "1.796 kr.",
          "is_call_for_price": false
        },
        "images": [
          "https://billeder.bilbasen.dk/bilinfo/483ed981-3138-41da-bd0a-fb9d667672e2.jpeg?class=S300X300",
          "https://billeder.bilbasen.dk/bilinfo/32968734-1079-4faa-9f59-78cbc4ab532d.jpeg?class=S300X300",
          "https://billeder.bilbasen.dk/bilinfo/c31ec890-884b-44fd-8928-b0d7cac1546d.jpeg?class=S300X300"
        ]
      },
      {
        "listing_id": "7042702",
        "title": "VW Tiguan 2,0 TDi 190 Highline R-line DSG 4Motion 5d",
        "make_model_line": "VW Tiguan",
        "variant_line": "2,0 TDi 190 Highline R-line DSG 4Motion 5d",
        "year": 2017,
        "mileage_km": 181500,
        "fuel": "Diesel",
        "consumption_kml": 17.5,
        "location": "6920 Videbæk",
        "photo_url": "https://billeder.bilbasen.dk/bilinfo/60c9aa35-7b68-494b-a8fa-9f626f9bb00d.jpeg?class=RS236X163",
        "price": {
          "amount": 224500,
          "currency": "DKK",
          "display_value": "224.500 kr.",
          "is_call_for_price": false
        },
        "images": [
          "https://billeder.bilbasen.dk/bilinfo/483ed981-3138-41da-bd0a-fb9d667672e2.jpeg?class=S300X300",
          "https://billeder.bilbasen.dk/bilinfo/32968734-1079-4faa-9f59-78cbc4ab532d.jpeg?class=S300X300",
          "https://billeder.bilbasen.dk/bilinfo/c31ec890-884b-44fd-8928-b0d7cac1546d.jpeg?class=S300X300"
        ]
      },
      {
        "listing_id": "6947105",
        "title": "VW Tiguan 2,0 TDi 150 Comfortline + DSG 5d",
        "make_model_line": "VW Tiguan",
        "variant_line": "2,0 TDi 150 Comfortline + DSG 5d",
        "year": 2019,
        "mileage_km": 158000,
        "fuel": "Diesel",
        "consumption_kml": 22.4,
        "location": "4700 Næstved",
        "photo_url": "https://billeder.bilbasen.dk/bilinfo/be2fbce8-735b-420b-a3f7-c22682e1f168.jpeg?class=RS236X163",
        "price": {
          "amount": 149500,
          "currency": "DKK",
          "display_value": "149.500 kr.",
          "is_call_for_price": false
        },
        "images": [
          "https://billeder.bilbasen.dk/bilinfo/1fccd8d2-4b2b-4b11-b799-9fd86c4dc588.jpeg?class=S300X300",
          "https://billeder.bilbasen.dk/bilinfo/8d4ebec9-2bcd-4d2a-9378-ed5198d6dd21.jpeg?class=S300X300",
          "https://billeder.bilbasen.dk/bilinfo/64ab5fe7-15f2-4176-aba3-bc9809e66678.jpeg?class=S300X300"
        ]
      }
    ],
    "pagination": {
      "page": 1,
      "page_size": 3,
      "total": 163,
      "total_dealer_hits": 142,
      "total_private_hits": 21,
      "next_page": 2,
      "live_snapshot": true
    }
  },
  "meta": {
    "duration_ms": 1113,
    "endpoint_family": "search"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 12 Nov 2026 and shortened.

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

## Response fields

Each item in `data.listings` has these 12 fields, read from a recorded call that returned 17 items. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `listing_id` | string |
| `title` | string |
| `make_model_line` | string |
| `variant_line` | string |
| `year` | integer |
| `mileage_km` | integer |
| `fuel` | string |
| `consumption_kml` | number |
| `location` | string |
| `photo_url` | url |
| `price` | object |
| `images` | string\[\] |
