OLX Brazil Product details API
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Read one listing on OLX Brazil (olx.com.br) from its listing page link (url). The object has title, description, price and currency, category, condition, attributes, image links, posting time, seller name and type, and city, neighborhood and state. Seller phone numbers, postal codes, map coordinates and chat or contact options are not included.
Send POST https://api.everyinfra.com/api/v1/social with platform set to olx and action set to product_detail. Price $1.19 per 1,000 requests ($0.001194 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
AI prompt
#Please help me write a data collection script with the EveryInfra OLX Brazil Product details endpoint (olx/product_detail).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to olx and action to product_detail, and put the parameters inside params.
- Required parameters:
- url: 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.
- Returns one object. Main fields: id (Listing number: the digits at the end o…), title (Listing title), url (Link to the listing), description (Description written by the seller), price (Asking price as a whole number, in the…), currency (Currency of the price), category (Category, as written on the page (Portu…), parent_category (Parent category, as written on the page…), condition (Item condition as written on the page,…), attributes (Item attributes, each with name and val…), images (Image links in page order), posted_at (When the listing was posted, UTC, ISO 8…); 19 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=olx.
- Example request body:
{
"platform": "olx",
"action": "product_detail",
"params": {
"url": "https://go.olx.com.br/grande-goiania-e-anapolis/celulares/iphone-15-pro-max-white-titanium-1331424006"
}
}
- Price: $1.19 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | olx | Platform identifier, fixed value. |
action | body | string | Yes | product_detail | Capability identifier, fixed value. |
url | body.params | string | Yes | - | 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. |
Code samples
#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"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "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": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| 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). |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
Official references
#Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.
- OLX Help Center: Como publicar anúncio ↗
OLX's help article on posting a listing says the seller enters a title (up to 90 characters), adds photos, picks a category and subcategory and fills in extra details, enters the CEP (postal code) to set the area, and enters the total price; the description can be up to 6,000 characters. The source supports the listing fields the API returns: title, description, category, price, images and area; this API's parameters are defined by EveryInfra, and the source does not vouch for results.
Checked 2026-11-22