# Gocar.be Car Listings Scraper ($0.5/1K) (`carabain-digital/gocar-listings`) Actor

Scrape car listings from Gocar.be, the Belgian car marketplace (NL/FR): used, new, leasing, vans and classic cars. Filter by make, model, year, price, mileage, fuel, gearbox, body, seller and postcode radius. Newest first. Add-ons: full details with Car-Pass link, price history.

- **URL**: https://apify.com/carabain-digital/gocar-listings.md
- **Developed by:** [Carabain Digital](https://apify.com/carabain-digital) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.30 / 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

#### What is Gocar.be Car Listings Scraper?

**Gocar.be Car Listings Scraper** scrapes **car listings from Gocar ([gocar.be](https://gocar.be))**, the Belgian car marketplace in Dutch and French, with around 55,000 used, new, leasing and classic cars and vans from dealers and private sellers. Search by **make, model, year, price, mileage, fuel, gearbox, body type, condition, seller type and distance from a Belgian postcode or city**, or paste a search URL from the site, and get clean, flat car data as JSON, CSV, Excel, XML or HTML: price, mileage, first registration, fuel, gearbox, power, equipment list, Euro class, dealer name, address and coordinates, newest first. Prefilled example: the 20 newest Volkswagens, ready in about a second. Costs **$0.50 per 1,000 listings**. Add-ons: **Full details** (all photos, full description, engine size, gears, interior, Car-Pass mileage history link, dealer website and phone) and **Price history** (price changes over time), $1.00 per 1,000 listings each.

- 🔎 **Search like on the site**: make, model, registration year, price, mileage, fuel, gearbox, body, new or used, dealer or private, radius around a postcode, or paste a gocar.be search URL (NL or FR)
- ⚡ **Fast and light**: Gocar's own search backend, 100 cars per request, no browser; 1,500 listings in about 7 seconds
- 🆕 **Newest first, any depth**: strictly sorted by publication time, and every one of the ~55,000 listings is reachable
- 📚 **Full details on demand**: switch on **Full details** for all photos, the full description, cc, cylinders, gears, interior and the free **Car-Pass** mileage history link
- 📈 **Track prices over time**: switch on **Price history** to compare every run with the last one
- 🔌 **Connect anywhere**: API, schedules, webhooks, Google Sheets, Make, Zapier, MCP / AI agents

#### Use it from AI agents

This Actor has an agent skill for Claude Code, Codex, Cursor and other agents that read `SKILL.md`: it tells the agent when to use the Actor, every input field and the output. Install it with:

```bash
npx skills add carabain-digital/apify-agent-skills --skill gocar-listings
```

Or read the skill on GitHub: [carabain-digital/apify-agent-skills/skills/gocar-listings](https://github.com/carabain-digital/apify-agent-skills/tree/main/skills/gocar-listings).

#### What data can I extract from Gocar?

<table>
<tr><td>🆔 Stable listing ID and URL</td><td>🚗 Make, model, version, condition (used, new, classic)</td></tr>
<tr><td>💶 Price, auction or on request, monthly lease price</td><td>🧾 VAT deductible flag, warranty months</td></tr>
<tr><td>🛣️ Mileage, first registration (month), year</td><td>⛽ Fuel, gearbox, drive, power (kW and hp)</td></tr>
<tr><td>🚙 Body type, colour, doors, seats</td><td>🌱 Euro emission class, CO2 g/km, battery kWh</td></tr>
<tr><td>🧰 Equipment list (CarPlay, panoramic roof, ...)</td><td>📷 Photo URLs</td></tr>
<tr><td>🏢 Dealer name, address, postcode, city, lat/lon</td><td>📅 Publication date and time</td></tr>
<tr><td>📝 Seller's description</td><td>🔍 Car-Pass available, damaged flag</td></tr>
</table>

The search results carry everything above, the cover photo and up to ~800 characters of the description. **All photos, the full description, engine size, cylinders, gears, interior colour and upholstery, inspection date, exact registration date, the Car-Pass report link, the dealer's showroom page, website and Gocar phone number** come from the listing page and are only filled with the **Full details** add-on. Labels such as colour and equipment are in Dutch, as on gocar.be/nl.

#### How do I scrape Gocar car listings?

1. [Create a free Apify account](https://console.apify.com/sign-up) and open this Actor.
2. Enter a **Make** (for example `Volkswagen` or `BMW`) and, if you like, a model, price, year, mileage or fuel. Or paste one or more **Search URLs** copied from gocar.be.
3. Set **Max listings** (the newest come first).
4. Click **Start**, then download the cars from the **Output** tab as JSON, CSV, Excel, XML or HTML.

#### How much does it cost to scrape Gocar?

You pay per car listing that ends up in your dataset: **$0.50 per 1,000 listings**, no subscription. The monthly credit of Apify's Free plan ($5) covers around 10,000 listings without add-ons. Paid plans get volume discounts.

- **Add-on: Full details, $1.00 per 1,000 listings** (off by default). Opens every listing page and adds all photos, the full description, engine size, cylinders, gears, interior colour and upholstery, technical inspection date, exact registration date, the Car-Pass mileage history link, the dealer's showroom page, website and Gocar phone number, and the whole spec table. Charged only for listings that were actually enriched.
- **Add-on: Price history, $1.00 per 1,000 listings** (off by default). Adds `first_seen_at`, `previous_price`, `price_change`, `price_change_pct` and `price_history`. Charged only for listings that already had history from an earlier run, so the first run is free. See the *Price history* section below.
- The Belgian residential proxy the site needs is included. Failed runs and empty searches cost nothing; you can cap spending with **Maximum cost per run** in the run options.

See the **Pricing** tab for the current prices.

#### ⬇️ Input

| Field | Description |
|---|---|
| **Make** (`make`) | Car make, forgiving spelling: `Volkswagen`, `bmw`, `mercedes-benz`. Empty = all makes |
| **Model** (`model`) | Model as Gocar names it: `Golf`, `3 Reeks` / `3-reeks`, `Model Y`. Needs a make |
| **First registration from / up to** (`min_year`, `max_year`) | Year range |
| **Minimum / maximum price** (`min_price`, `max_price`) | In euro |
| **Maximum mileage** (`max_mileage`) | In km |
| **Fuel type** (`fuel_type`) | `petrol`, `diesel`, `electric`, `hybrid` (incl. plug-in), `lpg`, `cng`, `hydrogen`, `ethanol`, `other` |
| **Transmission** (`transmission`) | `automatic` or `manual` |
| **Body type** (`body_type`) | `hatchback`, `sedan`, `wagon`, `suv`, `coupe`, `convertible`, `minivan`, `van`, `pickup`, `other` |
| **Condition** (`condition`) | `any`, `used` (incl. classic cars), `new` |
| **Seller** (`seller_type`) | `any`, `dealer`, `private` |
| **Location** and **Radius** (`location`, `radius_km`) | Belgian postcode or city (NL or FR name) and a distance in km (default 25) |
| **Search URLs** (`start_urls`) | Search pages copied from gocar.be; they replace the filters above |
| **Max listings** (`limit`) | Stop after this many listings |
| **Full details** (`includeDetails`) | Paid add-on: photos, full description, specs, Car-Pass link, dealer website and phone |
| **Price history** (`trackHistory`) | Paid add-on: compare with your previous runs |
| **History store name** (`historyStoreName`) | Where the history is kept (default `cars-history`) |
| **Proxy** (`proxyConfiguration`) | Belgian residential proxy, preselected and included in the price |

```json
{
    "make": "Volkswagen",
    "limit": 20
}
```

A filtered search, BMW X1 from 2020 under 35,000 euro and 80,000 km, automatic:

```json
{
    "make": "BMW",
    "model": "X1",
    "min_year": 2020,
    "max_price": 35000,
    "max_mileage": 80000,
    "transmission": "automatic",
    "limit": 100
}
```

With **Search URLs** paste a page like `https://gocar.be/nl/search?gbrands=Volkswagen&gmodels=Golf&price=5000:15000&fuel=Benzine`, a French one like `https://gocar.be/fr/search/u_electrique?kilometers=0:50000`, or a brand/model page like `https://gocar.be/nl/autos/bmw/3-reeks`. Every filter in the URL is kept (make, model, price, mileage, year, power, fuel, gearbox, body, seller type, leasing, options, Car-Pass, VAT deductible, postcode); the sort order and page number are ignored and results always come newest first.

#### ⬆️ Output

Car listings are stored in the default dataset, newest first. View them as a table in the **Output** tab or export JSON, CSV, Excel, XML or HTML. Fields a listing does not have are `null`; every item has the same keys.

##### A listing with the Full details add-on

```json
{
    "id": "gocar:5367918",
    "source": "gocar",
    "url": "https://gocar.be/nl/autos/audi/a3-sportback/14-tfsie-204cv-advanced-line-tvabtw-bauto-f1-distro-carplay-lane-assist/id/5367918",
    "title": "Audi A3 Sportback 1.4 TFSie 204CV ADVANCED LiNE\" !! TVA/BTW !! BAUTO F1 DiSTRO CARPLAY LANE ASSiST ++",
    "make": "Audi",
    "model": "A3 Sportback",
    "variant": "1.4 TFSie 204CV ADVANCED LiNE\" !! TVA/BTW !! BAUTO F1 DiSTRO CARPLAY LANE ASSiST ++",
    "condition": "used",
    "price": 26900,
    "price_currency": "EUR",
    "price_type": "fixed",
    "mileage": 55212,
    "mileage_unit": "km",
    "year": 2024,
    "first_registration": "2024-05",
    "fuel_type": "petrol",
    "transmission": "automatic",
    "body_type": "wagon",
    "power_kw": 110,
    "power_hp": 150,
    "engine_cc": 1395,
    "color": "Blauw",
    "doors": 4,
    "seats": 5,
    "vin": null,
    "seller_type": "dealer",
    "seller_name": "Mega Motors",
    "seller_phone": "+3223353040,5367918",
    "seller_url": "https://gocar.be/nl/showroom/mega-motors",
    "seller_website": "https://megamotors-sambreville.be/",
    "address": "Chaussée de Charleroi 731, 6220 Fleurus",
    "city": "Fleurus",
    "postcode": "6220",
    "region": null,
    "country": "BE",
    "lat": 50.4606207,
    "lon": 4.530886,
    "listed_at": "2026-11-14T15:53:30Z",
    "image_urls": [
        "https://storage-04.gocarcdn.com/vehicles/26/11/29166630/5367918-jvb.jpg",
        "https://storage-04.gocarcdn.com/vehicles/26/11/29166626/5367918-lgr.jpg",
        "..."
    ],
    "description": "Aanwezige accu: gekocht\nActieradius: 67 km\nOnderhouden volgens voorschriften: ja\nSchade: schadevrij\n\nTVA DEDUCTiBLE 21% - BTW iNCL 21% ...",
    "fuel_type_original": "Benzine",
    "body_type_original": "Break/Stationwagon",
    "drive": "front",
    "emission_class": "Euro 6d-TEMP",
    "co2_g_km": null,
    "battery_capacity_kwh": null,
    "equipment": ["ABS", "Airbag bestuurder", "Airbags lateraal", "Startonderbreking", "Antispin", "Parkeersensoren achteraan", "..."],
    "warranty_months": 12,
    "vat_deductible": true,
    "is_leasing": false,
    "lease_price_monthly": null,
    "has_carpass": true,
    "carpass_url": "https://public.car-pass.be/vhr/c27fbc42-bd3a-455e-bf5b-69a34380a991",
    "damaged": false,
    "vehicle_type": "car",
    "images_count": 30,
    "seller_id": 1810,
    "registration_date": "2024-05-01",
    "cylinders": 4,
    "gears": 7,
    "interior_color": "Grijs",
    "upholstery": "Stof",
    "specs": {
        "Niet-rokers voertuig": "Ja",
        "Versnellingen": "7",
        "Cilinderinhoud": "1395",
        "...": "..."
    },
    "details_fetched": true,
    "scraped_at": "2026-11-15T16:53:50Z"
}
```

Without the add-on the same listing has `engine_cc`, `seller_phone`, `seller_url`, `carpass_url` and the spec fields `null`, one photo in `image_urls` and the first ~800 characters of the description.

##### Extra fields with the Price history add-on (example values)

```json
{
    "first_seen_at": "2026-11-08T07:00:12+00:00",
    "previous_price": 27900,
    "price_change": -1000,
    "price_change_pct": -3.58,
    "status_changed": false,
    "price_history": [
        { "at": "2026-11-08T07:00:12+00:00", "price": 27900, "status": null },
        { "at": "2026-11-15T07:00:09+00:00", "price": 26900, "status": null }
    ]
}
```

#### What can I do with Gocar data?

- 🔔 **New car alerts in Belgium**: schedule a run for your make and model and push fresh listings to Slack, Telegram or e-mail before other buyers call
- 📉 **Used car price drop tracking**: add **Price history** and flag listings with a negative `price_change`, or dealers that cut prices on old stock
- 💶 **Used car valuation and market prices**: build a dataset of `price`, `mileage`, `year`, `fuel_type` and `power_kw` per model to estimate fair prices for trade-ins and resale
- 📇 **Car dealer lead generation**: collect `seller_name`, `address`, `seller_website` and stock per dealer (`seller_id`) for B2B sales of car services, financing or marketing
- ⚡ **Electric car market analysis**: count EVs, battery sizes and prices per brand and region with `fuel_type`, `battery_capacity_kwh` and `lat`/`lon`
- 🚚 **Car import and export sourcing**: find VAT-deductible (`vat_deductible`) used cars and vans with a Car-Pass mileage history for cross-border trading

#### Tips for best results

- Results are sorted by publication time, newest first, so a small **Max listings** on a schedule is the cheapest way to watch the market.
- **Make** and **Model** are matched against Gocar's own lists, so `mercedes-benz` finds `Mercedes` and `3-reeks` finds `3 Reeks`. An unknown name fails at once with the names Gocar knows. Models use Gocar's Dutch names (`3 Reeks`, `C-Klasse`).
- **Location** radius searches only find dealers: Gocar has no coordinates for private sellers (about 1% of listings). Leave the location empty to include them.
- `fuel_type` `hybrid` covers full and plug-in hybrids: Gocar does not mark plug-ins separately.
- New cars have no first registration (`year` null), so a **First registration from** filter leaves them out.
- For leasing offers `price` is the car's price and `lease_price_monthly` the monthly rate; auctions have `price_type` `auction` and the reference price.
- With several **Search URLs**, each one is scraped newest first and **Max listings** counts across all of them.
- Leave **Full details** off for counting, alerts and price monitoring; switch it on when you need photos, the full description, specs or the Car-Pass link.

#### Price history

Switch on **Price history** (`trackHistory`) and the Actor remembers every listing between runs, so you can see price drops and how long a car has been for sale.

- **Where it lives.** History is kept in a *named key-value store in your own Apify account* (default name `cars-history`, change it with **History store name**). Named stores never expire, you own the data, and storage costs a fraction of a cent.
- **First run starts the series.** The first time a listing is seen there is nothing to compare with, so `previous_price` is `null` and you are not charged for the add-on on that listing. From the second run on, each listing gets `first_seen_at`, `previous_price`, `price_change`, `price_change_pct` and `price_history` (the last 20 price points, one point per change).
- **Run it on a schedule.** History only grows when you run the Actor. Create a [schedule](https://docs.apify.com/platform/schedules) (daily is typical) with the same search and the same store name.
- **One store, several Actors.** Every car Actor we publish uses the same default store name, so a car keeps one history even if you scrape it with another of our Actors. Item IDs start with the site (`gocar:...`), so sites never clash.
- **Do not run two runs on the same store at the same time.** The last writer wins per listing, so parallel runs can overwrite each other's newest point.
- **If you delete the store,** the Actor starts a new empty history without an error.
- **Cost:** $1.00 per 1,000 listings that already had history (see pricing above).

#### Frequently asked questions

#### Can I use Gocar.be Car Listings Scraper with the Apify API?

Yes. Every run has a dataset you can read through the [Apify API](https://docs.apify.com/api/v2). Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("carabain-digital/gocar-listings").call(run_input={
    "make": "Volkswagen",
    "model": "Golf",
    "condition": "used",
    "max_price": 20000,
    "limit": 100,
})
for car in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(car["price"], car["year"], car["mileage"], "km", car["city"])
```

JavaScript:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('carabain-digital/gocar-listings').call({
    fuel_type: 'electric',
    location: 'Gent',
    radius_km: 30,
    limit: 200,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, 'cars');
```

#### Can I use Gocar.be Car Listings Scraper through an MCP server or with AI agents?

Yes. Add it to an AI agent through the [Apify MCP server](https://mcp.apify.com) (`https://mcp.apify.com?tools=carabain-digital/gocar-listings`), or let the agent find it with `search-actors` and run it with `call-actor`. A small search (`limit` 20) finishes in a few seconds and the items are flat, so agents can read them with `get-dataset-items`. Example prompt: *"Use Gocar.be Car Listings Scraper to find the 20 newest used Toyota RAV4 hybrids in Belgium under 30,000 euro and list price, year, mileage and dealer city."*

#### Can I integrate Gocar data with other apps?

Yes: Google Sheets, Slack, Make, Zapier, n8n, Airtable or your own webhook, through Apify [integrations](https://apify.com/integrations) and [webhooks](https://docs.apify.com/platform/integrations/webhooks). Schedule a run and send new cars or price drops to your inbox or CRM.

#### Why do I need a proxy?

Gocar is behind Cloudflare, which blocks datacenter IP addresses. The Actor therefore uses a Belgian residential proxy, preselected and included in the price. If a run is blocked it retries on a fresh proxy session; if it still fails the run fails with a clear message instead of returning an empty dataset.

#### Why is a field empty?

Gocar only has what the seller filled in: classic cars often have no model, year or price ("price on request"), new cars no registration, private sellers no coordinates, and most listings no VIN (`vin` is only filled when the seller wrote it in the description). `region` is never available. Without **Full details**, `engine_cc`, `seller_phone`, `seller_url`, `carpass_url` and the spec fields are `null`.

#### Does it include private sellers, leasing offers and vans?

Yes. Private sellers (`seller_type` `private`), leasing offers (`is_leasing`, `lease_price_monthly`), auctions (`price_type` `auction`), vans (`vehicle_type` `van`) and classic cars (`condition` `classic`) are all included; filter them with the inputs or on these fields. Motorbikes are not on Gocar's car search.

#### Is it legal to scrape Gocar?

The Actor only collects publicly visible listings, the same data anyone can see on gocar.be. Listings can contain personal data (for example a private seller's town or a phone number written in the description), and rules such as GDPR may apply to how you store and use it. Check your use case with a lawyer. More background: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

#### Gocar.be Car Listings Scraper not working? Feedback

Open an issue on the **Issues** tab of this Actor with the run link and we will look at it. Feature ideas are welcome there too.

#### Other scrapers by us

| Actor | Covers |
|---|---|
| [AutoScout24 Car Listings Scraper](https://apify.com/carabain-digital/autoscout24-listings) | Cars in Germany, Belgium, the Netherlands and five more countries |
| [AutoTrack Car Listings Scraper](https://apify.com/carabain-digital/autotrack-listings) | Netherlands: autotrack.nl |
| [Immoweb Listings Scraper](https://apify.com/carabain-digital/immoweb-listings) | Belgium: immoweb.be, the largest Belgian property portal |
| [Belgium Real Estate Scraper](https://apify.com/carabain-digital/belgium-real-estate) | Zimmo, Immoweb and Immovlan in one run, merged and deduplicated |

⭐ **Does it work well for you?** A review on the Store page helps others find this Actor and helps us keep it maintained.

# Actor input Schema

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

Car make. Spelling is forgiving (matched against Gocar's make list): `Volkswagen`, `BMW`, `mercedes-benz`, `Land Rover`. Leave empty for all makes.

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

Model of that make as Gocar names it (Dutch names): `Golf`, `3 Reeks` (or `3-reeks`), `C-Klasse`, `Model Y`. Needs a make. An unknown model fails with the list of known ones.

## `min_year` (type: `integer`):

Earliest year of first registration. Example: `2018`. New cars without a registration are left out when set.

## `max_year` (type: `integer`):

Latest year of first registration. Example: `2022`.

## `min_price` (type: `integer`):

Lowest price in euro. Example: `5000`.

## `max_price` (type: `integer`):

Highest price in euro. Example: `25000`.

## `max_mileage` (type: `integer`):

Highest mileage in km. Example: `100000`.

## `fuel_type` (type: `string`):

Fuel type. Example: `electric`. Gocar does not separate plug-in hybrids, so `plugin_hybrid` returns all hybrids.

## `transmission` (type: `string`):

Gearbox. Example: `automatic`.

## `body_type` (type: `string`):

Body type. Example: `suv`.

## `condition` (type: `string`):

New or used cars. Example: `used`.

## `seller_type` (type: `string`):

Dealer or private seller. Example: `dealer`. Gocar is ~99% dealers.

## `location` (type: `string`):

Search around a Belgian postcode or city (Dutch or French name). Example: `9000`, `Gent`, `Liège`. Radius searches only find dealers: Gocar has no coordinates for private sellers.

## `radius_km` (type: `integer`):

Distance around the location, in km. Example: `25`. Only used with a location.

## `start_urls` (type: `array`):

Search result pages copied from gocar.be (NL or FR); they replace the filters above. Example: `https://gocar.be/nl/search?gbrands=Volkswagen&gmodels=Golf&price=5000:15000`, `https://gocar.be/fr/search/u_electrique` or a brand/model page like `https://gocar.be/nl/autos/bmw/3-reeks`. All filters in the URL are kept; results always come newest first (the sort and page are ignored). `limit` counts across all URLs.

## `limit` (type: `integer`):

Stop after this many listings (newest first). Example: `500`. All ~55,000 Gocar listings are reachable.

## `includeDetails` (type: `boolean`):

Also open each listing page: all photos, full description, engine size, cylinders, gears, interior colour and upholstery, inspection date, exact registration date, the Car-Pass mileage history link, dealer showroom page, website and phone. Adds $1.00 per 1,000 listings. About 1 s extra per 10 listings.

## `trackHistory` (type: `boolean`):

Keep 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 and price_history. 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.

## `historyStoreName` (type: `string`):

Name 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. Example: `golf-watch`.

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

Gocar is behind Cloudflare, which blocks datacenter IPs, so a Belgian residential proxy is needed. Keep the default (residential, country BE): the Actor then uses its built-in residential proxy at no extra cost to you.

## Actor input object example

```json
{
  "make": "Volkswagen",
  "condition": "any",
  "seller_type": "any",
  "radius_km": 25,
  "limit": 20,
  "includeDetails": false,
  "trackHistory": false,
  "historyStoreName": "cars-history",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "BE"
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

All scraped car listings, one item per car.

# 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 = {
    "make": "Volkswagen",
    "limit": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "BE"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("carabain-digital/gocar-listings").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 = {
    "make": "Volkswagen",
    "limit": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "BE",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("carabain-digital/gocar-listings").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 '{
  "make": "Volkswagen",
  "limit": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "BE"
  }
}' |
apify call carabain-digital/gocar-listings --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,carabain-digital/gocar-listings"
        }
    }
}
```

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/cAchyJKgsa79NZ0m7/builds/BMm5VwMCRHgLes8nE/openapi.json
