OLX Brazil API for search results and ad pages
Send any OLX Brazil page URL with recipe=olx-br and get title, price, location and 14 more fields as JSON. No selectors to write, no proxies to pick.
- 2 page types
- 17 fields
- 5 credits a page · $0.50 per 1,000
- Mostly working · 76.9% in 7 days
5,000 free credits for 7 days, no card.
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.olx.com.br/brasil?q=iphone' \
--data-urlencode 'recipe=olx-br/listing'
{
"result": {
"ads": [
{
"title": "iPhone 17 PRO MAX intacto",
"price": "R$ 7.000",
"location": "Bom Jesus da Lapa"
}
]
},
"success": true
}
Is there an official OLX Brazil API?
No official API
No. OLX Brazil has no public API for listing data.
Source: olx.com.br on olx.com.br, checked November 6, 2026.
How to get OLX Brazil data as JSON today
- Get a free API key: 5,000 free credits for 7 days, no card.
- Send any OLX Brazil page URL with
recipe=olx-brto the Scrape API (the call). - Get 17 fields as JSON, 5 credits a page, billed only when the call succeeds.
Ujeebu's OLX Brazil recipe returns title, price, location and 14 more fields from any public OLX Brazil page as JSON: send the URL with recipe=olx-br to the Scrape API, 5 credits a page, no OLX Brazil account or partner approval needed.
What you get from OLX Brazil
The fields of each page type and a real sample from our last validation, shortened.
Search and listing pages recipe=olx-br/listing 5 credits a page
| Field | Type | Example |
|---|---|---|
ads | list of 3+ items | |
ads[].url | URL | https://sp.olx.com.br/baixada-santista-e-litoral-sul/celulares/ipho... |
ads[].title | text | IPHONE 15 PRO MAX 256GB - BLACK TITANIUM |
ads[].image | image URL | https://img.olx.com.br/thumbs700x500/56/562644320622000.webp |
ads[].price | text | R$ 3.990 |
ads[].location | text | Santos, Santa Maria |
ads[].posted | text | Hoje, 11:14 |
Sample answer, validated 2026-11-10
{
"ads": [
{
"url": "https://ba.olx.com.br/regiao-de-vitoria-da-conquista-e-barreiras/celulares/iphone-17-pro-max-intacto-1551645533",
"title": "iPhone 17 PRO MAX intacto",
"image": "https://img.olx.com.br/thumbs700x500/21/214604465439250.webp",
"price": "R$ 7.000",
"location": "Bom Jesus da Lapa",
"posted": "Hoje, 06:06"
},
{
"url": "https://mg.olx.com.br/regiao-de-pocos-de-caldas-e-varginha/celulares/iphone-12-128gb-branco-com-todos-acessorios-originais-10-capas-1550325482",
"title": "iPhone 12 128GB Branco com todos acessórios originais + 10 Capas",
"image": "https://img.olx.com.br/thumbs700x500/70/701624584324900.webp",
"price": "R$ 1.800",
"location": "Careaçu, Centro",
"posted": "Hoje, 05:25"
}
]
}
Ad pages recipe=olx-br/detail 5 credits a page
| Field | Type | Example |
|---|---|---|
product.currency | text | BRL |
product.name | text | iPhone 15 Pro Max 256 GB Titânio Azul |
product.url | URL | https://sp.olx.com.br/sao-paulo-e-regiao/celulares/iphone-15-pro-ma... |
image | image URL | https://img.olx.com.br/images/14/147631693010882.jpg |
ad.ad_id | number (as text) | 1544594589 |
ad.category | text | Celulares e Smartphones |
ad.currency | text | BRL |
ad.description | text | iPhone 15 Pro Max 256 GB Titânio Azul Aparelho muito bem preservado... |
ad.details | text | Marca: APPLE | Modelo: IPHONE 15 PRO MAX | Condição: Usado - Excele... |
ad.images | list | ["https://img.olx.com.br/images/14/147631693010882.jpg","https://im... |
ad.location | text | Vila Andrade, São Paulo, SP |
ad.olx_pay | text | yes |
Show all 18 fields
ad.parent_category | text | Celulares e Telefonia |
ad.posted | date | 2026-10-30T20:03:38.000Z |
ad.price | text | R$ 4.690 |
ad.professional | text | no |
ad.region | text | São Paulo e região, SP |
ad.title | text | iPhone 15 Pro Max 256 GB Titânio Azul |
Sample answer, validated 2026-11-15
{
"ad": {
"ad_id": "1544594589",
"category": "Celulares e Smartphones",
"currency": "BRL",
"description": "iPhone 15 Pro Max 256 GB Titânio Azul Aparelho muito bem preservado, sem uso cotidiano, acompanhado da caixa original. ? Armazenamento: 256 GB ? Saúde da bat...",
"details": "Marca: APPLE | Modelo: IPHONE 15 PRO MAX | Condição: Usado - Excelente | Memória interna: 256GB | Cor: Azul | Saúde da bateria: Perfeita (95% até 100%) | Ace...",
"images": [
"https://img.olx.com.br/images/14/147631693010882.jpg",
"https://img.olx.com.br/images/15/155660932493616.jpg"
],
"location": "Vila Andrade, São Paulo, SP",
"olx_pay": "yes",
"parent_category": "Celulares e Telefonia",
"posted": "2026-10-30T20:03:38.000Z",
"price": "R$ 4.690",
"professional": "no",
"region": "São Paulo e região, SP",
"title": "iPhone 15 Pro Max 256 GB Titânio Azul"
},
"product": {
"currency": "BRL",
"name": "iPhone 15 Pro Max 256 GB Titânio Azul",
"url": "https://sp.olx.com.br/sao-paulo-e-regiao/celulares/iphone-15-pro-max-256-gb-titanio-azul-1544594589"
},
"image": "https://img.olx.com.br/images/14/147631693010882.jpg"
}
One call
Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on OLX Brazil (JavaScript rendering).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.olx.com.br/brasil?q=iphone' \
--data-urlencode 'recipe=olx-br/listing'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://www.olx.com.br/brasil?q=iphone", "recipe": "olx-br/listing"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
for item in r.json()["result"]["ads"][:3]:
print(item["title"], item["price"], item["location"])
# Example output:
# iPhone 17 PRO MAX intacto R$ 7.000 Bom Jesus da Lapa
# iPhone 12 128GB Branco com todos aces... R$ 1.800 Careaçu, Centro
const params = new URLSearchParams({
url: "https://www.olx.com.br/brasil?q=iphone",
recipe: "olx-br/listing",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
for (const item of result.ads.slice(0, 3)) {
console.log(item.title, item.price, item.location);
}
// Example output:
// iPhone 17 PRO MAX intacto R$ 7.000 Bom Jesus da Lapa
// iPhone 12 128GB Branco com todos aces... R$ 1.800 Careaçu, Centro
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Other page types: recipe=olx-br/detail, or recipe=olx-br and the API picks the page type from the URL. Your own parameters always win over the recipe.
Search OLX Brazil with parameters
One call, no URL: send recipe=olx-br/search with the parameters below. We build the OLX Brazil search URL and answer the listing JSON, at the same credits as the page call.
| Parameter | Type | Values |
|---|---|---|
query required | string | Search words, as typed in the OLX Brazil search box. |
page | int | 1 to 10 |
One call (query=bicicleta)
curl -G 'https://api.ujeebu.com/scrape' \
-H 'ApiKey: YOUR_API_KEY' \
-d 'recipe=olx-br/search' \
-d 'query=bicicleta'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"recipe": "olx-br/search", "query": "bicicleta"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
for item in r.json()["result"]["ads"][:3]:
print(item["title"], item["price"], item["location"])
# Example output:
# iPhone 17 PRO MAX intacto R$ 7.000 Bom Jesus da Lapa
# iPhone 12 128GB Branco com todos aces... R$ 1.800 Careaçu, Centro
const params = new URLSearchParams({
recipe: "olx-br/search",
query: "bicicleta",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
for (const item of result.ads.slice(0, 3)) {
console.log(item.title, item.price, item.location);
}
// Example output:
// iPhone 17 PRO MAX intacto R$ 7.000 Bom Jesus da Lapa
// iPhone 12 128GB Branco com todos aces... R$ 1.800 Careaçu, Centro
The answer carries the built URL in the Ujb-Url header; a missing or invalid parameter answers 400 naming it (free). Have the URL already? Send it with recipe=olx-br/listing. Search with parameters in the docs
What people build with OLX Brazil data
Price research
See what similar items sell for, by condition and location.
Learn moreNew ads alerts
Catch new ads for the searches you care about shortly after they appear.
Price
Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
| Page type | Credits a page | Per 1,000, Starter | Per 1,000, Pro |
|---|---|---|---|
| Search results, Ad page | 5 | $0.82 | $0.50 |
FAQ
Is there a OLX Brazil API?
No. OLX Brazil has no public API for listing data. Ujeebu's OLX Brazil recipe returns title, price, location and 14 more fields from any public OLX Brazil page as JSON: send the URL with recipe=olx-br to the Scrape API, 5 credits a page, no OLX Brazil account or partner approval needed.
Does OLX Brazil have a public API?
No. OLX Brazil has no public API for listing data. The public pages are the way in: Ujeebu's OLX Brazil recipe returns title, price, location and 14 more fields from any public OLX Brazil page as JSON: send the URL with recipe=olx-br to the Scrape API, 5 credits a page, no OLX Brazil account or partner approval needed.
What does the OLX Brazil recipe return?
JSON with 17 fields from search results (recipe=olx-br/listing) and ad page (recipe=olx-br/detail), for example title, price, location, url, image. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape OLX Brazil?
5 credits a page ($0.50 per 1,000 on Pro, $0.82 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
Do I need proxies or a headless browser?
No. The recipe brings the settings that work on OLX Brazil: JavaScript rendering. Send only the URL and recipe=olx-br/listing.
What happens when OLX Brazil changes its pages?
We check OLX Brazil every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.
Can I search OLX Brazil with parameters?
Yes, in one call: send recipe=olx-br/search with query, page and no URL. We build the OLX Brazil search URL (returned in the Ujb-Url header), apply recipe=olx-br/listing and answer its JSON, at the same credits as the page call. A missing or invalid parameter answers 400 naming it, and that call is free.
Related recipes
Facebook MarketplaceSearch results · 5 credits
VintedSearch results, Ad page · 5 credits
KleinanzeigenSearch results · 5 credits
LeboncoinSearch results · 25 credits
GumtreeSearch results, Ad page · 25 credits
OLXSearch results · 25 credits
Logos and names belong to their owners. Ujeebu is not affiliated with OLX Brazil.
Get OLX Brazil data as JSON today.
5,000 free credits for 7 days. No card.