# 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, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Coches.net Scraper - Spanish Car Marketplace",
        "description": "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.",
        "version": "0.1",
        "x-build-id": "bmtBP1ymfmBYMA1jl"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/studio-amba~coches-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-studio-amba-coches-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/studio-amba~coches-scraper/runs": {
            "post": {
                "operationId": "runs-sync-studio-amba-coches-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/studio-amba~coches-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-studio-amba-coches-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchQuery": {
                        "title": "Search Query",
                        "type": "string",
                        "description": "Free text search query (e.g., 'BMW', 'Seat Leon', 'Tesla Model 3'). Used to build search URL if no make/model specified."
                    },
                    "make": {
                        "title": "Make",
                        "type": "string",
                        "description": "Car manufacturer. Use the Spanish URL slug (e.g., 'bmw', 'volkswagen', 'mercedes-benz', 'seat', 'audi', 'toyota'). Overrides searchQuery when set."
                    },
                    "model": {
                        "title": "Model",
                        "type": "string",
                        "description": "Car model slug (e.g., 'serie-3', 'golf', 'leon'). Must be used together with Make."
                    },
                    "yearFrom": {
                        "title": "Year From",
                        "minimum": 1950,
                        "maximum": 2030,
                        "type": "integer",
                        "description": "Minimum registration year (e.g., 2018)."
                    },
                    "yearTo": {
                        "title": "Year To",
                        "minimum": 1950,
                        "maximum": 2030,
                        "type": "integer",
                        "description": "Maximum registration year (e.g., 2024)."
                    },
                    "minPrice": {
                        "title": "Min Price (EUR)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Minimum price in EUR."
                    },
                    "maxPrice": {
                        "title": "Max Price (EUR)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum price in EUR."
                    },
                    "fuelType": {
                        "title": "Fuel Type",
                        "enum": [
                            "all",
                            "gasolina",
                            "diesel",
                            "electrico",
                            "hibrido"
                        ],
                        "type": "string",
                        "description": "Filter by fuel type.",
                        "default": "all"
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum number of car listings to return.",
                        "default": 100
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings. Spanish residential proxies recommended for best results."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
