Discover/OLX API
live

OLX APIolx.com.br

Search OLX Brazil property listings for sale and rent. Filter by price, location, bedrooms, and area. Retrieve full listing details including specs and advertiser info.

Endpoint health
verified 6d ago
get_listing_detail
search_real_estate_for_sale
search_real_estate_for_rent
search_by_keyword
4/4 passing latest checkself-healing
Endpoints
4
Updated
22d ago

What is the OLX API?

This API provides access to OLX Brazil real estate data across 4 endpoints, covering property search for sale and rent, keyword-based discovery, and full listing details. The get_listing_detail endpoint returns structured specs (bedrooms, bathrooms, parking, total area, useful area), advertiser contact information, and the full property description, all from a single listing URL.

Try it
Page number for pagination.
Minimum number of bedrooms.
Location path segment for filtering by region (e.g. 'sp', 'rj', 'sp/grande-sao-paulo').
Maximum area in square meters.
Minimum area in square meters.
Minimum number of bathrooms.
Maximum price in BRL.
Minimum price in BRL.
Type of property to search for.
api.parse.bot/scraper/bf7032e5-846c-4e0e-a461-76d9559e9e73/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/bf7032e5-846c-4e0e-a461-76d9559e9e73/search_real_estate_for_sale?page=1&bedrooms=2&location=sp&max_area=200&min_area=50&bathrooms=1&max_price=500000&min_price=100000&property_type=casas' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace olx-com-br-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: OLX Brazil Real Estate SDK — bounded, re-runnable; every call capped."""
from parse_apis.olx_brazil_real_estate_api import OLX, PropertyType, ListingNotFound

olx = OLX()

# Search for houses for sale in São Paulo with filters
sp_sales = olx.salesearch("sp")
for listing in sp_sales.search(property_type=PropertyType.CASAS, bedrooms=2, min_price=200000, max_price=600000, limit=5):
    print(listing.title, listing.price, listing.location, listing.area)

# Get full details for the first listing found
first = sp_sales.search(property_type=PropertyType.APARTAMENTOS, limit=1).first()
if first:
    detail = first.details()
    print(detail.title, detail.price)
    print(detail.location.city, detail.location.state, detail.location.neighbourhood)
    print(detail.specs.bedrooms, detail.specs.bathrooms, detail.specs.useful_area)
    print(detail.advertiser.name, detail.advertiser.type)

# Search for apartments for rent in Rio de Janeiro
rj_rentals = olx.rentalsearch("rj")
for rental in rj_rentals.search(property_type=PropertyType.APARTAMENTOS, max_price=3000, limit=3):
    print(rental.title, rental.price, rental.category, rental.is_professional)

# Keyword search across all property types
for result in olx.salesearches.search_by_keyword(query="casa com piscina", limit=3):
    print(result.title, result.price, result.location)

# Typed error handling: fetch a listing by URL
try:
    broken = olx.listings.get(url="https://sp.olx.com.br/imoveis/nonexistent-listing-000000")
    print(broken.title, broken.price)
except ListingNotFound as exc:
    print(f"listing gone: {exc}")

print("exercised: salesearch.search / listing.details / rentalsearch.search / salesearches.search_by_keyword / listings.get")
All endpoints · 4 totalmissing one? ·

Search for real estate properties for sale in Brazil. Returns paginated results with property summaries including title, price, location, and basic specs. Paginates via integer page number. Each item includes a URL that can be passed to get_listing_detail for full property information.

Input
ParamTypeDescription
pageintegerPage number for pagination.
bedroomsintegerMinimum number of bedrooms.
locationstringLocation path segment for filtering by region (e.g. 'sp', 'rj', 'sp/grande-sao-paulo').
max_areaintegerMaximum area in square meters.
min_areaintegerMinimum area in square meters.
bathroomsintegerMinimum number of bathrooms.
max_priceintegerMaximum price in BRL.
min_priceintegerMinimum price in BRL.
property_typestringType of property to search for.
Response
{
  "type": "object",
  "fields": {
    "page": "integer current page number",
    "items": "array of property listing summaries",
    "total": "integer total number of matching listings"
  },
  "sample": {
    "data": {
      "page": 1,
      "items": [
        {
          "url": "https://rs.olx.com.br/regioes-de-porto-alegre-torres-e-santa-cruz-do-sul/imoveis/casa-4-quartos-a-venda-no-bairro-niteroi-com-110m-1509334652",
          "area": "110m²",
          "date": 1781080886,
          "price": "R$ 450.000",
          "rooms": "4",
          "title": "Casa 4 Quartos a venda no bairro Niteroi com 110m²",
          "garage": null,
          "images": [
            "https://img.olx.com.br/images/15/152646774053972.jpg"
          ],
          "listId": 1509334652,
          "category": "Casas",
          "location": "Canoas -  RS",
          "bathrooms": "1",
          "is_professional": true
        }
      ],
      "total": 1825329
    },
    "status": "success"
  }
}

About the OLX API

Search and Filter Listings

The search_real_estate_for_sale and search_real_estate_for_rent endpoints return paginated arrays of property summaries. Both accept the same filter set: location (a path segment such as 'sp', 'rj', or 'sp/grande-sao-paulo'), min_price and max_price in BRL, min_area and max_area in square meters, and minimum bedrooms and bathrooms counts. Each item in the returned items array includes title, price, listId, url, location, date, images, category, is_professional, area, and rooms. The total field gives the full match count across all pages.

Keyword Search

The search_by_keyword endpoint accepts a free-text query parameter — for example 'casa com piscina' or 'apartamento mobiliado' — and returns matching listings across all for-sale property types. The response shape is identical to the structured search endpoints, giving the same items summary array and total count. This endpoint is useful when users have specific feature requirements that don't map neatly to the available filter parameters.

Full Listing Detail

Passing a listing URL from any search result to get_listing_detail returns the complete property record. The specs object contains bedrooms, bathrooms, parking, total_area, and useful_area. The location object breaks down into address, neighbourhood, city, state, and zipcode. The advertiser object includes the seller's name, type (professional or particular), and phone. The description field delivers the full property description with HTML formatting preserved.

Reliability & maintenanceVerified

The OLX API is a managed, monitored endpoint for olx.com.br — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when olx.com.br changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official olx.com.br API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
6d ago
Latest check
4/4 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a property price index for Brazilian cities by aggregating min_price/max_price filtered results across regions.
  • Monitor new rental listings in a specific neighbourhood using search_real_estate_for_rent with a location path and polling by date.
  • Enrich a CRM with advertiser contact details and property specs by feeding listing URLs into get_listing_detail.
  • Identify professional vs. private sellers in a market segment using the is_professional flag returned in search results.
  • Power a property recommendation engine with keyword-based search via search_by_keyword using natural-language queries.
  • Aggregate listing images and descriptions for a real estate content platform using the images array and description field from get_listing_detail.
  • Compare area-to-price ratios across Brazilian states by combining min_area/max_area filters with location across multiple search calls.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does OLX Brazil have an official developer API?+
OLX Brazil does not publish a public developer API for listing data. This Parse API provides structured access to the listing and search data available on olx.com.br.
What does the `location` parameter accept in the search endpoints?+
The location parameter takes a path segment string matching OLX Brazil's regional URL structure. Accepted values include broad state codes like 'sp' or 'rj', as well as sub-regional paths such as 'sp/grande-sao-paulo'. Listings are filtered to the specified region. There is no geocoordinate or bounding-box filter currently.
Does the API return commercial properties or only residential real estate?+
The current endpoints are scoped to the residential real estate section of OLX Brazil. Commercial property categories (offices, warehouses, land, etc.) are not covered by the existing endpoints. You can fork this API on Parse and revise it to add endpoints targeting those OLX listing categories.
Is there a limit to how many pages of results I can retrieve?+
The search endpoints return a page parameter and a total count, allowing you to paginate through results. In practice, OLX Brazil limits how deep into results pages are accessible — very high page numbers may return empty or truncated results depending on the query and filter combination. The total field reflects the count reported by the source, not the number of pages guaranteed to be retrievable.
Can I retrieve historical sold listings or price history for a property?+
No historical sale data or price history is exposed. The API returns currently active listings from OLX Brazil. Once a listing is removed from the platform it is no longer accessible. You can fork this API on Parse and revise it to store snapshots over time if historical tracking is needed.
Page content last updated . Spec covers 4 endpoints from olx.com.br.
Related APIs in Real EstateSee all →
olx.pt API
Search and monitor real estate listings and business advertisements from OLX Portugal with advanced filtering and pagination options. Get detailed information about specific listings including prices, descriptions, and seller details to find exactly what you're looking for.
m.olx.ro API
Search and retrieve structured real estate listings from OLX Romania, including apartments, houses, land, and other properties with detailed information. Access category IDs and browse available properties by type to find what you're looking for on Romania's popular classifieds platform.
olx.ba API
Search and browse listings on OLX.ba across all categories. Retrieve listing names, prices, categories, and URLs, or drill into individual listings for detailed attributes such as location, address, area, floor, condition, and seller information. Includes dedicated support for apartment listings.
olx.in API
Search and browse OLX India listings across real estate and general products with powerful filtering by category and location. Get location suggestions, explore popular areas, and access detailed product information all in one place.
imovelweb.com.br API
Search and browse detailed real estate listings on imovelweb.com.br by city, state, and neighborhood. Retrieve structured property data including pricing, size, room counts, features, and full listing descriptions — ready for analysis, comparison, or portfolio tracking.
vivareal.com.br API
Search for properties across Brazil's real estate marketplace and access detailed listings with photos, amenities, contact information, and agency portfolios. Discover homes by location, browse available property types, and connect directly with real estate advertisers.
olx.ro API
Search OLX Romania listings and access detailed ad information including seller contact details. Get real-time access to product listings, pricing, and phone numbers for sellers across the platform.
m.olx.pl API
Search and browse listings from OLX.pl across a wide range of categories including vehicles, electronics, real estate, fashion, and more. Access detailed offer information, price comparisons, seller details, and the latest postings — with support for keyword search and category filtering.
OLX Brazil Real Estate API · Parse