← Back to marketplace

OLX Brazil Classifieds Vehicles and Real Estate

Public OLX Brazil ads, vehicle specs, property listings and official-store inventory with BRL prices and locations, one row per entity.

data
by kaneliu103 endpoints100% uptime211ms avg

Endpoints

POST/v1/details
$0.0300/req

OLX Brazil ad details by URL or ID

Request schema

detailUrlsarray

Detail URLs. OLX Brazil listing URLs, for example https://sp.olx.com.br/sao-paulo-e-regiao/celulares/iphone-13-1234567890. The URL must end in the listing number. Detail URLs and IDs take precedence over the other fields.

detailIdsarray

Detail list IDs. OLX listing numbers (the digits at the end of a listing URL, 6–15 digits). Duplicates are collected once.

maxResultsinteger

Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).

requestIdstring

Optional. Your id for this request: repeating it while the job runs returns the same job.

Response schema

{
  "allOf": [
    {
      "type": "object",
      "properties": {
        "jobId": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "queued",
            "running",
            "succeeded",
            "partial",
            "failed",
            "cancelled"
          ]
        },
        "done": {
          "type": "boolean"
        },
        "rowsAvailable": {
          "type": "integer"
        },
        "rowsDelivered": {
          "type": "integer",
          "description": "Rows already delivered (and billed) to you for this job."
        },
        "rowsLimit": {
          "type": "integer",
          "description": "Most rows this job can deliver."
        },
        "estimatedFinishSec": {
          "type": "integer",
          "description": "While running: estimated seconds until done."
        },
        "statusUrl": {
          "type": "string"
        },
        "resultsUrl": {
          "type": "string"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        },
        "retentionHours": {
          "type": "integer"
        },
        "error": {
          "$ref": "#/components/schemas/ErrorDetail"
        }
      }
    },
    {
      "type": "object",
      "properties": {
        "offset": {
          "type": "integer"
        },
        "nextOffset": {
          "type": "integer"
        },
        "hasMore": {
          "type": "boolean"
        },
        "rowCount": {
          "type": "integer"
        },
        "rowsBilled": {
          "type": "integer",
          "description": "Rows delivered by this response."
        },
        "rows": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/Row"
          }
        },
        "meta": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  ]
}
POST/v1/search
$0.0300/req

Search OLX Brazil ads across categories, vehicles and real estate

Request schema

querystring

Search query. One keyword or phrase for OLX Brazil listings; Portuguese terms give direct control over the wording. Required for keyword search and optional in category, vehicle, real-estate and official-store modes.

searchTypestring

Search type. Auto selects details, official-store inventory, a category or keyword search from the fields you fill. Vehicles and real estate need no keyword; hub inspects navigation but does not deliver ad rows.

regionstring

Region path. Nationwide or any of the 27 Brazilian states (26 states plus the Federal District). Applies to listing modes. Direct detail IDs/URLs retain the listing's own location.

categorySlugstring

Category slug. Use celulares or carros-vans-e-utilitarios for category listings, or select Real estate mode for properties. In hub mode, enter a navigation category such as imoveis; this mode does not deliver ad rows.

priceMininteger

Min price (BRL). Optional minimum price in BRL. Must not exceed priceMax.

priceMaxinteger

Max price (BRL). Optional maximum price in BRL.

sortstring

Sort. Request site-default, newest, price or relevance ordering. OLX may ignore this hint, so global price ordering is not guaranteed.

maxPagesinteger

Page compatibility setting. Compatibility setting from 1 to 8, not a total paging cap. Collection continues until maxResults or the source limit is reached; repeated pages stop collection with a warning.

pageinteger

Starting page. First result page to fetch, from 1 to 20.

enrichDetailsboolean

Enrich listing details. Add available public phone information, map coordinates, vehicle specifications, FIPE values and property costs to the same ad row. Unavailable values stay empty, and detail offerPrice remains separate from list price.

facetSlicesboolean

Search regional groups. For search and category modes, divide collection into supported regional searches within the selected region. This can reach more matching listings, but does not guarantee complete coverage.

maxResultsinteger

Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).

requestIdstring

Optional. Your id for this request: repeating it while the job runs returns the same job.

Response schema

{
  "allOf": [
    {
      "type": "object",
      "properties": {
        "jobId": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "queued",
            "running",
            "succeeded",
            "partial",
            "failed",
            "cancelled"
          ]
        },
        "done": {
          "type": "boolean"
        },
        "rowsAvailable": {
          "type": "integer"
        },
        "rowsDelivered": {
          "type": "integer",
          "description": "Rows already delivered (and billed) to you for this job."
        },
        "rowsLimit": {
          "type": "integer",
          "description": "Most rows this job can deliver."
        },
        "estimatedFinishSec": {
          "type": "integer",
          "description": "While running: estimated seconds until done."
        },
        "statusUrl": {
          "type": "string"
        },
        "resultsUrl": {
          "type": "string"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        },
        "retentionHours": {
          "type": "integer"
        },
        "error": {
          "$ref": "#/components/schemas/ErrorDetail"
        }
      }
    },
    {
      "type": "object",
      "properties": {
        "offset": {
          "type": "integer"
        },
        "nextOffset": {
          "type": "integer"
        },
        "hasMore": {
          "type": "boolean"
        },
        "rowCount": {
          "type": "integer"
        },
        "rowsBilled": {
          "type": "integer",
          "description": "Rows delivered by this response."
        },
        "rows": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/Row"
          }
        },
        "meta": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  ]
}
POST/v1/sellers
$0.0300/req

Official store inventory by sellerSlug

Request schema

sellerSlugstring

Official-store slug. Official-store slug or URL, for example localiza-seminovos or https://www.olx.com.br/loja-oficial/localiza-seminovos. Returns that store's inventory.

querystring

Search query. One keyword or phrase for OLX Brazil listings; Portuguese terms give direct control over the wording. Required for keyword search and optional in category, vehicle, real-estate and official-store modes.

maxPagesinteger

Page compatibility setting. Compatibility setting from 1 to 8, not a total paging cap. Collection continues until maxResults or the source limit is reached; repeated pages stop collection with a warning.

pageinteger

Starting page. First result page to fetch, from 1 to 20.

maxResultsinteger

Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).

requestIdstring

Optional. Your id for this request: repeating it while the job runs returns the same job.

Response schema

{
  "allOf": [
    {
      "type": "object",
      "properties": {
        "jobId": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "queued",
            "running",
            "succeeded",
            "partial",
            "failed",
            "cancelled"
          ]
        },
        "done": {
          "type": "boolean"
        },
        "rowsAvailable": {
          "type": "integer"
        },
        "rowsDelivered": {
          "type": "integer",
          "description": "Rows already delivered (and billed) to you for this job."
        },
        "rowsLimit": {
          "type": "integer",
          "description": "Most rows this job can deliver."
        },
        "estimatedFinishSec": {
          "type": "integer",
          "description": "While running: estimated seconds until done."
        },
        "statusUrl": {
          "type": "string"
        },
        "resultsUrl": {
          "type": "string"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        },
        "retentionHours": {
          "type": "integer"
        },
        "error": {
          "$ref": "#/components/schemas/ErrorDetail"
        }
      }
    },
    {
      "type": "object",
      "properties": {
        "offset": {
          "type": "integer"
        },
        "nextOffset": {
          "type": "integer"
        },
        "hasMore": {
          "type": "boolean"
        },
        "rowCount": {
          "type": "integer"
        },
        "rowsBilled": {
          "type": "integer",
          "description": "Rows delivered by this response."
        },
        "rows": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/Row"
          }
        },
        "meta": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  ]
}

Quick start

Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.

# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call this service
npx @apihubio/cli call "https://proxy.apihub.io/olx-com-br/v1/details" \
  -d '{"detailUrls":["string"],"detailIds":["string"],"maxResults":3,"requestId":"example requestId"}'

Or call the proxy directly (curl / any HTTP client):

curl -X POST https://proxy.apihub.io/olx-com-br/v1/details \
  -H "Authorization: Bearer ahk_your_key" \
  -H "Content-Type: application/json" \
  -d '{"detailUrls":["string"],"detailIds":["string"],"maxResults":3,"requestId":"example requestId"}'

# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)

Pricing calculator

Estimate your monthly cost for OLX Brazil Classifieds Vehicles and Real Estate.

POST /v1/details$0.0300/req
-
POST /v1/search$0.0300/req
-
POST /v1/sellers$0.0300/req
-