OLX Brazil Scraper | Cars, Property & Stores avatar

OLX Brazil Scraper | Cars, Property & Stores

Pricing

from $2.10 / 1,000 ads

Go to Apify Store
OLX Brazil Scraper | Cars, Property & Stores

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

kane liu

Maintained by Community

Actor stats

1

Bookmarked

6

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

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 detailUrls or detailIds.
  • Enrichment: enrichDetails adds available detail fields to the same row. It is off by default.
  • Monitoring: incrementalMode compares 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.

FieldDescriptionExample
rowTypeRow classificationad
idStable string identifier1234567890
listIdListing number for detail input1234567890
subjectAd titleToyota Corolla 2020
urlPublic listing URLhttps://sp.olx.com.br/autos-e-pecas/carros-vans-e-utilitarios/corolla-1234567890
priceNumeric list price95000
priceValueDisplayed list-price labelR$ 95.000
currencyPrice currencyBRL
offerPriceDetail price, kept separately95000
cityMunicipalitySão Paulo
ufTwo-letter state codeSP
dddTwo-digit Brazilian area code of the listing location11
categoryNameListing categoryCarros, vans e utilitários
descriptionPublic ad descriptionToyota Corolla 2020
imagesImage objects, up to 50[]
attributesNamed listing attributes{}
sellerPublic seller information{"name":"Jane Doe"}
vehicleAvailable vehicle specifications{}
vehicle.fipePriceFIPE reference price when returned98000
realEstateAvailable property attributes{}
realEstate.priceBreakdownProperty costs when returned[]
storeProfileOfficial-store information on inventory rows{}
addressAvailable locality and postal information{"locality":"São Paulo"}
geoPublic map coordinates, possibly approximatenull
phonesValid, openly returned phone numbers onlynull
phoneStatusContact visibility or absencemasked
phoneExistWhether the seller has a phone on the adtrue
maskedPhonePartially hidden phone as shown publicly(11) 9****-****
web.websiteSeller's own external website, or nullnull
changeStatusIncremental monitoring only: new, changed, unchanged or expirednew
fieldSourcesPer-field source information{}
leadAbsencesReasons 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

  1. Open OLX Brazil Scraper in Apify Console.
  2. Fill a target field such as query (keep searchType: "auto") and set maxResults to 3 for a small test.
  3. 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 set region to brasil or any of the 27 states (estado-ac to estado-to, or 2-letter codes like sp, ba, df).
  • Category: set categorySlug to celulares or carros-vans-e-utilitarios (optional query).
  • Vehicles & real estate: set searchType to vehicles or realestate, optionally adding query, price bounds and enrichDetails: true for FIPE or property cost breakdowns.
  • Official store: set sellerSlug to a /loja-oficial/<slug> slug or URL.
  • Detail: pass detailUrls or 6–15 digit detailIds (listId). Duplicate IDs are delivered once.
  • Category navigation (hub): inspects navigation slugs such as imoveis and produces no ad rows.

What to fill in

FieldWhat to enterDefault
searchTypeauto, search, category, vehicles, realestate, seller, detail or hubauto
queryOne keyword or phrase; required for keyword searchEmpty; form sample sofa
categorySlugcelulares or carros-vans-e-utilitarios; navigation category for hubEmpty
sellerSlugOfficial-store slug or URLEmpty
detailUrlsArray of listing URLsEmpty
detailIdsArray of listing-number stringsEmpty
maxResultsMaximum rows per input, 1–5,00070; form sample 3
regionbrasil or one of the 27 states, estado-ac to estado-tobrasil
priceMinMinimum BRL priceUnset
priceMaxMaximum BRL price; at least priceMinUnset
sortEmpty, date, price or relevance; a hint, not guaranteed orderingEmpty
enrichDetailsAdd available detail information to each adfalse
pageStarting page, 1–201
maxPagesCompatibility setting, 1–8; not a total paging cap1
facetSlicesSplit search/category collection into supported regional searchesfalse
incrementalModeDeliver only ads that are new or changed since the previous run with the same stateKeyfalse
stateKeyName for the saved monitoring snapshot, up to 100 charactersEmpty
emitUnchangedWith monitoring, also deliver unchanged adsfalse
emitExpiredWith monitoring, also deliver ads no longer listedfalse
cursornextCursor from an earlier run's RUN_SUMMARY, to continue itEmpty

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_REPORT logs normalized inputs, while RUN_SUMMARY reports challengeCount, fallbackCount, rateLimit429Count and (in monitoring runs) monitorSummary across both succeeded and failed runs.
  • Honest missing fields: unavailable values stay null with a leadAbsences reason.
  • No proxy or login setup: batch detailUrls/detailIds or 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 planStart eventPrice per rowPrice 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
  • maxResults applies per search or detail input (default 70); 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 maxResults between 5 and 20 on exploratory tool calls to keep responses compact, and read RUN_SUMMARY and INPUT_REPORT from the default key-value store to inspect normalized inputs and delivered row counts. When a run ends SUCCEEDED with partial: true and a nextCursor, start a new run with the same input and that cursor to get the rest.

Apify API

The Actor uses limited permissions.

from apify_client import ApifyClient
client = 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

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 fieldsEarlier 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.
  • hub does 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 offerPrice may differ.
  • Ads without a listed price (job vacancies, donations, price on request) are still delivered and billed as one row; their price, priceValue and currency are empty.
  • A plain (not graceful) abort stops the run immediately and delivers nothing.

More e-commerce and marketplace scrapers from the same publisher:

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.