OLX Search
Search OLX Brazil classifieds by keyword and get title, price, location, seller type, and condition as structured JSON in real time.
Credit cost: 1 credit per call
ApiKeyAuthx-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringSearch keyword or phrase, as you would type it in the OLX search bar. Supports Portuguese terms for Brazilian inventory.
Example 1:
iphone 14Example 2:
honda civic 2020Example 3:
apartamento centro são paulocategory?stringOLX category slug to restrict results to a specific vertical. Common values:
eletronicos-e-celulares: Electronics and phonesautos-e-pecas: Cars and auto partsimoveis: Real estateeletrodomesticos: Home appliancesesportes-e-lazer: Sports and leisure
Example:
autos-e-pecasstate?stringBrazilian state abbreviation to filter results geographically.
Example:
SPcity?stringCity slug to narrow results to a specific municipality. Use lowercase with hyphens.
Example:
sao-paulomin_price?numberMinimum listing price in BRL.
Example:
500max_price?numberMaximum listing price in BRL.
Example:
5000seller_type?stringFilter by seller type.
particular: Private individual sellersprofissional: Professional/business sellers
Leave empty to return both.
sort?stringSort order for results.
relevance: Most relevant first (default)date: Most recent listings firstprice_asc: Lowest price firstprice_desc: Highest price first
"relevance"page?numberPage number for paginated results. Default: 1.
Example:
2"1"fields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
falseSuccessful response
application/json- response
page?integerresults?array<>total_results?integerresults_per_page?integercurl -X GET 'https://api.piloterr.com/v2/olx/search?query=string'{ "page": 1, "results": [ { "id": "902901124", "url": "https://www.olx.com.br/eletronicos-e-celulares/celulares-e-smartphones/iphone-14-128gb-como-novo-IDJ4mBb.html", "price": 3200, "title": "iPhone 14 128GB Como Novo", "images": [ "https://img.olx.com.br/images/902901124_1.jpg", "https://img.olx.com.br/images/902901124_2.jpg" ], "category": "Celulares e Smartphones", "featured": false, "location": { "city": "São Paulo", "state": "SP" }, "condition": "usado", "thumbnail": "https://img.olx.com.br/images/902901124_1_thumb.jpg", "category_id": "3486", "seller_type": "particular", "installments": { "amount": 1066.67, "quantity": 3 }, "published_at": "2026-04-29T14:35:00.000Z", "free_shipping": false, "original_price": 3800 }, { "id": "893412874", "url": "https://www.olx.com.br/iphone-14-pro-256gb-roxo-lacrado-IDJ2kPr.html", "price": 4900, "title": "iPhone 14 Pro 256GB Roxo Lacrado", "images": [ "https://img.olx.com.br/images/893412874_1.jpg", "https://img.olx.com.br/images/893412874_2.jpg" ], "category": "Celulares e Smartphones", "featured": true, "location": { "city": "Rio de Janeiro", "state": "RJ" }, "condition": "novo", "thumbnail": "https://img.olx.com.br/images/893412874_1_thumb.jpg", "category_id": "3486", "seller_type": "profissional", "installments": { "amount": 490, "quantity": 10 }, "published_at": "2026-04-29T10:12:00.000Z", "free_shipping": true, "original_price": null } ], "total_results": 8432, "results_per_page": 25}