# OLX Brazil Listing API Documentation

<p><strong>OLX Brazil Listing API</strong> returns one public olx.com.br ad by the id from search: title, description, numeric BRL price from the detail state, ISO 8601 date from the real ad date, attributes and full-size images. The first visible price on the page is never used. An unknown or removed id answers a non-billable 404.</p>

- **Documentation:** [https://scrappa.co/docs/olx-br-api/olx_br_listing](https://scrappa.co/docs/olx-br-api/olx_br_listing)
- **API group:** OLX Brazil API
- **Endpoint:** `GET https://scrappa.co/api/olx-br/listing`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | Listing id from the olx-br/search endpoint. Example: 1400000000. |

## Example response

```json
{
    "data": {
        "id": "1400000000",
        "image": "https://img.olx.com.br/images/abc/original.jpg",
        "price": {
            "value": 947950,
            "currency": "BRL"
        },
        "title": "Carro em bom estado",
        "location": "Fortaleza, Parquel\u00e2ndia",
        "attributes": [
            {
                "name": "Marca",
                "value": "Fiat"
            }
        ],
        "created_at": "2026-11-19T15:38:50Z",
        "description": "Carro revisado, \u00fanico dono.",
        "seller_type": "private"
    },
    "meta": {
        "billable": true,
        "endpoint_family": "listing"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | OLX has no such public resource, for example a removed ad id. Never charged. |
| 500 | Parser Drift | OLX answered with a response shape this parser does not recognise. Never charged. |
| 503 | Upstream Unavailable | The upstream service is temporarily unavailable. Please retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
