---
title: "OLX Brazil API: classified ads as JSON | Perceptlayer"
description: "OLX Brazil API for classified ads: search by keyword, then price in BRL, location, seller type, attributes and photos. 1 credit per successful call."
url: https://perceptlayer.com/apis/olx-br
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / OLX Brazil

1 credit per call 2 endpoints 11 datapoints 

# 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.

[Get a free API key](https://perceptlayer.com/signup) Run it below

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 OK JSON X-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.

| # | id string | url url | title string | price object | location string | created\_at string | image url | images string\[\] | seller\_type string | attributes object\[\] | category string |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 1548547174 | https://pr.olx.com.br/regiao-de-curitiba-e-paranagua/autos-e-pecas/carros-vans-e-utilitarios/porsche-911-carrera-coupe-2025-1548547174 | Porsche 911 Carrera Coupe 2025 | {2 fields} | Pinhais, Alphaville Graciosa | 2026-11-29T08:47:05Z | https://img.olx.com.br/images/88/885636348437954.jpg | \[3 items\] | business | \[3 items\] | Carros, vans e utilitários |
| 2 | 1557216491 | https://pr.olx.com.br/regiao-de-maringa/autos-e-pecas/carros-vans-e-utilitarios/porsche-911-carrera-t-3-0-370cv-2024-1557216491 | Porsche 911 Carrera T 3.0 370cv 2024 | {2 fields} | Maringá, Jardim Real | 2026-11-30T14:46:30Z | https://img.olx.com.br/images/75/756659946058712.jpg | \[3 items\] | business | \[3 items\] | Carros, vans e utilitários |
| 3 | 1528005798 | 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 | Porsche 911 Carrera GTS Coupe 3.0 (991) 2024 | {2 fields} | Curitiba, Seminário | 2026-11-30T14:22:20Z | https://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 item GET /v1/olx-br/search?query=carro

11 datapoints

### Identity

-   id string
-   title string
-   category string

### Contact

-   url url
-   seller\_type string

### Location

-   location string

### Reputation

-   image url
-   images string\[\]
-   attributes object\[\]

### Price

-   price object

### Other

-   created\_at string

Playground

## Run this API

cURL shell 

```
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.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/olx-br/listing`](https://perceptlayer.com/apis/olx-br/listing) | `id` | `id` `title` `description` `price` `created_at` `image` +4 more | 1 credit |
| [GET `/v1/olx-br/search`](https://perceptlayer.com/apis/olx-br/search) | `query` +1 optional | `id` `url` `title` `price` `location` `created_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.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [Albert Heijn](https://perceptlayer.com/apis/albert-heijn) [ALDI SÜD](https://perceptlayer.com/apis/aldi-sued) [Alibaba](https://perceptlayer.com/apis/alibaba) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [ALTERNATE](https://perceptlayer.com/apis/alternate) [Alza](https://perceptlayer.com/apis/alza) [Amazon](https://perceptlayer.com/apis/amazon) [Americanas](https://perceptlayer.com/apis/americanas) [Aponeo](https://perceptlayer.com/apis/aponeo)

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.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
