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
- Create a free Apify account and click the Run it on Apify button on this page.
- Set
maketoToyota,modeltoYarisandfuel_typetohybrid. Setmax_priceto15000. - Enter the postcode
2000inlocationand keepradius_kmat 25. 2dehands searches by Belgian postcode only, so a city name does not work here. - Set
limitto 100. LeaveincludeDetailsoff unless you need the seller's phone number or the full description. - Start the run and open the Output tab. Look at
promotedfirst: true means a paid Dagtopper ad that was bumped to the top, not a fresh listing. - 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().itemsCars 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().itemsSet 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.