Carabain Digital Apify Actors

2dehands Car Listings Scraper

2dehands Car Listings Scraper exports the cars for sale on 2dehands.be, the Belgian classifieds site that is called 2ememain in French, with price, mileage, year, fuel, gearbox, Car-Pass link, seller and location. Traders use it to source cars from private sellers, follow asking prices and get alerts on new listings.

Run it on ApifyCreate a free Apify account

The Apify Free plan includes $5 of credit every month, no credit card needed.

One car listing in your dataset
listed_at
Search: date of the listing or of its latest paid bump (YYYY-MM-DD); details add-on: exact first publication timestamp
title
Listing title as the seller wrote it
price
Asking price in EUR; for bid listings the minimum bid. Null when the price is on request
year
Construction year (bouwjaar)
mileage
Odometer reading
fuel_type
petrol, diesel, electric, hybrid, lpg, cng, hydrogen or other
city
City
url
Public listing URL

and 67 more fields, see Output

Who it is for

Car traders and small dealers who buy from private sellers before a car reaches the trade. Pricing analysts who value trade-ins with Belgian asking prices. Developers who build alert bots or depreciation models on top of Belgium's biggest general classifieds site.

What you can do with the data

Buy from private sellers first

Set seller_type to private, add a postcode in location and a distance in radius_km, and schedule the run every morning. Results come in the site's date order, so apart from the bumped promoted ads the top rows are what was posted since yesterday. Each car has lat and lon, which lets you sort by driving distance.

Check the mileage story with Car-Pass

Belgian sellers have to hand over a Car-Pass, and many link its public version in the ad. The Actor puts that link in car_pass_url, already in the plain search results. Open it next to mileage to spot a car whose odometer does not match its recorded history.

Value a trade-in with local asking prices

Pull one model and year band, for example a BMW 3 Reeks diesel from 2016 under 25,000 euro, and group by year and mileage. price_type tells a fixed price from a car that takes bids, so you can leave bid listings out of the average.

Build a list of Belgian car dealers

Filter on seller_type dealer and turn on Full details. Dealer listings then carry the phone number, website and postcode where the dealer published them, plus how many years the seller has been active on the site. Count listings per seller_id to see who holds the most stock in a region.

Catch price cuts on cars you watch

Turn on trackHistory with the same search on a daily schedule. From the second run, a car with a lower price carries a negative price_change and price_change_pct, and price_history keeps the last 20 price points.

Tutorial

How to get a morning list of hybrid Toyota Yaris cars near Antwerpen

  1. Create a free Apify account and click the Run it on Apify button on this page.
  2. Set make to Toyota, model to Yaris and fuel_type to hybrid. Set max_price to 15000.
  3. Enter the postcode 2000 in location and keep radius_km at 25. 2dehands searches by Belgian postcode only, so a city name does not work here.
  4. Set limit to 100. Leave includeDetails off unless you need the seller's phone number or the full description.
  5. Start the run and open the Output tab. Look at promoted first: true means a paid Dagtopper ad that was bumped to the top, not a fresh listing.
  6. Save the input as a task and give it a daily schedule, with a Slack or e-mail integration, to get the new cars every morning.

Examples

BMW diesel cars for sale on 2dehands: newest listings

Scrape the newest BMW diesel listings from 2dehands (2dehands.be): price, mileage, year, gearbox, Euro norm, Car-Pass link, city and seller. Export to JSON, CSV or Excel, or schedule it.

{
  "make": "BMW",
  "fuel_type": "diesel",
  "min_year": 2016,
  "limit": 200
}
Run this input from the Apify API (curl)
curl -X POST 'https://api.apify.com/v2/acts/carabain-digital~2dehands-cars/run-sync-get-dataset-items' \
  -H "Authorization: Bearer $APIFY_TOKEN" -H 'Content-Type: application/json' \
  -d '{"make": "BMW", "fuel_type": "diesel", "min_year": 2016, "limit": 200}'
Run it from Python
# pip install apify-client
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("carabain-digital/2dehands-cars").call(run_input={'make': 'BMW', 'fuel_type': 'diesel', 'min_year': 2016, 'limit': 200})
items = client.dataset(run["defaultDatasetId"]).list_items().items

Cars near Gent with price history on 2dehands

Scrape car listings within 25 km of Gent from 2dehands and track their price over time: asking price, price drops, mileage, year and seller. Run it daily to catch price cuts and new cars.

{
  "location": "9000",
  "radius_km": 25,
  "max_price": 15000,
  "limit": 300,
  "trackHistory": true
}
Run this input from the Apify API (curl)
curl -X POST 'https://api.apify.com/v2/acts/carabain-digital~2dehands-cars/run-sync-get-dataset-items' \
  -H "Authorization: Bearer $APIFY_TOKEN" -H 'Content-Type: application/json' \
  -d '{"location": "9000", "radius_km": 25, "max_price": 15000, "limit": 300, "trackHistory": true}'
Run it from Python
# pip install apify-client
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("carabain-digital/2dehands-cars").call(run_input={'location': '9000', 'radius_km': 25, 'max_price': 15000, 'limit': 300, 'trackHistory': True})
items = client.dataset(run["defaultDatasetId"]).list_items().items

Set APIFY_TOKEN to your token from Apify Console, Settings, Integrations. The curl call waits up to 5 minutes; for bigger runs see running from the API and Python. AI agents can call it through the Apify MCP server: https://mcp.apify.com/?actors=carabain-digital/2dehands-cars.

Input

FieldTypeWhat it does
make
Make
stringCar make as 2dehands lists it. Example: Volkswagen, BMW, Mercedes-Benz (also VW, Mercedes); Bestelwagens en Lichte vracht for vans. Leave empty for all makes.
model
Model
stringModel within the make (needs make); an unknown model fails with the list of the site's models. Example: Golf, 3 Reeks, A4.
min_year
Minimum year
integerOldest construction year. Example: 2015.
max_year
Maximum year
integerNewest construction year. Example: 2022.
min_price
Minimum price (EUR)
integerLowest asking price in euro. Example: 5000.
max_price
Maximum price (EUR)
integerHighest asking price in euro. Example: 20000.
max_mileage
Maximum mileage (km)
integerHighest odometer reading in km. Example: 150000.
fuel_type
Fuel
stringFuel type. Example: diesel.
Values: any, petrol, diesel, electric, hybrid, plugin_hybrid, lpg, cng, hydrogen, other
Default: "any"
transmission
Gearbox
stringGearbox. Example: automatic.
Values: any, manual, automatic
Default: "any"
body_type
Body type
stringBody type. Example: suv. Vans are a make-like section on the site: use make for them.
Values: any, hatchback, sedan, wagon, suv, coupe, convertible, minivan, other
Default: "any"
condition
Condition
stringNew or used cars. Example: used.
Values: any, used, new
Default: "any"
seller_type
Seller
stringDealers or private sellers. Example: private.
Values: any, dealer, private
Default: "any"
location
Postcode
stringBelgian postcode (4 digits). Example: 9000 (Gent), 2000 (Antwerpen) or 1000 (Brussel). The site searches by postcode + distance only, so city names are rejected.
radius_km
Radius (km)
integerDistance around the postcode. Example: 25. Only used with a postcode.
Default: 25
start_urls
Search URLs (optional)
arrayCar search pages copied from 2dehands.be; they replace the filters above. Example: https://www.2dehands.be/l/auto-s/bmw/f/diesel/474/#PriceCentsTo:2500000|constructionYearFrom:2018. Filters in the path and after the # are kept; results always come newest first.
limit
Max listings
integerStop after this many listings (newest first). Example: 100. The site serves about 2,000 listings per search: narrow the filters (or add more search URLs) for more.
Default: 100
includeDetails
Full details (paid add-on)
booleanAlso open each listing's page: full description, all photos, trim/version, colour, doors, seats, engine, gears, drive, options list, seller type, dealer phone, website and postcode, exact publication date, views and favourites. Adds $1.00 per 1,000 listings on top of the base price. One extra request per listing (about 6 s per 100 listings).
Default: false
trackHistory
Price history (paid add-on)
booleanKeep the price of every listing in a named store in your own Apify account and add first_seen_at, previous_price, price_change, price_change_pct, status_changed and price_history to each item. Run it on a schedule: the first run only starts the series. Adds $1.00 per 1,000 listings that already had history. Do not run two runs on the same store at once.
Default: false
historyStoreName
History store name
stringName of the key-value store that holds the history (letters a-z, digits, dashes). All our car Actors use cars-history by default, so history is shared between them. Use another name to keep a separate series per search, e.g. golf-watch.
Default: "cars-history"

Output

One dataset item per car listing. Export the dataset as JSON, CSV, Excel or XML from Apify Console or the API.

FieldTypeDescription
idstringStable listing ID, <source>:<site id>
sourcestringShort site name
urlstringPublic listing URL
titlestringListing title as the seller wrote it
makestringMake, e.g. Volkswagen (null for the site's vans/trucks/oldtimer sections when the seller set none)
modelstringModel as the site names it, e.g. Golf, 3-Serie
variantstringDetails add-on: trim/version, e.g. 1.5 TSI R-Line
conditionstringnew, used or classic (oldtimer section); null when the seller did not say
pricenumberAsking price in EUR; for bid listings the minimum bid. Null when the price is on request
price_currencystringEUR
price_typestringfixed, negotiable (bids accepted) or on_request
mileageintegerOdometer reading
mileage_unitstringkm
yearintegerConstruction year (bouwjaar)
first_registrationstringYYYY (the construction year; the site does not give a registration month)
fuel_typestringpetrol, diesel, electric, hybrid, lpg, cng, hydrogen or other
transmissionstringmanual or automatic
body_typestringsedan, hatchback, wagon, suv, coupe, convertible, van, minivan or other
power_kwintegerEngine power in kW
power_hpintegerEngine power in hp
engine_ccintegerEngine displacement in cc
colorstringExterior colour (Dutch, as on the site)
doorsintegerNumber of doors
seatsintegerNumber of seats
vinstringDetails add-on: VIN when the seller put one in the description
seller_typestringdealer or private (always set with the details add-on or a seller_type filter)
seller_namestringSeller or dealer name
seller_phonestringDetails add-on: phone number (dealers mostly)
seller_urlstringDetails add-on: seller profile page
addressstringPostcode and city
citystringCity
postcodestringDetails add-on: postcode (dealers)
regionstringNot given by the site
countrystringCountry code
latnumberLatitude
lonnumberLongitude
listed_atstringSearch: date of the listing or of its latest paid bump (YYYY-MM-DD); details add-on: exact first publication timestamp
image_urlsarrayPhoto URLs (search: up to 4; details add-on: all)
descriptionstringSearch: first ~300 characters; details add-on: full text
seller_idintegerSeller account id
promotedbooleanPaid 'Dagtopper' ad (bumped to the top daily)
reservedbooleanMarked as reserved
energy_labelstringEnergy label (NL)
emission_classstringEuro norm (BE)
car_pass_urlstringPublic Car-Pass mileage certificate link (2dehands)
equipmentarrayOptions list, e.g. Cruise Control, Navigatiesysteem
fuel_type_originalstringFuel as the site writes it
body_type_originalstringBody type as the site writes it
categorystringThe site's car section (make, or Bestelauto's/Vrachtwagens/Oldtimers)
license_platestringDetails add-on: licence plate (NL)
apk_untilstringDetails add-on: APK (MOT) expiry date (NL)
previous_ownersintegerDetails add-on: number of previous owners (NL)
importedbooleanDetails add-on: imported car (NL)
gearsintegerDetails add-on: number of gears
drivestringDetails add-on: driven wheels
seller_websitestringDetails add-on: dealer website
seller_active_yearsintegerDetails add-on: years the seller has been on the site
cylindersintegerDetails add-on: number of cylinders
interior_colorstringDetails add-on: interior colour
upholsterystringDetails add-on: upholstery, e.g. Leder
service_historystringDetails add-on: maintenance history, e.g. Dealer onderhouden
new_price_textstringDetails add-on: list price when new, as the site shows it (NL)
co2_g_kmintegerDetails add-on: CO2 emission in g/km
empty_weight_kgintegerDetails add-on: empty weight in kg
nap_statusbooleanDetails add-on: NAP odometer check available (NL)
view_countintegerDetails add-on: page views
favorite_countintegerDetails add-on: times saved as favourite
details_fetchedbooleanTrue when the details add-on enriched this item
first_seen_atstringPrice-history add-on: first time this listing was seen
previous_pricenumberPrice-history add-on: price at the previous run
price_changenumberPrice-history add-on: change since the previous run
price_change_pctnumberPrice-history add-on: change in percent
status_changedbooleanPrice-history add-on: status changed since the previous run
price_historyarrayPrice-history add-on: last 20 price points
scraped_atstringWhen it was scraped (UTC)

Frequently asked questions

What does it cost to scrape 2dehands?

Listings cost $0.80 per 1,000. A daily run of 200 cars is about $0.16, or roughly $4.80 over 30 days. Full details and Price history are add-ons at $1.00 per 1,000 listings each. Price history is not charged on a car's first run, because there is nothing to compare yet.

Do I need a proxy or a 2dehands account?

Neither. The search runs through the site's own search API without a proxy or login. Only the listing pages behind Full details limit requests per IP address; the add-on then switches to a fresh residential IP, which is included in its price.

Why are the first results old cars with a recent date?

Those are paid Dagtopper ads, which 2dehands moves to the top every day. They have promoted set to true, and their listed_at is the date of the bump. Full details returns the real first publication time, so use it when the age of an ad matters.

How many cars can one search return?

2dehands serves about 2,000 listings per search. For the whole market, split it into smaller searches by make, model, year or price band, or paste several search URLs in start_urls. The Actor runs them all in one go and removes duplicates.

Which fields need the Full details add-on?

The search results already hold the price, make and model, year, mileage, fuel and gearbox, body, city with coordinates, the seller's name and up to 4 photos. Trim, the full description, all photos, the options list, the dealer's phone, website and postcode, views and favourites come from the listing page and need Full details.

Does it cover 2ememain, vans and oldtimers?

Yes. 2ememain.be is the French-language version of the same site with the same cars. For vans, use the make Bestelwagens en Lichte vracht, or leave make empty to get every section. Oldtimers come back with condition set to classic.

Are the values in Dutch?

Colour, drive and the original fuel and body labels stay in Dutch, as the seller entered them. fuel_type, transmission and body_type are mapped to English values, and the Dutch originals sit in fuel_type_original and body_type_original.

Is it legal to scrape 2dehands?

The Actor reads only listings that anyone can see on 2dehands.be. Some of it is personal data, such as a private seller's name. Under rules such as the GDPR, how you store and use that data matters, so check your use case with a lawyer. Background: Is web scraping legal?

All 23 car listings Actors