OLX Brasil Carros Data Scraper
Pricing
from $2.99 / 1,000 vehicle listings
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
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
0
Monthly active users
23 days ago
Last modified
Categories
Features
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
- Open the Actor Store page and select Try for free or open the Input tab.
- Choose
state, then optionally add a search phrase, brand, price range, mileage range, model years, or colors. - Keep
ads_limitandmaxPagessmall for the first run. - 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 arun_diagnosticrow anddataAvailable: false.
Input
Fields marked Required must be supplied. Unsupported field names and out-of-range values are rejected before requests start.
| Field | Type | Required? | Default | Meaning |
|---|---|---|---|---|
state | string enum | Required | sp | Two-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". |
brand | string | Optional | Not supplied | Optional public vehicle brand filter. up to 80 characters. |
ps | integer | Optional | Not supplied | Optional lower price bound. 0–100000000. |
pe | integer | Optional | Not supplied | Optional upper price bound. 0–100000000. |
mileage_from | integer | Optional | Not supplied | Optional lower odometer bound. 0–2000000. |
mileage_to | integer | Optional | Not supplied | Optional upper odometer bound. 0–2000000. |
year_from | integer | Optional | Not supplied | Optional model year lower bound. 1900–2100. |
year_to | integer | Optional | Not supplied | Optional model year upper bound. 1900–2100. |
colors | string array | Optional | Not supplied | Optional public color labels. up to 10 items. |
fpdll | boolean | Optional | false | Ask OLX for listings below the FIPE reference where supported. |
search | string | Optional | Not supplied | Optional free-text vehicle query. up to 200 characters. |
ads_limit | integer | Optional | 10 | Upper bound on vehicle records. 1–100. |
maxPages | integer | Optional | 5 | Upper bound on result pages followed. 1–10. |
deduplicate | boolean | Optional | true | Remove repeated listings across pages. |
timeoutMs | integer | Optional | 30000 | Maximum time to wait for each public response. 5000–60000. |
maxBytes | integer | Optional | 5000000 | Safety limit for each public response. 1000–10000000. |
requestDelayMs | integer | Optional | 0 | Optional bounded delay between public requests. |
maxRequestRetries | integer | Optional | 1 | Retry budget for transient public-request failures. 0–3. |
proxyConfiguration | object | Optional | Not supplied | Optional standard Apify Proxy configuration. Proxy credentials are resolved by the SDK and never written to logs or dataset records. |
fixturePath | string | Optional | Not supplied | Optional 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.
| Field | Type | Availability | Meaning |
|---|---|---|---|
recordType | string enum | Always | olx-vehicle-listing for a vehicle row or run_diagnostic for an access or run outcome. |
targetType | string enum | Always | Always olx-vehicle. |
id | string | Always | Vehicle listing ID, or diagnostic:<errorCode>:<url> on a diagnostic row. |
source | string | Always | Source label, olx-cars. |
dataAvailable | boolean | Always | True only when usable public vehicle data is present. |
verified | boolean | On vehicle listing rows | True when the row came from an observed public OLX vehicle listing. |
verificationStatus | string | On vehicle listing rows | public_listing for a normal vehicle row. |
accessStatus | string | Always | public_page for a listing, access_boundary for a blocked response. |
sourceBlocked | boolean | Always | Whether the public request hit an access boundary. |
transport | string enum | Always | http for a live request or fixture for an explicitly supplied QA fixture. |
sourceTransport | string enum | Always | Transport that supplied the row; http or fixture. |
proxyUsed | boolean | Always | Whether Apify Proxy routing was used. |
requestUrl | string | Always | Public URL requested for the row. |
finalUrl | string | Always | Final public URL observed after redirects. |
httpStatus | integer | Always | HTTP status observed for the request. |
pageType | string | Always | Public page type, such as search or detail. |
sourceType | string enum | On diagnostic rows | diagnostic marker. |
query | string | When a free-text search is supplied | Search text used for the request. |
stateFilter | string | Always | Requested two-letter Brazilian state code. |
listingId | string | On vehicle listing rows | Numeric OLX listing identifier. |
title | string | On vehicle listing rows | Listing headline. |
url | string | Always | Public vehicle listing URL, or the blocked search URL on a diagnostic row. |
price | number | On vehicle listing rows | Advertised vehicle price in BRL. |
fipePrice | number | When the listing publishes a FIPE reference | FIPE reference price in BRL. |
brand | string | On vehicle listing rows | Vehicle make. |
model | string | On vehicle listing rows | Vehicle model. |
year | integer | On vehicle listing rows | Model year. |
mileage | integer | On vehicle listing rows | Odometer mileage in kilometres. |
fuel | string | When published | Fuel type shown on the listing. |
color | string | When published | Vehicle color shown on the listing. |
photos | string array | When published | Up to 100 public image URLs that passed the OLX image-host boundary. |
description | string | When published | Seller description. |
location | string | When published | Listing locality. |
publishedAt | string | When parseable | Publication timestamp in ISO UTC. |
isBusiness | boolean | When published | Whether the seller is marked as a business. |
isFeatured | boolean | When published | Whether the listing is marked as featured. |
sourceUrl | string | Always | Source search page tied to the row. |
searchUrl | string | Always | Search URL used for the request. |
pageUrl | string | Always | Result page associated with the row. |
pageNumber | integer | Always | One-based result page number. |
itemPosition | integer | On vehicle listing rows | One-based position on the result page. |
scrapedAt | string | Always | Time the row was written, in ISO UTC. |
error | string | On diagnostic rows | Human-readable diagnostic explanation. |
errorCode | string | On diagnostic rows | Stable 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.
| Field | Meaning |
|---|---|
recordType | Fixed summary discriminator: olx-cars-run-summary. |
id | Fixed summary key: run-summary. |
status | success, partial, diagnostic_only, or empty; see the status table below. |
runState | stopped when a page failed or a diagnostic was blocked, otherwise completed. |
diagnosticOnly | True when no vehicle row was saved and at least one diagnostic row was written. |
dataAvailable | True only when at least one vehicle listing was saved. |
itemCount | All dataset rows, including diagnostics. |
normalCount | Vehicle listing rows. |
recordCount | Vehicle listing rows; matches normalCount. |
listingCount | Vehicle listing rows; matches normalCount. |
resultCount | Vehicle listing rows; matches normalCount. |
diagnosticCount | Diagnostic rows written to the dataset. |
duplicateCount | Repeated listings removed. |
filteredOutCount | Listings dropped by filters or normalization. |
failedPages | Search or detail pages that failed. |
blockedCount | Blocked or challenged source responses. |
noResultCount | Pages that completed with no matching vehicle listing. |
requests | Public HTTP or fixture requests attempted. |
pageCount | Result pages processed. |
adsLimit | Vehicle-row limit applied to the run. |
maxPages | Result-page cap applied to the run. |
fixtureUsed | Whether a checked-in QA fixture supplied the page. |
fixturePath | Relative QA fixture path when one was supplied; absent from live runs and the saved example. |
sourceTransport | http for live requests or fixture for a QA fixture. |
proxyRequested | Whether proxy use was requested in the input. |
proxyUsed | Whether a request actually used Apify Proxy. |
transportCounts | Request counts split into http and fixture. |
completedAt | Time the summary was written, in ISO UTC. |
| Status | Meaning |
|---|---|
success | Vehicle listings were saved and no diagnostic row was written. |
partial | Vehicle listings were saved together with at least one diagnostic row. |
diagnostic_only | No vehicle listing was saved; one or more diagnostic rows explain the outcome. The saved 2026-10-25 run is this case. |
empty | No 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.