APIs / Metrocuadrado / Locations
Metrocuadrado: Locations
Locations from Metrocuadrado as JSON. 1 credit per successful call.
GET /v1/metrocuadrado/locations
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
q | string | Required | Up to 120 characters |
mode | string | Optional | autocomplete, fanout |
level | string | Optional | zones, cities, neighborhoods |
Example request
Metrocuadrado
GET/v1/metrocuadrado/locations?q=bogota&mode=fanout
{
"success": true,
"mode": "fanout",
"query": "bogota",
"level": "zones",
"count": 0,
"is_complete_enumeration": false,
"available_levels": [
"cities",
"zones",
"neighborhoods"
],
"meta": {
"endpoint_family": "locations",
"fanout_axes": [
"business_type",
"property_type",
"city"
],
"fanout_axis_sources": {
"business_type": "client-side value; list them at /api/metrocuadrado/types?type=deal",
"property_type": "client-side value; list them at /api/metrocuadrado/types?type=property",
"city": "token from this endpoint (level=cities)",
"neighborhood": "a working filter on /search by bare slug, but its partition is NOT available from this endpoint - enumerate with the radius grid instead"
},
"note": "Use the token in `location` for the city and neighborhood parameters of /search. URL fragments are a different vocabulary and are not accepted there.",
"partition_method": "To split a large city, subdivide by radius instead: pass latitude, longitude and distance to /search. Inside a radius every returned listing is geo-referenced (measured 100% at 2, 3, 5 and 8 km), so a radius grid cannot silently drop rows i…"
}
}200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
The response has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
mode | string |
level | string |
is_complete_enumeration | boolean |
available_levels | string[] |