OLX Brazil Scraper: Listings, Cars and Real Estate avatar

OLX Brazil Scraper: Listings, Cars and Real Estate

Pricing

from $1.20 / 1,000 listings

Go to Apify Store
OLX Brazil Scraper: Listings, Cars and Real Estate

OLX Brazil Scraper: Listings, Cars and Real Estate

Scrape OLX Brazil listings by category and state: price, location, photos, seller type, car and real estate attributes. Optional descriptions, and monitor mode that returns only new listings. Em português: anúncios da OLX por categoria e estado.

Pricing

from $1.20 / 1,000 listings

Rating

0.0

(0)

Developer

Araluma

Araluma

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Reads public listings from olx.com.br and returns one row per ad: price in reais, state, city and neighbourhood, posted date, photos, whether the seller is a business or a private person, and the attributes OLX shows for the category (year, mileage and brand for cars; area, rooms, condo fee and property tax for real estate). You give it category or location URLs, or a category and a list of states. A monitor mode returns only listings that were not in the previous run of the same search.

What you can and cannot get

OLX's robots.txt (https://www.olx.com.br/robots.txt, read 2026-11-23) disallows the URL parameters that make a search deep: q (keyword), o (page number), sf (sort), ps and pe (price range) and the filter codes. This Actor follows that file. The consequence is plain:

  • It reads category and location paths only, such as https://www.olx.com.br/imoveis/venda/estado-sp.
  • It reads one page per URL, which holds up to 50 ads. The page for São Paulo apartments for sale says there are 1,509,810 ads; you get the first 50 of them, in OLX's default order (mostly recent ads, with some promoted ones mixed in).
  • To get more, give more URLs. OLX has a path for every state, region, city and sub-category (/imoveis/venda/apartamentos/estado-sp/sao-paulo-e-regiao/zona-sul). Twenty URLs give up to 1,000 listings. Using states: ["all"] reads 27 pages, up to 1,350 listings for one category.
  • There is no OLX keyword search. The keyword input filters the 50 ads of each page by title, category and attributes. It is useful on narrow pages ("honda" on a motorcycle city page), and not a way to search all of Brazil.

If you need every listing behind a search, this Actor is the wrong tool, because getting them requires the page parameter that OLX's robots.txt disallows.

Input

FieldWhat it does
startUrlsOLX category or location URLs. URLs with ?q=, ?o= or any other query string are refused with a message.
categoryA name or path: imóveis, apartamentos, casas, terrenos, aluguel, apartamentos para alugar, carros usados, motos, celulares, notebooks, or todas. Accents and case do not matter.
statesSP, RJ, Minas Gerais, or all. With a category, one page per state.
keywordFilters each page's ads by title, category and attributes.
sellerTypeany, professional or private.
minPrice, maxPricePrice range in BRL, applied after reading.
maxListingsTotal cap. Default 20.
includeDetailsOpens each ad page for the description, postal code and business name. One extra request per listing. Off by default.
monitorModeReturns only listings not seen in earlier runs of the same URLs and filters.
requestDelayMsPause between requests, default 1500, minimum 500.
proxyConfigurationApify Proxy. The Console form is prefilled with Apify Proxy on, group RESIDENTIAL, country BR. When the field is missing in an API call, no proxy is used. You pay for the traffic. See "Proxy and blocking".

Pages that are category overviews, not listing grids, give an error for that URL (measured: /imoveis, /moveis, /informatica, /moda-e-beleza, /eletronicos-e-celulares, /games and /autos-e-pecas have no ads). Use a sub-category such as /imoveis/venda or /informatica/notebooks. The category presets only contain paths that were tested to return 50 ads.

Output

One row per listing. A real row from a run on 2026-11-23 (photos shortened):

{
"id": "1555325345",
"title": "Apartamento Studio Vision Colinas Jardim Esplanada SJC",
"url": "https://sp.olx.com.br/vale-do-paraiba-e-litoral-norte/imoveis/apartamento-studio-vision-colinas-jardim-esplanada-sjc-1555325345",
"price": 520000,
"currency": "BRL",
"priceText": "R$ 520.000",
"previousPrice": null,
"category": "Apartamentos",
"state": "SP",
"city": "São José dos Campos",
"neighbourhood": "Jardim Esplanada",
"postedAt": "2026-11-23T17:04:14.000Z",
"sellerType": "professional",
"isProfessional": true,
"imageCount": 18,
"images": ["https://img.olx.com.br/images/31/318602340870916.jpg", "..."],
"vehicle": null,
"realEstate": {
"type": "Padrão", "offer": "Venda - apartamento padrão", "areaM2": 34, "rooms": 1,
"bathrooms": 1, "parkingSpaces": 1, "condoFee": 300, "propertyTax": 100
},
"attributes": { "condominio": "R$ 300", "iptu": "R$ 100", "size": "34m²", "re_features": "Academia, Churrasqueira, Piscina, Varanda" },
"sourceUrl": "https://www.olx.com.br/imoveis/venda/estado-sp",
"scrapedAt": "2026-11-23T17:15:36.163Z"
}

For cars the vehicle object is filled instead: brand, model, year, mileageKm, fuel, gearbox, color, bodyType, doors, enginePower. previousPrice is set when OLX shows a price drop. postedAt is the date OLX gives the ad, which moves when the seller bumps it. With includeDetails each row also has description, postalCode, businessName and detailStatus (ok or unavailable).

Personal data

The Actor returns listing and business data. It does not return phone numbers, e-mail addresses or the names of private sellers. businessName is filled only when OLX marks the seller as a business. Phone numbers, e-mail addresses, WhatsApp links and CPF numbers that sellers type into a description are replaced by [removed]; this is pattern matching and will miss unusual formats, so treat descriptions as text that may still contain contact details a seller wrote in an unusual way.

Monitor mode

Turn on monitorMode and run the same input on a schedule. The first run returns everything it finds and stores the ids. Later runs return only ids not stored, charged as new-listing. State is kept per input (URLs, keyword, seller type and price filters; not maxListings or includeDetails) in a named key-value store, and ids not seen for 90 days are forgotten.

The monitor watches the first 50 ads of each URL. That works for a city plus a category, where a day brings far fewer than 50 new ads. For a whole state, more than 50 ads can appear between two runs and some will be missed. Run it more often or use narrower URLs. If a run stops at maxListings, the listings it did not return are not marked as seen.

Proxy and blocking

OLX blocks cloud and data center IP addresses. Apify's servers are cloud IPs, so a run on the platform without a proxy usually gets HTTP 403 on the first page. Public notes of other OLX Actors say the same (for example "OLX's protection blocks datacenter addresses outright" in the webdata_labs OLX Actor, read 23 November 2026, https://apify.com/webdata_labs/olx-brazil-scraper). The blocking comes in waves, so a run without a proxy can pass one day and fail the next.

What to do:

  • Leave the Proxy field as prefilled: Apify Proxy, group RESIDENTIAL, country BR. Residential Brazilian IPs belong to home connections, and OLX does not block them the way it blocks cloud IPs.
  • In an API call the field is not filled in for you. A missing field means no proxy, so API users never pay for proxy traffic by accident. To use the proxy from the API send:
{ "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "BR" } }
  • Every page gets its own proxy session, so each page leaves from its own IP address. If a page is refused (HTTP 403, or a challenge page), the Actor tries that page again with up to three new sessions. If it is still refused, the page is reported as blocked and the run moves on; after three blocked pages in a row it stops reading, keeping the rows already delivered. In our platform tests on 2026-11-23, about one first session in four was refused and a new session got through.
  • Without a proxy the error message tells you to turn on residential proxy with country BR.
  • The Actor does nothing else to get around a block: no CAPTCHA solving, no faked browser fingerprints, no cookies, no login, no private API. It still follows OLX's robots.txt, so it never uses the q or o parameters.

What the proxy costs you. The prices in the Pricing section are what this Actor charges. Apify bills the platform usage of your run on top, and that includes proxy traffic. Residential proxy is priced per GB: $8 per GB on the Free and Starter plans, $7.5 on Scale and $7 on Business (https://apify.com/pricing, read 23 November 2026). Check the page for the current figure.

Estimate, not a measurement from a platform run: an OLX result page with 50 ads is somewhere between 0.1 and 1.5 MB, and an ad page between 0.1 and 0.5 MB (desk study of 23 November 2026; the trimmed test pages were not measured over the wire). So 1,000 listings need 20 result pages, which is 2 to 30 MB of proxy traffic.

Worked example at $8 per GB, 1,000 listings from 20 URLs:

  • Proxy traffic: 2 to 30 MB, which is $0.02 to $0.24.
  • Actor charges: 1,000 x $0.0012 = $1.20.
  • So the proxy adds up to about 20 percent in the worst case of this estimate.

The description option costs much more in proxy traffic. With includeDetails the Actor opens one ad page per listing, 1,020 requests per 1,000 listings instead of 20. That is an estimated 100 to 530 MB of proxy traffic, or $0.80 to $4.20 per 1,000 listings, on top of the $2.00 the listing-detail events charge. For 1,000 listings with descriptions, expect roughly $4.00 to $7.40 in total at $8 per GB (1,000 x $0.0012 + 1,000 x $0.002 + $0.80 to $4.20), and about 25 minutes of run time. If you only need prices, location and attributes, leave it off. Treat every figure here as an estimate until you see the usage line of your own run.

Pricing

Pay per event. The platform adds its own start charge of $0.00005 per run. The prices below are what the Actor charges. The platform usage of your run, proxy traffic included, is paid by you and billed by Apify separately (see "Proxy and blocking").

EventPriceWhen
listing$0.0012Each listing returned
new-listing$0.003Each listing returned by a monitor run that has a baseline (instead of listing)
listing-detail$0.002Added for each listing whose ad page was read

Examples:

RunCost
Default input, 20 listings$0.024
1,000 listings from 20 URLs$1.20
One category in all 27 states, 1,350 listings$1.62
500 listings with descriptions$1.60
Daily monitor on 10 city URLs, 15 new ads each$0.45 per day

Set a maximum charge per run; the Actor stops at it and keeps what it saved.

Limits and failure behaviour

  • Plain HTTP requests only: no browser, no cookies. Apify Proxy is optional and needed on the platform (see "Proxy and blocking"). If OLX answers 403 or a challenge page, the page is retried with up to three new proxy sessions; if it is still refused, that page is reported and the run moves on; after three blocked pages in a row it stops reading. Rows already delivered are kept. A run that reads no page ends FAILED with the reason.
  • Requests go one at a time, 1.5 s apart by default. Descriptions for 1,000 listings take about 25 minutes.
  • OLX can change the page. The data comes from the state object embedded in the page (the same one the page draws its cards from), which is more stable than CSS selectors but is not a public API.
  • Not tested: a category page with zero ads, OLX behaviour at high request volume, and any run on the Apify platform with the proxy (the proxy code was tested offline with a fake proxy only).

FAQ

Why only 50 listings per URL? OLX's robots.txt disallows the page parameter. Give more URLs, or use states: ["all"].

Can I search "iphone 13"? Not through OLX's search, which robots.txt disallows. Use category: celulares, a state or city URL, and keyword: iphone 13. You filter the 50 ads of each page.

Are the dates reliable? postedAt follows OLX's ad date, which changes when a seller renews the ad.

Why did my URL fail? Check that it has no ?, is not a single ad page, and is not a category overview. The message names the reason.

Em português

Este Actor lê anúncios públicos da OLX Brasil (olx.com.br) e devolve uma linha por anúncio: preço em reais, estado, cidade e bairro, data, fotos, se o anunciante é profissional ou particular, e os dados da categoria (carros: marca, modelo, ano e quilometragem; imóveis: área, quartos, condomínio e IPTU). Com a opção de descrição, abre cada anúncio e traz o texto (telefones e e-mails são removidos) e o nome da empresa quando o anunciante é profissional.

Entradas. Cole URLs de categoria ou região da OLX, ou escolha uma categoria (por exemplo "imóveis", "carros usados", "apartamentos para alugar") e uma lista de estados (SP, RJ ou "todos"). Acentos não importam. O campo palavra-chave filtra os anúncios lidos pelo título. Defina o máximo de anúncios.

Limite importante. O robots.txt da OLX proíbe os parâmetros de busca e de página (?q=, ?o=). Por isso o Actor lê só caminhos de categoria e região, uma página por URL, com até 50 anúncios. Para ter mais, informe mais URLs (cidades, bairros, subcategorias) ou use "todos" nos estados.

Modo monitor. Em execuções agendadas com as mesmas entradas, devolve só anúncios novos. A primeira execução é a base.

Proxy e bloqueio. A OLX bloqueia IPs de nuvem e de data center, então na plataforma da Apify uma execução sem proxy costuma receber erro 403. O campo Proxy vem preenchido com Apify Proxy, grupo RESIDENTIAL, país BR. Em chamadas pela API, se o campo não for enviado, nenhum proxy é usado. O custo do proxy é cobrado de você pela Apify, por GB (US$ 8 por GB nos planos Free e Starter, conforme https://apify.com/pricing, lido em 23/11/2026), além dos preços do Actor. Estimativa: 1.000 anúncios de 20 URLs usam de 2 a 30 MB, ou US$ 0,02 a US$ 0,24. Com a opção de descrição são 1.020 requisições por 1.000 anúncios, cerca de 100 a 530 MB, ou US$ 0,80 a US$ 4,20 de proxy além dos US$ 2,00 do evento de detalhe. Cada página usa uma sessão de proxy própria e, se for recusada, é tentada de novo com até três sessões novas; depois de três páginas bloqueadas seguidas, a execução para. Medido na plataforma em 23/11/2026: 200 anúncios de 27 estados usaram 2,8 MB de proxy. O Actor não resolve CAPTCHA, não disfarça o navegador e continua respeitando o robots.txt.

Preço. Pagamento por evento: US$ 0,0012 por anúncio, US$ 0,003 por anúncio novo no modo monitor, mais US$ 0,002 por anúncio com descrição. Uma execução de teste com 20 anúncios custa cerca de US$ 0,024, mais o uso da plataforma e do proxy, que fica por sua conta.