# Vendezvotrevoiture Data Scraper

Extract vehicle information (brand, price, model, etc.) from Vendezvotrevoiture using URLs as input.

- Template page: [https://www.octoparse.com/template/vendezvotrevoiture-data-scraper](https://www.octoparse.com/template/vendezvotrevoiture-data-scraper)
- Categories: Others
- Status: `PUBLISHED`
- Run mode: `BOTH`

## Pricing

Free.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from detail pages.

## Output

The current workflow extracts 12 fields, including `Boîte_de_vitesse`, `Consommation`, `Kilométrage`, `Photo_URL`, `Première_immatriculation`, `Prix_mensuek`, `Puissance`, `Titre`, `URL_de_la_page_détaillée`, `Émissions_de_CO2`, `Énergie`, `Étiquette`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete URLs (up to 10000) and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### URLs (up to 10000)

Required. URLs Constraints: minItems=1; maxItems=10000; items.minLength=1; items.maxLength=1000.

## How to Use

## Vendezvotrevoiture Data Scraper

Collects vehicle information (brand, price, model, etc.) from [Autohero](https://www.autohero.com/) using listing-page URLs as input.

### Pricing

This template currently has no per-line charge.

### Output Fields

- `Titre`
- `Première_immatriculation`
- `Kilométrage`
- `Boîte_de_vitesse`
- `Énergie`
- `Puissance`
- `Émissions_de_CO2`
- `Consommation`
- `Étiquette`
- `Prix_mensuek`
- `Photo_URL`
- `URL_de_la_page_détaillée`

### Input

- **URLs (up to 10000)** (required): Enter one or more values, one per line.

### How to Use

1. Open the template and select **Try it** or **Start**.
2. Fill in the input field (URLs).
3. Choose a local or cloud run.
4. Review the output rows and export or process the structured data.

### Limitations

- Collects only the fields listed above from listing pages. It does not add data Autohero does not display.
- `Prix_mensuek`, `Photo_URL`, and `URL_de_la_page_détaillée` may be empty if the source record does not provide them.

### Tips

- Start with a few inputs and review results before scaling.
- Use the most specific valid URLs (up to 10000) to reduce unrelated or duplicate records.
- Use a stable identifier (e.g., `Titre`, `Première_immatriculation`, `Kilométrage`) as a deduplication key when available.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [Leboncoin Data Scraper](https://www.octoparse.com/template/leboncoin-data-scraper)
- [North Data Scraper](https://www.octoparse.com/template/north-data-scraper)
- [Kompass Data Scraper](https://www.octoparse.com/template/kompass-scraper)
- [Vinted Data Scraper (by keywords)](https://www.octoparse.com/template/vinted-data-scraper)
- [Pap.fr Immobilier Data Scraper](https://www.octoparse.com/template/pap-scraper)

## Input Schema

```json
{
  "title": "Vendezvotrevoiture Data Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "uRLs": {
      "title": "URLs (up to 10000)",
      "description": "URLs",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "uRLs"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "uRLs": [
    "https://www.vendezvotrevoiture.fr/acheter-voiture/"
  ]
}
```

Example 2

```json
{
  "uRLs": [
    "https://www.vendezvotrevoiture.fr/acheter-voiture/"
  ]
}
```

Example 3

```json
{
  "uRLs": [
    "https://www.vendezvotrevoiture.fr/acheter-voiture/"
  ]
}
```

Example 4

```json
{
  "uRLs": [
    "https://www.vendezvotrevoiture.fr/acheter-voiture/?brand=BMW&sort=STANDARD_PRICE_ASC"
  ]
}
```

Example 5

```json
{
  "uRLs": [
    "https://www.vendezvotrevoiture.fr/acheter-voiture/?brand=BMW&sort=STANDARD_PRICE_ASC"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Boîte_de_vitesse": {
      "type": "string",
      "description": ""
    },
    "Consommation": {
      "type": "string",
      "description": ""
    },
    "Kilométrage": {
      "type": "string",
      "description": ""
    },
    "Photo_URL": {
      "type": "string",
      "description": ""
    },
    "Première_immatriculation": {
      "type": "string",
      "description": ""
    },
    "Prix_mensuek": {
      "type": "string",
      "description": ""
    },
    "Puissance": {
      "type": "string",
      "description": ""
    },
    "Titre": {
      "type": "string",
      "description": ""
    },
    "URL_de_la_page_détaillée": {
      "type": "string",
      "description": ""
    },
    "Émissions_de_CO2": {
      "type": "string",
      "description": ""
    },
    "Énergie": {
      "type": "string",
      "description": ""
    },
    "Étiquette": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Vendezvotrevoiture Data Scraper output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

Example 1

```json
{
  "Boîte_de_vitesse": "Automatique",
  "Consommation": "≈ 5,7 l/100 km (Combinato.)",
  "Kilométrage": "101 094 km",
  "Photo_URL": "https://img-eu-c1.autohero.com/img/b6a7c6fa5ed3056a1ad1e36b3b40641adf595908020b3be2845a8d2237bc4c69/exterior/1/m-915b6369a95849c1948e483498b66709.jpg",
  "Première_immatriculation": "08/2018",
  "Prix_mensuek": "14 790 €",
  "Puissance": "121 kW (165 CV) ",
  "Titre": "Peugeot 3008 1.6 THP",
  "URL_de_la_page_détaillée": "https://www.autohero.com/fr/peugeot-3008/id/ec2bbf34-a53a-436c-9dc4-ecd37760f35b/?MID=FR_CMX_16-113_11_18_8-0-3-0_0_0",
  "Émissions_de_CO2": "≈ 129 gr CO₂/km (Combinato)",
  "Énergie": "Essence",
  "Étiquette": "autohero"
}
```

Example 2

```json
{
  "Boîte_de_vitesse": "Automatique",
  "Consommation": "≈ 7,5 l/100 km (Combinato.)",
  "Kilométrage": "33 964 km",
  "Photo_URL": "https://img-eu-c1.autohero.com/img/5259154a877a2528a36b006aa805975cff9ee111f039f94f6cb68de07162f81b/exterior/1/m-641fc5acf09d402c8ee007816a460875.jpg",
  "Première_immatriculation": "03/2024",
  "Prix_mensuek": "23 090 €",
  "Puissance": "110 kW (150 CV) ",
  "Titre": "Volkswagen T-Roc 1.5 TSI EVO2",
  "URL_de_la_page_détaillée": "https://www.autohero.com/fr/volkswagen-t-roc/id/95d5e108-4185-401d-907f-0452f72c5086/?MID=FR_CMX_16-113_11_18_8-0-3-0_0_0",
  "Émissions_de_CO2": "≈ 138 gr CO₂/km (Combinato)",
  "Énergie": "Essence",
  "Étiquette": "autohero"
}
```

Example 3

```json
{
  "Boîte_de_vitesse": "Manuel",
  "Consommation": "≈ 4,1 l/100 km (Combinato.)",
  "Kilométrage": "8 811 km",
  "Photo_URL": "https://img-eu-c1.autohero.com/img/c6554d37c58822a897129a51e99c1e0136849545527c5afb00d79c28dbb5381f/exterior/1/m-b632e7605a254c0ba6c02680e843f1ea.jpg",
  "Première_immatriculation": "06/2019",
  "Prix_mensuek": "7 490 €",
  "Puissance": "53 kW (72 CV) ",
  "Titre": "Peugeot 108 1.0 VTi",
  "URL_de_la_page_détaillée": "https://www.autohero.com/fr/peugeot-108/id/6f64874c-8940-477f-a055-2d611672fe3f/?MID=FR_CMX_16-113_11_18_8-0-3-0_0_0",
  "Émissions_de_CO2": "≈ 85 gr CO₂/km (Combinato)",
  "Énergie": "Essence",
  "Étiquette": "autohero"
}
```

Example 4

```json
{
  "Boîte_de_vitesse": "Manuel",
  "Consommation": "≈ 5,8 l/100 km (Combinato.)",
  "Kilométrage": "127 108 km",
  "Photo_URL": "https://img-eu-c1.autohero.com/img/d8bc3e897838498a7851e557574c3a1249550cd2f2b6d3fd4b527e8444292f98/exterior/1/m-1e92c888825d4addb8653d039e762c08.jpg",
  "Première_immatriculation": "06/2018",
  "Prix_mensuek": "11 190 €",
  "Puissance": "80 kW (109 CV) ",
  "Titre": "BMW Série 2 Active Tourer 216i",
  "URL_de_la_page_détaillée": "https://www.autohero.com/fr/bmw-serie-2/id/a4756364-321a-4697-94b7-4e00c091746b/?MID=FR_CMX_16-113_11_18_8-0-3-0_0_0",
  "Émissions_de_CO2": "≈ 132 gr CO₂/km (Combinato)",
  "Énergie": "Essence",
  "Étiquette": "autohero"
}
```

Example 5

```json
{
  "Boîte_de_vitesse": "Manuel",
  "Consommation": "≈ 5,8 l/100 km (Combinato.)",
  "Kilométrage": "127 108 km",
  "Photo_URL": "https://img-eu-c1.autohero.com/img/d8bc3e897838498a7851e557574c3a1249550cd2f2b6d3fd4b527e8444292f98/exterior/1/m-1e92c888825d4addb8653d039e762c08.jpg",
  "Première_immatriculation": "06/2018",
  "Prix_mensuek": "11 490 €",
  "Puissance": "80 kW (109 CV) ",
  "Titre": "BMW Série 2 Active Tourer 216i",
  "URL_de_la_page_détaillée": "https://www.autohero.com/fr/bmw-serie-2/id/a4756364-321a-4697-94b7-4e00c091746b/?MID=FR_CMX_16-113_11_18_8-0-3-0_0_0",
  "Émissions_de_CO2": "≈ 132 gr CO₂/km (Combinato)",
  "Énergie": "Essence",
  "Étiquette": "autohero"
}
```

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

```json
{
  "templateName": "vendezvotrevoiture-data-scraper",
  "taskName": "Vendezvotrevoiture Data Scraper",
  "parameters": "{\"uRLs\":[\"https://www.vendezvotrevoiture.fr/acheter-voiture/\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"uRLs\":[\"https://www.vendezvotrevoiture.fr/acheter-voiture/\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "vendezvotrevoiture-data-scraper",
        "taskName": "Vendezvotrevoiture Data Scraper",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "vendezvotrevoiture-data-scraper",
  "taskName": "Vendezvotrevoiture Data Scraper",
  "parameters": "{\"uRLs\":[\"https://www.vendezvotrevoiture.fr/acheter-voiture/\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `vendezvotrevoiture-data-scraper`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/vendezvotrevoiture-data-scraper.json)
- [Manifest](https://www.octoparse.com/templates/vendezvotrevoiture-data-scraper-manifest.json)
