MercadoLibre Inmuebles Scraper for Mexico avatar

MercadoLibre Inmuebles Scraper for Mexico

Pricing

from $2.00 / 1,000 results

Go to Apify Store
MercadoLibre Inmuebles Scraper for Mexico

MercadoLibre Inmuebles Scraper for Mexico

Scrape MercadoLibre Mexico real estate (inmuebles) from simple filters or search URLs. Extract MXN to USD prices, price per m² vs colonia median, cheap/fair/expensive deal labels, rental yield, a market report, and monitor mode for new, removed and price-drop listings. Export JSON, CSV or Excel.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Karen Gisela Gallegos Aguilar

Karen Gisela Gallegos Aguilar

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

MercadoLibre Inmuebles Scraper (Mexico): listings, deal labels and rental yield

Use this MercadoLibre Inmuebles API alternative to scrape Mexico property listings and export JSON, CSV or Excel.

Scrape real estate listings from MercadoLibre Inmuebles Mexico without building URLs. Pick venta or renta, a property type and a place ("CDMX", "Guadalajara", "Monterrey", "Cancún"...) and get clean data plus analytics no other MercadoLibre scraper gives you:

  • 💰 Price per m² vs the neighborhood: each listing is compared with the median of its colonia (or alcaldía/municipality when the colonia has too few listings), with a simple deal_label: cheap / fair / expensive.
  • 🏠 Rental yield estimate: for sale listings, the Actor reads rent listings of the same type and zone and adds an estimated monthly rent and gross rental yield %.
  • 📊 MARKET_REPORT: median price, price per m², counts by zone and property type, share of new developments, and rent medians, saved in the key-value store after every run.
  • 🔔 Monitor mode: run it on a schedule and get only new and price-changed listings, with previous_price and price_drop_pct. Optional removed listings.
  • 💵 MXN and USD: every price in pesos and dollars, with the exchange rate used (fx_rate_used). Listings priced in USD stay in USD.
  • 🏗️ New development flags: is_development, price_from ("Desde"), units_available, ready_to_move ("Pronta entrega"/"Entrega inmediata").
  • 🧭 Simple input: plain place names and filters. You can also paste any MercadoLibre Mexico search URL.

Mexico only (for now)

This version supports MercadoLibre Mexico (inmuebles.mercadolibre.com.mx). If you paste an Argentina, Colombia, Chile or other country URL, the run stops with a clear message. More countries may come later.

How to use it

  1. Choose Operation (venta / renta), Property type and Location.
  2. Add filters if you want: price (MXN or USD), built m², bedrooms, bathrooms, agency or private owner, individual property or new development, sort by price.
  3. Set Max listings (48 per page). Click Start.
  4. Open the Overview or Investor view tab, and the Market report.

Example input

{
"operation": "venta",
"property_type": "departamentos",
"location": "CDMX",
"min_bedrooms": 2,
"max_price": 6000000,
"max_items": 200,
"estimate_rental_yield": true
}

Monitor a market every day:

{
"operation": "venta",
"property_type": "casas",
"location": "Mérida",
"max_items": 500,
"monitor_mode": true,
"monitor_key": "merida-casas"
}

Paste a URL instead of filters:

{ "search_url": "https://inmuebles.mercadolibre.com.mx/departamentos/venta/distrito-federal/benito-juarez/" }

Location names that work out of the box: CDMX / Ciudad de México / Mexico City, the 16 CDMX alcaldías (Benito Juárez, Cuauhtémoc, Miguel Hidalgo...), all 32 states (Jalisco, Nuevo León, Estado de México, Quintana Roo...), Guadalajara, Zapopan, Monterrey, San Pedro Garza García, Cancún, Playa del Carmen, Mérida, Tijuana, León, Querétaro, Puebla. You can also write a MercadoLibre path like jalisco/zapopan.

Output

Each row is one listing. Main fields:

FieldMeaning
id, url, title, image_urlListing basics
operation, property_typeventa/renta and Departamento, Casa, Terreno...
price, currency, price_mxn, price_usd, fx_rate_usedPrice as shown, plus MXN and USD
price_is_from, price_from"Desde" price of a development (cheapest unit)
original_price, site_price_drop_pctWhen MercadoLibre shows "BAJÓ DE PRECIO"
bedrooms, bathrooms, m2_built, m2_land (+ _max for ranges)Size
price_per_m2, price_per_m2_mxn, price_per_m2_usd, price_per_m2_basisPrice per m² (built, built_smallest_unit for developments, or land)
address, colonia, municipality, state, postal_codeLocation from the card
zone_median_price_per_m2_mxn, zone_level, zone_sample_size, price_vs_zone_pct, deal_labelComparison with the zone
est_monthly_rent_mxn, gross_rental_yield_pct, rent_median_per_m2_mxn, rent_sample_sizeRental yield estimate (sale listings)
is_development, units_available, delivery_status, ready_to_moveNew development info
seller_name, seller_type, seller_type_source, is_official_storeSeller info (see note below)
monitor_status, previous_price, price_change, price_drop_pct, first_seen_at, days_trackedMonitor mode
latitude, longitude, photos, description, detail_specsOnly with "Open each listing page"

Example row (shortened):

{
"id": "MLM6326041056",
"title": "Venta Y Preventa De Departamentos En El Sur De La Cdmx En Alvaro Obregon, Tetelpan",
"operation": "venta",
"property_type": "Departamento",
"price": 6153800,
"currency": "MXN",
"price_usd": 330301,
"fx_rate_used": 18.63,
"m2_built": 113,
"price_per_m2_mxn": 54458,
"colonia": "Tetelpan",
"municipality": "Alvaro Obregón",
"zone_median_price_per_m2_mxn": 73160,
"zone_level": "municipality",
"price_vs_zone_pct": -25.6,
"deal_label": "cheap",
"est_monthly_rent_mxn": 31541,
"gross_rental_yield_pct": 6.15,
"is_development": true,
"units_available": 3,
"ready_to_move": true
}

How the analytics work (honest notes)

  • Zone comparison uses the listings collected in the same run, grouped by operation and property type. A colonia needs at least 5 listings with m²; otherwise the alcaldía/municipality is used; otherwise the fields stay empty. More listings = more comparisons, so use 200+ for a city.
  • deal_label: cheap = 10% or more below the zone median, expensive = 10% or more above, fair = in between.
  • Rental yield = (median rent per m² of the zone × m² × 12) ÷ sale price. It is a gross estimate, before costs and vacancy. It needs at least 5 rentals with m² in the same zone.
  • New developments often show a "Desde" (from) price and a size range. Price per m² then uses the smallest unit (price_per_m2_basis = built_smallest_unit).
  • Listings without m² get no price per m², deal label or yield. Nothing is guessed.
  • seller_type is only filled when there is evidence: the agency/private filter you selected, an agency logo, an official store badge, or the listing page (with "Open each listing page"). Many cards show no seller, so it is often empty. It is never invented.
  • Removed listings (monitor mode) are only reported when the run covered the whole search, so listings beyond max_items are not marked as removed by mistake.

Limits

  • MercadoLibre shows at most about 2,000 listings (42 pages) per search. For more, split by alcaldía, price range or property type, or use More locations.
  • Coordinates, full photo gallery and long description need the listing page ("Open each listing page", off by default, slower). If a listing page is blocked, the row is still saved from the search card (detail_status = failed).

Proxy

Since November 2026 MercadoLibre sends datacenter IPs to an account-verification page, so the default is Apify Proxy, group RESIDENTIAL, country MX. It works on the first try. If you choose no proxy or a datacenter proxy and MercadoLibre blocks it, the Actor switches to RESIDENTIAL MX by itself. Residential traffic adds a little cost (pages are compressed, about 4 MB per 1,000 listings).

Cost and speed

A default run (48 listings + 2 rent sample pages) takes a few seconds. Platform usage is very small because it uses plain HTTP and no browser.

Input and output details

Output Example:

{
"image_url": "https://www.example.com/item/12345678",
"title": "Example listing title",
"operation": "sale",
"property_type": "apartment",
"price": 150000,
"currency": "USD",
"price_usd": 150000,
"m2_built": 80,
"bedrooms": 2,
"bathrooms": 1,
"colonia": "Example",
"municipality": "Example",
"price_per_m2_mxn": 80,
"deal_label": "Example",
"is_development": true,
"url": "https://www.example.com/item/12345678",
"id": "12345678",
"scraped_at": "2026-01-15T12:00:00.000Z"
}

Input reference

ParameterTypeRequiredDefaultDescription
operationstringNoventaBuy (venta) or rent (renta). Ignored when you paste a search URL.
property_typestringNodepartamentosSame categories as on MercadoLibre. 'All property types' mixes homes, land and commercial. Ignored when you paste a search URL.
locationstringNoCDMXPlain names work: CDMX, Mexico City, Guadalajara, Zapopan, Monterrey, Cancún, Mérida, Querétaro, Jalisco, Nuevo León, Estado de México, or a CDMX alcaldía like Benito Juárez. You can also paste a MercadoLibre location...
locationsarrayNo—Optional. Search several places in one run with the same filters. max_items is shared between them.
min_priceintegerNo—Minimum price in the currency below. For rentals this is the monthly rent.
max_priceintegerNo—Maximum price in the currency chosen below, for example 3500000. Leave empty for no maximum.
price_currencystringNoMXNCurrency for the min/max price filters, for example MXN or USD.
min_m2integerNo—Minimum built surface (m² construidos), for example 50.
max_m2integerNo—Maximum built surface (m² construidos), for example 200.
min_bedroomsintegerNo—Minimum number of bedrooms, for example 2. Leave empty for no minimum.
min_bathroomsintegerNo—Minimum number of bathrooms, for example 1. Leave empty for no minimum.
seller_typestringNo—Only agencies (inmobiliaria) or only private owners (trato directo). When set, every row gets this seller_type.
listing_kindstringNo—Individual properties or new developments (desarrollos).
sort_bystringNo—Sort order of the results. Leave empty to keep the site's default order.
search_urlstringNo—Optional. Paste a MercadoLibre Mexico search URL after filtering on the site, for example https://inmuebles.mercadolibre.com.mx/departamentos/venta/distrito-federal/ . It overrides the filters above. Mexico only for now.
start_urlsarrayNo—Optional. More MercadoLibre Mexico search URLs to scrape in the same run.
max_itemsintegerNo48Maximum listings to save (one page has 48). MercadoLibre shows at most about 2,000 per search, so split big searches by alcaldía or price.
max_pagesintegerNo—Optional page limit per search (48 listings per page, site limit 42).
compare_with_zonebooleanNoTrueAdds the colonia (or alcaldía/municipality) median price per m², price_vs_zone_pct and a cheap / fair / expensive deal_label. Needs at least 5 listings in the zone.
estimate_rental_yieldbooleanNoTrueFor sale searches, also reads a few rent pages for the same type and place and adds estimated monthly rent and gross yield %.
yield_sample_pagesintegerNo2How many rent pages (48 each) to sample for yield. More pages = better medians, slightly longer run.
monitor_modebooleanNoFalseRemembers listings between runs and saves only new or price-changed listings, with previous_price and price_drop_pct. Schedule it daily to track a market.
monitor_keystringNodefaultOptional name for the monitor memory. Use a different name for each search you want to track separately.
emit_removedbooleanNoFalseAdds rows with monitor_status = removed for listings that disappeared. Only works when max_items covers the whole search.
fetch_detailsbooleanNoFalseAdds coordinates, all photos, full description and the specs table. Off by default. If a page is blocked, the search-card data is still saved.
max_detail_pagesintegerNo50Limit for listing pages opened when the option above is on.
proxyConfigurationobjectNo{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "MX"}MercadoLibre blocks datacenter IPs, so the default is Apify Proxy RESIDENTIAL in Mexico. If you choose no proxy or a datacenter proxy and get blocked, the Actor switches to RESIDENTIAL MX automatically.

Output fields

FieldDescription
image_urlMain image URL.
titleTitle as published on the source site.
operationSale or rent.
property_typeProperty type, for example apartment, house or land.
priceListed price in the local currency.
currencyCurrency of the listed price.
price_usdListed price converted to US dollars.
m2_builtBuilt area in square metres.
bedroomsNumber of bedrooms.
bathroomsNumber of bathrooms.
coloniaColonia or neighbourhood.
municipalityMunicipality.
price_per_m2_mxnPrice per square metre in Mexican pesos.
deal_labelDeal label based on the price versus the zone median, for example below market.
is_developmentWhether this is a development or new project.
urlPublic listing URL on MercadoLibre Inmuebles.
idMercadoLibre listing id.
monitor_statusIn monitor mode: new, changed, unchanged or removed.
scraped_atTime this row was collected, in UTC.

The dataset also includes 52 further fields. Open the Output tab in the Actor for the full list.

FAQ

Is scraping MercadoLibre legal? This Actor only reads public listing pages that anyone can open without logging in. It does not collect phone numbers or emails. Check that your use complies with local laws and MercadoLibre's terms.

Can I use it with AI agents or the API? Yes. All filters are simple fields, so the Actor works well from the Apify API, integrations and AI agents.

Something broke? Open an issue in the Issues tab with the input you used.

More data extractors by kareninatech: