# Bilbasen Cars Scraper: Brugte biler (`getascraper/bilbasen-cars-scraper`) Actor

Extract used-car listings from Bilbasen.dk, Denmark's largest car marketplace, with price, mileage, model year, fuel type, and transmission filtered server-side. JSON or CSV rows ready for Sheets, Make, and Zapier.

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

## Pricing

from $0.65 / 1,000 car listings

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 Cars Scraper: Brugte biler

<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;margin-bottom:0">
<tr>
<td colspan="4" style="padding:14px 18px;background:#FDECEB;border:none;border-top:3px solid #E2231A;border-left:1px solid #F5C6C2;border-right:1px solid #F5C6C2;color:#1C1917;border-radius:10px 10px 0 0">
<span style="font-size:16px;font-weight:700;color:#1C1917">Denmark is one stop in a ten-market European used-car dataset.</span> <span style="font-size:15px;color:#57534E">Bilbasen.dk covers Danish classifieds with native price, mileage, and seller filters; the actors below extend the same row shape across Benelux, DACH, Iberian, and UK markets.</span>
</td>
</tr>
<tr>
<td colspan="4" style="padding:10px 14px;background:#E2231A;border:none;border-left:1px solid #F5C6C2;border-right:1px solid #F5C6C2;color:#FFFFFF">
<span style="color:#FFFFFF;font-size:14px;font-weight:700;letter-spacing:0.5px">EUROPEAN USED-CAR CLASSIFIEDS COVERAGE</span>
<span style="color:#FFFFFF;font-size:13px">&nbsp;&nbsp;&bull;&nbsp;&nbsp;Cross-border sourcing and pricing data spanning Benelux, Nordic, DACH, Iberian, and UK classifieds, plus a pan-EU dealer platform. Ten separate markets, not one.</span>
</td>
</tr>
<tr>
<td style="padding:10px 12px;border:none;border-left:1px solid #F5C6C2;border-bottom:1px solid #F5C6C2;vertical-align:top;width:25.0%;background:#FDECEB;color:#1C1917">
<span style="overflow-wrap:break-word;word-break:break-word"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/jNDbFabbVxMhnQNb4-actor-ti8eKSu6uj7OaYwmE-DtDwahgDq0-images_%2826%29.jpeg" width="20" height="20" style="vertical-align:middle;border-radius:4px">&nbsp;<a href="https://apify.com/getascraper/bilbasen-cars-scraper" style="color:#E2231A;text-decoration:none;font-weight:700;font-size:13px">Bilbasen (DK)</a></span><br>
<span style="color:#E2231A;font-size:11px;font-weight:700">&#10148; You are here</span>
</td>
<td style="padding:10px 12px;border:none;border-left:1px solid #F5C6C2;border-bottom:1px solid #F5C6C2;vertical-align:top;width:25.0%;background:#FFFFFF;color:#1C1917">
<span style="overflow-wrap:break-word;word-break:break-word"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/jNDbFabbVxMhnQNb4-actor-nxKtSMSY8vKIHcbbk-DuND4nZUfs-0x0_%281%29.png" width="20" height="20" style="vertical-align:middle;border-radius:4px">&nbsp;<a href="https://apify.com/getascraper/blocket-cars-scraper" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:13px">Blocket (SE)</a></span><br>
<span style="color:#57534E;font-size:11px">Swedish classifieds</span>
</td>
<td style="padding:10px 12px;border:none;border-left:1px solid #F5C6C2;border-bottom:1px solid #F5C6C2;vertical-align:top;width:25.0%;background:#FFFFFF;color:#1C1917">
<span style="overflow-wrap:break-word;word-break:break-word"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/jNDbFabbVxMhnQNb4-actor-BfVUfAfdvV4a4ajL3-sVbNQD5NgK-cinchuk_logo.jpeg" width="20" height="20" style="vertical-align:middle;border-radius:4px">&nbsp;<a href="https://apify.com/getascraper/cinch-co-uk-scraper" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:13px">Cinch (UK)</a></span><br>
<span style="color:#57534E;font-size:11px">UK online dealer</span>
</td>
<td style="padding:10px 12px;border:none;border-left:1px solid #F5C6C2;border-right:1px solid #F5C6C2;border-bottom:1px solid #F5C6C2;vertical-align:top;width:25.0%;background:#FFFFFF;color:#1C1917">
<span style="overflow-wrap:break-word;word-break:break-word"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/jNDbFabbVxMhnQNb4-actor-ckYdwgUHwTVD337SK-zVHl7h08Kh-Kleinanzeigen.webp" width="20" height="20" style="vertical-align:middle;border-radius:4px">&nbsp;<a href="https://apify.com/getascraper/kleinanzeigen-cars-scraper" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:13px">Kleinanzeigen (DE)</a></span><br>
<span style="color:#57534E;font-size:11px">German classifieds</span>
</td>
</tr>
</table>
<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0;margin-top:0;margin-bottom:0">
<tr>
<td style="padding:24px 28px;background:#FDECEB;border:1px solid #F5C6C2;border-top:none;color:#1C1917">
<span style="font-size:23px;font-weight:800;color:#1C1917;line-height:1.3">Denmark's biggest car marketplace, turned into clean rows.</span><br>
<span style="font-size:15px;color:#57534E;line-height:1.6">Scrape public Bilbasen.dk car listings with real price, mileage, model year, fuel, transmission, and seller filters, and export prices, specs, and photos to Sheets, Excel, or n8n.</span>
</td>
</tr>
</table>
<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0;margin-top:0">
<tr>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;border:1px solid #F5C6C2;vertical-align:top;border-top:none;color:#1C1917;border-radius:0 0 0 10px">
<span style="font-size:15px;font-weight:800;color:#E2231A">🎯 Real filters</span><br>
<span style="font-size:12px;color:#57534E">Price, mileage, model year, fuel, transmission, and seller type.</span>
</td>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;border:1px solid #F5C6C2;border-left:none;vertical-align:top;border-top:none;color:#1C1917">
<span style="font-size:15px;font-weight:800;color:#E2231A">⚡ EV-aware</span><br>
<span style="font-size:12px;color:#57534E">Captures electric range and plug-in specs alongside classic fuel economy.</span>
</td>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;border:1px solid #F5C6C2;border-left:none;vertical-align:top;border-top:none;color:#1C1917">
<span style="font-size:15px;font-weight:800;color:#E2231A">🪪 Seller context</span><br>
<span style="font-size:12px;color:#57534E">Private seller or dealer, right on every record.</span>
</td>
<td style="padding:14px 12px;width:25%;background:#FFFFFF;border:1px solid #F5C6C2;border-left:none;vertical-align:top;border-top:none;color:#1C1917;border-radius:0 0 10px 0">
<span style="font-size:15px;font-weight:800;color:#E2231A">🖼️ Full galleries</span><br>
<span style="font-size:12px;color:#57534E">Every public listing photo, not just the cover image.</span>
</td>
</tr>
</table>

Most Bilbasen scrapers hand you a keyword box and hope. This Actor exposes the same price, mileage, model year, fuel, transmission, and seller filters you'd use on the site itself, so what you scrape is already the inventory you actually want.

### 🔍 What does Bilbasen Cars Scraper do?

Bilbasen Cars Scraper turns public car listings from Denmark's largest car marketplace into structured data: price, model year, mileage, fuel type, transmission, electric range, seller details, and full photo galleries.

Build a filtered search for price range, mileage range, model year, fuel type, transmission, and seller type, or paste a Bilbasen.dk search or listing link built on the site itself for a specific make or model. The Actor returns only data present on the public listing.

### 💡 Why use it?

- **Dealers and sourcing teams** can pull inventory under a price and mileage ceiling without checking listings one by one.
- **Market researchers** can track price, model year, and mileage across comparable vehicles for pricing analysis.
- **Buyers and resellers** can monitor a filtered slice of the market on a schedule and catch new listings as they post.

### 🧭 How to use it

<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0">
<tr>
<td style="padding:16px 14px;width:33%;background:#FDECEB;border:1px solid #F5C6C2;border-radius:10px 0 0 10px;vertical-align:top;color:#1C1917">
<span style="font-size:12px;font-weight:800;color:#E2231A;letter-spacing:1px">STEP 1</span><br>
<span style="font-size:14px;font-weight:700;color:#1C1917">Set your filters</span><br>
<span style="font-size:12px;color:#57534E">Price, mileage, model year, fuel, transmission, and seller type.</span>
</td>
<td style="padding:16px 14px;width:33%;background:#FDECEB;border:1px solid #F5C6C2;border-left:none;vertical-align:top;color:#1C1917">
<span style="font-size:12px;font-weight:800;color:#E2231A;letter-spacing:1px">STEP 2</span><br>
<span style="font-size:14px;font-weight:700;color:#1C1917">Run the Actor</span><br>
<span style="font-size:12px;color:#57534E">Set how many listings and pages to collect.</span>
</td>
<td style="padding:16px 14px;width:33%;background:#FDECEB;border:1px solid #F5C6C2;border-left:none;border-radius:0 10px 10px 0;vertical-align:top;color:#1C1917">
<span style="font-size:12px;font-weight:800;color:#E2231A;letter-spacing:1px">STEP 3</span><br>
<span style="font-size:14px;font-weight:700;color:#1C1917">Export results</span><br>
<span style="font-size:12px;color:#57534E">Download your dataset in JSON, CSV, Excel, or HTML.</span>
</td>
</tr>
</table>

### 🧾 Input

| Field | Type | Required | Description |
|---|---|---|---|
| `startUrls` | array of URLs | No | Paste public Bilbasen.dk car search or listing links, built however you like on the site. Overrides the filters below. |
| `make` | string | No | Restrict to a single car make, such as Audi, Skoda, or Mercedes-Benz. Type it straight into the form, no pasted link needed. |
| `model` | string | No | Restrict to a single model within the chosen make, such as A4 or Scala. Only used when `make` is also set. |
| `priceFromDkk` / `priceToDkk` | integer | No | Minimum and maximum asking price, in Danish kroner. |
| `yearFrom` / `yearTo` | integer | No | Earliest and latest model year. |
| `mileageFromKm` / `mileageToKm` | integer | No | Minimum and maximum odometer reading, in kilometers. |
| `fuelTypes` | array of enum | No | One or more fuel types: petrol, diesel, electric, petrol hybrid, diesel hybrid, or the plug-in variants of each. |
| `transmissions` | array of enum | No | Manual, automatic, or both. |
| `sellerTypes` | array of enum | No | Dealer, private seller, or both. |
| `maxItems` | integer | No | Maximum listings saved to the dataset. Default `25`. |
| `maxPages` | integer | No | Maximum search result pages read. Default `5`. |
| `monitorMode` | enum | No | All listings (default), new listings only, or monitor new listings plus price changes. Use with a schedule to track a saved search over time. |
| `monitorName` | string | No | A label for the saved search in the monitoring modes. Runs sharing a name share memory of past listings. Defaults to `default`. |
| `reportRemoved` | boolean | No | In monitor mode, also report listings that have dropped out of the results since the last run. Default `false`. |
| `proxyConfiguration` | object | No | Optional proxy settings. Not required for normal use. |

### 📦 Output

Every record includes the listing link, price, model year, mileage, fuel type, transmission or electric range, seller details, and the full public photo gallery.

```json
{
  "listing_url": "https://www.bilbasen.dk/brugt/bil/skoda/scala/15-tsi-150-style-dsg-5d/6931779",
  "listing_id": "6931779",
  "title": "Skoda Scala",
  "make": "Skoda",
  "model": "Scala",
  "trim": "1,5 TSi 150 Style DSG 5d",
  "price": 160000,
  "currency": "DKK",
  "registration_month": 7,
  "registration_year": 2020,
  "mileage_km": 77000,
  "fuel_efficiency_km_per_l": 16.4,
  "fuel_type": "Benzin",
  "transmission": "Automatisk gear",
  "location": "Gadstrup, Syd- og Vestsjælland",
  "seller_type": "Forhandler",
  "image_url": "https://billeder.bilbasen.dk/bilinfo/37e7e911-59ea-4756-9a0e-fec513496641.jpeg?class=S960X960",
  "scraped_at": "2026-08-20T13:37:19.906Z"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### 📊 Data table

| Field | Type | Description |
|---|---|---|
| `listing_url`, `listing_id` | string | Public listing link and its source ID. |
| `title` | string | Full listing headline, such as "Skoda Scala". |
| `make`, `model` | string | Car make and model, split out from the title for easy sorting and grouping. |
| `trim` | string | Trim or variant text, such as "1,5 TSi 150 Style DSG 5d". |
| `price`, `currency`, `price_note` | number, string | Asking price, currency (DKK), and any qualifier the source shows, such as "Uden afgift" or "Engros/CVR". |
| `registration_month`, `registration_year` | number | First-registration month and model year. |
| `mileage_km` | number | Odometer reading in kilometers. |
| `range_km` | number | Electric range in kilometers, on electric and plug-in listings that publish one. |
| `fuel_efficiency_km_per_l` | number | Fuel economy in kilometers per liter, on petrol, diesel, hybrid, and plug-in listings that publish one. |
| `fuel_type`, `transmission` | string | Vehicle specification fields, when published. Many electric listings don't publish a separate transmission value. |
| `location`, `seller_type` | string | Seller city and whether the seller is a dealer or private. |
| `image_url`, `image_urls` | string, array | Primary photo and the full public gallery. |
| `is_new_listing` | boolean | Whether the source page currently flags this as a new listing. |
| `source_url` | string | The search URL that produced this listing. |
| `scraped_at` | string | Timestamp of when this record was built. |
| `change_type` | string | In the monitoring modes only: `NEW`, `PRICE_DROP`, `PRICE_INCREASE`, or `REMOVED`. |
| `previous_price`, `price_change`, `price_change_percent` | number | In monitor mode, the earlier price and how far it moved when a price change is detected. |
| `first_seen_at`, `last_seen_at`, `detected_at` | string | In the monitoring modes, when the listing was first seen, last seen, and when the change was detected. |

Any field the source listing does not publish is left out of that record entirely, so you never see placeholder or made-up values.

### 💰 Pricing

This Actor runs on Apify's pay-per-event pricing. You only pay for listings actually returned, and an empty or failed run costs nothing beyond a few seconds of compute. There is no subscription.

### ⭐ Enjoying Bilbasen Cars Scraper?

<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0">
<tr>
<td style="padding:20px 24px 14px;background:#FDECEB;border:1px solid #F5C6C2;border-left:5px solid #E2231A;border-radius:10px 10px 0 0;color:#1C1917">
<span style="font-size:20px;letter-spacing:4px">⭐ ⭐ ⭐ ⭐ ⭐</span><br>
<span style="font-size:17px;font-weight:800;color:#1C1917">This Actor just saved you from checking Bilbasen listings one at a time.</span><br>
<span style="font-size:14px;color:#57534E">A 5-star rating takes 10 seconds and helps other dealers, researchers, and buyers find it. Your feedback also tells us what to build next.</span>
</td>
</tr>
<tr>
<td style="padding:0;background:#E2231A;border:1px solid #E2231A;border-left:5px solid #E2231A;border-top:none;border-radius:0 0 10px 10px;text-align:center;color:#FFFFFF">
<a href="https://apify.com/getascraper/bilbasen-cars-scraper/reviews" style="display:block;padding:13px 16px;color:#FFFFFF;text-decoration:none;font-weight:800;font-size:15px;letter-spacing:0.3px">★&nbsp;&nbsp;Rate this Actor on Apify</a>
</td>
</tr>
</table>

### 🛠️ Tips and advanced options

- Set both `priceFromDkk` and `priceToDkk` together to cut down on irrelevant results fast.
- For a specific make or model, type it into the `make` and `model` fields. You can still paste a search link into `startUrls` instead if you built one on Bilbasen.dk.
- To watch a saved search over time, schedule the Actor and set `monitorMode` to new listings only or monitor. Give each saved search its own `monitorName` so they do not share memory.
- Electric and plug-in hybrid listings publish an electric range (`range_km`) instead of, or alongside, fuel economy. A missing `fuel_efficiency_km_per_l` on an electric car is expected, not an error.
- A small number of listings show a price qualifier such as "Uden afgift" (tax-excluded) or "Engros/CVR" (wholesale, business buyers only) in `price_note`. This is how the source site displays them; the Actor doesn't try to guess which is which.

### ❓ FAQ

**Can I filter by a specific make or model?**
Yes. Type the make (and optionally the model) straight into the `make` and `model` fields, for example Audi and A4. Each listing is checked against your choice, so you get back only that make and model. You can still paste a `startUrls` link built on the site if you prefer.

**Why is `transmission` missing on some listings?**
Bilbasen's own listing cards frequently omit a separate transmission label on electric cars. This Actor reports exactly what the source page shows, rather than guessing.

**Why is a field missing from an item?**
Bilbasen listings don't publish every detail. Missing values are omitted rather than replaced with guesses.

**Is this affiliated with Bilbasen?**
No. This is an independent tool that collects publicly available listing information. Use it in line with applicable rules and the source website's terms.

Found a bug or want a feature added? Open an issue on the Actor's Issues tab, or reach out for a custom version of this Actor.

### 🔗 Other actors

- [Blocket Cars Scraper: Bilar till salu](https://apify.com/getascraper/blocket-cars-scraper) ↗ - Used-car listings from Sweden's largest classifieds site.
- [Marktplaats Cars Scraper: Tweedehands auto's](https://apify.com/getascraper/marktplaats-cars-scraper) ↗ - Used-car listings from the Netherlands.
- [Kleinanzeigen Autos Scraper: Dealer Data](https://apify.com/getascraper/kleinanzeigen-cars-scraper) ↗ - Dealer-ready German car inventory with native filters.
- [OtoMoto.pl Cars Scraper: Samochody używane](https://apify.com/getascraper/otomoto-cars-scraper) ↗ - Used-car inventory from Poland's largest car marketplace.
- [Standvirtual Cars Scraper: Carros usados](https://apify.com/getascraper/standvirtual-cars-scraper) ↗ - Used-car listings from Portugal's largest car marketplace.

# Changelog

This Actor's version history is a separate document: https://apify.com/getascraper/bilbasen-cars-scraper/changelog.md

# Actor input Schema

## `startUrls` (type: `array`):

Paste one or more Bilbasen.dk car search or listing links directly, built however you like on the site itself, such as a specific make or model. When set, this replaces the filters below. Leave empty to use the filters below to build the search for you.

## `make` (type: `string`):

Restrict to a single car make, for example Audi, Skoda, or Mercedes-Benz. Bilbasen keeps make and model in the page URL rather than a tick-box, so neither top competitor lets you type them as plain filter fields; this does. Matched against each listing, so an unknown make simply returns nothing rather than the wrong cars. Ignored when Start URLs is set.

## `model` (type: `string`):

Restrict to a single model within the chosen make, for example A4, Scala, or Corolla. Only used when Make is also set.

## `priceFromDkk` (type: `integer`):

Minimum asking price in Danish kroner.

## `priceToDkk` (type: `integer`):

Maximum asking price in Danish kroner.

## `yearFrom` (type: `integer`):

Earliest model year.

## `yearTo` (type: `integer`):

Latest model year.

## `mileageFromKm` (type: `integer`):

Minimum odometer reading in kilometers.

## `mileageToKm` (type: `integer`):

Maximum odometer reading in kilometers.

## `fuelTypes` (type: `array`):

Restrict to one or more fuel types.

## `transmissions` (type: `array`):

Restrict to one or more transmission types.

## `sellerTypes` (type: `array`):

Restrict to dealer or private-seller listings.

## `proxyConfiguration` (type: `object`):

Not needed. The Actor connects to Bilbasen.dk directly, which is the only way the site's bot check passes reliably, so any proxy selected here is ignored. Leave it off.

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

Maximum number of unique car listings to return.

## `maxPages` (type: `integer`):

Maximum number of search pages to visit.

## `monitorMode` (type: `string`):

All listings returns every match (the default). New listings only returns listings not seen in earlier runs with the same monitor name. Monitor also reports price drops and price increases on listings seen before. Schedule the Actor and use a monitoring mode to track a filtered slice of the market over time.

## `monitorName` (type: `string`):

A label for this saved search, used only in the monitoring modes. Runs sharing a name share the same memory of past listings, so keep one name per filter set (for example 'ev-under-200k'). Defaults to 'default'.

## `reportRemoved` (type: `boolean`):

In Monitor mode, also emit listings that were seen before but are no longer in the results, marked as removed. Only reliable when the run covers every matching listing (set Maximum Listings and Maximum Search Pages high enough to reach the end of the results).

## Actor input object example

```json
{
  "startUrls": [],
  "fuelTypes": [],
  "transmissions": [],
  "sellerTypes": [],
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "maxItems": 10,
  "maxPages": 2,
  "monitorMode": "all",
  "monitorName": "",
  "reportRemoved": false
}
```

# Actor output Schema

## `results` (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 = {
    "startUrls": [],
    "fuelTypes": [],
    "transmissions": [],
    "sellerTypes": [],
    "proxyConfiguration": {
        "useApifyProxy": false
    },
    "maxItems": 10,
    "maxPages": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("getascraper/bilbasen-cars-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 = {
    "startUrls": [],
    "fuelTypes": [],
    "transmissions": [],
    "sellerTypes": [],
    "proxyConfiguration": { "useApifyProxy": False },
    "maxItems": 10,
    "maxPages": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("getascraper/bilbasen-cars-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 '{
  "startUrls": [],
  "fuelTypes": [],
  "transmissions": [],
  "sellerTypes": [],
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "maxItems": 10,
  "maxPages": 2
}' |
apify call getascraper/bilbasen-cars-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,getascraper/bilbasen-cars-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/ti8eKSu6uj7OaYwmE/builds/wBcGQFwDQ62yZ9kmk/openapi.json
