# OLX Brazil Product details API (olx.product_detail)

- Canonical page: [https://everyinfra.com/en/olx-api/product_detail](https://everyinfra.com/en/olx-api/product_detail?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "olx", "action": "product_detail", "params": {...}}
- Price: $0.001194 per call ($1.19 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=olx&action=product_detail

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | OLX Brazil listing link, ending in the listing number, such as `https://sp.olx.com.br/sao-paulo-e-regiao/celulares/iphone-15-128gb-1234567890`. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | Listing number: the digits at the end of the link. |
| title | Listing title. |
| url | Link to the listing. |
| description | Description written by the seller; line breaks are kept. |
| price | Asking price as a whole number, in the unit given by `currency`; missing when the seller set no price. |
| currency | Currency of the price; BRL for Brazilian reais. |
| category | Category, as written on the page (Portuguese). |
| parent_category | Parent category, as written on the page (Portuguese). |
| condition | Item condition as written on the page, such as Usado - Excelente. |
| attributes | Item attributes, each with `name` and `value`, as written on the page, such as Marca, Modelo and Condição. |
| images | Image links in page order; missing when no image was uploaded. |
| posted_at | When the listing was posted, UTC, ISO 8601. |
| seller_name | Seller's display name. |
| seller_id | Seller ID. |
| seller_type | `private` for an individual seller, `professional` for a business. |
| city | City of the listing. |
| neighborhood | Neighborhood of the listing. |
| state | Two-letter state code, such as SP or RJ. |
| country | Country code; always BR on OLX Brazil. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "olx",
  "action": "product_detail",
  "params": {
    "url": "https://go.olx.com.br/grande-goiania-e-anapolis/celulares/iphone-15-pro-max-white-titanium-1331424006"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "olx",
        "action": "product_detail",
        "params": {
            "url": "https://go.olx.com.br/grande-goiania-e-anapolis/celulares/iphone-15-pro-max-white-titanium-1331424006",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-11-22T11:46:38Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "olx",
  "action": "product_detail",
  "results": {
    "id": "•••",
    "title": "iPhone 15 pro max white titanium",
    "url": "https://go.olx.com.br/grande-goiania-e-anapolis/celulares/iphone-15-pro-max-white-titanium-1331424006",
    "description": "Confidence Importados, aparelhos novos e seminovos com garantia!\nWhatsapp ••• Guilherme",
    "category": "Celulares e Smartphones",
    "parent_category": "Celulares e Telefonia",
    "condition": "Usado - Excelente",
    "attributes": [
      {
        "name": "Categoria",
        "value": "Celulares e Smartphones"
      },
      {
        "name": "Marca",
        "value": "APPLE"
      },
      {
        "name": "Modelo",
        "value": "IPHONE 15 PRO MAX"
      }
    ],
    "images": [
      "https://img.olx.com.br/images/25/254425433939404.jpg"
    ],
    "posted_at": "2026-11-19T13:06:49+00:00",
    "seller_name": "U•••e",
    "seller_id": "•••",
    "seller_type": "professional",
    "city": "Goiânia",
    "neighborhood": "Setor Campinas",
    "state": "GO",
    "country": "BR",
    "platform": "olx"
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=olx
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
