olx.com.br
OLX API
Query public OLX data with GeckoAPI and receive structured JSON. Choose an operation to review its inputs, credit cost and response fields.
Extracts listings from OLX with optional ready-made URL or national filters/by UF, keyword, category, region/city, sorting and price range.
GeckoAPI is independent of OLX. This integration reads public data; it does not grant access to private accounts or account management operations.
Available operations
Search listings
olx.com.br:plp
Extracts listings from OLX with optional ready-made URL or national filters/by UF, keyword, category, region/city, sorting and price range.
1 credit per request
Get listing details
olx.com.br:pdp
Extracts detailed data from an ad from OLX with hash LGPD to sellerName and phones.
1 credit per request
These are standard credit costs. Account-specific pricing is shown in the dashboard. Each operation has its own supported inputs and regional coverage.
Make your first request
The example uses search listings. Replace YOUR_API_KEY with your server-side API key. Copy supported inputs from the reference for the operation you choose.
curl -X POST https://api.geckoapi.com.br/v1/extract \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": "olx.com.br",
"type": "plp",
"url": "https://www.olx.com.br/celulares?q=iphone&sf=1&opst=2&o=2"
}' Example JSON response
Abbreviated example from the same operation. Arrays and nested objects are shortened here; the endpoint reference includes the full documented schema. Source content retains its original language.
{
"requestId": "4a69e15e-9a74-4eb4-9387-62de9424df11",
"executionId": "4a69e15e-9a74-4eb4-9387-62de9424df12",
"data": {
"source": "olx.com.br",
"type": "plp",
"parser": "1.0.0",
"url": "https://www.olx.com.br/informatica/notebooks/estado-sp/regiao-de-bauru-e-marilia/bauru?q=notebook&sf=1&ps=1000&pe=3000",
"requestUrl": "https://www.olx.com.br/informatica/notebooks/estado-sp/regiao-de-bauru-e-marilia/bauru?q=notebook&sf=1&ps=1000&pe=3000",
"extractedAt": "2026-02-21T15:04:00.000Z",
"query": "notebook",
"state": "SP",
"totalResults": 30,
"primaryResults": 1,
"page": 1,
"resultsPerPage": 50,
"offset": 0,
"nextPage": 2,
"nextPageUrl": "https://www.olx.com.br/informatica/notebooks/estado-sp/regiao-de-bauru-e-marilia/bauru?q=notebook&sf=1&ps=1000&pe=3000&o=2",
"items": [
{
"position": 1,
"id": "1506913293",
"url": "https://pr.olx.com.br/regiao-de-maringa/celulares/iphone-14-128gb-branco-1506913293",
"title": "iPhone 14 128GB Branco",
"category": "Celulares e Smartphones",
"categoryId": 3060,
"condition": "Usado - Excelente",
"price": 2200,
"priceDisplay": "R$ 2.200",
"featured": false,
"professionalAd": false,
"chatEnabled": true,
"listedAt": "2026-06-01T02:37:38.000Z",
"listedAtEpoch": 1780281458,
"imageCount": 5,
"images": [
{
"url": "https://img.olx.com.br/images/38/388649764309681.jpg",
"webpUrl": "https://img.olx.com.br/images/38/388649764309681.webp"
}
],
"location": {
"city": "Maringá",
"state": "PR",
"neighborhood": "Parque da Gávea",
"ddd": "44",
"display": "Maringá, Parque da Gávea"
},
"properties": [
{
"name": "electronics_condition",
"label": "Condição",
"value": "Usado - Excelente"
}
]
}
],
"sort": "date"
}
} Integrate with REST or MCP
Call POST /v1/extract from your backend, or use the operation-specific tool on POST /v1/mcp. The API reference includes both request formats. Keep credentials in your backend and handle missing fields, pagination and errors according to that operation's rules.
Ready to test the OLX API?
Open the documented example in the sandbox and inspect the response before integrating it into your application.
