2dehands / 2ememain Scraper avatar

2dehands / 2ememain Scraper

Pricing

Pay per event

Go to Apify Store
2dehands / 2ememain Scraper

2dehands / 2ememain Scraper

Scrape Belgian 2dehands and 2ememain marketplace listings with prices, sellers, locations, images, and attributes from public pages.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Stas Persiianenko

Stas Persiianenko

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Scrape public Belgian marketplace listings from 2dehands.be and 2ememain.be. Collect titles, prices, sellers, locations, images, listing attributes, and URLs from category or keyword search pages.

What does 2dehands / 2ememain Scraper do?

This actor extracts structured listing data from public 2dehands and 2ememain marketplace pages.

It is designed for search and category monitoring.

You can provide category URLs such as car listings.

You can also provide keywords such as iphone, fiets, or audi.

The actor opens public listing result pages and reads the server-rendered data embedded in the page.

No account login is required for the MVP extraction path.

Who is it for?

Marketplace analysts

Track inventory volumes, price ranges, and product availability in Belgium.

Car dealers and resellers

Monitor new vehicles, mileage, fuel type, seller names, and local asking prices.

Ecommerce teams

Watch second-hand prices for products that compete with your catalog.

Lead generation teams

Find sellers and listings in specific categories or regions.

Researchers

Build datasets for local commerce, used goods, vehicle pricing, or marketplace behavior.

Why use this scraper?

  • ✅ Extract public listing data without building your own crawler.
  • ✅ Use either direct category URLs or keyword searches.
  • ✅ Capture price, seller, location, images, and attributes in one dataset.
  • ✅ Export results to JSON, CSV, Excel, Google Sheets, or your own API.
  • ✅ Run the actor on demand or schedule it for monitoring.

Supported websites

The actor supports the public Belgian marketplace brands:

  • https://www.2dehands.be
  • https://www.2ememain.be

The Dutch site is used by default.

The French mirror can be selected with the language input.

Data you can extract

FieldDescription
idMarketplace listing ID
urlDirect listing URL
titleListing title
descriptionListing text snippet
priceNumeric EUR price when available
priceTypeListing price type from the marketplace
locationCitySeller/listing city
sellerNamePublic seller name
imageUrlsListing image URLs
attributesCategory-specific specs such as mileage or fuel
sourceUrlSearch/category page where the listing was found
scrapedAtTimestamp of extraction

How much does it cost to scrape 2dehands listings?

This actor uses pay-per-event pricing.

You pay a small $0.005 run-start event plus a tiered per-listing event.

The platform BRONZE listing price is $0.0001 per extracted listing, with lower per-listing prices on higher Apify tiers.

Start with a low maxResults value for your first run.

Increase it after you confirm that the output matches your workflow.

Quick start

  1. Open the actor on Apify.
  2. Add one or more 2dehands category URLs.
  3. Optionally add keyword searches.
  4. Set maxResults.
  5. Run the actor.
  6. Download the dataset or connect it to your workflow.

Input configuration

startUrls

Use public category or search pages.

Example:

[{ "url": "https://www.2dehands.be/l/auto-s/" }]

searchQueries

Use search terms when you do not already have a URL.

Example:

["iphone", "audi"]

language

Use nl for 2dehands.be or fr for 2ememain.be keyword/default URLs.

maxResults

Controls how many listing rows are saved across all inputs.

maxRequestRetries

Controls retry attempts for failed HTTP requests.

Example input

{
"startUrls": [{ "url": "https://www.2dehands.be/l/auto-s/" }],
"searchQueries": ["iphone"],
"language": "nl",
"maxResults": 30,
"maxRequestRetries": 3
}

Example output

{
"id": "m2335649230",
"url": "https://www.2dehands.be/v/auto-s/audi/m2335649230-audi-q7-tfsi-60-e-competition-3-0-l-v6-462-pk-quattro",
"title": "Audi Q7 TFSI 60 E competition 3.0 l V6 (462 pk) quattro",
"price": 69500,
"currency": "EUR",
"locationCity": "Geel",
"sellerName": "seller name",
"imageUrls": ["https://images.2dehands.com/..."]
}

Tips for better results

  • Use category URLs when you want broad inventory.
  • Use search keywords when you monitor a specific product.
  • Keep the first run small.
  • Schedule recurring runs for price monitoring.
  • Combine sourceUrl and scrapedAt to compare snapshots over time.

Pagination behavior

The actor reads the first page for each URL or keyword.

When more results are needed, it follows the marketplace /p/<page>/ pagination pattern.

It stops when maxResults is reached or the source has no more listings.

Integrations

Use the dataset with:

  • Google Sheets for price tracking.
  • Airtable for lead review.
  • Make or Zapier for alerts.
  • Apify webhooks for notifications.
  • Your data warehouse for trend analysis.

API usage

Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('automation-lab/2dehands-2ememain-scraper').call({
startUrls: [{ url: 'https://www.2dehands.be/l/auto-s/' }],
maxResults: 30
});
console.log(run.defaultDatasetId);

Python

from apify_client import ApifyClient
import os
client = ApifyClient(os.environ['APIFY_TOKEN'])
run = client.actor('automation-lab/2dehands-2ememain-scraper').call(run_input={
'searchQueries': ['iphone'],
'maxResults': 30,
})
print(run['defaultDatasetId'])

cURL

curl -X POST 'https://api.apify.com/v2/acts/automation-lab~2dehands-2ememain-scraper/runs?token=YOUR_APIFY_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"searchQueries":["iphone"],"maxResults":30}'

MCP usage

Connect Apify MCP to Claude with this actor enabled:

https://mcp.apify.com/?tools=automation-lab/2dehands-2ememain-scraper

Claude Code setup:

$claude mcp add apify-2dehands "https://mcp.apify.com/?tools=automation-lab/2dehands-2ememain-scraper"

Claude Desktop JSON configuration:

{
"mcpServers": {
"apify-2dehands": {
"url": "https://mcp.apify.com/?tools=automation-lab/2dehands-2ememain-scraper"
}
}
}

Example prompts:

  • “Run the 2dehands scraper for iphone listings and summarize price ranges.”
  • “Find 30 car listings from 2dehands and group them by city.”
  • “Monitor this 2dehands category URL and alert me about new sellers.”

Data quality notes

The actor reads fields exposed by the public result page.

Some listings may not include every field.

For example, private sellers may omit location details or the marketplace may omit price for some ad types.

The actor keeps optional fields empty rather than inventing data.

FAQ

Can I scrape both 2dehands and 2ememain?

Yes. Use Dutch 2dehands.be URLs directly, French 2ememain.be URLs directly, or set language to choose the default site for keyword searches.

Do I need a marketplace account?

No. This actor extracts public search and category listing data that is available without login.

Can I monitor prices over time?

Yes. Schedule recurring runs and compare datasets by id, price, sourceUrl, and scrapedAt.

Troubleshooting

I received fewer results than requested

The selected category or keyword may have fewer public listings, or the marketplace may cap pagination for that query.

Try a broader category URL or a lower maxResults value.

My keyword returns unrelated listings

2dehands controls search ranking and matching.

Use a more specific keyword or a category URL for tighter results.

Legality and responsible use

This actor extracts publicly available marketplace data.

You are responsible for using the data in accordance with applicable laws, marketplace terms, and privacy rules.

Do not scrape personal data beyond what is necessary for your legitimate use case.

Other Apify actors from automation-lab may help with marketplace and ecommerce workflows:

Changelog

0.1

Initial build for public 2dehands / 2ememain listing extraction.

Support

If a page URL does not work, include the exact input and run ID when reporting the issue.

This helps reproduce the query and adjust parsing when the marketplace changes its layout.