OLX Brazil Search API searches public olx.com.br ads across all categories by query with page pagination. Category, location, price and sort are not upstream filters and return a non-billable 422; each row publishes the category OLX itself assigns. Each row carries id, title, numeric BRL price parsed from the locale string, original price, location, ISO 8601 date from Unix seconds, full-size image, seller type and category. A valid empty result is billed; every failure is not.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
1 optional filter available.
string
Required
Search words across all categories. Example: carro.
coffee shops
integer
Optional
1-based page, 1 to 100.
1
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"page": 1,
"total": 58931,
"results": [
{
"id": "1400000000",
"url": "https://www.olx.com.br/carro-exemplo-1400000000",
"image": "https://img.olx.com.br/images/abc/original.jpg",
"price": {
"value": 947950,
"currency": "BRL"
},
"title": "Carro em bom estado",
"category": "Carros, vans e utilit\u00e1rios",
"location": "Fortaleza, Parquel\u00e2ndia",
"old_price": {
"value": 990000,
"currency": "BRL"
},
"attributes": [
{
"name": "Marca",
"value": "Fiat"
}
],
"created_at": "2026-11-19T15:38:50Z",
"seller_type": "private"
}
],
"next_page": 2,
"total_of_ads": 58931,
"applied_filters": {
"query": "carro"
},
"applied_sorting": null
},
"meta": {
"billable": true,
"endpoint_family": "search"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A parameter is missing or invalid. No upstream call and no charge.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "search"
},
"error": {
"code": "VALIDATION",
"message": "The request validation failed"
},
"success": false
}Parser Drift
OLX answered with a response shape this parser does not recognise. Never charged.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "search"
},
"error": {
"code": "PARSER_DRIFT",
"message": "OLX response shape changed unexpectedly. The incident has been reported."
},
"success": false
}Upstream Unavailable
The upstream service is temporarily unavailable. Please retry shortly.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "search"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "OLX upstream is temporarily unavailable."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.