OLX Brazil Scraper | Cars, Property & Stores
Pricing
from $2.10 / 1,000 ads
OLX Brazil Scraper | Cars, Property & Stores
Collect public OLX Brazil ads, vehicle specifications, property details and official-store inventory, including prices, photos, seller names and locations. Pay per delivered ad row plus a start fee.
Pricing
from $2.10 / 1,000 ads
Rating
0.0
(0)
Developer
kane liu
Maintained by CommunityActor stats
1
Bookmarked
6
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
Collect public OLX Brazil ads, vehicle details, property information and official-store inventory as rows you can export.
- Listing titles, prices, images and locations from
olx.com.br. - Optional vehicle specifications, FIPE values and property costs.
- Public seller names and contact-availability information, without login or hidden-phone reveal.
- JSON, CSV and Excel exports, plus API and AI-agent access.
- $3.00 per 1,000 rows on the Free plan, plus a small start fee.
What does OLX Brazil Scraper do?
OLX Brazil Scraper collects public classified ads in Brazil. Each delivered ad is one billed row. Seller information, photos and specifications stay inside that row; they are not separately billed rows.
- Search: a keyword in
query, nationwide or in any of the 27 Brazilian states. - Category: cell phones or cars selected with
categorySlug. - Vehicles and real estate: dedicated modes, with an optional keyword.
- Seller: inventory from an official store identified by
sellerSlug. - Detail: specific ads selected with
detailUrlsordetailIds. - Enrichment:
enrichDetailsadds available detail fields to the same row. It is off by default. - Monitoring:
incrementalModecompares a scheduled run with the previous one and delivers only new or changed ads. It is off by default.
The hub option inspects category navigation, but does not produce ad rows. It is not an alternative to category collection.
What data can you extract from OLX Brazil?
All delivered rows use rowType: "ad". Optional fields depend on the listing and whether detail information is available.
| Field | Description | Example |
|---|---|---|
rowType | Row classification | ad |
id | Stable string identifier | 1234567890 |
listId | Listing number for detail input | 1234567890 |
subject | Ad title | Toyota Corolla 2020 |
url | Public listing URL | https://sp.olx.com.br/autos-e-pecas/carros-vans-e-utilitarios/corolla-1234567890 |
price | Numeric list price | 95000 |
priceValue | Displayed list-price label | R$ 95.000 |
currency | Price currency | BRL |
offerPrice | Detail price, kept separately | 95000 |
city | Municipality | São Paulo |
uf | Two-letter state code | SP |
ddd | Two-digit Brazilian area code of the listing location | 11 |
categoryName | Listing category | Carros, vans e utilitários |
description | Public ad description | Toyota Corolla 2020 |
images | Image objects, up to 50 | [] |
attributes | Named listing attributes | {} |
seller | Public seller information | {"name":"Jane Doe"} |
vehicle | Available vehicle specifications | {} |
vehicle.fipePrice | FIPE reference price when returned | 98000 |
realEstate | Available property attributes | {} |
realEstate.priceBreakdown | Property costs when returned | [] |
storeProfile | Official-store information on inventory rows | {} |
address | Available locality and postal information | {"locality":"São Paulo"} |
geo | Public map coordinates, possibly approximate | null |
phones | Valid, openly returned phone numbers only | null |
phoneStatus | Contact visibility or absence | masked |
phoneExist | Whether the seller has a phone on the ad | true |
maskedPhone | Partially hidden phone as shown publicly | (11) 9****-**** |
web.website | Seller's own external website, or null | null |
changeStatus | Incremental monitoring only: new, changed, unchanged or expired | new |
fieldSources | Per-field source information | {} |
leadAbsences | Reasons for missing contact or location fields | {"emails":"not_returned_by_public_api"} |
Seller names are public display names, not verified legal identities. phoneExist: true indicates the ad has a phone and maskedPhone holds the partially hidden public text, while dialable numbers stay behind OLX login and are excluded from phones. web.website is null unless a seller provides an external site (leadAbsences.web records absence); emails, street addresses and exact coordinates are never invented.
How to scrape OLX Brazil
- Open OLX Brazil Scraper in Apify Console.
- Fill a target field such as
query(keepsearchType: "auto") and setmaxResultsto3for a small test. - Click Start, then export the dataset as JSON, CSV or Excel.
An empty input runs the billable example search (sofa, nationwide, 3 rows). Selecting vehicles, realestate or hub explicitly does not trigger the example.
- Keyword search: fill
query(Portuguese works best) and setregiontobrasilor any of the 27 states (estado-actoestado-to, or 2-letter codes likesp,ba,df). - Category: set
categorySlugtocelularesorcarros-vans-e-utilitarios(optionalquery). - Vehicles & real estate: set
searchTypetovehiclesorrealestate, optionally addingquery, price bounds andenrichDetails: truefor FIPE or property cost breakdowns. - Official store: set
sellerSlugto a/loja-oficial/<slug>slug or URL. - Detail: pass
detailUrlsor 6–15 digitdetailIds(listId). Duplicate IDs are delivered once. - Category navigation (
hub): inspects navigation slugs such asimoveisand produces no ad rows.
What to fill in
| Field | What to enter | Default |
|---|---|---|
searchType | auto, search, category, vehicles, realestate, seller, detail or hub | auto |
query | One keyword or phrase; required for keyword search | Empty; form sample sofa |
categorySlug | celulares or carros-vans-e-utilitarios; navigation category for hub | Empty |
sellerSlug | Official-store slug or URL | Empty |
detailUrls | Array of listing URLs | Empty |
detailIds | Array of listing-number strings | Empty |
maxResults | Maximum rows per input, 1–5,000 | 70; form sample 3 |
region | brasil or one of the 27 states, estado-ac to estado-to | brasil |
priceMin | Minimum BRL price | Unset |
priceMax | Maximum BRL price; at least priceMin | Unset |
sort | Empty, date, price or relevance; a hint, not guaranteed ordering | Empty |
enrichDetails | Add available detail information to each ad | false |
page | Starting page, 1–20 | 1 |
maxPages | Compatibility setting, 1–8; not a total paging cap | 1 |
facetSlices | Split search/category collection into supported regional searches | false |
incrementalMode | Deliver only ads that are new or changed since the previous run with the same stateKey | false |
stateKey | Name for the saved monitoring snapshot, up to 100 characters | Empty |
emitUnchanged | With monitoring, also deliver unchanged ads | false |
emitExpired | With monitoring, also deliver ads no longer listed | false |
cursor | nextCursor from an earlier run's RUN_SUMMARY, to continue it | Empty |
Search:
{"query":"sofa","region":"estado-sp","maxResults":3}
Category:
{"categorySlug":"celulares","query":"iphone","maxResults":3}
Vehicles:
{"searchType":"vehicles","query":"toyota corolla","priceMin":70000,"priceMax":150000,"enrichDetails":true,"maxResults":3}
Real estate:
{"searchType":"realestate","query":"apartamento","region":"estado-mg","enrichDetails":true,"maxResults":3}
Official store:
{"sellerSlug":"localiza-seminovos","maxResults":3}
Detail: replace the illustrative ID with a current listing number.
{"detailIds":["1234567890"],"maxResults":1}
Category navigation: no ad rows are expected.
{"searchType":"hub","categorySlug":"imoveis","maxResults":3}
Incremental monitoring: run on a schedule with the same stateKey.
{"query":"iphone 13","region":"estado-ba","incrementalMode":true,"stateKey":"ba-iphone-daily","maxResults":20}
The first run with a new stateKey delivers every matching ad and saves a snapshot. Later runs with the same key deliver only ads that are new or changed, each marked with changeStatus. Turn on emitUnchanged or emitExpired to also receive unchanged ads or ads that are no longer listed; every delivered ad is a billed row. Snapshots are kept per Apify account, so the same key used by another account never mixes with yours. Tip: pair a schedule with an Apify webhook on ACTOR.RUN.SUCCEEDED to get notified only when new ads arrive.
With auto, target priority is detailUrls, detailIds, sellerSlug, categorySlug, then query. Optional keywords remain filters in compatible modes. Detail targets take precedence over another selected mode.
maxItems and limit are aliases for maxResults. Close misspellings can be corrected; other unknown fields are ignored with a note. Unsupported region filters fall back to nationwide; unsupported sort filters are ignored. Inspect INPUT_REPORT in the default key-value store for inferred, corrected and ignored fields. Invalid targets fail before any row is charged, with INVALID_INPUT: followed by the field and expected format. The start fee can still apply.
Output example
Illustrative values, not a live sample:
{"rowType": "ad","id": "1234567890","listId": "1234567890","name": "Toyota Corolla 2020","subject": "Toyota Corolla 2020","type": "classified","status": "listed","country": "BR","authority": "olx.com.br","url": "https://sp.olx.com.br/autos-e-pecas/carros-vans-e-utilitarios/corolla-1234567890","price": 95000,"priceValue": "R$ 95.000","currency": "BRL","city": "São Paulo","uf": "SP","seller": {"name": "Jane Doe"},"phones": null,"phoneStatus": "not_returned","emails": null}
Export the dataset as JSON, CSV, Excel, XML, RSS or an HTML table. JSON preserves nested structures such as vehicle attributes and seller information.
Why use this OLX Brazil scraper?
- Pay per delivered row: detail enrichment stays inside the original ad row.
- **Keep delivered results:**A run that reaches its timeout delivers the rows collected so far and gives you a cursor to continue.
- Transparent diagnostics:
INPUT_REPORTlogs normalized inputs, whileRUN_SUMMARYreportschallengeCount,fallbackCount,rateLimit429Countand (in monitoring runs)monitorSummaryacross both succeeded and failed runs. - Honest missing fields: unavailable values stay
nullwith aleadAbsencesreason. - No proxy or login setup: batch
detailUrls/detailIdsor search across all 27 states directly.
How much does it cost to scrape OLX Brazil?
Pay-per-event pricing: $0.005 per start event (1 event per GB, minimum 1; default 512 MB = $0.005) plus per-row pricing below (platform usage included):
| Apify plan | Start event | Price per row | Price per 1,000 rows |
|---|---|---|---|
| Free | $0.005 | $0.003 | $3.00 |
| Starter | $0.005 | $0.0027 | $2.70 |
| Scale | $0.005 | $0.0024 | $2.40 |
| Business | $0.005 | $0.0021 | $2.10 |
| Platinum | $0.005 | $0.0021 | $2.10 |
| Diamond | $0.005 | $0.0021 | $2.10 |
maxResultsapplies per search or detail input (default70); Free-plan use is capped at 10 runs and 200 rows per run.- Use Maximum cost per run (
maxTotalChargeUsd) to cap total spending. Enrichment adds no extra row charge. - Example: 3 ads at 512 MB on the Free plan cost
3 × $0.003 + $0.005 = $0.014(the $5.00 monthly Free credit covers ~1,666 rows across capped runs).
What happens when the run timeout is too short
If your run timeout ends before everything is collected, the run does not fail. It stops shortly before the timeout, delivers every row collected so far to the dataset, and finishes as SUCCEEDED. You are charged only for the rows it delivered.
To get the rest, run the Actor again with the same input and set cursor to
the value of nextCursor from the run's RUN_SUMMARY record (key-value store).
The new run first delivers rows that were already collected, then collects
what is left. Rows are never delivered or charged twice. A cursor can be used
once and is valid for 6 hours; after that, a run with the same input starts
from the beginning.
RUN_SUMMARY also tells you why the run stopped early: partial: true and
partialReason: "run_timeout".
Stopping a run yourself? Use Abort gracefully (Console) or
POST /v2/actor-runs/{runId}/abort?gracefully=true (API). The run then keeps
the rows collected so far and writes a cursor the same way. A plain abort stops
the run immediately and delivers nothing.
Calling the Actor synchronously (run-sync, run-sync-get-dataset-items)
works as usual: you get the rows delivered before the timeout.
Use with AI agents and the API
Apify MCP server
Add this remote server in a compatible Claude, ChatGPT, Cursor or VS Code MCP client:
https://mcp.apify.com?tools=lentic_clockss/olx-br-scraper
Sign in with Apify through OAuth when prompted, or supply Authorization: Bearer <YOUR_APIFY_TOKEN>. The tool returns run and dataset IDs; the agent can read the rows with get-dataset-items.
Clients without remote support can use npx @apify/actors-mcp-server --tools lentic_clockss/olx-br-scraper with APIFY_TOKEN set.
Example prompt: "Find 3 Toyota Corolla ads in São Paulo using the vehicles mode, with detail enrichment. Return their titles, prices and URLs."
- Agent execution note: Set
maxResultsbetween5and20on exploratory tool calls to keep responses compact, and readRUN_SUMMARYandINPUT_REPORTfrom the default key-value store to inspect normalized inputs and delivered row counts. When a run endsSUCCEEDEDwithpartial: trueand anextCursor, start a new run with the same input and thatcursorto get the rest.
Apify API
The Actor uses limited permissions.
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("lentic_clockss/olx-br-scraper").call(run_input={"query": "sofa", "maxResults": 3})for row in client.dataset(run["defaultDatasetId"]).iterate_items():print(row)
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('lentic_clockss/olx-br-scraper').call({query: 'sofa', maxResults: 3});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
For asynchronous HTTP access, send input JSON to POST https://api.apify.com/v2/acts/lentic_clockss~olx-br-scraper/runs with your bearer token. After completion, read GET https://api.apify.com/v2/datasets/<datasetId>/items?format=json.
Integrations
Use Apify integrations with Google Sheets, Make, Zapier, n8n, Slack, Airtable or your webhook. Schedule recurring runs with Apify Schedules.
Em português
Este scraper coleta anúncios públicos da OLX Brasil, incluindo preços, fotos, localização e informações disponíveis sobre veículos e imóveis. Para começar, preencha query com uma palavra-chave e escolha maxResults: 3. Use sellerSlug para uma loja oficial ou detailUrls para anúncios específicos. O modo automático identifica o tipo de consulta a partir dos campos preenchidos. O campo region aceita brasil ou qualquer um dos 27 estados (estado-ac a estado-to). A opção enrichDetails acrescenta detalhes disponíveis ao mesmo anúncio, sem criar outra linha cobrada. A cobrança considera cada linha entregue, além da taxa inicial da execução. Telefones ocultos não são revelados; campos ausentes permanecem vazios. Os resultados podem ser exportados em JSON, CSV ou Excel. Respeite os termos do site e a LGPD ao utilizar os dados.
FAQ
Is it legal to scrape OLX Brazil?
This unofficial Actor reads public data and is not affiliated with OLX. You are responsible for checking applicable terms and data-protection requirements, including Brazil's LGPD. Processing personal data requires a lawful basis; public visibility is not permission for unrestricted reuse.
Why did my run end as ABORTED?
Runs no longer pause as ABORTED when the timeout is too short; they end SUCCEEDED with partial results, as described above. ABORTED means the run was aborted. Use Abort gracefully to keep the rows collected so far and get a cursor.
How many results can I get?
maxResults accepts 1–5,000 per input, defaulting to 70. Availability, source pagination, the free-plan cap and your maximum cost can reduce delivery. The limit is a ceiling, not a promised count.
Why are some fields empty?
OLX may not expose them publicly, the ad may omit them, or enrichment may be unavailable. Check phoneStatus and leadAbsences. Enabling enrichment does not guarantee contacts, FIPE values or coordinates.
Why do leadAbsences reasons look different from earlier runs?
From November 2026, rows read from OLX web pages carry English codes; earlier runs returned Chinese-language labels. If you filter on the old labels, switch to the new codes. Rows from the OLX app data, with channel starting with app-, are unchanged and keep codes such as not_returned_by_public_api.
| Web-page rows and fields | Earlier label contains (JSON-escaped) | New value |
|---|---|---|
phones and org | "\u95f8\u95e8\u9501" | gated (<note>) |
emails, address, geo, person and socials with leadSource search (search card) | "\u672c\u7ad9\u65e0" | not_on_list_page (<note>) |
The same fields with leadSource detail (ad page, or a search card merged with its ad page) | "\u672c\u7ad9\u65e0" | not_verified (<note>) |
<note> example: not_verified (the detail parser does not read coordinates). not_verified means the Actor did not read that field from the page, not that the seller has none.
Can I collect hidden phone numbers?
No. The Actor does not log in, open chat or reveal hidden numbers. Dialable seller numbers stay behind an OLX account login. You get phoneExist and the public maskedPhone form instead; masked values are not exported as usable phones.
Why does collection continue beyond maxPages?
The current ad-row collection continues until the row allowance or source limit is reached. maxPages is retained for compatibility, not as a total paging cap. Repeated pages stop collection with a warning.
Can I filter by any Brazilian state, or use other OLX countries?
Every Brazilian state is supported: region accepts brasil for nationwide or estado-<uf> for all 27 states, estado-ac through estado-to, including estado-df. This Actor covers olx.com.br only; other OLX country sites are not supported.
Can I get only new ads on each run?
Yes. Turn on incrementalMode and reuse the same stateKey on a schedule. Later runs deliver only new or changed ads; see the incremental monitoring example above.
Limitations
- No private accounts, chat, login-only contacts or home-recommendation pagination.
- Only the two documented listing category slugs are accepted in category mode.
hubdoes not deliver category links as dataset rows.- Sort hints may be ignored; global price ordering is not guaranteed.
- Attribute lists are capped at 50 entries. Map positions may be approximate.
- Ads can expire or change between search and detail lookup; list price and
offerPricemay differ. - Ads without a listed price (job vacancies, donations, price on request) are still delivered and billed as one row; their
price,priceValueandcurrencyare empty. - A plain (not graceful) abort stops the run immediately and delivers nothing.
Related scrapers
More e-commerce and marketplace scrapers from the same publisher:
- Walmart Scraper
- Temu Scraper
- Allegro Scraper
- Shopee Scraper
- Amazon Scraper
- Rakuten Scraper
- Stealth Web Scraper
- Email Validator
Browse all of our scrapers at apify.com/lentic_clockss.
Support
Report problems or request a field through the Issues tab of this Actor's page. Include the run ID and the input you used.