OLX Brasil Carros Data Scraper avatar

OLX Brasil Carros Data Scraper

Pricing

from $2.99 / 1,000 vehicle listings

Go to Apify Store
OLX Brasil Carros Data Scraper

OLX Brasil Carros Data Scraper

Extracts public OLX Brasil vehicle listings with prices, FIPE references, vehicle attributes, photos, and descriptions.

Pricing

from $2.99 / 1,000 vehicle listings

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

23 days ago

Last modified

Categories

Features

Limited permissions

Share

OLX Brasil Carros Data Scraper collects vehicle listings exposed on public OLX Brasil search pages. It applies state, brand, price, mileage, model-year, color, FIPE, and free-text filters, then emits normalized listing records with public URLs, visible vehicle attributes, and request provenance. When OLX blocks the search page, the run writes a structured diagnostic row instead of pretending the search was empty.

Get started

  1. Open the Actor Store page and select Try for free or open the Input tab.
  2. Choose state, then optionally add a search phrase, brand, price range, mileage range, model years, or colors.
  3. Keep ads_limit and maxPages small for the first run.
  4. Start the Actor, open the dataset, and export the saved records as JSON, CSV, or Excel. Open Run summary (OUTPUT) to check the outcome and counts. A blocked run contains a run_diagnostic row and dataAvailable: false.

Input

Fields marked Required must be supplied. Unsupported field names and out-of-range values are rejected before requests start.

FieldTypeRequired?DefaultMeaning
statestring enumRequiredspTwo-letter Brazilian state code. Allowed values: "ac", "al", "ap", "am", "ba", "ce", "df", "es", "go", "ma", "mt", "ms", "mg", "pa", "pb", "pr", "pe", "pi", "rj", "rn", "rs", "ro", "rr", "sc", "sp", "se", "to".
brandstringOptionalNot suppliedOptional public vehicle brand filter. up to 80 characters.
psintegerOptionalNot suppliedOptional lower price bound. 0–100000000.
peintegerOptionalNot suppliedOptional upper price bound. 0–100000000.
mileage_fromintegerOptionalNot suppliedOptional lower odometer bound. 0–2000000.
mileage_tointegerOptionalNot suppliedOptional upper odometer bound. 0–2000000.
year_fromintegerOptionalNot suppliedOptional model year lower bound. 1900–2100.
year_tointegerOptionalNot suppliedOptional model year upper bound. 1900–2100.
colorsstring arrayOptionalNot suppliedOptional public color labels. up to 10 items.
fpdllbooleanOptionalfalseAsk OLX for listings below the FIPE reference where supported.
searchstringOptionalNot suppliedOptional free-text vehicle query. up to 200 characters.
ads_limitintegerOptional10Upper bound on vehicle records. 1–100.
maxPagesintegerOptional5Upper bound on result pages followed. 1–10.
deduplicatebooleanOptionaltrueRemove repeated listings across pages.
timeoutMsintegerOptional30000Maximum time to wait for each public response. 5000–60000.
maxBytesintegerOptional5000000Safety limit for each public response. 1000–10000000.
requestDelayMsintegerOptional0Optional bounded delay between public requests.
maxRequestRetriesintegerOptional1Retry budget for transient public-request failures. 0–3.
proxyConfigurationobjectOptionalNot suppliedOptional standard Apify Proxy configuration. Proxy credentials are resolved by the SDK and never written to logs or dataset records.
fixturePathstringOptionalNot suppliedOptional checked-in relative fixture for local validation; it never replaces a failed live request unless explicitly supplied. up to 260 characters.

Full default input:

{
"state": "sp",
"fpdll": false,
"ads_limit": 10,
"maxPages": 5,
"deduplicate": true,
"timeoutMs": 30000,
"maxBytes": 5000000,
"requestDelayMs": 0,
"maxRequestRetries": 1
}

The Actor reads public data from OLX Brasil. Optional filters are combined in the public search request; proxyConfiguration uses the standard Apify Proxy settings. fixturePath is for the Actor's offline QA only and should be left empty for live runs.

Output

The dataset contains one row per unique public vehicle listing. When OLX blocks the search, it contains a structured run_diagnostic row with dataAvailable: false instead. The 2026-10-25 saved run returned one such row: the São Paulo search page answered HTTP 403, and no vehicle listing was saved. The listing fields below describe normal vehicle rows but are not evidenced by that run; diagnostic fields are intentional and are not placeholder listings.

FieldTypeAvailabilityMeaning
recordTypestring enumAlwaysolx-vehicle-listing for a vehicle row or run_diagnostic for an access or run outcome.
targetTypestring enumAlwaysAlways olx-vehicle.
idstringAlwaysVehicle listing ID, or diagnostic:<errorCode>:<url> on a diagnostic row.
sourcestringAlwaysSource label, olx-cars.
dataAvailablebooleanAlwaysTrue only when usable public vehicle data is present.
verifiedbooleanOn vehicle listing rowsTrue when the row came from an observed public OLX vehicle listing.
verificationStatusstringOn vehicle listing rowspublic_listing for a normal vehicle row.
accessStatusstringAlwayspublic_page for a listing, access_boundary for a blocked response.
sourceBlockedbooleanAlwaysWhether the public request hit an access boundary.
transportstring enumAlwayshttp for a live request or fixture for an explicitly supplied QA fixture.
sourceTransportstring enumAlwaysTransport that supplied the row; http or fixture.
proxyUsedbooleanAlwaysWhether Apify Proxy routing was used.
requestUrlstringAlwaysPublic URL requested for the row.
finalUrlstringAlwaysFinal public URL observed after redirects.
httpStatusintegerAlwaysHTTP status observed for the request.
pageTypestringAlwaysPublic page type, such as search or detail.
sourceTypestring enumOn diagnostic rowsdiagnostic marker.
querystringWhen a free-text search is suppliedSearch text used for the request.
stateFilterstringAlwaysRequested two-letter Brazilian state code.
listingIdstringOn vehicle listing rowsNumeric OLX listing identifier.
titlestringOn vehicle listing rowsListing headline.
urlstringAlwaysPublic vehicle listing URL, or the blocked search URL on a diagnostic row.
pricenumberOn vehicle listing rowsAdvertised vehicle price in BRL.
fipePricenumberWhen the listing publishes a FIPE referenceFIPE reference price in BRL.
brandstringOn vehicle listing rowsVehicle make.
modelstringOn vehicle listing rowsVehicle model.
yearintegerOn vehicle listing rowsModel year.
mileageintegerOn vehicle listing rowsOdometer mileage in kilometres.
fuelstringWhen publishedFuel type shown on the listing.
colorstringWhen publishedVehicle color shown on the listing.
photosstring arrayWhen publishedUp to 100 public image URLs that passed the OLX image-host boundary.
descriptionstringWhen publishedSeller description.
locationstringWhen publishedListing locality.
publishedAtstringWhen parseablePublication timestamp in ISO UTC.
isBusinessbooleanWhen publishedWhether the seller is marked as a business.
isFeaturedbooleanWhen publishedWhether the listing is marked as featured.
sourceUrlstringAlwaysSource search page tied to the row.
searchUrlstringAlwaysSearch URL used for the request.
pageUrlstringAlwaysResult page associated with the row.
pageNumberintegerAlwaysOne-based result page number.
itemPositionintegerOn vehicle listing rowsOne-based position on the result page.
scrapedAtstringAlwaysTime the row was written, in ISO UTC.
errorstringOn diagnostic rowsHuman-readable diagnostic explanation.
errorCodestringOn diagnostic rowsStable machine-readable code, such as ACCESS_BOUNDARY.

The example below is the complete saved diagnostic row from the 2026-10-25 run.

{
"recordType": "run_diagnostic",
"targetType": "olx-vehicle",
"id": "diagnostic:ACCESS_BOUNDARY:https://www.olx.com.br/autos-e-pecas/carros-vans-e-utilitarios/estado-sp",
"source": "olx-cars",
"url": "https://www.olx.com.br/autos-e-pecas/carros-vans-e-utilitarios/estado-sp",
"requestUrl": "https://www.olx.com.br/autos-e-pecas/carros-vans-e-utilitarios/estado-sp",
"sourceUrl": "https://www.olx.com.br/autos-e-pecas/carros-vans-e-utilitarios/estado-sp",
"finalUrl": "https://www.olx.com.br/autos-e-pecas/carros-vans-e-utilitarios/estado-sp",
"httpStatus": 403,
"pageType": "search",
"accessStatus": "access_boundary",
"sourceBlocked": true,
"transport": "http",
"sourceTransport": "http",
"proxyUsed": false,
"dataAvailable": false,
"sourceType": "diagnostic",
"error": "OLX returned an anti-automation or JavaScript challenge; no bypass was attempted.",
"errorCode": "ACCESS_BOUNDARY",
"scrapedAt": "2026-10-25T21:07:51.818Z",
"searchUrl": "https://www.olx.com.br/autos-e-pecas/carros-vans-e-utilitarios/estado-sp",
"pageUrl": "https://www.olx.com.br/autos-e-pecas/carros-vans-e-utilitarios/estado-sp",
"stateFilter": "sp",
"pageNumber": 1
}

Run summary

Run summary is stored separately from the dataset in the run's key-value store under OUTPUT.

FieldMeaning
recordTypeFixed summary discriminator: olx-cars-run-summary.
idFixed summary key: run-summary.
statussuccess, partial, diagnostic_only, or empty; see the status table below.
runStatestopped when a page failed or a diagnostic was blocked, otherwise completed.
diagnosticOnlyTrue when no vehicle row was saved and at least one diagnostic row was written.
dataAvailableTrue only when at least one vehicle listing was saved.
itemCountAll dataset rows, including diagnostics.
normalCountVehicle listing rows.
recordCountVehicle listing rows; matches normalCount.
listingCountVehicle listing rows; matches normalCount.
resultCountVehicle listing rows; matches normalCount.
diagnosticCountDiagnostic rows written to the dataset.
duplicateCountRepeated listings removed.
filteredOutCountListings dropped by filters or normalization.
failedPagesSearch or detail pages that failed.
blockedCountBlocked or challenged source responses.
noResultCountPages that completed with no matching vehicle listing.
requestsPublic HTTP or fixture requests attempted.
pageCountResult pages processed.
adsLimitVehicle-row limit applied to the run.
maxPagesResult-page cap applied to the run.
fixtureUsedWhether a checked-in QA fixture supplied the page.
fixturePathRelative QA fixture path when one was supplied; absent from live runs and the saved example.
sourceTransporthttp for live requests or fixture for a QA fixture.
proxyRequestedWhether proxy use was requested in the input.
proxyUsedWhether a request actually used Apify Proxy.
transportCountsRequest counts split into http and fixture.
completedAtTime the summary was written, in ISO UTC.
StatusMeaning
successVehicle listings were saved and no diagnostic row was written.
partialVehicle listings were saved together with at least one diagnostic row.
diagnostic_onlyNo vehicle listing was saved; one or more diagnostic rows explain the outcome. The saved 2026-10-25 run is this case.
emptyNo listing and no diagnostic was produced.

Example OUTPUT from the saved run:

{
"recordType": "olx-cars-run-summary",
"id": "run-summary",
"status": "diagnostic_only",
"runState": "stopped",
"diagnosticOnly": true,
"dataAvailable": false,
"itemCount": 1,
"normalCount": 0,
"recordCount": 0,
"listingCount": 0,
"resultCount": 0,
"diagnosticCount": 1,
"duplicateCount": 0,
"filteredOutCount": 0,
"failedPages": 1,
"blockedCount": 1,
"noResultCount": 0,
"requests": 1,
"pageCount": 1,
"adsLimit": 3,
"maxPages": 1,
"fixtureUsed": false,
"sourceTransport": "http",
"proxyRequested": false,
"proxyUsed": false,
"transportCounts": {
"http": 1,
"fixture": 0
},
"completedAt": "2026-10-25T21:07:51.820Z"
}

Coverage and limitations

The Actor reads public OLX Brasil search and vehicle pages. It does not log in, solve CAPTCHA or JavaScript challenges, use private APIs, bypass access controls, or invent vehicle data. A 401, 403, recognized challenge, or identity check is terminal for the run: the Actor emits a structured run_diagnostic row and does not retry through an alternate transport. That is why the saved 2026-10-25 run has a diagnostic row and no vehicle records. Normal listing fields are omitted when the source does not publish them, and price and fipePrice are source values, not an appraisal or a guarantee of condition.

The blocked status is also recorded in OUTPUT; it is not represented as an empty successful search. fixturePath exists only for offline QA: when supplied, fixtureUsed and sourceTransport: "fixture" identify the row, and fixture output must not be presented as live OLX data. Leave it empty for normal runs. Optional Apify Proxy settings are supported when supplied.

Usage and support

Apify account billing for compute, network traffic, and any selected proxy service applies. Start with a small ads_limit and maxPages, inspect the dataset and OUTPUT, then scale gradually. A diagnostic-only result means OLX denied the request; retrying the same target without changing access or respecting the source is unlikely to help. See the Actor's Pricing tab for current account rates. Use the Actor Issues page to report a problem. Include the run ID, the input used, and the run summary; do not include tokens, cookies, or private data. This Actor is an independent community tool and is not affiliated with, endorsed by, or sponsored by OLX or its affiliates. Use it only for public data and in accordance with the source's terms, robots guidance, and applicable law. Public pages can contain personal information; use the output only for lawful purposes.