bilbasen.dk APIwww.bilbasen.dk ↗
Search Denmark's largest car marketplace and retrieve full technical specs. Get listings by make/model, pricing, emissions, battery size, weight, and equipment.
curl -X GET 'https://api.parse.bot/scraper/06569b3f-40e4-4862-bce5-18168ec29cac/search_listings?make=bmw&page=1&model=3-serie' \ -H 'X-API-Key: $PARSE_API_KEY'
Search car listings on Bilbasen by make and optionally model. Returns up to 30 listings with basic info including price, properties (battery, fuel economy, horsepower, mileage, range), and listing URLs for detail lookups.
| Param | Type | Description |
|---|---|---|
| make | string | Car make/brand (e.g., 'bmw', 'tesla', 'volvo', 'mercedes'). Leave empty for all brands. |
| page | integer | Page number (1-based). |
| model | string | Car model (e.g., 'model-3', '3-serie', 'v60'). Requires make to be set. |
{
"type": "object",
"fields": {
"page": "integer - current page number",
"has_next": "boolean - whether more pages exist",
"listings": "array of listing objects with id, url, make, model, variant, price, display_price, location, mileage, fueltype, hk, and more",
"page_size": "integer - number of listings returned on this page",
"total_hits": "integer - total number of matching listings"
},
"sample": {
"data": {
"page": 1,
"has_next": true,
"listings": [
{
"hk": "306 hk",
"id": 6864519,
"kml": "",
"kmt": "Accel. 5,6 sek",
"url": "https://www.bilbasen.dk/brugt/bil/bmw/ix2/xdrive30-m-sport-premium-5d/6864519",
"make": "BMW",
"moth": "Ejerafgift 920 kr/år",
"doors": 5,
"model": "iX2",
"price": 369900,
"mileage": "21.000 km",
"trailer": "1.200 kg trækvægt",
"variant": "xDrive30 M-Sport Premium 5d",
"fueltype": "El",
"geartype": "Automatisk gear",
"location": {
"lat": 56.181263,
"lon": 10.126045,
"city": "Aarhus V",
"region": "Østjylland",
"zipCode": 8210
},
"image_url": "https://billeder.bilbasen.dk/bilinfo/e57d6f15-6001-4aa8-9a24-927c854361c5.jpeg?class=S640X640",
"sale_type": "Detailsalg",
"price_type": "Retail",
"description": "Denne bil er en del af BMW Premium Selection...",
"seller_type": "Forhandler",
"display_price": "369.900 kr",
"original_price": null,
"batterycapacity": "65 kWh batteri",
"electricmotorrange": "Rækkevidde 427 km",
"firstregistrationdate": "1/2025"
}
],
"page_size": 30,
"total_hits": 2417
},
"status": "success"
}
}About the bilbasen.dk API
The Bilbasen.dk API provides access to Denmark's largest used car marketplace through 2 endpoints. Use search_listings to query vehicles by make and model, returning up to 30 listings per page with price, mileage, fuel type, and horsepower. Use get_listing_details to pull full technical specifications for any listing, including CO2 emissions, battery capacity, curb weight, MSRP (nypris), dimensions, and a complete equipment list.
Search Listings
The search_listings endpoint accepts a make parameter (e.g. bmw, tesla, volvo) and an optional model parameter (e.g. model-3, 3-serie). Results are paginated using a 1-based page parameter. Each response includes total_hits, has_next, and a page_size count alongside the listings array. Each listing object carries an id, url, make, model, variant, price, display_price, location, mileage, fueltype, hk, and any available property fields such as battery range or fuel economy. The url field is what you pass into the detail endpoint.
Listing Details
The get_listing_details endpoint takes a listing_url from the search results and returns the full data for that car. The specifications object contains all key-value technical pairs — model year, mileage, fuel type, range, weight, and dimensions. The key_specs object surfaces the most commonly compared fields directly: emissions_g_per_km, total_weight, empty_weight, and battery_capacity. The equipment array lists all included features as strings, and listing_price gives the current asking price.
Coverage and Data Freshness
Bilbasen is Denmark's primary used-car marketplace, so listings are predominantly Danish inventory priced in Danish kroner. The search_listings endpoint returns live results reflecting the current state of the marketplace. Calling get_listing_details with a listing URL that has since been sold or removed will return an empty or partial response — checking has_next and iterating pages helps build a stable working set before doing bulk detail lookups.
- Build a price comparison tool for Danish used cars filtered by make and model.
- Track CO2 emissions (
emissions_g_per_km) across EV and ICE listings to support green vehicle research. - Aggregate battery capacity and range data from
key_specsto compare electric vehicles on the Danish market. - Monitor MSRP (
nypris) vs. currentlisting_priceto identify depreciation patterns by brand. - Compile full equipment lists from
get_listing_detailsto match buyer feature requirements against live inventory. - Enumerate
total_hitsper make/model combination to analyze inventory depth on the Danish market. - Feed curb weight and dimension data from
specificationsinto logistics or transport planning tools.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Bilbasen have an official developer API?+
What does `search_listings` return when no `make` is specified?+
make empty returns listings across all brands on the marketplace, paginated at up to 30 results per page. You can narrow results by supplying both make and model, but model requires make to be set first. The total_hits field tells you how many total results match the query.Are new-car (dealer stock) listings covered, or only used cars?+
specifications object includes nypris (MSRP) as a reference field, but the marketplace itself focuses on used-car listings. You can fork this API on Parse and revise it to target a different listing segment or a new-car source if needed.Can I filter listings by price range, fuel type, or mileage in the search endpoint?+
search_listings endpoint currently supports filtering by make and model only. Filtering by price, mileage, or fuel type is not a built-in parameter. You can fork this API on Parse and revise it to add those filter parameters.What happens if a listing URL is no longer active when I call `get_listing_details`?+
get_listing_details will return an empty or partial response for that URL. It is worth validating listings freshly from search_listings before making bulk detail calls, since marketplace inventory changes continuously.