# L'Argus Occasion Scraper (`dadhalfdev/largus-occasion-scraper`) Actor

Scrape used cars from occasion.largus.fr with structured filters (make, model, region, price, fuel). Returns price, mileage, year, location, and listing URL.

- **URL**: https://apify.com/dadhalfdev/largus-occasion-scraper.md
- **Developed by:** [Marco Rodrigues](https://apify.com/dadhalfdev) (community)
- **Categories:** Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🚗 L'Argus Occasion Scraper

Want to find the perfect used car or analyze the French automotive market? This scraper makes it super easy!

Paste an **`input_url`** from your browser once you've already filtered on L'Argus, **or** use **structured filters** (make, model, region, price, fuel type, etc.) — structured filters work better for AI agents. When `input_url` is set it overrides the filters. Either way, you get up to 2000 car listings from [L'Argus Occasion](https://occasion.largus.fr/auto/) with pricing, specs, and location as CSV or JSON.

### 💡 Perfect for...

- **Car Buyers:** Monitor the market for the best deals on your dream car in France.
- **Dealerships:** Keep an eye on competitors' pricing and inventory to stay competitive.
- **Market Research:** Analyze trends in the French used car market (average prices, popular models, mileage vs. price).
- **Data Analysts:** Download clean, structured data for visualizations, dashboards, or predictive pricing models.
- **🤖 AI Agents:** Power your autonomous agents with real-time car listings. Perfect for OpenClaw workflows and bots tracking specific vehicles.
- **📚 RAG Systems:** Feed detailed car specifications and pricing into Retrieval-Augmented Generation pipelines to answer complex queries about the automotive market.
- **🔗 AI Workflows:** Integrate seamlessly with LangChain, AutoGPT, CrewAI, and other AI frameworks that need structured automotive data.

### ✨ Why you'll love this scraper

- 🔗 **Input URL or Filters:** Paste an L'Argus search URL (`input_url`) if you already filtered in the browser, or use structured filters (better for AI agents). `input_url` always wins when set.
- 🎯 **Structured Filters:** Search by make, model, region, price, mileage, fuel, gearbox, Crit'Air, and more — no URL crafting required.
- ⚙️ **Rich Listings:** Extracts price, year, mileage, fuel type, gearbox, location, and images out of the box.
- 🔎 **Optional Deep Dive:** Turn on `enrich_details` for power, doors, colour, description, and first registration date.
- ⏱️ **Sorting Options:** Traverse results from newest ads to lowest price, mileage, or year.
- 🇫🇷 **Built for France:** Covers all French regions, departments, and cities from L'Argus Occasion.

### 📦 What's inside the data?

For every single car listing, you will get:

- **Core Details:** `id`, `title`, `url`, `image`, `photo_count`
- **Location:** `location` (city and department)
- **Technical Specs:** `make`, `model`, `fuel_type`, `gearbox`, `mileage`, `year`
- **Pricing:** `price` (EUR as shown on the card)
- **With enrich\_details:** `power_hp`, `fiscal_power`, `doors`, `seats`, `color`, `color_fr`, `first_registration`, `description`, `seller_type`

### 🛠️ Sort options

You can tell the scraper what order to read the listings in using the `sort_by` parameter:

- **Most Recent** – Newest listings first
- **Lowest / Highest Price**
- **Lowest / Highest KM**
- **Newest / Oldest Year**

### 🚀 Quick start

**Option A — Input URL**

1. Open [L'Argus Occasion](https://occasion.largus.fr/auto/), apply filters in the browser, copy the results URL.
2. Paste it into `input_url`.
3. Set `max_cars` and click **Start**.

**Option B — Structured filters (better for AI agents)**

1. Leave `input_url` empty.
2. Set filters (e.g. make `RENAULT`, model `Clio`, max price `15000`).
3. Optionally pick a region, choose `sort_by`, set `max_cars` (up to 2000).
4. *(Optional)* Enable `enrich_details` for full ad-page specs.
5. Click **Start** and export CSV, Excel, or JSON when done.

***

#### Tech details for developers 🧑‍💻

**Input Example:**

```json
{
  "make": "RENAULT",
  "model": "Clio",
  "region": "Île-de-France",
  "price_max": 15000,
  "energy": "essence",
  "sort_by": "Lowest Price",
  "max_cars": 100
}
```

**Output Example:**

```json
{
  "id": "9f961426-1c19-4729-88f9-eda551af1577",
  "title": "Renault Clio TCe 90ch Techno",
  "url": "https://occasion.largus.fr/auto/annonce-9f961426-1c19-4729-88f9-eda551af1577-renault-clio-2023-36214km",
  "image": "https://assets2.largus.fr/2026/07/9f961426-1c19-4729-88f9-eda551af1577/thumb-renault-clio-9f961426-1c19-4729-88f9-eda551af1577-0.webp",
  "price": 12990,
  "year": 2023,
  "mileage": 36214,
  "fuel_type": "Essence",
  "gearbox": "Manuelle",
  "location": "Lyon (Rhône)",
  "photo_count": 12,
  "make": "RENAULT",
  "model": "Clio"
}
```

### 📋 Input reference (detailed)

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `input_url` | string | No | — | Paste an L'Argus Occasion search URL; overrides all filters below when set. Leave empty to use filters (better for AI agents). |
| `make` | string enum | No | any | Car brand, sourced live from L'Argus's own make facet on [occasion.largus.fr/auto/](https://occasion.largus.fr/auto/) (174 brands, UPPERCASE, e.g. `RENAULT`, `MERCEDES-BENZ`, `BMW`). Leave empty (Any) to search all brands. |
| `model` | string | No | — | Model name (e.g. `Clio`, `208`, `Golf`, `Classe A`). **Requires `make`.** |
| `region` | string enum | No | `""` (all France) | French administrative region (e.g. `Île-de-France`, `Occitanie`). Empty = nationwide. |
| `department` | string | No | — | Department name (e.g. `Paris`, `Seine-Maritime`). Used with `region`. |
| `city` | string | No | — | City name (e.g. `Yerville`, `Lyon`). Used with `region` + `department`. |
| `state` | string enum | No | any | Vehicle condition. Currently the site exposes `occasion` (used cars) only. |
| `category` | string enum | No | any | Body category (SUV, berline, break, cabriolet, citadine, etc.). |
| `price_min` | integer | No | — | Minimum price in **euros**. Example: `3000` means €3,000. |
| `price_max` | integer | No | — | Maximum price in **euros**. Example: `15000` means €15,000. |
| `mileage_min` | integer | No | — | Minimum mileage in km. |
| `mileage_max` | integer | No | — | Maximum mileage in km. |
| `energy` | string enum | No | any | Fuel type: `essence`, `diesel`, `hybride-essence`, `electrique`, `gpl`, `gnv`, `hydrogene`. |
| `gearbox` | string enum | No | any | Transmission: `automatic`, `manual`. |
| `colour` | string enum | No | any | Exterior colour (grey, white, black, blue, …). |
| `doors` | string enum | No | any | Number of doors: `"2"` … `"6"`. |
| `seats` | string enum | No | any | Number of seats: `"1"` … `"7"`. |
| `crit_air` | string enum | No | any | French Crit'Air sticker class: `critair_0` (labelled **"Sans vignette"** on the site — cars exempt from the sticker, not just EVs), `critair_1`…`critair_5`, or `non_class`. |
| `published_since` | string enum | No | any | Only ads published recently: `24h`, `7d`, `30d`. |
| `sort_by` | string enum | No | `Most Recent` | Result order (see sort options above). |
| `max_cars` | integer | Yes | `50` | Maximum listings to return (`1`–`2000`). |
| `enrich_details` | boolean | No | `false` | If `true`, open each ad page for extra specs. Slower. |
| `listing_urls` | string\[] | No | — | Optional direct ad URLs. If set **without** search filters, only these URLs are scraped. |

#### Notes on filters

- Prefer exact enum strings from the table above.
- Prices are always entered in **euros**.
- Some ads display **monthly lease (LOA)** amounts as the card price — check `title` for context.
- `input_url` always wins over filters when provided.
- `make` values are the same UPPERCASE labels L'Argus itself uses (e.g. `MERCEDES-BENZ`, `LYNK&CO`); the Actor slugifies them to the site's lowercase URL paths internally (e.g. `MERCEDES-BENZ` → `/auto/mercedes-benz/`, `LYNK&CO` → `/auto/lynk-and-co/`).

# Actor input Schema

## `input_url` (type: `string`):

Paste an L'Argus Occasion search URL to use instead of the filters below — overrides all structured filters when set. Leave empty to use the filters below (better for AI agents).

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

Car make, sourced live from L'Argus's own make facet (occasion.largus.fr/auto/, 174 brands). Leave empty (Any) to search all brands. Ignored when input\_url is set.

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

Optional model (e.g. Clio, 208, Golf). Requires make. Ignored when input\_url is set.

## `region` (type: `string`):

French region filter. Empty = nationwide. Ignored when input\_url is set.

## `department` (type: `string`):

Optional department name (e.g. Seine-Maritime, Hauts-de-Seine). Used with region. Ignored when input\_url is set.

## `city` (type: `string`):

Optional city name (e.g. Paris, Yerville). Used with region + department. Ignored when input\_url is set.

## `state` (type: `string`):

Vehicle condition. Site currently exposes Occasion only. Ignored when input\_url is set.

## `price_min` (type: `integer`):

Minimum price in euros. Ignored when input\_url is set.

## `price_max` (type: `integer`):

Maximum price in euros. Ignored when input\_url is set.

## `mileage_min` (type: `integer`):

Minimum mileage in km. Ignored when input\_url is set.

## `mileage_max` (type: `integer`):

Maximum mileage in km. Ignored when input\_url is set.

## `energy` (type: `string`):

Fuel type filter. Ignored when input\_url is set.

## `gearbox` (type: `string`):

Transmission filter. Ignored when input\_url is set.

## `category` (type: `string`):

Vehicle body category. Ignored when input\_url is set.

## `colour` (type: `string`):

Exterior colour filter. Ignored when input\_url is set.

## `doors` (type: `string`):

Number of doors. Ignored when input\_url is set.

## `seats` (type: `string`):

Number of seats. Ignored when input\_url is set.

## `crit_air` (type: `string`):

French Crit'Air sticker class. Ignored when input\_url is set.

## `published_since` (type: `string`):

Only ads published within this window. Ignored when input\_url is set.

## `sort_by` (type: `string`):

How to order the results.

## `max_cars` (type: `integer`):

Maximum listings to return (1–2000).

## `enrich_details` (type: `boolean`):

If true, open each ad page for extra specs (power, doors, colour, description, first registration).

## `listing_urls` (type: `array`):

Optional direct ad URLs. If set without make/filters, only these URLs are scraped.

## Actor input object example

```json
{
  "make": "",
  "region": "",
  "state": "",
  "energy": "",
  "gearbox": "",
  "category": "",
  "colour": "",
  "doors": "",
  "seats": "",
  "crit_air": "",
  "published_since": "",
  "sort_by": "Most Recent",
  "max_cars": 50,
  "enrich_details": false
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of scraped listings using the dataset 'overview' view.

## `results` (type: `string`):

All scraped listings from the default dataset without view transformation.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("dadhalfdev/largus-occasion-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("dadhalfdev/largus-occasion-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call dadhalfdev/largus-occasion-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=dadhalfdev/largus-occasion-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/GNjeBXzMewcuRjohK/builds/MN2n52FbEgI94Grrw/openapi.json
