Bilbasen Scraper avatar

Bilbasen Scraper

Pricing

from $1.60 / 1,000 listings

Go to Apify Store
Bilbasen Scraper

Bilbasen Scraper

Extract car listings, prices, specifications, leasing terms, photos, and dealer info from bilbasen.dk — no login, no cookies, and no proxy setup required

Pricing

from $1.60 / 1,000 listings

Rating

0.0

(0)

Developer

Gen First

Gen First

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

Extract car listings, prices, specifications, leasing terms, photos, and dealer info from bilbasen.dk — no login, no cookies, and no proxy setup required. Bilbasen Scraper turns any Bilbasen search, single-ad, or dealer URL into clean, structured JSON you can export to CSV, Excel, JSON, XML, or HTML Table.

What does Bilbasen Scraper do?

  • 🔎 Scrapes search pages — paste any Bilbasen search-results URL and collect every listing on it (with automatic pagination).
  • 📄 Scrapes individual ads — paste a single ad URL to get its full detail record.
  • 🏢 Scrapes dealer pages — paste a dealer URL to collect every listing that dealer has published.
  • 🚗 Works across all vehicle types — cars, vans (inkl./ekskl. moms), trucks, buses, and autocampers.
  • 🧾 Returns rich structured data — title, description, price, images, full technical specifications, equipment list, vehicle ratings, leasing terms, and the dealer's profile.
  • 💰 Captures leasing offers — monthly payment, first payment, residual value, and contract duration for leasing ads.
  • 🔓 No login or session cookies required.
  • 🌐 Proxy preconfigured — uses Apify residential proxy (country DK) for reliable performance out of the box.
  • 📤 Export anywhere — JSON, CSV, Excel, XML, or HTML Table.

About Bilbasen

Bilbasen.dk is Denmark's largest online marketplace for vehicles. It lists new and used cars, vans, trucks, buses, and autocampers from both professional dealers and private sellers, with detailed technical specifications and leasing offers — making it a valuable source of Danish automotive market and pricing data.

What can you do with this data?

  • Price monitoring — track asking prices and leasing rates for specific makes and models over time.
  • Vehicle price comparison — benchmark prices across many comparable listings by model, year, and mileage.
  • Dealer inventory tracking — drop a dealer URL to monitor one dealer's full stock.
  • Leasing market analysis — compare monthly payments, first payments, and residual values across offers.
  • Dataset building — feed structured listing data into analytics, dashboards, or ML pipelines.

How to use Bilbasen Scraper

  1. Open the actor on Apify.
  2. Add one or more Bilbasen URLs to the urls field (search pages, single ads, or dealer pages).
  3. Set maxRecords to cap how many listings to collect (default 100).
  4. Click Start and let the scraper run.
  5. Download the results in JSON, CSV, Excel, XML, or HTML Table.

Input parameters

Input parameterDescriptionRequiredDefault value
urlsBilbasen URLs to scrape (search, single-ad, or dealer URLs)true{ "url": "https://www.bilbasen.dk/brugt/bil/bmw?includeengroscvr=true&includeleasing=false" }
maxRecordsMaximum number of records to scrapefalse100

URLs must start with https://www.bilbasen.dk — anything else is ignored. Besides typing URLs directly, the urls field accepts a link to a CSV file or a Google Sheet (via requestsFromUrl); the first column of each row is read as a URL.

Supported input URLs

Bilbasen Scraper accepts three kinds of URLs:

  • Search URL — collects every listing on the page (and paginates):
    • https://www.bilbasen.dk/brugt/bil/bmw?includeengroscvr=true&includeleasing=false
    • https://www.bilbasen.dk/brugt/varebil-ekskl-moms?includeengroscvr=true&includeleasing=false
    • https://www.bilbasen.dk/brugt/lastbil?pricetype=Leasing&sellertypes=dealer
    • Vehicle type, make, model, and query filters are all supported. Copy the URL straight from your browser after filtering on Bilbasen.
  • Single ad URL — collects one listing's full detail record:
    • https://www.bilbasen.dk/brugt/bil/vw/up/10-75-high-up-3d/6890231
    • Pattern: the URL ends with the numeric listing id. Works for every vehicle type, e.g. https://www.bilbasen.dk/brugt/lastbil/scania/p410/6774992.
  • Dealer URL — collects every listing from one dealer (and paginates):
    • https://www.bilbasen.dk/find-en-forhandler/bilforhandler--id22093
    • Pattern: https://www.bilbasen.dk/find-en-forhandler/<slug>--id<dealerId>. Results respect maxRecords.

You can mix all three URL types in the same urls list. Each output record's inputUrl field is set to the original URL you supplied that produced it.

Examples

Input

Scrape 20 search results from a given search URL:

{
"urls": ["https://www.bilbasen.dk/brugt/bil/bmw?includeengroscvr=true&includeleasing=false"],
"maxRecords": 20
}

Scrape up to 20 listings from a single dealer:

{
"urls": ["https://www.bilbasen.dk/find-en-forhandler/bilforhandler--id22093"],
"maxRecords": 20
}

Scrape one specific ad:

{
"urls": ["https://www.bilbasen.dk/brugt/bil/vw/up/10-75-high-up-3d/6890231"],
"maxRecords": 1
}

Output

Search and dealer runs return the same ad records as single-ad runs — one record per listing — with each record's inputUrl set to the URL you supplied.

The example below is illustrative: the dealer's identity, address, phone numbers, CVR, website, and image URLs have been replaced with fictional placeholders, and the images, attributes, and equipment arrays are shortened. Real records contain the full lists.

{
"id": "1234567",
"url": "https://www.bilbasen.dk/brugt/bil/mazda/cx-60/25-phev-takumi-comfort-aut-awd-5d/1234567",
"title": "Mazda CX-60 2,5 PHEV Takumi Comfort aut. AWD 5d",
"description": "Velholdt CX-60 PHEV Takumi Comfort med kun 52.000 km. Hvidmetallak, automatgear, læderkabine, 360 parkeringskamera og matrix LED forlygter. Kontakt os for fuld udstyrsliste.",
"price": 3358,
"currency": "DKK",
"brand": "Mazda",
"model": "CX-60",
"modelSeries": "2,5 PHEV Takumi Comfort aut. AWD 5d",
"modelYear": 2022,
"images": ["https://billeder.bilbasen.dk/bilinfo/<uuid-1>.jpeg?class=S1600X1600", "https://billeder.bilbasen.dk/bilinfo/<uuid-2>.jpeg?class=S1600X1600"],
"location": {
"line1": "Eksempelvej 12",
"line2": "2000 Frederiksberg",
"zipCode": 2000,
"city": "Frederiksberg",
"country": "Danmark"
},
"attributes": {
"Modelår": "2022",
"1. registrering": "11/2022",
"Kilometertal": "52.000 km",
"Drivmiddel": "Plug-in hybrid Benzin",
"Brændstofforbrug": "(WLTP) 66,7 km/l",
"Batterikapacitet": "14,5 kWh",
"CO2 udledning": "33 g/km",
"Ydelse": "327 hk/500 nm",
"Geartype": "Automatisk",
"Farve": "Hvidmetal",
"Nypris": "503.274 kr.",
"Type": "SUV",
"Trækhjul": "Firehjulstræk",
"Døre": "5"
},
"leasing": {
"Leasing type": "Finansiel, ekskl. moms",
"Månedlig ydelse": "3.358 kr.",
"Førstegangsydelse": "40.000 kr.",
"Totalpris i løbetiden": "80.296 kr.",
"Restværdi": "(køber hæfter) 330.000 kr.",
"Løbetid": "12 mdr.",
"Antal kilometer inkluderet": "Ikke relevant",
"Forsikring": "Ikke inkluderet",
"Service og vedligehold": "Ikke inkluderet"
},
"vehicleRatings": {
"average": 3.818181818181818,
"numberOfReviews": 11,
"subRatings": [
{ "name": "Køreegenskaber", "rating": 3.5454545454545454 },
{ "name": "Driftsomkostninger", "rating": 3.5454545454545454 },
{ "name": "Sikkerhed", "rating": 4.454545454545454 },
{ "name": "Værdi for pengene", "rating": 3.727272727272727 }
]
},
"equipment": ["Automatgear", "Adaptiv fartpilot", "360° kamera", "Matrix LED forlygter", "Læderindtræk", "Navigation", "Sædevarme", "Panoramatag"],
"seller": {
"id": 10000,
"name": "Eksempel Biler ApS",
"type": "Dealer",
"tenant": "Bilinfo",
"address": {
"line1": "Eksempelvej 12",
"line2": "2000 Frederiksberg",
"zipCode": 2000,
"city": "Frederiksberg",
"country": "Danmark"
},
"phoneNumbers": [
{ "info": "", "number": "00000000" },
{ "info": "", "number": "00000001" }
],
"sellerOtherItems": {
"url": "https://www.bilbasen.dk/find-en-forhandler/bilforhandler--id10000",
"numberOfListings": 29
},
"features": {
"isNemIdValidated": false,
"website": "https://www.example.dk",
"dealerProfile": {
"topLogo": { "url": "https://billeder.bilbasen.dk/bilinfo/<uuid-3>.jpg?class=S400X400" },
"image": { "url": "https://billeder.bilbasen.dk/bilinfo/<uuid-4>.jpeg?class=S400X400" },
"logo": { "url": "https://billeder.bilbasen.dk/bilinfo/<uuid-5>.jpg?class=S400X400" },
"description": "Vi er en leasingforhandler med fokus på gennemsigtige aftaler. Du er altid velkommen i vores garage til en snak om biler.",
"youTubeVideoId": "",
"uniqueSellingPoints": ["Fri kilometer i hele leasingperioden", "Kaskoforsikring på alle biler", "Perioder på 6, 12, 24 eller 36 mdr."],
"openingHours": [
{ "key": "Mandag - Torsdag", "value": "9:00 - 17:00" },
{ "key": "Fredag", "value": "9:00 - 16:30" },
{ "key": "Lørdag - Søndag", "value": "Efter aftale" }
]
},
"eidValidation": "None",
"cvr": "12345678"
},
"hasEmail": true,
"phoneNumberType": "DynamicVirtual",
"dsaText": "Forhandleren har accepteret, at de kun annoncerer i overensstemmelse med gældende lovgivning."
},
"inputUrl": "https://www.bilbasen.dk/find-en-forhandler/bilforhandler--id10000"
}

Output fields

Each scraped listing is one dataset record (stored in the ad_details dataset). Most fields are optional and may be null when Bilbasen does not provide a value.

FieldDescription
idBilbasen listing ID (e.g. 1234567).
urlCanonical URL of the ad.
titleListing title, composed as make + model + variant.
descriptionFull listing description text (newlines preserved).
pricePrice as a number. For leasing ads this is the monthly payment.
currencyCurrency code (DKK).
brandVehicle make (e.g. Mazda).
modelVehicle model (e.g. CX-60).
modelSeriesVariant / trim description (e.g. 2,5 PHEV Takumi Comfort aut. AWD 5d).
modelYearModel year as a number.
imagesArray of full-size image URLs.
locationWhere the vehicle is located: line1, line2, zipCode, city, country.
attributesFlat map of technical specifications — see below.
leasingFlat map of leasing terms, or null — see below.
vehicleRatingsModel review scores: average, numberOfReviews, and subRatings.
equipmentArray of equipment and options on the vehicle.
sellerThe seller's full record: name, type, address, phone numbers, CVR, and dealer profile.
inputUrlThe original URL you supplied that produced this record.

attributes

A flat key→value map (Record<string, string>) of the vehicle's technical specifications, with Danish keys taken straight from Bilbasen — for example Kilometertal, Drivmiddel, Geartype, Ydelse, CO2 udledning, Nypris, and Farve. Values are display strings including their unit ("52.000 km", "33 g/km"). The exact set of keys varies by vehicle type and drivetrain: electric and plug-in hybrid listings add keys like Batterikapacitet and Rækkevidde.

leasing

Present only on leasing ads; null otherwise. Same flat key→value shape as attributes, with keys such as Månedlig ydelse, Førstegangsydelse, Restværdi, Løbetid, and Forsikring.

Output formats

Results are stored in an Apify dataset (ad_details). After a run finishes you can download the data as JSON, CSV, Excel, XML, or HTML Table, or pull it via the Apify API.

❓ FAQ

Do I need proxies to scrape Bilbasen?

No. The actor is preconfigured to use Apify proxy for optimal performance — you don't need to set anything up.

Do I need to write code?

No. Bilbasen Scraper is a no-code tool: paste your URLs, set maxRecords, and run.

Both. Provide a search URL to collect many listings, or a single ad URL to collect one listing's full record. You can mix search, single-ad, and dealer URLs in the same urls list.

Can I scrape every listing from one dealer?

Yes. Paste the dealer's URL — https://www.bilbasen.dk/find-en-forhandler/<slug>--id<dealerId> — and the scraper collects that dealer's listings, up to maxRecords. Each result is a full ad record, identical to single-ad output, with inputUrl set to the dealer URL.

How many listings can I scrape?

Use maxRecords to set the cap (default 100). Increase it to collect more results across paginated search and dealer pages.

Does it work for vans, trucks, and autocampers?

Yes. Any Bilbasen vehicle type works — bil, varebil-inkl-moms, varebil-ekskl-moms, lastbil, bus, and autocamper — for both search and single-ad URLs.

Does it capture leasing offers?

Yes. Leasing ads include a leasing object with the monthly payment, first payment, residual value, contract duration, and what's included. On these ads, price is the monthly payment.

What if an ad can't be scraped?

The record is still written, as { inputUrl, url, title: "AD not found" }, so you can tell missing listings apart from silent gaps.

Scraping publicly available data is generally permitted, but you are responsible for how you use it. Listings include dealer contact details, which are personal data under the GDPR. Avoid collecting or storing personal data beyond what your use case requires, and comply with applicable laws and Bilbasen's terms. Consult legal counsel if you're unsure.

What export formats are available?

JSON, CSV, Excel, XML, and HTML Table — plus programmatic access via the Apify API.

Support

For custom or simplified outputs, or to report a bug, contact the developer at support (at) getmediumdata.com or open an issue.