# Bilbasen.dk Scraper \[$2/1K 💰] | Used Cars (`ahmed_jasarevic/bilbasen-dk-scraper`) Actor

Collect used car listings from Bilbasen.dk. Get make, model, year, mileage, price in DKK, fuel type, gearbox, battery range, seller details, photos and listing URLs.

- **URL**: https://apify.com/ahmed_jasarevic/bilbasen-dk-scraper.md
- **Developed by:** [Ahmed Jasarevic](https://apify.com/ahmed_jasarevic) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.80 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Bilbasen.dk Scraper – Used Car Listings

Collect used-car listings from **Bilbasen.dk**, Denmark's largest car marketplace. Paste normal Bilbasen search URLs and get make, model, variant, year, mileage, price in DKK, fuel type, gearbox, horsepower, battery range, seller details, location, photos and direct listing links. **$2.00 per 1,000 cars**, or **$1.90 per 1,000** on SILVER and **$1.80 per 1,000** on GOLD and higher.

### Danish Used Car Market Data

Bilbasen search pages expose a deep inventory of dealer and private listings. This Actor turns those public results into a structured dataset for dealers, marketplaces, price analysts, fleet buyers and AI dataset builders.

- **Price monitoring** — track asking prices by make, model and region.
- **Inventory analysis** — measure mileage, age and fuel-type mix.
- **Dealer intelligence** — compare seller stock and asking prices.
- **Marketplace feeds** — power car search and alert products.
- **AI datasets** — build structured vehicle-listing corpora.

### How It Works

![How the Bilbasen.dk Scraper works: paste used-car search URLs and save make, model, mileage, DKK price, fuel type, seller location, photos and listing links.](https://api.apify.com/v2/key-value-stores/oeuA0kLOyhbRM4fzt/records/how-it-works-bilbasen-dk-scraper.webp)

Copy a Bilbasen search URL after choosing a make, model, price range or other filters. The Actor opens the search results, follows the available result pages, removes duplicate listings and writes one row per car.

- Any normal Bilbasen search URL works, including make and model paths.
- Multiple searches can be combined in one run.
- Search filters and sorting from the URL are preserved.
- Duplicate cars across searches are removed automatically.

### Car Fields

| Field | Description |
|---|---|
| `adId` | Bilbasen listing ID |
| `make`, `model`, `variant` | Car identification |
| `title` | Combined listing title |
| `price`, `priceDkk` | Displayed price and numeric price in DKK |
| `originalPriceDkk`, `priceType` | Original price and price type |
| `firstRegistration`, `year`, `month` | First registration date |
| `mileage`, `mileageKm` | Displayed and numeric odometer reading |
| `fuelType`, `gearType` | Fuel and transmission |
| `powerHp`, `kmPerLiter` | Horsepower and fuel economy |
| `batteryKwh`, `rangeKm` | Battery capacity and electric range |
| `registrationTaxDkk`, `trailerWeightKg`, `accelerationSecs` | Registration tax, towing capacity and acceleration |
| `doors` | Number of doors |
| `sellerType`, `saleType` | Dealer or private seller and sale type |
| `city`, `zipCode`, `region`, `latitude`, `longitude` | Seller location |
| `picture`, `pictureCount`, `images` | Main photo, photo count and all image URLs |
| `details`, `description` | Equipment highlights and free text |
| `isNewListing` | Whether the listing is marked new |
| `url`, `source`, `scrapedAt` | Listing URL, source label and collection time |

### Input – Configure A Car Scrape

| Field | Type | Default | Notes |
|---|---|---|---|
| `searchUrls` | array | all used cars | Bilbasen search URLs with optional make, model and filter parameters |
| `maxItems` | integer | `100` | Total cars to save across all searches; `0` means all results |
| `concurrency` | integer | `5` | Search pages fetched in parallel, from 1 to 20 |
| `proxy` | object | — | Optional proxy configuration for larger runs |

Free plans can save up to 10 cars per run. Paid plans can raise `maxItems` and `concurrency`.

### Example Input – Tesla And BMW Searches

```json
{
  "searchUrls": [
    "https://www.bilbasen.dk/brugt/bil/tesla?includeengroscvr=true&includeleasing=false",
    "https://www.bilbasen.dk/brugt/bil/bmw/3-serie"
  ],
  "maxItems": 100,
  "concurrency": 5
}
```

### Example Output – One Used Car

```json
{
  "adId": 6936414,
  "make": "Tesla",
  "model": "Model Y",
  "variant": "RWD 5d",
  "title": "Tesla Model Y RWD 5d",
  "price": "244.600 kr",
  "priceDkk": 244600,
  "originalPriceDkk": 259800,
  "priceType": "Retail",
  "firstRegistration": "3/2023",
  "year": 2023,
  "month": 3,
  "mileage": "53.000 km",
  "mileageKm": 53000,
  "fuelType": "El",
  "gearType": "Automatisk gear",
  "powerHp": 299,
  "kmPerLiter": null,
  "batteryKwh": 62,
  "rangeKm": 455,
  "registrationTaxDkk": 0,
  "trailerWeightKg": 1600,
  "accelerationSecs": 6.9,
  "doors": 5,
  "sellerType": "Forhandler",
  "saleType": "Detailsalg",
  "city": "Silkeborg",
  "zipCode": 8600,
  "region": "Ostjylland",
  "latitude": 56.1697,
  "longitude": 9.5451,
  "picture": "https://cdn.example.com/car.jpg",
  "pictureCount": 15,
  "images": ["https://cdn.example.com/car-1.jpg", "https://cdn.example.com/car-2.jpg"],
  "details": ["Adaptive cruise control", "Panorama roof"],
  "description": "Well-maintained Model Y with full service history.",
  "isNewListing": false,
  "url": "https://www.bilbasen.dk/brugt/bil/tesla/model-y/rwd-5d/6936414",
  "source": "bilbasen-search-page",
  "scrapedAt": "2026-11-06T14:30:00.000Z"
}
```

### Export Listings And Schedule Price Checks

Download JSON, CSV, Excel or HTML from Apify Console, or send results to Google Sheets, Airtable, BigQuery, Make, Zapier, n8n or a webhook. Schedule daily runs to catch new listings and price changes.

### Related Actors

- [Autotrader Scraper](https://apify.com/ahmed_jasarevic/autotrader-scraper) — add UK vehicle listings
- [CarGurus Scraper](https://apify.com/ahmed_jasarevic/cargurus-scraper) — add US car listings and prices
- [Cars.com Scraper](https://apify.com/ahmed_jasarevic/cars-com-scraper) — add US dealer inventory
- [Blocket.se Scraper](https://apify.com/ahmed_jasarevic/blocket-se-scraper) — add Swedish marketplace listings

### FAQ

#### Which search URLs can I use?

Any normal Bilbasen search URL works: make, model, free-text search, price range, year, mileage and other filters. Copy the URL from your browser after setting the filters.

#### Can I combine several searches?

Yes. Add multiple URLs to `searchUrls`. Duplicate listings are removed automatically.

#### How do I collect every car in a search?

Set `maxItems` to `0`. For large searches, raise `concurrency` to 10 or 20 if you do not hit rate limits.

#### Why are battery or range fields empty?

Those fields are only present for electric and plug-in vehicles. Petrol and diesel listings return `null` for battery capacity and electric range.

#### How much does it cost?

Cars cost **$0.002 each** ($2.00 per 1,000) on FREE and BRONZE, **$0.0019** ($1.90 per 1,000) on SILVER, and **$0.0018** ($1.80 per 1,000) on GOLD and higher. A small Actor Start event applies to every run.

### For AI Agents & LLM Apps

Returns one row per used-car listing with vehicle, price, mileage, seller, location, media and equipment fields.

Minimal working input:

```json
{ "searchUrls": ["https://www.bilbasen.dk/brugt/bil/tesla"], "maxItems": 10 }
```

Output fields: `adId, make, model, variant, title, price, priceDkk, originalPriceDkk, priceType, firstRegistration, year, month, mileage, mileageKm, fuelType, gearType, powerHp, kmPerLiter, batteryKwh, rangeKm, registrationTaxDkk, trailerWeightKg, accelerationSecs, doors, sellerType, saleType, city, zipCode, region, latitude, longitude, picture, pictureCount, images, details, description, isNewListing, url, source, scrapedAt`.

Behaviors an agent should know:

- `searchUrls` defaults to all used cars when omitted.
- `maxItems: 0` means no item cap; `concurrency` is clamped to 1-20.
- Free plans are capped at 10 saved cars per run.
- Duplicate listings from overlapping searches are removed.

Billing: **$0.002 per car** on FREE/BRONZE, **$0.0019** on SILVER, **$0.0018** on GOLD and higher, plus a small Actor Start event.

### Legal & Compliance Disclaimer

This Actor is an independent tool. It is not affiliated with, endorsed by or sponsored by Bilbasen or Vend.

It collects vehicle information that Bilbasen publishes publicly. Prices, availability and listing details change frequently, so treat each dataset as a snapshot from the run time. Users are responsible for complying with Bilbasen's terms, intellectual-property rules and applicable consumer and data-protection laws.

### SEO Keywords

bilbasen scraper, bilbasen dk, danish used cars, used car data, car listings denmark, car marketplace scraper, denmark car market, used car prices, bilbasen api, vehicle listings, car dealer data, car scraping, automotive data, danish car prices, used cars dataset, car market data, bilbasen dataset, car listing scraper

# Actor input Schema

## `searchUrls` (type: `array`):

Bilbasen search URLs to scrape. Make/model paths and all filters are supported, for example https://www.bilbasen.dk/brugt/bil/tesla?includeengroscvr=true\&includeleasing=false

## `maxItems` (type: `integer`):

Maximum number of car listings to save across all search URLs. Set to 0 for all listings (free users are limited to 10).

## `concurrency` (type: `integer`):

Number of search pages fetched in parallel. 5 is a good balance between speed and rate limits.

## `proxy` (type: `object`):

Optional proxy. The scraper usually works without a proxy.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.bilbasen.dk/brugt/bil/tesla?includeengroscvr=true&includeleasing=false"
  ],
  "maxItems": 100,
  "concurrency": 5,
  "proxy": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `filterOptions` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchUrls": [
        "https://www.bilbasen.dk/brugt/bil/tesla?includeengroscvr=true&includeleasing=false"
    ],
    "proxy": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ahmed_jasarevic/bilbasen-dk-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchUrls": ["https://www.bilbasen.dk/brugt/bil/tesla?includeengroscvr=true&includeleasing=false"],
    "proxy": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("ahmed_jasarevic/bilbasen-dk-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchUrls": [
    "https://www.bilbasen.dk/brugt/bil/tesla?includeengroscvr=true&includeleasing=false"
  ],
  "proxy": {
    "useApifyProxy": false
  }
}' |
apify call ahmed_jasarevic/bilbasen-dk-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ahmed_jasarevic/bilbasen-dk-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Ww7hmwi2erBaHJuvm/builds/9R0r3a4YFzrfX5Ctm/openapi.json
