# Carros.com.br Vehicle Scraper (`rainminer/carros-com-br-scraper`) Actor

Scrape used and new car listings from carros.com.br — Brazil's iCarros marketplace. Extract make, model, price, year, mileage, fuel, transmission, color, and location.

- **URL**: https://apify.com/rainminer/carros-com-br-scraper.md
- **Developed by:** [rainminer](https://apify.com/rainminer) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.98 / 1,000 vehicle 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/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 Carros.com.br Vehicle Scraper do?

**Carros.com.br Vehicle Scraper** extracts **used and new car listings** from [carros.com.br](https://www.carros.com.br/) — Brazil's iCarros vehicle marketplace. Paste a search URL (for example `https://www.carros.com.br/comprar/usados`) or a single listing detail URL and export structured inventory data — **make, model, price, year, mileage, fuel, transmission, color, and location** — without writing any code.

Run it on the **Apify platform** to schedule crawls, export JSON/CSV/Excel, rotate proxies, monitor failures, and integrate results via API.

### Why scrape Carros.com.br?

- **Market research** — Track prices, mileage, and fuel types across Brazilian used-car inventory.
- **Inventory monitoring** — Watch listings as they appear on carros.com.br search pages.
- **Competitive intelligence** — Compare dealer stock by brand, model, and city.
- **Lead generation** — Collect vehicle URLs and specs for outreach or enrichment.
- **Data pipelines** — Feed structured car inventory into dashboards, alerts, or valuation tools.

### How to use Carros.com.br Vehicle Scraper

1. Open the Actor in Apify Console.
2. Add one or more **carros.com.br search or listing URLs** under **Start URLs**.
3. Set **Maximum items** (listings per start URL).
4. Run the Actor and download the results from the **Dataset** tab.

### Input

Carros.com.br Vehicle Scraper accepts **Start URLs**, **maxItems** (per start URL), and an optional **proxy configuration**. See the **Input** tab in Apify Console for details.

Supported start URLs:

- All used cars: `https://www.carros.com.br/comprar/usados`
- Brand pages: `https://www.carros.com.br/comprar/volkswagen/gol`
- City + model: `https://www.carros.com.br/comprar/sao-paulo-sp/fiat/argo`
- Listing detail: `https://www.carros.com.br/comprar/sao-paulo-sp/renault/kwid/2024/d58205786`

### Output

Each result is a structured vehicle object. You can download the dataset in **JSON, CSV, Excel, or HTML**.

```json
{
  "id": "58205786",
  "make": "Renault",
  "model": "Kwid",
  "title": "Renault Kwid",
  "price": 52590,
  "currency": "BRL",
  "year": 2023,
  "mileage": 9994,
  "fuel": "Flex",
  "transmission": "manual",
  "color": "Branco",
  "location": "Sao Paulo, SP",
  "url": "https://www.carros.com.br/comprar/sao-paulo-sp/renault/kwid/2024/d58205786",
  "scrapedAt": "2026-07-31T11:30:00.000Z"
}
```

### What data can you extract from Carros.com.br?

| Field | Description |
| --- | --- |
| id | Listing identifier |
| make | Vehicle brand |
| model | Model name |
| title | Full listing title |
| price | Listed price in BRL |
| currency | Price currency (BRL) |
| year | Model year |
| mileage | Odometer reading in km |
| fuel | Fuel type |
| transmission | Transmission type |
| color | Exterior color |
| location | City and state parsed from the listing URL |
| url | Public vehicle detail URL on carros.com.br |
| scrapedAt | ISO timestamp when the record was scraped |

### How much does it cost to scrape Carros.com.br?

This Actor uses a lightweight **HTTP crawler (no browser)** and **no proxy by default**, keeping compute usage low. A typical test run with a handful of listings per URL usually finishes in under a few minutes on the Apify free tier. Larger crawls scale with the number of vehicle pages.

### Tips and advanced options

- Use brand-specific URLs to focus results on one marque.
- Increase **maxItems** to follow additional result pages when available.
- Add multiple start URLs to collect several brands or categories in a single run.

### FAQ, disclaimers, and support

**Is scraping Carros.com.br legal?**\
This Actor collects only **public** vehicle listings shown on carros.com.br. You are responsible for complying with applicable laws (including Brazilian data protection rules) when processing any personal data contained in listings.

**Which URLs are supported?**\
Any public search URL under `/comprar/` and individual listing URLs ending in `/d{listingId}`.

### Image Credit

Image credit: [carros.com.br](https://www.carros.com.br/)

# Actor input Schema

## `startUrls` (type: `array`):

carros.com.br search URLs (e.g. https://www.carros.com.br/comprar/usados) or individual listing detail URLs.

## `maxItems` (type: `integer`):

Maximum number of vehicle listings to return per start URL.

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

Proxy settings. The scraper works without a proxy in most regions.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.carros.com.br/comprar/usados"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "startUrls": [
        {
            "url": "https://www.carros.com.br/comprar/usados"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rainminer/carros-com-br-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 = {
    "startUrls": [{ "url": "https://www.carros.com.br/comprar/usados" }],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("rainminer/carros-com-br-scraper").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 '{
  "startUrls": [
    {
      "url": "https://www.carros.com.br/comprar/usados"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call rainminer/carros-com-br-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rainminer/carros-com-br-scraper"
        }
    }
}

```

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/Eky8o68ZNjygPY75S/builds/fO8KGSkyjLiLelfqW/openapi.json
