# Coches.net Scraper - Spanish Car Marketplace (`studio-amba/coches-scraper`) Actor

Scrape used car listings from Coches.net, Spain's largest automotive marketplace. Extract prices, specs, mileage, fuel type, seller info, images, and 25+ fields per listing. Filter by make, model, year, price, and fuel type. No login or cookies required.

- **URL**: https://apify.com/studio-amba/coches-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 result scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

### What does Coches.net Scraper do?

**Coches.net Scraper** extracts car listing data from [Coches.net](https://www.coches.net), Spain's largest online automotive marketplace with hundreds of thousands of used car listings. No login or cookies required.

Use it to collect structured car data via the Apify platform with full **API access, scheduling, integrations**, and proxy rotation.

### How to scrape Coches.net data

Scraping Coches.net is straightforward with this actor:

1. Go to the **Input** tab
2. Enter a search query (e.g., "BMW") or specify a make and model
3. Set your filters: year range, price range, fuel type
4. Set the maximum number of results you need
5. Click **Start** and wait for the run to finish
6. Download your data from the **Output** tab in JSON, CSV, Excel, or other formats

You can also call this actor via the Apify API, schedule it for regular runs, or integrate it with tools like Zapier, Make, Google Sheets, and hundreds of others.

### Why use Coches.net Scraper?

- **Market research** — Analyze the Spanish used car market with real data
- **Price monitoring** — Track price changes for specific makes and models over time
- **Dealer intelligence** — Analyze dealer inventory and pricing strategies across Spain
- **Data analytics** — Build datasets for automotive market analysis
- **Lead generation** — Find cars matching specific criteria across all Spanish provinces
- **Academic research** — Study used car market trends, depreciation curves, pricing patterns
- **Price comparison** — Compare prices between regions and seller types in Spain

### Input parameters

| Field | Type | Description |
|-------|------|-------------|
| `searchQuery` | string | Free text search (e.g., "BMW", "Seat Leon", "Tesla Model 3") |
| `make` | string | Car manufacturer slug (e.g., bmw, volkswagen, seat, audi) |
| `model` | string | Car model slug (e.g., serie-3, golf, leon). Use with make. |
| `yearFrom` / `yearTo` | integer | Registration year range |
| `minPrice` / `maxPrice` | integer | Price range in EUR |
| `fuelType` | string | gasolina, diesel, electrico, hibrido, or all |
| `maxResults` | integer | Max listings to return (default: 100) |
| `proxyConfiguration` | object | Proxy settings (Spanish residential recommended) |

#### Input example

```json
{
    "searchQuery": "BMW",
    "fuelType": "diesel",
    "yearFrom": 2018,
    "maxPrice": 30000,
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "ES"
    }
}
```

### Output

Each car listing includes up to 25 fields. You can download the dataset in JSON, CSV, Excel, HTML, or other formats.

```json
{
    "title": "BMW Serie 3 320d",
    "price": 22500,
    "currency": "EUR",
    "make": "BMW",
    "model": "Serie 3 320d",
    "year": 2019,
    "mileage": 85000,
    "fuelType": "Diesel",
    "transmission": "Automatico",
    "engineSize": "",
    "power": "190 cv",
    "bodyType": "Berlina",
    "color": "Negro",
    "doors": 5,
    "condition": "Segunda mano",
    "location": "Madrid",
    "city": "Madrid",
    "province": "Madrid",
    "sellerType": "Professional",
    "sellerName": "Concesionario BMW Madrid",
    "description": "BMW Serie 3 320d en excelente estado...",
    "imageUrl": "https://img.coches.net/fotos/...",
    "imageUrls": ["https://img.coches.net/fotos/..."],
    "url": "https://www.coches.net/bmw-serie-3-320d-diesel-2019-en-madrid-12345678-covo.aspx",
    "scrapedAt": "2026-05-27T12:00:00.000Z"
}
```

### Data fields

| Field | Description | Example |
|-------|-------------|---------|
| `title` | Full listing title | BMW Serie 3 320d |
| `price` | Listed price | 22500 |
| `currency` | Price currency | EUR |
| `make` | Manufacturer | BMW |
| `model` | Model name | Serie 3 320d |
| `year` | Registration year | 2019 |
| `mileage` | Kilometers driven | 85000 |
| `fuelType` | Fuel type | Diesel, Gasolina, Electrico |
| `transmission` | Gearbox type | Automatico, Manual |
| `power` | Engine power | 190 cv |
| `bodyType` | Body type | Berlina, SUV, Familiar |
| `color` | Exterior color | Negro, Blanco |
| `doors` | Number of doors | 5 |
| `condition` | Vehicle condition | Segunda mano |
| `location` | Location | Madrid |
| `province` | Spanish province | Madrid, Barcelona |
| `sellerType` | Seller category | Professional, Private |
| `sellerName` | Dealer or seller name | Concesionario BMW |
| `description` | Listing description text | Full description |
| `imageUrl` | Main image URL | https://img.coches.net/... |
| `imageUrls` | All image URLs | Array of image links |
| `url` | Full listing URL | https://www.coches.net/... |
| `scrapedAt` | When data was collected | 2026-05-27T12:00:00.000Z |

### How much does it cost to scrape Coches.net?

Coches.net Scraper uses HTTP requests with cheerio HTML parsing, making it efficient on resources. Spanish residential proxies are recommended for reliability.

- **100 results** cost approximately **$0.10 - $0.50** in Apify platform credits (depending on proxy usage)
- **500 results** cost approximately **$0.50 - $2.00**

The Apify Free plan includes $5 of monthly credits, which covers hundreds of car listings.

### Tips and advanced options

- **Use make/model for precision** — Free text search returns broad results. Use the `make` and `model` fields for targeted searches.
- **Spanish residential proxies** — Coches.net has bot detection. Use Spanish residential proxies for the best success rate.
- **Combine filters** — Narrow results with price, year, and fuel type filters for focused datasets.
- **Schedule runs** — Set up daily or weekly scraping to track price changes over time.
- **Start small** — Test with 10-20 results first to verify the data matches your needs before running large scrapes.

### FAQ and support

**Is it legal to scrape Coches.net?**
Coches.net Scraper accesses only publicly available data that any visitor can see. It does not require login, bypass authentication, or access private data. Always review and comply with the target website's Terms of Service before use.

**Why are Spanish residential proxies recommended?**
Coches.net has bot detection that may block datacenter IP addresses. Spanish residential proxies mimic real Spanish users and provide much better success rates.

**What if I get empty results?**
First, verify your search query returns results on coches.net directly. Then ensure you have proxy configuration set with Spanish residential proxies. The default search query "BMW" should always return results.

**I found a bug or need help**
Please submit an issue on the [Issues tab](https://console.apify.com/actors/coches-scraper/issues) and we'll get back to you quickly. For custom scraping solutions, reach out via the same channel.

# Actor input Schema

## `searchQuery` (type: `string`):

Free text search query (e.g., 'BMW', 'Seat Leon', 'Tesla Model 3'). Used to build search URL if no make/model specified.

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

Car manufacturer. Use the Spanish URL slug (e.g., 'bmw', 'volkswagen', 'mercedes-benz', 'seat', 'audi', 'toyota'). Overrides searchQuery when set.

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

Car model slug (e.g., 'serie-3', 'golf', 'leon'). Must be used together with Make.

## `yearFrom` (type: `integer`):

Minimum registration year (e.g., 2018).

## `yearTo` (type: `integer`):

Maximum registration year (e.g., 2024).

## `minPrice` (type: `integer`):

Minimum price in EUR.

## `maxPrice` (type: `integer`):

Maximum price in EUR.

## `fuelType` (type: `string`):

Filter by fuel type.

## `maxResults` (type: `integer`):

Maximum number of car listings to return.

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

Proxy settings. Spanish residential proxies recommended for best results.

## Actor input object example

```json
{
  "searchQuery": "BMW",
  "fuelType": "all",
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "ES"
  }
}
```

# Actor output Schema

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

No description

# 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 = {
    "searchQuery": "BMW",
    "maxResults": 100,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "ES"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/coches-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 = {
    "searchQuery": "BMW",
    "maxResults": 100,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "ES",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/coches-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 '{
  "searchQuery": "BMW",
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "ES"
  }
}' |
apify call studio-amba/coches-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/6fx8rNNgldcUO8kHv/builds/PFbxtKEVBbg2GA5Zw/openapi.json
