Bilbasen Dk Scraper
Pricing
Pay per usage
Go to Apify Store
Bilbasen Dk Scraper
🚗 Bilbasen.dk Vehicle Scraper

This Apify actor allows you to scrape vehicle listings from Bilbasen.dk, Denmark's largest vehicle marketplace. Extract comprehensive vehicle data including pricing, specifications, images, and dealer information for cars, vans, trucks, and other vehicles.
🚀 Key Features
- 🔎 Scrape vehicle listings from any Bilbasen.dk search URL
- 🚙 Support for all vehicle types (cars, vans, trucks, motorcycles)
- 💰 Extract pricing data (retail, leasing, wholesale prices)
- 🖼️ High-resolution vehicle images extraction
- 📍 Dealer information and logos
- 🏷️ Ad types detection (KlikXtra, Plus Ads, promoted listings)
- 🔧 Vehicle specifications (make, model, variant)
- 🌐 Proxy support for stable, anonymous scraping
- 📄 Structured JSON-LD data extraction
- 📊 Automatic pagination support
❓ Why Use This Actor
- ✅ Automate vehicle listing collection from Bilbasen.dk
- ✅ Build datasets for Danish automotive market analysis
- ✅ Monitor vehicle prices and availability trends
- ✅ Compare prices across dealers and listing types
- ✅ Integrate vehicle data into comparison platforms
- ✅ Track leasing and financing options
👥 Who Is This Actor Suitable For?
- 🚗 Auto dealers and vehicle comparison websites
- 📈 Automotive market researchers and analysts
- 🧠 Data scientists studying Danish vehicle markets
- 🧰 Developers building automotive platforms
- 💼 Fleet managers evaluating purchase options
- 📚 Academic researchers studying automotive markets
📥 Input Schema
The actor uses a simple single-field input for maximum flexibility:
{"startUrl": "https://www.bilbasen.dk/brugt/bil?leasingtype=operational&pricetype=Leasing","maxItems": 100,"proxyConfiguration": {"useApifyProxy": false}}
Input Parameters
| Parameter | Type | Description | Required | Default |
|---|---|---|---|---|
startUrl | string | Bilbasen.dk search URL to scrape | Yes | - |
maxItems | integer | Maximum number of vehicles to scrape. Set to 0 for unlimited. | No | 100 |
proxyConfiguration | object | Proxy settings for scraping | No | { "useApifyProxy": false } |
📤 Output Schema
The actor outputs structured vehicle listing data in JSON format:
[{"externalId": 6749515,"uri": "https://www.bilbasen.dk/klikxtra/6749515?pageid=102","media": [{"mediaType": "Picture","url": "https://billeder.bilbasen.dk/bilinfo/72e057e3-a676-43e0-91f7-f03d20f9c8c9.jpeg?class=S640X640"},{"mediaType": "Picture","url": "https://billeder.bilbasen.dk/bilinfo/2f4a74a8-6cac-4bea-aacc-6cf34a960b07.jpeg?class=S640X640"},{"mediaType": "DealerLogo","url": "https://billeder.bilbasen.dk/bilinfo/3bbb2b0d-afe7-435b-b911-78f1863e4958.jpg?class=S400X400"}],"price": {"price": 199800.0,"displayPrice": "199.800 kr","unit": "kr","originalPrice": 219800.0,"priceType": "RetailExclVat"},"make": "VW","model": "Crafter 30","variant": "2,0 TDi 177 Kassevogn L3H2","isKlikXtra": true,"isExtraPromoted": false,"isPlusAd": false,"saleType": "Detailsalg"}]
Output Fields
Basic Information:
externalId: Unique vehicle listing identifieruri: Direct link to the vehicle listing pagemake: Vehicle manufacturer (e.g., "VW", "BMW", "Audi")model: Vehicle model namevariant: Specific variant/trim information
Pricing:
price.price: Numeric price value for calculationsprice.displayPrice: Formatted price with currency (e.g., "199.800 kr")price.unit: Currency unit (typically "kr" for DKK)price.originalPrice: Original price before discount (optional)price.priceType: Type of pricing (e.g., "RetailExclVat", "LeasingExclVat", "Wholesale")
Media:
media: Array of media objectsmediaType: Type of media ("Picture" or "DealerLogo")url: Direct URL to the image
Ad Features:
isKlikXtra: Whether this is a premium KlikXtra listingisExtraPromoted: Whether the listing is extra promotedisPlusAd: Whether this is a Plus advertisementsaleType: Sale type (e.g., "Detailsalg", "Privat")
🎯 Usage Examples
Example 1: Scrape Operational Leasing Vehicles
{"startUrl": "https://www.bilbasen.dk/brugt/bil?leasingtype=operational&pricetype=Leasing","maxItems": 100}
Example 2: Scrape VW Crafter Vans
{"startUrl": "https://www.bilbasen.dk/brugt/bil/vw/crafter","maxItems": 50}
Example 3: Scrape Electric Vehicles (BMW, Audi, Tesla)
{"startUrl": "https://www.bilbasen.dk/brugt/bil?fuel=3&fuel=2&fuel=11&fuel=12&make=bmw&make=audi&make=tesla","maxItems": 200}
Example 4: Scrape Used Cars with Price Range
{"startUrl": "https://www.bilbasen.dk/brugt/bil?PriceFrom=100000&PriceTo=300000&YearFrom=2020","maxItems": 150}
Example 5: Scrape Specific Search Results Page
{"startUrl": "https://www.bilbasen.dk/brugt/bil/audi/a4?fuel=3&YearFrom=2018&PriceFrom=0&PriceTo=500000&page=1","maxItems": 0}
📊 Data Views
The actor provides a pre-configured data view in the Apify platform:
Overview
Displays essential vehicle information:
- Vehicle ID, Make, Model, Variant
- Vehicle URL and Images
- Price (display format and raw value)
- Price Type and Sale Type
- Ad Features (KlikXtra, Plus Ad status)
⚠️ Important Notes
- URL Format: Use any valid Bilbasen.dk search URL with your preferred filters
- Pagination: The actor automatically handles pagination - just provide the first page URL
- maxItems: Set to
0for unlimited scraping (will scrape all results from the search) - Data Source: Extracts data from JSON-LD structured data embedded in the page HTML
- Proxy Recommended: For large scraping jobs, using Apify Proxy is recommended for stability
- Rate Limiting: The actor uses
maxConcurrency: 5to respect server resources
🏗️ Technical Details
How It Works
- Accepts any Bilbasen.dk search URL as input
- Fetches the HTML page using CheerioCrawler
- Extracts JSON-LD structured data from
<script type="application/ld+json">tags - Parses the ItemList schema containing vehicle listings
- Automatically handles pagination by incrementing the page parameter
- Respects the
maxItemslimit across all pages
This actor is for educational and research purposes. Please review Bilbasen.dk's terms of service and robots.txt before extensive scraping. Always respect rate limits and server resources.
