Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIWebmotors

    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.

    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; what a run costs is in Usage and units.

    Inputs

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

    Inputs of webmotors.search
    FieldTypeDescription
    makestringThe make, e.g. Honda.Limit: at least 1 characters, at most 60 characters.
    modelstringThe model, with make, e.g. Civic.Limit: at least 1 characters, at most 60 characters.
    statestringOnly cars in this Brazilian state, by its two-letter code, e.g. SP.Limit: matches ^[A-Za-z]{2}$.
    urlstringInstead 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"The order of the results: relevance, price_low_to_high, price_high_to_low, newest_model_year or lowest_mileage.Default: "relevance".
    pageintegerThe 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.

    Record fields of webmotors.search
    FieldTypeNotes
    positionintegerThe listing's place in the whole search, from 1: 25 is the first of page 2.
    pageintegerThe results page the listing is on, from 1.
    listing_idstringWebmotors' id of the listing.
    urlstringThe 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.
    titlestringThe listing's title as Webmotors writes it: make, model and version, e.g. HONDA CIVIC 2.0 16V FLEXONE SPORT 4P CVT.
    makestring or nullThe make, e.g. HONDA.
    modelstring or nullThe model, e.g. CIVIC.
    versionstring or nullThe version: engine, fuel, trim and gearbox as Webmotors writes them.
    newboolean or nullTrue for a new car, false for a used one.
    year_madeinteger or nullThe year the car was built.
    model_yearinteger or nullThe car's model year.
    mileage_kminteger or nullThe distance on the odometer, in kilometres.
    transmissionstring or nullThe gearbox, in Portuguese as the listing gives it, e.g. Automática, Manual.
    body_typestring or nullThe body type, in Portuguese, e.g. Sedã, Hatchback.
    doorsinteger or nullThe number of doors.
    colorstring or nullThe colour, in Portuguese, e.g. Prata.
    enginestring or nullThe engine size in litres, as written, e.g. 2.0.
    horsepowerstring or nullThe power, as written, e.g. 400 cv.
    armoredboolean or nullTrue for an armoured car.
    pricenumber or nullThe asking price, in Brazilian reais.
    currencystringThe currency of the price: BRL.Default: "BRL".
    fipe_percentinteger or nullThe price as a percentage of the car's value in the FIPE table, where Webmotors states it.
    seller_typestring or nulldealer for a shop, private for a person selling their own car.
    dealerstring or nullThe shop's name, for a dealer; null for a private seller, whose name is not returned.
    citystring or nullThe city the car is in.
    statestring or nullThe state the car is in, as written, e.g. São Paulo (SP).
    attributesarray of stringWhat the listing states about the car, in Portuguese, e.g. IPVA pago, Garantia de fábrica.
    photosarray of stringThe addresses of the listing's photos, in its order.
    total_resultsinteger or nullHow many listings the search has in all, the same on every record of a run.
    fetched_atstring (date-time)When the results were read, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    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"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("webmotors.search", {"make": "Honda", "model": "Civic"})
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("webmotors.search", { make: "Honda", model: "Civic" });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "webmotors.search", map[string]any{"make": "Honda", "model": "Civic"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("webmotors.search", Map.of("make", "Honda", "model", "Civic"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run webmotors.search --input make=Honda --input model=Civic

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "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 lists every status and the reasons every scraper shares; the reasons of the Webmotors scrapers are in their own section there.