# webmotors.search

A page of Webmotors' car listings in Brazil, by make, model and state or any search address: price, year, mileage, specification, seller and photos.

Webmotors search, one of the Webmotors scrapers.

| | |
| --- | --- |
| Id | `webmotors.search` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/webmotors.search/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `make` | string | no | The make, e.g. `Honda`. Limit: at least 1 characters, at most 60 characters. |
| `model` | string | no | The model, with `make`, e.g. `Civic`. Limit: at least 1 characters, at most 60 characters. |
| `state` | string | no | Only cars in this Brazilian state, by its two-letter code, e.g. `SP`. Limit: matches ^[A-Za-z]{2}$. |
| `url` | string | no | Instead of the fields above: the address of a car search on webmotors.com.br with its filters, e.g. https://www.webmotors.com.br/carros/estoque/honda/civic. Limit: at most 1500 characters. |
| `sort` | "relevance" \| "price_low_to_high" \| "price_high_to_low" \| "newest_model_year" \| "lowest_mileage" | no | The order of the results: relevance, price_low_to_high, price_high_to_low, newest_model_year or lowest_mileage. Default: `"relevance"`. |
| `page` | integer | no | The results page, from 1; a page holds 24 listings. Limit: 1 to 300. Default: `1`. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `position` | integer | The listing's place in the whole search, from 1: 25 is the first of page 2. |
| `page` | integer | The results page the listing is on, from 1. |
| `listing_id` | string | Webmotors' id of the listing. |
| `url` | string | The listing's page on webmotors.com.br, in the form the site's own links take; the id at its end is what names the listing. |
| `title` | string | The listing's title as Webmotors writes it: make, model and version, e.g. `HONDA CIVIC 2.0 16V FLEXONE SPORT 4P CVT`. |
| `make` | string or null | The make, e.g. `HONDA`. |
| `model` | string or null | The model, e.g. `CIVIC`. |
| `version` | string or null | The version: engine, fuel, trim and gearbox as Webmotors writes them. |
| `new` | boolean or null | True for a new car, false for a used one. |
| `year_made` | integer or null | The year the car was built. |
| `model_year` | integer or null | The car's model year. |
| `mileage_km` | integer or null | The distance on the odometer, in kilometres. |
| `transmission` | string or null | The gearbox, in Portuguese as the listing gives it, e.g. `Automática`, `Manual`. |
| `body_type` | string or null | The body type, in Portuguese, e.g. `Sedã`, `Hatchback`. |
| `doors` | integer or null | The number of doors. |
| `color` | string or null | The colour, in Portuguese, e.g. `Prata`. |
| `engine` | string or null | The engine size in litres, as written, e.g. `2.0`. |
| `horsepower` | string or null | The power, as written, e.g. `400 cv`. |
| `armored` | boolean or null | True for an armoured car. |
| `price` | number or null | The asking price, in Brazilian reais. |
| `currency` | string | The currency of the price: `BRL`. Default: `"BRL"`. |
| `fipe_percent` | integer or null | The price as a percentage of the car's value in the FIPE table, where Webmotors states it. |
| `seller_type` | string or null | `dealer` for a shop, `private` for a person selling their own car. |
| `dealer` | string or null | The shop's name, for a dealer; null for a private seller, whose name is not returned. |
| `city` | string or null | The city the car is in. |
| `state` | string or null | The state the car is in, as written, e.g. `São Paulo (SP)`. |
| `attributes` | array of string | What the listing states about the car, in Portuguese, e.g. `IPVA pago`, `Garantia de fábrica`. |
| `photos` | array of string | The addresses of the listing's photos, in its order. |
| `total_results` | integer or null | How many listings the search has in all, the same on every record of a run. |
| `fetched_at` | string (date-time) | When the results were read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/webmotors.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"make":"Honda","model":"Civic"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "webmotors.search",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "make": "Honda",
    "model": "Civic"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "position": 1,
      "page": 1,
      "listing_id": "81532253",
      "url": "https://www.webmotors.com.br/comprar/honda/civic/20-16v-flexone-sport-4p-cvt/4-portas/2020-2020/81532253",
      "title": "HONDA CIVIC 2.0 16V FLEXONE SPORT 4P CVT",
      "make": "HONDA",
      "model": "CIVIC",
      "version": "2.0 16V FLEXONE SPORT 4P CVT",
      "new": false,
      "year_made": 2020,
      "model_year": 2020,
      "mileage_km": 80000,
      "transmission": "CVT",
      "body_type": "Sedã",
      "doors": 4,
      "color": "Preto",
      "engine": "2.0",
      "horsepower": "155 cv",
      "armored": false,
      "price": 109500,
      "currency": "BRL",
      "fipe_percent": 100,
      "seller_type": "private",
      "dealer": null,
      "city": "São Paulo",
      "state": "São Paulo (SP)",
      "attributes": [
        "Aceita troca",
        "IPVA pago",
        "Licenciado"
      ],
      "photos": [
        "https://image.webmotors.com.br/_fotos/anunciousados/gigante/2026/202610/20261024/hondacivic2016vflexonesport4pcvt-WMIMAGEM1655014846.jpg",
        "https://image.webmotors.com.br/_fotos/anunciousados/gigante/2026/202610/20261024/hondacivic2016vflexonesport4pcvt-WMIMAGEM16553153533.jpg",
        "https://image.webmotors.com.br/_fotos/anunciousados/gigante/2026/202610/20261024/hondacivic2016vflexonesport4pcvt-WMIMAGEM16555214733.jpg"
      ],
      "total_results": 3074,
      "fetched_at": "2026-11-19T19:04:53.263491Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `photos`: 8 items, the first 3 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Webmotors scrapers](https://docs.enrichednow.com/results-and-statuses.md#webmotors) are in their own section there.
