APIs / Marketplaces / OLX Brazil

1 credit per call2 endpoints11 datapointsChecked working 6 Dec 2026

OLX Brazil API

OLX Brazil API for classified ads: search by keyword, then price in BRL, location, seller type, attributes and photos. 1 credit per successful call.

OLX Brazil
GET/v1/olx-br/search?query=carro
{
  "success": true,
  "data": {
    "total": 536172,
    "total_of_ads": 536172,
    "page": 1,
    "applied_filters": {
      "query": "carro"
    },
    "next_page": 2,
    "results": [
      {
        "id": "1548547174",
        "url": "https://pr.olx.com.br/regiao-de-curitiba-e-paranagua/autos-e-pecas/carros-vans-e-utilitarios/porsche-911-carrera-coupe-2025-1548547174",
        "title": "Porsche 911 Carrera Coupe 2025",
        "price": {
          "value": 920000,
          "currency": "BRL"
        },
        "location": "Pinhais, Alphaville Graciosa",
        "created_at": "2026-11-29T08:47:05Z",
        "image": "https://img.olx.com.br/images/88/885636348437954.jpg",
        "images": [
          "https://img.olx.com.br/images/88/885636348437954.jpg",
          "https://img.olx.com.br/images/88/888673825827189.jpg",
          "https://img.olx.com.br/images/88/883646345257137.jpg"
        ],
        "seller_type": "business",
        "attributes": [
          {
            "name": "category",
            "value": "Carros, vans e utilitários",
            "label": "Categoria"
          },
          {
            "name": "vehicle_model",
            "value": "911 Carrera Coupe",
            "label": "Modelo"
          },
          {
            "name": "vehicle_brand",
            "value": "Porsche",
            "label": "Marca"
          }
        ],
        "category": "Carros, vans e utilitários"
      },
      {
        "id": "1557216491",
        "url": "https://pr.olx.com.br/regiao-de-maringa/autos-e-pecas/carros-vans-e-utilitarios/porsche-911-carrera-t-3-0-370cv-2024-1557216491",
        "title": "Porsche 911 Carrera T 3.0 370cv 2024",
        "price": {
          "value": 829900,
          "currency": "BRL"
        },
        "location": "Maringá, Jardim Real",
        "created_at": "2026-11-30T14:46:30Z",
        "image": "https://img.olx.com.br/images/75/756659946058712.jpg",
        "images": [
          "https://img.olx.com.br/images/75/756659946058712.jpg",
          "https://img.olx.com.br/images/76/767618583251089.jpg",
          "https://img.olx.com.br/images/77/777693700247959.jpg"
        ],
        "seller_type": "business",
        "attributes": [
          {
            "name": "category",
            "value": "Carros, vans e utilitários",
            "label": "Categoria"
          },
          {
            "name": "vehicle_model",
            "value": "911 Carrera T 3.0 370cv",
            "label": "Modelo"
          },
          {
            "name": "vehicle_brand",
            "value": "Porsche",
            "label": "Marca"
          }
        ],
        "category": "Carros, vans e utilitários"
      },
      {
        "id": "1528005798",
        "url": "https://pr.olx.com.br/regiao-de-curitiba-e-paranagua/autos-e-pecas/carros-vans-e-utilitarios/porsche-911-carrera-gts-coupe-3-0-991-2024-1528005798",
        "title": "Porsche 911 Carrera GTS Coupe 3.0 (991) 2024",
        "price": {
          "value": 998500,
          "currency": "BRL"
        },
        "location": "Curitiba, Seminário",
        "created_at": "2026-11-30T14:22:20Z",
        "image": "https://img.olx.com.br/images/25/254619813294844.jpg",
        "images": [
          "https://img.olx.com.br/images/25/254619813294844.jpg",
          "https://img.olx.com.br/images/25/254675210444997.jpg",
          "https://img.olx.com.br/images/25/257650217357045.jpg"
        ],
        "seller_type": "business",
        "attributes": [
          {
            "name": "category",
            "value": "Carros, vans e utilitários",
            "label": "Categoria"
          },
          {
            "name": "vehicle_model",
            "value": "911 Carrera GTS Coupe 3.0 (991)",
            "label": "Modelo"
          },
          {
            "name": "vehicle_brand",
            "value": "Porsche",
            "label": "Marca"
          }
        ],
        "category": "Carros, vans e utilitários"
      }
    ]
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_2dd319ca1b94471aad617c2ad7fc3b74",
    "credits_charged": 1,
    "credits_remaining": 4877
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#idstringurlurltitlestringpriceobjectlocationstringcreated_atstringimageurlimagesstring[]seller_typestringattributesobject[]categorystring
11548547174https://pr.olx.com.br/regiao-de-curitiba-e-paranagua/autos-e-pecas/carros-vans-e-utilitarios/porsche-911-carrera-coupe-2025-1548547174Porsche 911 Carrera Coupe 2025{2 fields}Pinhais, Alphaville Graciosa2026-11-29T08:47:05Zhttps://img.olx.com.br/images/88/885636348437954.jpg[3 items]business[3 items]Carros, vans e utilitários
21557216491https://pr.olx.com.br/regiao-de-maringa/autos-e-pecas/carros-vans-e-utilitarios/porsche-911-carrera-t-3-0-370cv-2024-1557216491Porsche 911 Carrera T 3.0 370cv 2024{2 fields}Maringá, Jardim Real2026-11-30T14:46:30Zhttps://img.olx.com.br/images/75/756659946058712.jpg[3 items]business[3 items]Carros, vans e utilitários
31528005798https://pr.olx.com.br/regiao-de-curitiba-e-paranagua/autos-e-pecas/carros-vans-e-utilitarios/porsche-911-carrera-gts-coupe-3-0-991-2024-1528005798Porsche 911 Carrera GTS Coupe 3.0 (991) 2024{2 fields}Curitiba, Seminário2026-11-30T14:22:20Zhttps://img.olx.com.br/images/25/254619813294844.jpg[3 items]business[3 items]Carros, vans e utilitários

Recorded from our API · 3 items shown · 11 datapoints per itemGET /v1/olx-br/search?query=carro

11 datapoints

Identity

  • idstring
  • titlestring
  • categorystring

Contact

  • urlurl
  • seller_typestring

Location

  • locationstring

Reputation

  • imageurl
  • imagesstring[]
  • attributesobject[]

Price

  • priceobject

Other

  • created_atstring

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/olx-br/search?query=carro" \
  -H "X-API-Key: $API_KEY"

OLX Brazil · 2 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/olx-br/listing
id
idtitledescriptionpricecreated_atimage+4 more
1 credit
GET/v1/olx-br/search
query+1 optional
idurltitlepricelocationcreated_at+5 more
1 credit

Overview

About the OLX Brazil API

What you can get

The OLX Brazil API returns classified ads from OLX in Brazil as JSON through 2 endpoints. Prices are in BRL.

  • Search: search takes a query, with page.
  • Listings: listing takes an ad id.

The recorded search for "carro" returns total (535,488 ads), next_page and results, each with id, url, title, price (value and currency), location, created_at, image, images, seller_type, attributes and category. The recorded listing call for a 2026 Porsche 911 Carrera at 985,000 BRL adds the full description and attributes such as category, brand and model, each with its Portuguese label.

How a call works

Search, then look up: GET /v1/olx-br/search?query=carro with your key in the X-API-Key header returns each ad's id; listing takes that id. Request next_page as page to go further. Every successful call costs 1 credit; failed calls cost nothing.

MarketplacesJSONRESTMCP

More marketplaces APIs

Use cases

Track asking prices for a car model across Brazil

Use the OLX Brazil API to track asking prices for a car model across Brazil

Watch new ads for a keyword by `created_at`

Use the OLX Brazil API to watch new ads for a keyword by `created_at`

Compare private and business sellers with `seller_type`

Use the OLX Brazil API to compare private and business sellers with `seller_type`

Pull a listing's description and attributes for valuation

Use the OLX Brazil API to pull a listing's description and attributes for valuation

FAQ

Questions

How much does the OLX Brazil API cost?

Each successful call costs 1 credit, for both endpoints. Failed calls cost nothing.

Which country is covered?

Brazil: ads come from OLX's Brazilian site, with prices in BRL and titles, descriptions and attribute labels in Portuguese.

Can I filter search by category, region or price?

Not with a parameter: `search` takes only `query` and `page`. Each result carries its `category`, `location` and `price`, so filter on those after the call.

Do I need an OLX account?

No. You call this OLX Brazil API with your Perceptlayer key in the `X-API-Key` header, with no OLX login.

Is this the official OLX Brazil API?

No. Perceptlayer is an independent service and is not affiliated with OLX Brazil. It returns OLX Brazil data as JSON with a Perceptlayer key, so there is no OLX Brazil developer account, app review or partner approval to get first. It only reads data: if OLX Brazil has an official API and you need to act on your own OLX Brazil account, such as posting, managing orders or reading private data, use that one.

Should I build an OLX Brazil scraper instead?

You can, but an OLX Brazil scraper is code you maintain: page changes break it, requests get blocked, and OLX Brazil's terms govern how you collect data. The OLX Brazil API gives you 2 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the OLX Brazil API with 100 free credits

No credit card. Failed calls are never billed.