Property Search
/api/metroscubicos/search
Search listings for sale and rent with filters, sort and paging
Scrappa's read-only Metros Cubicos API turns the Mexican property portal (the real estate section of Mercado Libre Mexico) into structured JSON. Search apartments, houses, land, offices and more for sale and rent by state, city, price, bedrooms, bathrooms and area; read full listing details with maintenance fees, coordinates, characteristics and photos; find states and cities; and load seller summaries with their listings.
Try it now
Use the first endpoint in this API family with a Scrappa API key. Every account includes 500 free monthly credits, so you can validate the response shape before buying credits.
curl -X GET "https://scrappa.co/api/metroscubicos/search?operation=sale&type=apartment&state=distrito-federal&bedrooms=2&price_max=6000000&sort=price_asc" \
-H "Accept: application/json" \
-H "X-API-KEY: YOUR_API_KEY"
{
"success": true,
"total": 3120,
"returned": 46,
"pagination": {
"page": 1,
"limit": 48,
"pages_count": 42,
"has_next_page": true
},
"applied_filters": {
"operation": "sale",
"type": "apartment",
"state": "distrito-federal",
"bedrooms": 2,
"price_max": 6000000,
"sort": "price_asc"
},
"listings": [],
"meta": {
"endpoint_family": "search",
"billable": true,
"attempts": 1,
"filtered_out": 2
}
}
Structured data for real applications. Here are some ideas.
Build Mexican property search with filters for state, city, price, bedrooms, bathrooms, area and sort order.
Follow asking prices in pesos by state and city, for sale and for rent, across apartments, houses and land.
Pull the full record of a listing: description, maintenance fee, characteristics, coordinates, photos and nearby places.
See how many listings a seller has per operation, type and state, and read the listings page by page.
Track new developments with their models, prices and delivery dates.
Metros Cubicos scraper API
The Metros Cubicos API is built for proptech teams, investors and analysts working with Mexican property data. Search listings by state, city, price, bedrooms, bathrooms and area, then use listing details, locations and seller endpoints to build search tools, market monitors and data products.
Search Mexican listings for sale and for rent.
Filter by state, city, price, bedrooms, bathrooms, area and type.
Get full listing details with fees, characteristics, coordinates and photos.
List the 32 states and the cities of a state.
Read seller summaries and their listings.
Call 4 read-only endpoints that return structured JSON.
Find a state or city slug with the locations endpoint, then pass it to the search endpoint with a price range and bedrooms. Listings that contradict a filter are left out.
Open Metros Cubicos Property Search API docsTake an id from search and request the listing endpoint for the description, fees, characteristics, photos and the agency.
Open Metros Cubicos Listing Details API docsTake the seller id from a listing and read the seller summary together with a page of its listings.
Open Metros Cubicos Agency Profile API docsEverything you need in one API.
/api/metroscubicos/search
Search listings for sale and rent with filters, sort and paging
/api/metroscubicos/listing
Get the full record of one listing
/api/metroscubicos/locations
List states, cities of a state or search suggestions
/api/metroscubicos/agency
Get a seller summary and its listings
See how Scrappa compares to the official API.
| Feature | Scrappa | Do-it-yourself property data extraction |
|---|---|---|
| Dedicated Metros Cubicos endpoints | yes (4 endpoints) | |
| Output format | Structured JSON | Raw page content |
| Cards that contradict a filter | Left out and counted | Mixed into the results |
| Request mode | Read-only | Depends on implementation |
| Parser maintenance | Handled by Scrappa | Your team |
The Metros Cubicos API is Scrappa's read-only REST API for property listings in Mexico. It covers search, listing details, locations and seller listings.
No. Scrappa is an independent service and is not affiliated with or endorsed by Metros Cubicos or Mercado Libre. A Scrappa API key is used to access the endpoints on this page.
Yes. Use operation=sale or operation=rent in the search.
The site serves the first 42 pages of 48 listings for any search. Narrow the filters to reach other listings.
The request returns a non-billable 422. The site would otherwise turn the unknown place into a text search.
No. All Metros Cubicos endpoints on this page are read-only.