# Lonja Radar API and MCP documentation

> How to use the Lonja Radar public API and MCP server: Colombian real-estate listings for sale and rent and the median price per m² by neighborhood.

Reviewed: 2026-11-29. HTML version: https://lonjaradar.com/developers/docs. OpenAPI 3.1: https://lonjaradar.com/api/v1/openapi.json. MCP: https://lonjaradar.com/mcp.

- [Introduction and concepts](https://lonjaradar.com/developers/docs/introduction): What data the Lonja Radar API provides, where it comes from, how fresh it is, how to attribute it and what is not provided.
- [Authentication and rate limits](https://lonjaradar.com/developers/docs/authentication): The Lonja Radar API works without a key with a per-IP quota; a free key gives a larger quota. X-RateLimit headers, 429 and Retry-After.
- [API reference](https://lonjaradar.com/developers/docs/reference): Every Lonja Radar API endpoint with parameters, a try-it form and real responses: listings, price per m² by area, cities, neighborhoods and totals.
- [MCP server guide](https://lonjaradar.com/developers/docs/mcp): Connect the Lonja Radar MCP server to Claude, ChatGPT, Cursor, VS Code or any MCP client: Colombian listings and price per m² in your assistant.
- [Writing with the API](https://lonjaradar.com/developers/docs/writing): Create radars, manage favorites, publish listings and more with a write key: the same rules as the app.
- [Migrating from the Spanish API](https://lonjaradar.com/developers/docs/migration): Old Spanish routes, parameters, fields and values of the Lonja Radar API and their English names. The old ones keep working for 30 days.
- [API and MCP terms of use](https://lonjaradar.com/developers/docs/terms): Terms for using the Lonja Radar public API and MCP server: free, open data; only request volume is limited.

---

## Introduction and concepts

Fuente: https://lonjaradar.com/developers/docs/introduction

Lonja Radar brings together the properties listed for sale and rent across Colombia. The public API and the MCP server give you that data for your app, your spreadsheet or your AI assistant. Free and open: the data is public and you may use it freely, including in commercial products.

> The API is in English: routes, parameters, fields, values and errors. Place names stay as written in Spanish (`city=Bogotá`, `neighborhood=Chapinero`). Prices are in Colombian pesos (COP). Used the old Spanish routes? See the [migration guide](https://lonjaradar.com/developers/docs/migration).

### What data there is

- **Listings** (`/listings`): current properties in a city, a neighborhood or a map rectangle, with type, operation, price, admin fee (`admin_fee`), area, bedrooms, bathrooms, parking spaces, socio-economic stratum (`stratum`, 1 to 6), location, publication date, source and links.
- **Prices by area** (`/prices`): for homes for rent (apartment, studio, house, room), the monthly rent asked in each neighborhood by number of bedrooms; for sales and commercial rentals, the median asking price per m². Given a price, it tells whether it is above, in line with or below: a home rent against the same type and number of bedrooms in its neighborhood (or within 1 or 2 km when the neighborhood has few), everything else against the price per m² of its neighborhood. Never against the whole city, which mixes very different neighborhoods.
- **Places** (`/cities`): cities with data and their neighborhoods, each with its median price per m² and, for homes for rent, its rent by bedrooms.
- **Overview** (`/overview`): current listings, municipalities and advertisers.
- **Market stats** (`/stats`): new listings per day, current listings by city and type, rent and price per m² by city week by week, and the neighborhoods with most new listings. The same as the [Statistics](https://lonjaradar.com/estadisticas) page, also as CSV.

For rentals (`rent`), the price is the monthly rent. Homes for rent are judged by the rent, not by the m²; the m² figure (monthly rent per m²) stays as data and is the basis for sales and commercial rentals. Property types (`type`): `apartment` (apartment), `house` (house), `studio` (studio apartment), `room` (room), `country_house` (country house), `farm` (farm), `cabin` (cabin), `house_with_lot` (house with lot), `lot` (lot), `retail` (retail space), `office` (office), `warehouse` (warehouse), `medical_office` (medical office), `building` (building), `parking` (parking space).

### Where it comes from

Listings come from real-estate portals, social networks, agency websites, and listings published directly on Lonja Radar. Each listing says which source it comes from (`source.type`, `source.name`) and links to the original (`original_url`). The same property published on several sources appears once, with the others in `also_listed_on`.

### How fresh it is

- Only listings published in the last 31 days: from portals and social networks, nothing older, for sale or for rent; from agency websites, those still shown.
- New listings reach the API with a delay of a few minutes. Need real time? Write to us at hola@lonjaradar.com. Changes to a listing already delivered (its price, for example) arrive as they are, and listings published on Lonja Radar come out right away.
- Area figures use listings from the last 120 days: price per m² medians, those with price and area; rents, homes for rent without furnished or short-stay listings, by type and bedrooms. A group needs at least 5 listings, and 8 to judge a price.
- Responses may be cached for up to 60 seconds (see `Cache-Control`).

### Using the data and attribution

The data is public: you may use it freely, including in commercial products, without asking and without crediting the source. The one exception is **listings published on Lonja Radar** (`source.type` is `lonjaradar`): when you show one, say it comes from Lonja Radar and link to its page. Those listings carry an `attribution_required` field with the text and the link to use.

**A listing published on Lonja Radar, as it comes**



```json
{
  "attribution_required": {
    "text": "Listing published on Lonja Radar",
    "url": "https://lonjaradar.com/aviso/apartamento-en-arriendo-en-canaveral-floridablanca-7"
  }
}
```

Every response also carries `attribution` («Data from Lonja Radar — …»): an optional credit line you may show if you like.

### What is not provided, and why

For listings from other sources, only the basic facts and the link to the original are provided. **Never descriptions, phone numbers, WhatsApp, the advertiser's name or the source's photo URL**: they belong to whoever published them and to their portal. The cover photo may come as our own copy: `photo` (1280 px) and `photo_thumbnail` (480 px), always on our domain (/f/) and only when we already have it. Listings published directly on Lonja Radar do include description and photos, but no contact details.

Area prices are **asking** prices from listings, not closing prices or appraisals.
---

## Authentication and rate limits

Fuente: https://lonjaradar.com/developers/docs/authentication

No account is needed to try it: every endpoint works without a key, with a per-IP quota. For a real app, create a free key (it needs a free account): the quota is much larger and only yours.

**Default quotas**

| How you call | Per day | Per minute | Counted by |
|---|---:|---:|---|
| API without key | 100 | 10 | IP |
| API with key | 5,000 | 60 | key |
| MCP without key | 3,000 | 60 | IP (tool calls only) |
| MCP with key | 5,000 | 60 | key |
| MCP with your account (OAuth connector) | 5,000 | 60 | account |

Days are Colombian days: quotas reset at midnight UTC−5.

### Getting a key

Sign in at [https://lonjaradar.com/desarrolladores](https://lonjaradar.com/desarrolladores#llaves) (the page is in Spanish: «Tus llaves» means your keys), name the key and create it. Copy it right away: it starts with `lr_` and is shown only once. Up to 5 active keys per account.

### Sending the key

Use a header: `Authorization: Bearer lr_…` or `X-API-Key: lr_…`. Never in the query string, and never in browser code.

curl:

```bash
curl -G "https://lonjaradar.com/api/v1/prices" \
  --data-urlencode "city=Medellín" \
  --data-urlencode "operation=rent" \
  --data-urlencode "type=apartment" \
  --data-urlencode "neighborhood=El Poblado" \
  -H "Authorization: Bearer $LONJA_RADAR_KEY"
```

JavaScript:

```js
const url = new URL("https://lonjaradar.com/api/v1/prices");
url.search = new URLSearchParams({
  city: "Medellín",
  operation: "rent",
  type: "apartment",
  neighborhood: "El Poblado",
});
const r = await fetch(url, { headers: { "X-API-Key": process.env.LONJA_RADAR_KEY } });
if (!r.ok) throw new Error((await r.json()).error.message);
const datos = await r.json();
console.log(datos);
```

Python:

```python
import os, requests

r = requests.get(
    "https://lonjaradar.com/api/v1/prices",
    params={
        "city": "Medellín",
        "operation": "rent",
        "type": "apartment",
        "neighborhood": "El Poblado",
    },
    headers={"X-API-Key": os.environ["LONJA_RADAR_KEY"]},
    timeout=20,
)
r.raise_for_status()
print(r.json())
```

### Rate-limit headers and 429

| Header | Meaning |
|---|---|
| `X-RateLimit-Limit` | Requests per day in your quota. |
| `X-RateLimit-Remaining` | Requests left today. |
| `X-RateLimit-Reset` | When it resets (Unix seconds; Colombian midnight). |
| `Retry-After` | On 429 or 503: seconds to wait before retrying. |

When you exceed the per-minute or daily quota, the response is `429` with `Retry-After`. Wait that long; do not retry in a loop.

### Errors

All errors share one shape: `{ "error": { "code", "message" } }`. `code` is stable and machine-readable; `message` is human-readable. Codes: `invalid_parameter` and `missing_parameter` (400), `invalid_key` (401), `not_found` (404), `method_not_allowed` (405), `gone` (410, an old Spanish route after its sunset date), `rate_limited` (429), `service_unavailable` (503).

**/listings?operation=sale → 400 (real response)**



```json
{
  "error": {
    "code": "missing_parameter",
    "message": "give a city (city=Bogotá) or a rectangle (bbox=west,south,east,north)"
  },
  "documentation": "https://lonjaradar.com/developers/docs"
}
```

CORS is open (`Access-Control-Allow-Origin: *`), so you can call it from a web page without a key.
---

## API reference

Fuente: https://lonjaradar.com/developers/docs/reference

Base URL: `https://lonjaradar.com/api/v1`. All endpoints are GET, return JSON (UTF-8) and allow CORS. The full OpenAPI 3.1 spec is at [https://lonjaradar.com/api/v1/openapi.json](https://lonjaradar.com/api/v1/openapi.json).

Search limits: up to 50 listings per page and 10 pages; a `bbox` side can be up to 0.48° (about 50 km). Examples below are real production responses, trimmed to two items.

### Searching without opening every listing

Since 2026-11-24 each search result is **one property**, not one listing: the same property published on several portals comes once, with `sources` (every publication: `name`, `original_url`, `published_at`), `source_count` and `also_listed_on`, and `total` counts properties. Before, repeats were joined only within the same page, so a property could show up again on page 2. `dedupe=false` keeps that old behaviour (and `total` is `null`). Phone numbers and WhatsApp never come out, in any field.

**New parameters (all optional)**

| Parameter | What it does |
|---|---|
| `min_area`, `max_area` | Built area in m² (integers). Listings without an area are left out unless `include_missing_area=true`. |
| `min_stratum`, `max_stratum` | Socioeconomic stratum (estrato), 1 to 6: the listing's own or, when it does not give one, the one we fill in from its neighborhood. Listings without a stratum are left out. For «estrato 4» use both = 4. |
| `max_total_monthly` | Rent only: rent + admin fee ≤ this (the rent alone when the listing says the admin fee is included). Without an admin fee the rent is compared and the result carries `missing_admin_fee`. |
| `neighborhood` | One or up to 5 separated by commas: `Chicó,Santa Bárbara,Cedritos`. |
| `locality` | Since 2026-11-29. A localidad of Bogotá (`Usaquén`, `Localidad 1`), or a comuna of Medellín (`El Poblado`, `Comuna 14`) or Cali (`Comuna 2`); up to 5 separated by commas. The listing's point has to fall inside the official shape: a neighboring municipality (Soacha, Chía) never counts. |
| `zone` | Since 2026-11-29, Bogotá only: `norte`, `sur`, `oriente`, `occidente` or `centro` (also in English), each a fixed set of localidades (table below). Up to 2; with `locality`, the union. The response lists them in `localities`. |
| `min_geo_precision` | `exact`, `neighborhood` or `city`: how precise the point must at least be. |
| `exclude_warnings` | Codes separated by commas; listings with any of them are left out. |
| `published_since` | A day (YYYY-MM-DD), from 00:00 Colombia time, up to 31 days ago. |
| `keywords` | Since 2026-11-26: words that must ALL appear in the listing text (its description; on social networks, the post with its title): `keywords=remodelado piscina`. Accents and capitals do not matter; «con», «de», «la» and the like are skipped; up to 6 words of 3 letters or more, and a word also matches inside a longer one («remodel» finds «remodelado»). In a big city with common words they are looked for among the 8,000 most recent listings matching the other filters (`total_exact: false`). The text never comes out. |
| `sort` | Also `area` (smallest first) and `price_per_m2` (lowest first), among the 600 most recent matching listings. |
| `dedupe` | `true` (default) or `false` (the behaviour before 2026-11-24). |

**New fields of each result**

| Field | What it is |
|---|---|
| `sources`, `source_count` | Every publication of the property and how many there are. |
| `admin_included` | Monthly rent: `true` if the text says «administración incluida» (or «incluye administración»), `false` if it says it is not, `null` if it does not say. |
| `total_monthly` | Monthly rent: `price + admin_fee`, or `price` when `admin_included` is true. `null` if unknown or when the admin fee does not add up (`admin_exceeds_rent`, `admin_suspicious`). |
| `total_monthly_reliable` | Since 2026-11-29: `true` with a total, `false` when there is an admin fee but it does not add up (then `total_monthly` is `null`), `null` without a total for another reason. `max_total_monthly` compares the rent alone in those cases: add the codes to `exclude_warnings` to keep only known totals. |
| `first_seen_at`, `republished` | Since 2026-11-29: the first time we saw the property, in any of its publications (also expired ones), and `true` when it came back under a new code after an earlier publication that is no longer shown: it is not new even if `published_at` is today. |
| `geo_precision` | `exact` (its own point), `neighborhood` (the neighborhood centre), `city` (the city centre: a default point) or `none`. |
| `price_vs_median_pct` | Its price against its reference, in %. Homes for rent (apartment, studio, house, room): the monthly rent against the median rent of the same type and number of bedrooms in its neighborhood or, when the neighborhood has few, its sector (within 1 or 2 km). Everything else: its price per m² against the median of its neighborhood. `null` when there is no reference backed by at least 8 listings (or the home is furnished, or does not say its bedrooms): a city median mixes very different neighborhoods. |
| `comparison_basis`, `comparison_scope` | Since 2026-11-25: `rent_by_bedrooms` or `price_per_m2`; and `neighborhood` or `sector` (`null` when there was nothing to compare with). |
| `published_at_has_time` | `false` when the source gives only the day (most portals): then the time in `published_at` (12:00 Colombia) means nothing. |
| `warnings` | Fixed codes, below. |

**Warning codes**

| Code | Meaning |
|---|---|
| `missing_area` | the listing does not give its area |
| `missing_admin_fee` | monthly rent without an admin fee and without saying it is included: total_monthly is unknown |
| `geo_default` | the point is the city centre or there is no point (geo_precision city or none) |
| `geo_approximate` | the point is the centre of its neighborhood, not the address (geo_precision neighborhood) |
| `future_date` | the source gives a publication date later than today (Colombia time) |
| `implausible_price` | the price cannot be right (shown on the website as «price to be confirmed») |
| `price_outlier_low` | the price is far below its reference (more than 40 % below, or 10 % below when the reference has fewer than 10 listings). For homes for rent (apartment, studio, house, room) the reference is the rent asked for the same type and number of bedrooms in its neighborhood or sector; for everything else, the median price per m² of its neighborhood. Never the whole city |
| `implausible_area` | the area cannot be right for what the listing says (e.g. an apartment under 15 m², less than 8 m² per bedroom, or an absurdly large flat): check it in the original listing |
| `city_mismatch` | the neighborhood the source gives names another municipality (e.g. «Soacha San Mateo» listed in Bogotá): the property is probably in that municipality; city is left as the source says |
| `admin_exceeds_rent` | monthly rent whose admin fee is as high as the rent or higher (e.g. rent $1,300,000 and admin fee $1,320,000): the two values are probably swapped or mistyped; total_monthly is null and total_monthly_reliable false |
| `admin_suspicious` | the admin fee looks like a placeholder: repeated or sequential digits (11.111, 111.111, 1.111.111, 99.999, 123.456) or far too low to be real (under $15,000, or, for apartments from stratum 4 up, under $400 per m²); total_monthly is null and total_monthly_reliable false |
| `stratum_mismatch` | the listing's own stratum is 2 or more away from the usual stratum of its neighborhood (most of the listings there that give one), e.g. stratum 1 in Cedritos: check it in the original listing |

**Dates.** `published_within_days=N` counts **calendar days in Colombia** (UTC−5), exactly N: 1 = published today (since 00:00 Colombia time; nothing from yesterday), N = today and the N−1 previous days (a week = 7), 31 = the whole last month. The date of a listing is its publication date when the source gives it and, when it does not, the day Lonja Radar first saw it; nothing outside the window comes out. To start on a given day, send `published_since=YYYY-MM-DD`. The `lonjaradar_url` of each result and `map_url` carry the map window that covers yours (1, 3, 7, 14 or 31; none if you did not ask). Until 2026-11-26, N was rounded up to those values (5 days searched 7).

**Neighboring municipalities.** Since 2026-11-26 the same property that one portal places in Floridablanca and another in Bucaramanga (or Envigado and Medellín, Chía and Bogotá, Soledad and Barranquilla, Jamundí and Cali…) comes once, with both sources, in the search of either city: same type and operation, the exact same price, the area within 3 m², and the same photo or the same bedrooms and bathrooms, with neighborhoods and points that do not contradict each other. Two listings within 30 m of each other, with the same price and area, are joined whatever city they say.

**Several neighborhoods** are the union of each one: a listing counts if it names the neighborhood, is within 900 m of its centre or, where the city has official neighborhood shapes (Bogotá and others), falls inside it. The same property published as «Cedritos» on one portal and «Caobos Salazar» on another (same point, price and area) comes once, with both sources.

**Zones of Bogotá (a shortcut, not an official division)**

| Zone | Localidades |
|---|---|
| `norte` | Usaquén, Chapinero, Suba, Barrios Unidos |
| `centro` | Teusaquillo, Santa Fe, La Candelaria, Los Mártires |
| `occidente` | Engativá, Fontibón, Kennedy, Puente Aranda |
| `sur` | Bosa, Ciudad Bolívar, Tunjuelito, Usme, San Cristóbal, Rafael Uribe Uribe, Antonio Nariño |
| `oriente` | Chapinero, Santa Fe, La Candelaria, San Cristóbal |

**Localities and zones** (since 2026-11-29). The shapes of the 20 localidades of Bogotá are the official ones (IDECA, Catastro Distrital, Datos Abiertos Bogotá, CC BY 4.0); a comuna of Medellín or Cali is the union of its official neighborhoods. A listing counts when its point (its own or its neighborhood centre, never the city centre) falls inside; without a point, when the centre of its neighborhood does. A radar cannot filter by locality or zone yet: `create_radar_link` leaves them out and says so (`not_filtered`). An unknown parameter (`zone_name=norte`) is an error 400 in the REST API; in the MCP the search still runs, without it, and says so in the text and in `ignored_params`. Numbers and true/false written as text (`"90"`, `"true"`) are accepted.

**The sector, with comparable places** (since 2026-11-29). When a home for rent has too few comparable listings in its neighborhood, it is compared with its sector (within 1 or 2 km), but only if the surroundings are of its stratum (at most 10 % of the listings around in neighborhoods two or more strata away). If they mix strata (a stratum-3 apartment in Santa Sofía, Bogotá, next to the Chicó), the reference is the median of the medians of the nearby neighborhoods within one stratum of the listing; with fewer than two of them there is no verdict (`price_vs_median_pct` null, no `price_outlier_low`). Before, that Santa Sofía apartment came out «85 % below» against COP 12.9 million.

**Repeats with an approximate point** (since 2026-11-29). The same property with its address on one portal and only the neighborhood centre on another is joined when the city, type, exact price, area (±1 m²), bedrooms, bathrooms and, if both give it, the admin fee match, with the centre within 1.2 km of the address (2 km with the same admin fee); the result keeps the exact point.

**About 100 m², rent up to COP 4 million all included, published today**



```bash
curl "https://lonjaradar.com/api/v1/listings?city=Bogot%C3%A1&operation=rent&type=apartment&min_area=90&max_area=120&max_total_monthly=4000000&published_within_days=1"
```

### GET /listings

**Search listings.** Current listings of a city (or a rectangle) with the requested filters. Send `city` or `bbox`. Since 2026-11-24, by default (`dedupe=true`) each result is ONE property across the whole search: the same property published on several sources comes once, with `sources` (every publication: name, link, date), `source_count` and `also_listed_on` (the others), and `total` counts properties. Before, repeats were joined only within the same page; `dedupe=false` keeps that. Each result also carries `admin_included`, `total_monthly`, `geo_precision`, `price_vs_median_pct` and `warnings`, so you rarely need `/listings/{id}`. Since 2026-11-29: `locality` and `zone` filters (localities of Bogotá, comunas of Medellín and Cali; zones of Bogotá), `first_seen_at` and `republished` (a property that comes back under a new code is not new), `total_monthly_reliable`, the warnings `admin_exceeds_rent`, `admin_suspicious` and `stratum_mismatch`, and the exact point kept when one source gives the address and another only the neighborhood centre. Never phone numbers, WhatsApp or descriptions. New listings arrive with a delay of a few minutes. An unknown query parameter (e.g. `zone_name`) is an error 400 (`invalid_parameter`), so a misspelled filter is never ignored in silence.

#### Parameters

| Name | In | Required | Description |
|---|---|---|---|
| `city` | query | no | City or municipality, as written in Spanish («Bogotá», «Santa Marta», «santa-marta»). List at /api/v1/cities. |
| `neighborhood` | query | no | Neighborhood within the city (requires city). Up to 5 separated by commas to search several at once: the result is the union of each one (a listing counts if it names the neighborhood, is within 900 m of its centre or falls inside its official shape where the city has them). For a whole part of the city use `locality` or `zone`. |
| `locality` | query | no | Since 2026-11-29 (requires city). Bogotá: one of its 20 localidades (Usaquén, Chapinero, Santa Fe, San Cristóbal, Usme, Tunjuelito, Bosa, Kennedy, Fontibón, Engativá, Suba, Barrios Unidos, Teusaquillo, Los Mártires, Antonio Nariño, Puente Aranda, La Candelaria, Rafael Uribe Uribe, Ciudad Bolívar, Sumapaz; also «Localidad 1» or the number). Medellín: a comuna or corregimiento («El Poblado», «Laureles-Estadio», «Comuna 14»). Cali: «Comuna 1» to «Comuna 22». Up to 5 separated by commas (the union). A listing counts when its point (its own or its neighborhood centre; never the city centre) falls inside the official shape (IDECA for Bogotá; the official neighborhoods of each comuna in Medellín and Cali) or, without a point, when the centre of its neighborhood does: a neighboring municipality (Soacha, Chía, Envigado) never counts. Other cities: 400, use neighborhood. With neighborhood, both must hold. |
| `zone` | query | no | Since 2026-11-29, Bogotá only: a fixed set of localidades (a Lonja Radar shortcut, not an official division): norte = Usaquén, Chapinero, Suba, Barrios Unidos; centro = Teusaquillo, Santa Fe, La Candelaria, Los Mártires; occidente = Engativá, Fontibón, Kennedy, Puente Aranda; sur = Bosa, Ciudad Bolívar, Tunjuelito, Usme, San Cristóbal, Rafael Uribe Uribe, Antonio Nariño; oriente = Chapinero, Santa Fe, La Candelaria, San Cristóbal. Also north, south, east, west, centre. Up to 2 separated by commas; with locality, the union. The response lists the localities used in `localities`. |
| `operation` | query | no | sale (default), rent or short_stay. rent is the monthly rent, as always: it no longer includes rentals by the night. short_stay is rentals by the night, weekend or season (farms, cabins, holiday apartments); its price is usually per night (see `price_unit`). Options: `sale`, `rent`, `short_stay`. Default: `sale` |
| `type` | query | no | Property type; `types` also accepts several separated by commas. Options: `apartment`, `house`, `studio`, `room`, `country_house`, `farm`, `cabin`, `house_with_lot`, `lot`, `retail`, `office`, `warehouse`, `medical_office`, `building`, `parking` |
| `types` | query | no | Several types separated by commas. |
| `min_price` | query | no | Minimum price in Colombian pesos. |
| `max_price` | query | no | Maximum price in Colombian pesos. |
| `min_bedrooms` | query | no | Minimum bedrooms. |
| `published_within_days` | query | no | Only listings published in the last N CALENDAR DAYS in Colombia (UTC−5), exactly N (since 2026-11-26; before, N was rounded up to 1, 3, 7, 14 or 31): 1 = published today (since 00:00 Colombia time; nothing from yesterday); N = today and the N−1 previous days; 31 = the whole last month (the default: everything shown; on portals and social networks, only listings published in the last 31 days). The date is the publication date when the source gives it and, when it does not, the day Lonja Radar first saw the listing. To start on a given date use `published_since=YYYY-MM-DD`. The `lonjaradar_url` of each result and `map_url` carry the map window that covers it (1, 3, 7, 14 or 31; none when you do not send it). Default: `31` |
| `published_since` | query | no | Only listings published on or after this day, from 00:00 Colombia time (UTC−5), with the same date rule as published_within_days. Up to 31 days ago; not in the future. |
| `keywords` | query | no | Words that must ALL appear in the listing text (its description; on social networks, the post with its title), separated by spaces or commas. Accents and capitals do not matter, words like «con», «de» or «la» are skipped, up to 6 words of 3 letters or more, and a word also matches inside a longer one («remodel» finds «remodelado»). The text itself is never returned. In a big city with common words (e.g. «piscina» in Bogotá) the words are looked for among the 8,000 most recent listings that match the other filters: then `total_exact` is false and `total` is a lower bound; narrow with type, neighborhood, price or published_within_days to cover everything. |
| `min_area` | query | no | Minimum built area in m² (integer). |
| `max_area` | query | no | Maximum built area in m² (integer). |
| `min_stratum` | query | no | Minimum socioeconomic stratum (estrato), 1 to 6: the listing's own or, when it does not give one, the one filled in from its neighborhood. Listings without a stratum are left out. |
| `max_stratum` | query | no | Maximum stratum, 1 to 6. For «estrato 4» use min_stratum=4&max_stratum=4. |
| `include_missing_area` | query | no | With min_area or max_area: also include listings that do not give their area (they carry the missing_area warning). Default false. Default: `false` |
| `max_total_monthly` | query | no | Only with operation=rent: maximum monthly cost in COP, rent + admin fee (the rent alone when the listing says the admin fee is included). Listings without an admin fee, or whose admin fee does not add up, are compared by their rent and carry missing_admin_fee, admin_exceeds_rent or admin_suspicious (add them to exclude_warnings to keep only known totals). |
| `min_geo_precision` | query | no | Only listings whose point is at least this precise: exact (its own point), neighborhood (at least the neighborhood centre) or city. Options: `exact`, `neighborhood`, `city` |
| `exclude_warnings` | query | no | Leave out listings with any of these warnings, separated by commas. |
| `dedupe` | query | no | true (default): one result per property across the whole search, with sources. false: the behaviour before 2026-11-24 (repeats joined only within the page; total is null). Default: `true` |
| `owner_only` | query | no | 1 = only listings by direct owners. Options: `0`, `1` |
| `bbox` | query | no | Rectangle `west,south,east,north` in degrees (each side up to 0.48°). With city, it searches the rectangle and keeps only that city. |
| `sort` | query | no | newest (default), price (lowest first), area (smallest first) or price_per_m2 (lowest first). area and price_per_m2 sort among the 600 most recent matching listings. Options: `newest`, `price`, `area`, `price_per_m2`. Default: `newest` |
| `page` | query | no | Default: `1` |
| `limit` | query | no | Default: `20` |

#### Real response (taken from production on 2026-11-20)

curl:

```bash
curl -G "https://lonjaradar.com/api/v1/listings" \
  --data-urlencode "city=Bogotá" \
  --data-urlencode "operation=sale" \
  --data-urlencode "type=apartment" \
  --data-urlencode "max_price=600000000" \
  --data-urlencode "limit=2"
```

JavaScript:

```js
const url = new URL("https://lonjaradar.com/api/v1/listings");
url.search = new URLSearchParams({
  city: "Bogotá",
  operation: "sale",
  type: "apartment",
  max_price: "600000000",
  limit: "2",
});
const r = await fetch(url);
if (!r.ok) throw new Error((await r.json()).error.message);
const datos = await r.json();
console.log(datos);
```

Python:

```python
import requests

r = requests.get(
    "https://lonjaradar.com/api/v1/listings",
    params={
        "city": "Bogotá",
        "operation": "sale",
        "type": "apartment",
        "max_price": 600000000,
        "limit": 2,
    },
    timeout=20,
)
r.raise_for_status()
print(r.json())
```

**/listings → 200**



```json
{
  "listings": [
    {
      "id": "metrocuadrado:MC7249304",
      "title": "Apartment for sale in Portal Norte Nueva Zelandia Colina y Alrededores, Bogotá",
      "operation": "sale",
      "type": "apartment",
      "price": 225000000,
      "admin_fee": null,
      "area_m2": 40,
      "price_per_m2": 5625000,
      "bedrooms": 2,
      "bathrooms": 1,
      "parking_spaces": null,
      "stratum": 3,
      "city": "Bogotá",
      "neighborhood": "Portal Norte Nueva Zelandia Colina y Alrededores",
      "location": {
        "lat": 4.75893,
        "lon": -74.0485,
        "approximate": false
      },
      "published_at": "2026-11-20T04:58:37.000Z",
      "source": {
        "type": "portal",
        "name": "Metrocuadrado"
      },
      "direct_owner": true,
      "original_url": "https://www.metrocuadrado.com/inmueble/venta-apartamento-bogota-nueva-zelandia-2-habitaciones-1-banos/MC7249304",
      "lonjaradar_url": "https://lonjaradar.com/mapa?inmueble=metrocuadrado%3AMC7249304&operacion=venta&publicado=31"
    },
    {
      "id": "metrocuadrado:10123-M7249281",
      "title": "Apartment for sale in Chapinero, Bogotá",
      "operation": "sale",
      "type": "apartment",
      "price": 405000000,
      "admin_fee": 585000,
      "area_m2": 74,
      "price_per_m2": 5472973,
      "bedrooms": 2,
      "bathrooms": 2,
      "parking_spaces": 1,
      "stratum": 3,
      "city": "Bogotá",
      "neighborhood": "Chapinero",
      "location": {
        "lat": 4.64674,
        "lon": -74.06149,
        "approximate": false
      },
      "published_at": "2026-11-20T03:44:20.000Z",
      "source": {
        "type": "portal",
        "name": "Metrocuadrado"
      },
      "direct_owner": false,
      "original_url": "https://www.metrocuadrado.com/inmueble/venta-apartamento-bogota-chapinero-central-2-habitaciones-2-banos-1-garajes/10123-M7249281",
      "lonjaradar_url": "https://lonjaradar.com/mapa?inmueble=metrocuadrado%3A10123-M7249281&operacion=venta&publicado=31"
    }
  ],
  "page": 1,
  "limit": 2,
  "has_more": true,
  "city": {
    "name": "Bogotá",
    "slug": "bogota",
    "url": "https://lonjaradar.com/zonas/bogota"
  },
  "map_url": "https://lonjaradar.com/mapa?capa=inmuebles&operacion=venta&publicado=31&tipos=apartamento&pmax=600000000&ver=4.6690%2C-74.1006%2C12",
  "create_radar_url": "https://lonjaradar.com/crear?desde=mcp&op=venta&tipos=apartamento&ciudad=Bogot%C3%A1&pmax=600000000",
  "note": "Current listings only: from portals and social networks, listings published in the last 31 days, for sale and for rent; from agencies, those still on their website.",
  "attribution": "Data from Lonja Radar — https://lonjaradar.com"
}
```

#### Possible errors

- `400` A parameter is invalid or missing (`invalid_parameter`, `missing_parameter`).
- `401` The key does not exist, was revoked or is malformed (`invalid_key`).
- `404` It does not exist or is no longer shown (`not_found`).
- `429` The minute or day quota is used up (`rate_limited`).
- `503` The database is not responding; try again in a minute (`service_unavailable`).

### GET /listings/{id}

**One listing.** A listing by its `id` (the one search returns). Since 2026-11-29 it carries the same quality fields as the search (total_monthly, total_monthly_reliable, geo_precision, price_vs_median_pct, warnings, first_seen_at, republished). 404 if it is no longer shown (sold, rented, removed, or, on portals and social networks, more than 31 days old) or if it is so new it has not reached the API yet. Listings published on Lonja Radar also carry description, photos and `attribution_required`.

#### Parameters

| Name | In | Required | Description |
|---|---|---|---|
| `id` | path | yes | «source:code», URL-encoded (the colon as %3A or as is). |

#### Real response (taken from production on 2026-11-20)

curl:

```bash
curl "https://lonjaradar.com/api/v1/listings/metrocuadrado%3A10123-M7249281"
```

JavaScript:

```js
const url = new URL("https://lonjaradar.com/api/v1/listings/metrocuadrado%3A10123-M7249281");
const r = await fetch(url);
if (!r.ok) throw new Error((await r.json()).error.message);
const datos = await r.json();
console.log(datos);
```

Python:

```python
import requests

r = requests.get(
    "https://lonjaradar.com/api/v1/listings/metrocuadrado%3A10123-M7249281",
    timeout=20,
)
r.raise_for_status()
print(r.json())
```

**/listings/metrocuadrado%3A10123-M7249281 → 200**



```json
{
  "id": "metrocuadrado:10123-M7249281",
  "title": "Apartment for sale in Chapinero, Bogotá",
  "operation": "sale",
  "type": "apartment",
  "price": 405000000,
  "admin_fee": 585000,
  "area_m2": 74,
  "price_per_m2": 5472973,
  "bedrooms": 2,
  "bathrooms": 2,
  "parking_spaces": 1,
  "stratum": 3,
  "city": "Bogotá",
  "neighborhood": "Chapinero",
  "location": {
    "lat": 4.64674,
    "lon": -74.06149,
    "approximate": false
  },
  "published_at": "2026-11-20T03:44:20.000Z",
  "source": {
    "type": "portal",
    "name": "Metrocuadrado"
  },
  "direct_owner": false,
  "original_url": "https://www.metrocuadrado.com/inmueble/venta-apartamento-bogota-chapinero-central-2-habitaciones-2-banos-1-garajes/10123-M7249281",
  "lonjaradar_url": "https://lonjaradar.com/mapa?inmueble=metrocuadrado%3A10123-M7249281&operacion=venta&publicado=31",
  "area_comparison": {
    "area": "Chapinero",
    "is_neighborhood": true,
    "median_price_per_m2": 8472222,
    "listing_count": 565,
    "difference_pct": -35,
    "verdict": "below",
    "text": "35 % below the median"
  },
  "attribution": "Data from Lonja Radar — https://lonjaradar.com"
}
```

#### Possible errors

- `400` A parameter is invalid or missing (`invalid_parameter`, `missing_parameter`).
- `401` The key does not exist, was revoked or is malformed (`invalid_key`).
- `404` It does not exist or is no longer shown (`not_found`).
- `429` The minute or day quota is used up (`rate_limited`).
- `503` The database is not responding; try again in a minute (`service_unavailable`).

### GET /prices

**Prices by area.** Homes for rent (`operation=rent` with type apartment, studio, house or room): the monthly rent asked in a neighborhood (or in each neighborhood of the city) by number of bedrooms (`by_bedrooms`), with no whole-city figure; with `price` and `bedrooms` (not needed for studio and room) and a `neighborhood`, whether that rent is above, in line with or below the rent asked for the same type and number of bedrooms in the neighborhood or, if it has too few, in its sector (within 1 or 2 km). Everything else: the median asking price per m² (last 120 days) of a city and, if requested, a neighborhood; with `price`, `area` and `type`, whether that price is above, in line with or below the neighborhood median (no verdict without a neighborhood with data). `in_line` is within 5 %. Not an appraisal.

#### Parameters

| Name | In | Required | Description |
|---|---|---|---|
| `city` | query | yes | City or municipality, as written in Spanish («Bogotá», «Santa Marta», «santa-marta»). List at /api/v1/cities. |
| `neighborhood` | query | no |  |
| `operation` | query | no | sale (default) or rent. For rent, the price is the monthly rent. Options: `sale`, `rent`. Default: `sale` |
| `type` | query | no | Options: `apartment`, `house`, `studio`, `room`, `country_house`, `farm`, `cabin`, `house_with_lot`, `lot`, `retail`, `office`, `warehouse`, `medical_office`, `building`, `parking` |
| `price` | query | no | Price to evaluate, in COP (for rent, the monthly rent). |
| `area` | query | no | Area to evaluate, in m² (sales and commercial rentals). |
| `bedrooms` | query | no | Bedrooms of the home to evaluate (homes for rent: apartment or house; 4 = 4 or more). |

#### Real response (taken from production on 2026-11-20)

curl:

```bash
curl -G "https://lonjaradar.com/api/v1/prices" \
  --data-urlencode "city=Bucaramanga" \
  --data-urlencode "operation=rent" \
  --data-urlencode "type=apartment" \
  --data-urlencode "neighborhood=Cabecera del Llano"
```

JavaScript:

```js
const url = new URL("https://lonjaradar.com/api/v1/prices");
url.search = new URLSearchParams({
  city: "Bucaramanga",
  operation: "rent",
  type: "apartment",
  neighborhood: "Cabecera del Llano",
});
const r = await fetch(url);
if (!r.ok) throw new Error((await r.json()).error.message);
const datos = await r.json();
console.log(datos);
```

Python:

```python
import requests

r = requests.get(
    "https://lonjaradar.com/api/v1/prices",
    params={
        "city": "Bucaramanga",
        "operation": "rent",
        "type": "apartment",
        "neighborhood": "Cabecera del Llano",
    },
    timeout=20,
)
r.raise_for_status()
print(r.json())
```

**/prices → 200**



```json
{
  "city": {
    "name": "Bucaramanga",
    "slug": "bucaramanga",
    "url": "https://lonjaradar.com/zonas/bucaramanga"
  },
  "operation": "rent",
  "unit": "COP per m² per month (rent)",
  "window_days": 120,
  "method": "Median asking price per m² of listings with price and area from the last 120 days. These are asking prices, not closing prices.",
  "type": "apartment",
  "city_median": {
    "median_price_per_m2": 25925,
    "listing_count": 1232,
    "url": "https://lonjaradar.com/arriendo/apartamentos/bucaramanga"
  },
  "neighborhood": {
    "name": "Cabecera del Llano",
    "slug": "cabecera-del-llano",
    "median_price_per_m2": 30909,
    "listing_count": 95,
    "vs_city_pct": 19,
    "url": "https://lonjaradar.com/arriendo/apartamentos/bucaramanga/cabecera-del-llano"
  },
  "attribution": "Data from Lonja Radar — https://lonjaradar.com"
}
```

#### Another real example

curl:

```bash
curl -G "https://lonjaradar.com/api/v1/prices" \
  --data-urlencode "city=Bogotá" \
  --data-urlencode "operation=sale" \
  --data-urlencode "type=apartment" \
  --data-urlencode "neighborhood=Chapinero" \
  --data-urlencode "price=480000000" \
  --data-urlencode "area=70"
```

JavaScript:

```js
const url = new URL("https://lonjaradar.com/api/v1/prices");
url.search = new URLSearchParams({
  city: "Bogotá",
  operation: "sale",
  type: "apartment",
  neighborhood: "Chapinero",
  price: "480000000",
  area: "70",
});
const r = await fetch(url);
if (!r.ok) throw new Error((await r.json()).error.message);
const datos = await r.json();
console.log(datos);
```

Python:

```python
import requests

r = requests.get(
    "https://lonjaradar.com/api/v1/prices",
    params={
        "city": "Bogotá",
        "operation": "sale",
        "type": "apartment",
        "neighborhood": "Chapinero",
        "price": 480000000,
        "area": 70,
    },
    timeout=20,
)
r.raise_for_status()
print(r.json())
```

**/prices → 200**



```json
{
  "city": {
    "name": "Bogotá",
    "slug": "bogota",
    "url": "https://lonjaradar.com/zonas/bogota"
  },
  "operation": "sale",
  "unit": "COP per m²",
  "window_days": 120,
  "method": "Median asking price per m² of listings with price and area from the last 120 days. These are asking prices, not closing prices.",
  "type": "apartment",
  "city_median": {
    "median_price_per_m2": 7375000,
    "listing_count": 49460,
    "url": "https://lonjaradar.com/venta/apartamentos/bogota"
  },
  "neighborhood": {
    "name": "Chapinero",
    "slug": "chapinero",
    "median_price_per_m2": 8472222,
    "listing_count": 565,
    "vs_city_pct": 15,
    "url": "https://lonjaradar.com/venta/apartamentos/bogota/chapinero"
  },
  "evaluation": {
    "price": 480000000,
    "area_m2": 70,
    "price_per_m2": 6857143,
    "compared_with": "neighborhood Chapinero",
    "median_price_per_m2": 8472222,
    "difference_pct": -19,
    "verdict": "below",
    "text": "19 % below the median"
  },
  "attribution": "Data from Lonja Radar — https://lonjaradar.com"
}
```

#### Possible errors

- `400` A parameter is invalid or missing (`invalid_parameter`, `missing_parameter`).
- `401` The key does not exist, was revoked or is malformed (`invalid_key`).
- `404` It does not exist or is no longer shown (`not_found`).
- `429` The minute or day quota is used up (`rate_limited`).
- `503` The database is not responding; try again in a minute (`service_unavailable`).

### GET /overview

**Catalog overview.** Current listings, municipalities, advertisers and new listings today.

No parameters.

#### Real response (taken from production on 2026-11-20)

curl:

```bash
curl "https://lonjaradar.com/api/v1/overview"
```

JavaScript:

```js
const url = new URL("https://lonjaradar.com/api/v1/overview");
const r = await fetch(url);
if (!r.ok) throw new Error((await r.json()).error.message);
const datos = await r.json();
console.log(datos);
```

Python:

```python
import requests

r = requests.get(
    "https://lonjaradar.com/api/v1/overview",
    timeout=20,
)
r.raise_for_status()
print(r.json())
```

**/overview → 200**



```json
{
  "active_listings": 164410,
  "municipalities": 662,
  "new_today": 2,
  "advertisers": 6686,
  "computed_at": "2026-11-20T05:06:55.000Z",
  "note": "Cuenta solo lo que se muestra: de portales y redes, lo publicado en los últimos 31 días, en venta y en arriendo; de inmobiliarias, lo que siguen publicando. «Nuevos hoy» es desde la medianoche de Colombia.",
  "attribution": "Data from Lonja Radar — https://lonjaradar.com"
}
```

#### Possible errors

- `400` A parameter is invalid or missing (`invalid_parameter`, `missing_parameter`).
- `401` The key does not exist, was revoked or is malformed (`invalid_key`).
- `429` The minute or day quota is used up (`rate_limited`).
- `503` The database is not responding; try again in a minute (`service_unavailable`).

### GET /stats

**Market stats.** The series of https://lonjaradar.com/estadisticas: new listings per day (90 days, sale and rent, by publication date), average by day of the week, current listings by city and by type, median rent and median sale price per m² of apartments by city (today and week by week), and the neighborhoods with most new listings in 7 days. Each series also downloads as CSV (`csv`).

#### Parameters

| Name | In | Required | Description |
|---|---|---|---|
| `series` | query | no | Only one series. Options: `new-per-day`, `day-of-week`, `active-by-city`, `active-by-type`, `rent-by-city`, `sale-price-per-m2-by-city`, `neighborhoods-this-week`, `daily-history` |

#### Possible errors

- `400` A parameter is invalid or missing (`invalid_parameter`, `missing_parameter`).
- `401` The key does not exist, was revoked or is malformed (`invalid_key`).
- `429` The minute or day quota is used up (`rate_limited`).
- `503` The database is not responding; try again in a minute (`service_unavailable`).

### GET /cities

**Cities with data.**

#### Parameters

| Name | In | Required | Description |
|---|---|---|---|
| `q` | query | no | Part of the name. |

#### Real response (taken from production on 2026-11-20)

curl:

```bash
curl -G "https://lonjaradar.com/api/v1/cities" \
  --data-urlencode "q=santa"
```

JavaScript:

```js
const url = new URL("https://lonjaradar.com/api/v1/cities");
url.search = new URLSearchParams({
  q: "santa",
});
const r = await fetch(url);
if (!r.ok) throw new Error((await r.json()).error.message);
const datos = await r.json();
console.log(datos);
```

Python:

```python
import requests

r = requests.get(
    "https://lonjaradar.com/api/v1/cities",
    params={
        "q": "santa",
    },
    timeout=20,
)
r.raise_for_status()
print(r.json())
```

**/cities → 200**



```json
{
  "total": 7,
  "cities": [
    {
      "name": "Santa Marta",
      "slug": "santa-marta",
      "reference_listings": 8211,
      "location": {
        "lat": 11.2189,
        "lon": -74.1907
      },
      "url": "https://lonjaradar.com/zonas/santa-marta",
      "neighborhoods_url": "https://lonjaradar.com/api/v1/cities/santa-marta/neighborhoods"
    },
    {
      "name": "Santa Rosa de Cabal",
      "slug": "santa-rosa-de-cabal",
      "reference_listings": 704,
      "location": {
        "lat": 4.8748,
        "lon": -75.6233
      },
      "url": "https://lonjaradar.com/zonas/santa-rosa-de-cabal",
      "neighborhoods_url": "https://lonjaradar.com/api/v1/cities/santa-rosa-de-cabal/neighborhoods"
    }
  ],
  "attribution": "Data from Lonja Radar — https://lonjaradar.com"
}
```

#### Possible errors

- `400` A parameter is invalid or missing (`invalid_parameter`, `missing_parameter`).
- `401` The key does not exist, was revoked or is malformed (`invalid_key`).
- `429` The minute or day quota is used up (`rate_limited`).
- `503` The database is not responding; try again in a minute (`service_unavailable`).

### GET /cities/{city}/neighborhoods

**Neighborhoods of a city, with their price per m² and, for homes for rent, their rent by bedrooms.**

#### Parameters

| Name | In | Required | Description |
|---|---|---|---|
| `city` | path | yes | The city (its slug: «bogota», «santa-marta»). |
| `operation` | query | no | Only that operation (otherwise both). Options: `sale`, `rent` |
| `type` | query | no | Options: `apartment`, `house`, `studio`, `room`, `country_house`, `farm`, `cabin`, `house_with_lot`, `lot`, `retail`, `office`, `warehouse`, `medical_office`, `building`, `parking` |

#### Real response (taken from production on 2026-11-20)

curl:

```bash
curl -G "https://lonjaradar.com/api/v1/cities/medellin/neighborhoods" \
  --data-urlencode "operation=rent" \
  --data-urlencode "type=apartment"
```

JavaScript:

```js
const url = new URL("https://lonjaradar.com/api/v1/cities/medellin/neighborhoods");
url.search = new URLSearchParams({
  operation: "rent",
  type: "apartment",
});
const r = await fetch(url);
if (!r.ok) throw new Error((await r.json()).error.message);
const datos = await r.json();
console.log(datos);
```

Python:

```python
import requests

r = requests.get(
    "https://lonjaradar.com/api/v1/cities/medellin/neighborhoods",
    params={
        "operation": "rent",
        "type": "apartment",
    },
    timeout=20,
)
r.raise_for_status()
print(r.json())
```

**/cities/medellin/neighborhoods → 200**



```json
{
  "city": {
    "name": "Medellín",
    "slug": "medellin",
    "url": "https://lonjaradar.com/zonas/medellin"
  },
  "neighborhoods": [
    {
      "name": "El Poblado",
      "slug": "el-poblado",
      "location": {
        "lat": 6.2026,
        "lon": -75.5646
      },
      "listing_count": 7527,
      "prices": [
        {
          "operation": "rent",
          "type": "apartment",
          "median_price_per_m2": 55556,
          "listing_count": 7527,
          "url": "https://lonjaradar.com/arriendo/apartamentos/medellin/el-poblado"
        }
      ]
    },
    {
      "name": "Laureles",
      "slug": "laureles",
      "location": {
        "lat": 6.2443,
        "lon": -75.5948
      },
      "listing_count": 2013,
      "prices": [
        {
          "operation": "rent",
          "type": "apartment",
          "median_price_per_m2": 41667,
          "listing_count": 2013,
          "url": "https://lonjaradar.com/arriendo/apartamentos/medellin/laureles"
        }
      ]
    }
  ],
  "attribution": "Data from Lonja Radar — https://lonjaradar.com"
}
```

#### Possible errors

- `400` A parameter is invalid or missing (`invalid_parameter`, `missing_parameter`).
- `401` The key does not exist, was revoked or is malformed (`invalid_key`).
- `404` It does not exist or is no longer shown (`not_found`).
- `429` The minute or day quota is used up (`rate_limited`).
- `503` The database is not responding; try again in a minute (`service_unavailable`).

### GET /tools/rent-increase

**How much can a rent go up.** The legal cap on a rent increase in Colombia (Law 820 of 2003, art. 20): the previous calendar year's CPI, once every 12 months at the same rent. Returns the maximum increase and new rent, the date it can apply from and the CPI used with its source and publication date. While DANE has not published that year's CPI, `official` is false and an `estimate` range comes instead. With `proposed_rent`, says whether that amount is within the cap. Commercial leases have no legal cap: the contract formula is applied. Informational, not legal advice.

#### Parameters

| Name | In | Required | Description |
|---|---|---|---|
| `current_rent` | query | yes | Current monthly rent, in COP. |
| `contract_start` | query | yes | Date the lease started or of the last increase: YYYY-MM-DD (or YYYY-MM). |
| `use` | query | no | housing (default) or commercial (retail, office, warehouse). Options: `housing`, `commercial`. Default: `housing` |
| `proposed_rent` | query | no | The new rent being proposed, in COP, to check it against the cap. |
| `effective_from` | query | no | Date the proposed rent would apply from: YYYY-MM-DD. |
| `cadastral_value` | query | no | Cadastral value of the property, in COP (for the 1 % cap of art. 18). |
| `commercial_value` | query | no | Commercial value of the property, in COP (for the 1 % cap of art. 18). |
| `formula` | query | no | Commercial leases only: what the contract says about increases. Options: `cpi`, `cpi_plus_points`, `fixed`, `none` |
| `points` | query | no | Commercial, formula cpi_plus_points: points added to the CPI. |
| `fixed_pct` | query | no | Commercial, formula fixed: the fixed yearly percentage. |

#### Possible errors

- `400` A parameter is invalid or missing (`invalid_parameter`, `missing_parameter`).
- `401` The key does not exist, was revoked or is malformed (`invalid_key`).
- `429` The minute or day quota is used up (`rate_limited`).
- `503` The database is not responding; try again in a minute (`service_unavailable`).

### GET /tools/mortgage

**Home-loan simulator.** Simulates a Colombian home loan in pesos (fixed payment) or in UVR: first payment with insurance, total interest, total paid, the income needed, minimum down payment and estimated closing costs. Without `annual_rate_ea` it uses the average rate actually disbursed that lenders report to the Superintendencia Financiera, returned in `rates` with its cut-off date, source and the rate by lender. Not an offer from any lender. Insurance is a reference assumption.

#### Parameters

| Name | In | Required | Description |
|---|---|---|---|
| `price` | query | yes | Price of the home, in COP (at least 20,000,000). |
| `down_payment` | query | no | Down payment in COP. Default: the legal minimum (30 %; 20 % for social housing). |
| `down_payment_pct` | query | no | Down payment as a percentage of the price, instead of `down_payment`. |
| `years` | query | no | Term in years. Default: `20` |
| `city` | query | no | City of the home, as written in Spanish (changes the social-housing price cap). |
| `annual_rate_ea` | query | no | Effective annual rate in percent (for UVR, the points over UVR). Default: the reported average. |
| `system` | query | no | fixed_cop (pesos, fixed payment) or uvr (inflation-indexed). Options: `fixed_cop`, `uvr`. Default: `fixed_cop` |
| `inflation_pct` | query | no | UVR only: assumed yearly inflation, in percent. |

#### Possible errors

- `400` A parameter is invalid or missing (`invalid_parameter`, `missing_parameter`).
- `401` The key does not exist, was revoked or is malformed (`invalid_key`).
- `429` The minute or day quota is used up (`rate_limited`).
- `503` The database is not responding; try again in a minute (`service_unavailable`).

### GET /tools/property-value

**Market estimate of a home.** A statistical market estimate of the sale price and the monthly rent of an apartment, house or studio, from similar current listings nearby. Built from asking prices, not closing prices. **It is not an appraisal** (`is_appraisal` is always false) and cannot be used for loans, taxes or legal procedures: show the `disclaimer`. Needs `neighborhood` or the point (`lat`, `lon`); a city alone is not enough. Comparables carry only public facts and their Lonja Radar link. **Own quota**, stricter than the rest of the API: without a key, 10 every 10 minutes and 40 a day per IP; with a key, 60 every 10 minutes and 600 a day.

#### Parameters

| Name | In | Required | Description |
|---|---|---|---|
| `city` | query | yes | City, as written in Spanish. |
| `neighborhood` | query | no | Neighborhood, as written in Spanish. Required unless `lat` and `lon` are sent. |
| `lat` | query | no | Latitude of the property. |
| `lon` | query | no | Longitude of the property. |
| `type` | query | yes | Homes only. Options: `apartment`, `house`, `studio` |
| `area_m2` | query | yes | Built area in m². |
| `bedrooms` | query | no | Bedrooms. |
| `bathrooms` | query | no | Bathrooms. |
| `stratum` | query | no | Socio-economic stratum. |

#### Possible errors

- `400` A parameter is invalid or missing (`invalid_parameter`, `missing_parameter`).
- `401` The key does not exist, was revoked or is malformed (`invalid_key`).
- `404` It does not exist or is no longer shown (`not_found`).
- `429` The minute or day quota is used up (`rate_limited`).
- `503` The database is not responding; try again in a minute (`service_unavailable`).

### Links to the map

Every response already brings its links (`lonjaradar_url`, `map_url`, `create_radar_url`): use those. If you need to build one yourself, these are the parameters of `/mapa`. Always include `ciudad` (or `ver`): without them the map opens wherever the person looked last.

| Parameter | What it does |
|---|---|
| `ciudad` | City name or slug (`Floridablanca`, `santa-marta`). Without `ver`, the map opens centered on it. |
| `barrio` | Neighborhood name, together with `ciudad`. Without `ver`, the map opens on it. |
| `operacion` | `venta` (sale) or `arriendo` (rent). |
| `tipos` | Comma-separated property types: `apartamento`, `casa`, `apartaestudio`, `habitacion`, `casa campestre`, `finca`, `cabana`, `casa lote`, `lote`, `local`, `oficina`, `bodega`, `consultorio`, `edificio`, `parqueadero`. |
| `pmin`, `pmax` | Price range in Colombian pesos (no dots). |
| `alcobas` | Minimum bedrooms, 0 to 5. |
| `publicado` | Days back: 1, 3, 7, 14 or 31 (everything shown: on portals and social networks, only listings published in the last 31 days). |
| `ver` | `lat,lon,zoom` (zoom 3 to 18). Takes precedence over `ciudad` and `barrio`. |
| `inmueble` | A listing id: opens its card. Add `ver=lat,lon,16` to open centered on it. |

**Example**



```text
https://lonjaradar.com/mapa?capa=inmuebles&ciudad=Floridablanca&operacion=venta&tipos=casa&pmax=600000000
```
---

## MCP server guide

Fuente: https://lonjaradar.com/developers/docs/mcp

> Just want to connect it? The [step-by-step guide](https://lonjaradar.com/developers/mcp) has the URL to copy and the steps for Claude, ChatGPT, Codex, Cursor, VS Code and Gemini CLI. This page is the full reference.

MCP (Model Context Protocol) is the open standard AI assistants use to call external tools. Lonja Radar runs a remote MCP server: add it once as a connector and your assistant can search properties, tell whether a price is high for its neighborhood, and give a link to get alerts for new listings.

**Server URL**



```text
https://lonjaradar.com/mcp
```

- Transport: Streamable HTTP, stateless, JSON responses.
- No authentication required: 3,000 tool calls per day per IP. If your client lets you set headers, send your key (`Authorization: Bearer lr_…`) to use your own quota.
- With your account: at `https://lonjaradar.com/mcp/cuenta` the assistant asks you to sign in with your Lonja Radar account (standard OAuth 2.1 with PKCE and dynamic client registration) and then also has the account tools, with a per-account quota of 5,000 calls and 300 changes a day. Disconnect it any time under «Asistentes conectados» at /desarrolladores.
- Without an account all tools are read-only: `create_radar_link` only returns a link the person opens with their own account. With your account connected or a write key, account tools appear (see [Writing with the API](https://lonjaradar.com/developers/docs/writing)).
- Tool names, parameters and descriptions are in English; people usually write to the assistant in Spanish, and place names go as written (`Bogotá`, `Chapinero`).
- Server card: [https://lonjaradar.com/.well-known/mcp.json](https://lonjaradar.com/.well-known/mcp.json).

### Connecting

- **Claude (web and desktop):** Settings → Connectors → «Add custom connector», paste `https://lonjaradar.com/mcp` (no account) or `https://lonjaradar.com/mcp/cuenta` (with your account: Claude opens Lonja Radar so you sign in and click «Permitir»). Leave the advanced settings empty.
- **ChatGPT:** in Settings, under connectors (or «Apps & Connectors»), enable developer mode in the advanced settings and create a connector: `https://lonjaradar.com/mcp` with «No authentication», or `https://lonjaradar.com/mcp/cuenta` with «OAuth» to use your account. The `search` and `fetch` tools follow the shape ChatGPT's deep research expects.
- **Cursor:** add it to `~/.cursor/mcp.json` (see below).
- **VS Code:** add it to `.vscode/mcp.json` (see below).
- **Any other client:** Streamable HTTP with the URL; for stdio-only clients, use the `mcp-remote` bridge.

Claude Code:

```bash
claude mcp add --transport http lonjaradar https://lonjaradar.com/mcp
```

Cursor:

```json
{
  "mcpServers": {
    "lonjaradar": {
      "url": "https://lonjaradar.com/mcp"
    }
  }
}
```

VS Code:

```json
{
  "servers": {
    "lonjaradar": {
      "type": "http",
      "url": "https://lonjaradar.com/mcp"
    }
  }
}
```

mcp-remote:

```json
{
  "mcpServers": {
    "lonjaradar": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://lonjaradar.com/mcp"
      ]
    }
  }
}
```

### Tools

| Tool | What it does |
|---|---|
| `search_listings` | Search listings for sale or rent in a Colombian city or neighborhoods; one result per property with its sources, admin fee, total monthly cost, map precision, price vs its neighborhood and warnings (`city`, `neighborhood` (comma-separated), `locality` (a localidad of Bogotá, a comuna of Medellín or Cali), `zone` (Bogotá: norte, sur, oriente, occidente, centro), `operation`, `type`, `min_price`, `max_price`, `min_bedrooms`, `min_area`, `max_area`, `include_missing_area`, `min_stratum`, `max_stratum`, `max_total_monthly`, `min_geo_precision`, `exclude_warnings`, `published_within_days`, `published_since`, `keywords` (words that must all be in the listing text), `owner_only`, `sort`, `dedupe`, `page`, `limit`, `bbox`). See [the reference](https://lonjaradar.com/developers/docs/reference#search-fields). |
| `get_listing` | One listing by id, with how its price compares with similar ones in its area: the rent against the same type and number of bedrooms for homes for rent, the price per m² otherwise. |
| `area_prices` | Rent by bedrooms of a neighborhood (homes for rent) or median price per m² (sales, commercial); evaluates a given price. |
| `get_overview` | Current listings, municipalities and new listings today. |
| `create_radar_link` | A prefilled link where the person activates a free alert for new matching listings: city, one or several neighborhoods, type, price, bedrooms, `min_area`, `min_stratum`/`max_stratum` and owner only. A radar cannot filter by max area, total cost with admin fee (`max_total_monthly` becomes the max rent), keywords, map precision or warnings; the reply lists what was left out. |
| `calculate_rent_increase` | The legal cap on a rent increase (Law 820 of 2003), with the CPI used, its source and publication date (`current_rent`, `contract_start`, `use`, `proposed_rent`, `effective_from`). |
| `simulate_mortgage` | Home-loan payment in pesos or UVR, total cost and income needed, with the average rates lenders report (`price`, `down_payment` or `down_payment_pct`, `years`, `city`, `annual_rate_ea`, `system`). |
| `estimate_property_value` | Market estimate of the sale price and rent of a home from similar listings nearby; not an appraisal; own stricter quota (`city`, `neighborhood` or `lat`/`lon`, `type`, `area_m2`, `bedrooms`, `bathrooms`, `stratum`). |
| `search`, `fetch` | OpenAI-style tools for ChatGPT connectors and deep research. |

#### Example conversation

> **Persona:** ¿Un apartamento de 480 millones y 70 m² en Chapinero, Bogotá, está caro?
>
> **Herramienta:** area_prices { city: "Bogotá", neighborhood: "Chapinero", operation: "sale", type: "apartment", price: 480000000, area: 70 }
>
> **Asistente:** That is COP 6,857,143 per m², 19% below the median for apartments for sale in Chapinero: cheap for the neighborhood, worth asking why. These are asking prices, not closing prices.

Questions: hola@lonjaradar.com.
---

## Writing with the API

Fuente: https://lonjaradar.com/developers/docs/writing

Everything you can do in the app you can also do with the API: create and manage radars (saved searches that alert you), see what they find, save favorites, publish your own listings and, if you work at a real-estate agency, take down its listings. These endpoints act on the account that owns the key, with the same rules as the web app.

### A write key

Create it at [/desarrolladores](https://lonjaradar.com/desarrolladores#llaves) and choose «Leer y cambiar mi cuenta» (read and change my account). Existing keys stay read-only. A write key is a server secret: never put it in a web page or a mobile app. These endpoints have no open CORS. Up to 5 keys per account.

- Send it as `Authorization: Bearer lr_…`. No key → 401 `invalid_key`; a read-only key → 403 `insufficient_scope`.
- Writes have their own quota per key: 300 a day and 30 a minute, apart from the read quota.
- `POST` accepts `Idempotency-Key` (8–100 chars, a UUID works): the same key and request within 24 h return the same response (`Idempotent-Replayed: true`) without doing it twice; the same key with a different request → 422 `idempotency_key_reused`.
- Responses are `Cache-Control: private, no-store`. Errors have the same shape as the public API (`{ "error": { "code", "message" } }`); extra codes: `insufficient_scope`, `limit_reached`, `conflict`, `idempotency_key_reused`, `unsupported_media_type`, `upstream_unavailable`.
- Every write is audited (key, action, resource, time).

### Endpoints

| Endpoint | What it does |
|---|---|
| `GET /account` | Whose key it is, plan, limits and scopes (`read`, `write`, `realtime`). |
| `GET, POST /radars` | List and create radars (active right away; 3 active at a time on the free plan). |
| `GET, PATCH, DELETE /radars/{id}` | See, edit (partial), pause/resume/close (`status`: `active`, `paused`, `found`, `closed`, with `reason`) and delete. |
| `GET /radars/{id}/matches` | What it found, newest first (paginated). Same content rules and delay as the public API. |
| `POST /marks` | `{ id, mark }` with `favorite`, `dismissed` or `none`. |
| `GET, POST /favorites` · `DELETE /favorites/{id}` | Favorites. |
| `GET, POST /me/listings` | Your listings with views and WhatsApp taps; publish one (or `draft: true` to save a draft). Up to 5 published at a time. Optional `text` (in Spanish): AI fills in what is missing. |
| `POST /me/listings/photos` · `POST /me/listings/{id}/photos` | Upload a photo (multipart `photo`, JPEG up to 6 MB; metadata removed). Up to 15 per listing. |
| `GET, PATCH, DELETE /me/listings/{id}` | See, edit (partial), publish/pause/close (`status`: `published`, `paused`, `closed`) and delete. |
| `GET /channels` | Where your alerts arrive (read-only; connecting Telegram or push is done in the app). |
| `GET /agency` · `/agency/listings` · `/agency/history` | Your agency, its listings and its team history. |
| `POST /agency/removals` · `/agency/removals/{event}/undo` | Take a listing down (`reason`: `sold`, `rented`, `unavailable`; verified agencies only) and undo within 7 days. |

Full schemas in the [OpenAPI](https://lonjaradar.com/api/v1/openapi.json). Radar filters: `operation`, `types`, `cities`, `neighborhoods`, `min_price`, `max_price`, `min_bedrooms`, `min_bathrooms`, `min_parking_spaces`, `min_area_m2`, `min_stratum`, `max_stratum`, `owner_only` and `exclude_pedestrian_only`. With `min_stratum` or `max_stratum` (1 to 6) a listing without a stratum (neither its own nor the one we fill in from its neighborhood) does not reach the radar. Listing `data`: `operation`, `type`, `city`, `neighborhood`, `price`, `admin_fee`, `area_m2`, `bedrooms`, `bathrooms`, `parking_spaces`, `stratum`, `floor`, `description`, `advertiser`, `company`, `condition`, `building_age`, `access` and `amenities`. An unknown field is an error.

### Create a radar

curl:

```bash
curl -s -X POST https://lonjaradar.com/api/v1/radars \
  -H "Authorization: Bearer $LONJA_RADAR_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name":"Apto en Cabecera","operation":"rent","types":["apartment"],"cities":["Bucaramanga"],"neighborhoods":["Cabecera del Llano"],"max_price":2500000,"min_bedrooms":2}'
```

JavaScript:

```js
const r = await fetch("https://lonjaradar.com/api/v1/radars", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.LONJA_RADAR_KEY}`,
    "Content-Type": "application/json",
    "Idempotency-Key": crypto.randomUUID(),
  },
  body: JSON.stringify({
    "name": "Apto en Cabecera",
    "operation": "rent",
    "types": [
      "apartment"
    ],
    "cities": [
      "Bucaramanga"
    ],
    "neighborhoods": [
      "Cabecera del Llano"
    ],
    "max_price": 2500000,
    "min_bedrooms": 2
  }),
});
const d = await r.json();
if (!r.ok) throw new Error(d.error.message); // d.error.code: limit_reached…
console.log(d.radar.id, d.radar.url);
```

Python:

```python
import os, uuid, requests

r = requests.post("https://lonjaradar.com/api/v1/radars", timeout=20,
    headers={"Authorization": f"Bearer {os.environ['LONJA_RADAR_KEY']}",
             "Idempotency-Key": str(uuid.uuid4())},
    json={"name":"Apto en Cabecera","operation":"rent","types":["apartment"],"cities":["Bucaramanga"],"neighborhoods":["Cabecera del Llano"],"max_price":2500000,"min_bedrooms":2})
d = r.json()
if not r.ok:
    raise RuntimeError(d["error"]["message"])
print(d["radar"]["id"], d["radar"]["url"])
```

### Read what it finds and save favorites

curl:

```bash
curl -s "https://lonjaradar.com/api/v1/radars/123/matches?limit=20" \
  -H "Authorization: Bearer $LONJA_RADAR_KEY"
```

JavaScript:

```js
const h = { Authorization: `Bearer ${process.env.LONJA_RADAR_KEY}` };
const { matches } = await (await fetch("https://lonjaradar.com/api/v1/radars/123/matches", { headers: h })).json();
for (const m of matches) {
  console.log(m.listing.title, m.listing.price, m.listing.lonjaradar_url);
  // Save it to favorites:
  await fetch("https://lonjaradar.com/api/v1/favorites", { method: "POST", headers: { ...h, "Content-Type": "application/json" }, body: JSON.stringify({ id: m.listing.id }) });
}
```

Python:

```python
import os, requests

h = {"Authorization": f"Bearer {os.environ['LONJA_RADAR_KEY']}"}
d = requests.get("https://lonjaradar.com/api/v1/radars/123/matches", headers=h, timeout=20).json()
for m in d["matches"]:
    print(m["listing"]["title"], m["listing"]["price"], m["listing"]["lonjaradar_url"])
```

### Publish your own listing

curl:

```bash
# 1. The photo (JPEG, up to 6 MB): returns its key
curl -s -X POST https://lonjaradar.com/api/v1/me/listings/photos \
  -H "Authorization: Bearer $LONJA_RADAR_KEY" \
  -F "photo=@sala.jpg"

# 2. The listing, as a draft, with that key in photos
curl -s -X POST https://lonjaradar.com/api/v1/me/listings \
  -H "Authorization: Bearer $LONJA_RADAR_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"data":{"operation":"rent","type":"apartment","city":"Bucaramanga","neighborhood":"Cabecera del Llano","price":1800000,"area_m2":62,"bedrooms":2,"bathrooms":2},"whatsapp":"3001234567","draft":true,"photos":["u/123/borrador/…jpg"]}'

# 3. Publish it
curl -s -X PATCH https://lonjaradar.com/api/v1/me/listings/456 \
  -H "Authorization: Bearer $LONJA_RADAR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status":"published"}'
```

JavaScript:

```js
import { readFile } from "node:fs/promises";
const h = { Authorization: `Bearer ${process.env.LONJA_RADAR_KEY}` };

const form = new FormData();
form.set("photo", new Blob([await readFile("sala.jpg")], { type: "image/jpeg" }), "sala.jpg");
const { key } = await (await fetch("https://lonjaradar.com/api/v1/me/listings/photos", { method: "POST", headers: h, body: form })).json();

const r = await fetch("https://lonjaradar.com/api/v1/me/listings", {
  method: "POST",
  headers: { ...h, "Content-Type": "application/json", "Idempotency-Key": crypto.randomUUID() },
  body: JSON.stringify({ ...{"data":{"operation":"rent","type":"apartment","city":"Bucaramanga","neighborhood":"Cabecera del Llano","price":1800000,"area_m2":62,"bedrooms":2,"bathrooms":2},"whatsapp":"3001234567","draft":true}, photos: [key] }),
});
const { listing, warnings } = await r.json();
console.log(listing.status, listing.url, warnings);
```

Python:

```python
import os, uuid, requests

h = {"Authorization": f"Bearer {os.environ['LONJA_RADAR_KEY']}"}
with open("sala.jpg", "rb") as f:
    key = requests.post("https://lonjaradar.com/api/v1/me/listings/photos", headers=h, timeout=60,
                        files={"photo": ("sala.jpg", f, "image/jpeg")}).json()["key"]

r = requests.post("https://lonjaradar.com/api/v1/me/listings", timeout=20,
    headers={**h, "Idempotency-Key": str(uuid.uuid4())},
    json={**{"data":{"operation":"rent","type":"apartment","city":"Bucaramanga","neighborhood":"Cabecera del Llano","price":1800000,"area_m2":62,"bedrooms":2,"bathrooms":2},"whatsapp":"3001234567","draft":True}, "photos": [key]})
print(r.json()["listing"]["url"])
```

### MCP with your account

Send the write key to the MCP server (`Authorization: Bearer lr_…`) and `create_radar`, `list_radars`, `list_radar_matches`, `save_favorite`, `draft_listing` appear in `tools/list`. Without it they are not listed. `draft_listing` only saves a draft and returns a link: the person reviews it and publishes it herself.

Without copying a key: add `https://lonjaradar.com/mcp/cuenta` as a connector in Claude or ChatGPT. The assistant asks you to sign in with your Lonja Radar account (email code or Google) and to allow it; from then on it has these same tools on your account, with a quota per account of 5,000 calls a day (60 a minute) plus 300 changes a day. It is standard OAuth 2.1 with PKCE and dynamic client registration (metadata at `https://lonjaradar.com/.well-known/oauth-authorization-server`). You see and disconnect connected assistants in [Connected assistants](https://lonjaradar.com/desarrolladores#asistentes).
---

## Migrating from the Spanish API

Fuente: https://lonjaradar.com/developers/docs/migration

On November 21, 2026 the API switched to English: routes, query parameters, response fields, enum values, errors and MCP tools. City and neighborhood names are not translated. The old Spanish routes and parameters **keep working until December 21, 2026**, returning the same Spanish responses as before plus these headers; after that they answer `410` with the code `gone`.

**Headers on an old route**



```http
Deprecation: true
Sunset: Tue, 22 Dec 2026 04:59:59 GMT
Link: <https://lonjaradar.com/api/v1/listings>; rel="successor-version", <https://lonjaradar.com/developers/docs/migration>; rel="deprecation"
```

Old parameter names sent to a new route still work too, with the same headers. Keys do not change: existing keys keep working, and their scopes are `read`, `write` and `realtime`.

### Routes

| Before | Now |
|---|---|
| `/api/v1/avisos` | `/api/v1/listings` |
| `/api/v1/avisos/{id}` | `/api/v1/listings/{id}` |
| `/api/v1/precios` | `/api/v1/prices` |
| `/api/v1/cifras` | `/api/v1/overview` |
| `/api/v1/estadisticas` | `/api/v1/stats` |
| `/api/v1/ciudades` | `/api/v1/cities` |
| `/api/v1/ciudades/{ciudad}/barrios` | `/api/v1/cities/{city}/neighborhoods` |
| `/api/v1/cuenta` | `/api/v1/account` |
| `/api/v1/canales` | `/api/v1/channels` |
| `/api/v1/radares` | `/api/v1/radars` |
| `/api/v1/radares/{id}` | `/api/v1/radars/{id}` |
| `/api/v1/radares/{id}/hallazgos` | `/api/v1/radars/{id}/matches` |
| `/api/v1/favoritos` | `/api/v1/favorites` |
| `/api/v1/favoritos/{id}` | `/api/v1/favorites/{id}` |
| `/api/v1/marcas` | `/api/v1/marks` |
| `/api/v1/mis-avisos` | `/api/v1/me/listings` |
| `/api/v1/mis-avisos/fotos` | `/api/v1/me/listings/photos` |
| `/api/v1/mis-avisos/{id}` | `/api/v1/me/listings/{id}` |
| `/api/v1/mis-avisos/{id}/fotos` | `/api/v1/me/listings/{id}/photos` |
| `/api/v1/inmobiliaria` | `/api/v1/agency` |
| `/api/v1/inmobiliaria/avisos` | `/api/v1/agency/listings` |
| `/api/v1/inmobiliaria/bajas` | `/api/v1/agency/removals` |
| `/api/v1/inmobiliaria/bajas/{evento}/deshacer` | `/api/v1/agency/removals/{event}/undo` |
| `/api/v1/inmobiliaria/historial` | `/api/v1/agency/history` |

### Query parameters

| Before | Now |
|---|---|
| `operacion` | `operation` |
| `ciudad` | `city` |
| `barrio` | `neighborhood` |
| `tipo` | `type` |
| `tipos` | `types` |
| `precio_min` | `min_price` |
| `precio_max` | `max_price` |
| `alcobas_min` | `min_bedrooms` |
| `publicado` | `published_within_days` |
| `solo_dueno` | `owner_only` |
| `orden` | `sort` |
| `pagina` | `page` |
| `limite` | `limit` |
| `precio` | `price` |
| `alcobas` | `bedrooms` |
| `area_min` | `min_area` |
| `area_max` | `max_area` |
| `incluir_sin_area` | `include_missing_area` |
| `total_max` | `max_total_monthly` |
| `precision_min` | `min_geo_precision` |
| `excluir_avisos` | `exclude_warnings` |
| `publicado_desde` | `published_since` |
| `juntar` | `dedupe` |
| `serie` | `series` |
| `marca` | `mark` |
| `origen` | `origin` |
| `ver` | `view` |
| `palabras` | `keywords` |
| `estrato_min` | `min_stratum` |
| `estrato_max` | `max_stratum` |
| `localidad` | `locality` |
| `zona` | `zone` |

### Response fields

| Before | Now |
|---|---|
| `avisos` | `listings` |
| `titulo` | `title` |
| `operacion` | `operation` |
| `tipo` | `type` |
| `precio` | `price` |
| `administracion` | `admin_fee` |
| `precio_m2` | `price_per_m2` |
| `alcobas` | `bedrooms` |
| `banos` | `bathrooms` |
| `garajes` | `parking_spaces` |
| `estrato` | `stratum` |
| `ciudad` | `city` |
| `barrio` | `neighborhood` |
| `ubicacion` | `location` |
| `aproximada` | `approximate` |
| `publicado` | `published_at` |
| `fuente` | `source` |
| `nombre` | `name` |
| `dueno_directo` | `direct_owner` |
| `url_original` | `original_url` |
| `url_lonjaradar` | `lonjaradar_url` |
| `otras_publicaciones` | `also_listed_on` |
| `foto` | `photo` |
| `foto_miniatura` | `photo_thumbnail` |
| `descripcion` | `description` |
| `fotos` | `photos` |
| `atribucion_requerida` | `attribution_required` |
| `atribucion` | `attribution` |
| `pagina` | `page` |
| `limite` | `limit` |
| `hay_mas` | `has_more` |
| `ver_en_lonjaradar` | `map_url` |
| `crear_radar` | `create_radar_url` |
| `nota` | `note` |
| `comparacion_zona` | `area_comparison` |
| `mediana_m2` | `median_price_per_m2` |
| `diferencia_pct` | `difference_pct` |
| `veredicto` | `verdict` |
| `evaluacion` | `evaluation` |
| `mediana_ciudad` | `city_median` |
| `barrios` | `neighborhoods` |
| `avisos_vigentes` | `active_listings` |
| `nuevos_hoy` | `new_today` |
| `calculado` | `computed_at` |
| `radares` | `radars` |
| `hallazgos` | `matches` |
| `estado` | `status` |
| `filtros` | `filters` |
| `motivo` | `reason` |
| `marca` | `mark` |
| `favoritos` | `favorites` |
| `datos` | `data` |
| `area_construida` | `area_m2` |
| `banios` | `bathrooms` |
| `quien` | `by` |
| `creado` | `created_at` |
| `actualizado` | `updated_at` |

### Values

| Before | Now |
|---|---|
| `venta` | `sale` |
| `arriendo` | `rent` |
| `dias` | `short_stay` |
| `apartamento` | `apartment` |
| `casa` | `house` |
| `apartaestudio` | `studio` |
| `habitacion` | `room` |
| `casa campestre` | `country_house` |
| `finca` | `farm` |
| `cabana` | `cabin` |
| `casa lote` | `house_with_lot` |
| `lote` | `lot` |
| `local` | `retail` |
| `oficina` | `office` |
| `bodega` | `warehouse` |
| `consultorio` | `medical_office` |
| `edificio` | `building` |
| `parqueadero` | `parking` |
| `red_social` | `social_network` |
| `inmobiliaria` | `agency` |
| `recientes` | `newest` |
| `por_debajo` | `below` |
| `en_linea` | `in_line` |
| `por_encima` | `above` |
| `activa` | `active` |
| `pausada` | `paused` |
| `encontrada` | `found` |
| `cerrada` | `closed` |
| `borrador` | `draft` |
| `publicado` | `published` |
| `en_pausa` | `paused` |
| `cerrado` | `closed` |
| `favorito` | `favorite` |
| `descartado` | `dismissed` |
| `ninguna` | `none` |
| `bajo_de_precio` | `price_drop` |
| `vendido` | `sold` |
| `arrendado` | `rented` |
| `no_disponible` | `unavailable` |
| `nuevos-por-dia` | `new-per-day` |
| `dia-de-la-semana` | `day-of-week` |
| `vigentes-por-ciudad` | `active-by-city` |
| `vigentes-por-tipo` | `active-by-type` |
| `arriendo-por-ciudad` | `rent-by-city` |
| `m2-venta-por-ciudad` | `sale-price-per-m2-by-city` |
| `barrios-semana` | `neighborhoods-this-week` |
| `historia-diaria` | `daily-history` |

### Errors

| Before | Now |
|---|---|
| `{"error":{"codigo","mensaje"}}` | `{"error":{"code","message"}}` |
| `parametro_invalido` | `invalid_parameter` |
| `falta_parametro` | `missing_parameter` |
| `no_encontrado` | `not_found` |
| `llave_invalida` | `invalid_key` |
| `cupo_agotado` | `rate_limited` |
| `demasiado_grande` | `payload_too_large` |
| `metodo_no_permitido` | `method_not_allowed` |
| `mantenimiento` | `service_unavailable` |
| `error_interno` | `internal_error` |
| `sin_sesion` | `unauthenticated` |
| `prohibido` | `forbidden` |
| `alcance_insuficiente` | `insufficient_scope` |
| `limite_alcanzado` | `limit_reached` |
| `conflicto` | `conflict` |
| `idempotencia` | `idempotency_key_reused` |
| `tipo_no_soportado` | `unsupported_media_type` |
| `no_disponible` | `upstream_unavailable` |

### MCP tools

The MCP tools and their parameters are in English (`city`, `operation`, `max_price`…). The old names are no longer listed: assistants pick up the new ones the next time they connect.

| Before | Now |
|---|---|
| `buscar_inmuebles` | `search_listings` |
| `detalle_inmueble` | `get_listing` |
| `precio_zona` | `area_prices` |
| `cifras_radar` | `get_overview` |
| `crear_radar` | `create_radar_link` |
| `crear_radar_real` | `create_radar` |
| `mis_radares` | `list_radars` |
| `mis_hallazgos` | `list_radar_matches` |
| `guardar_favorito` | `save_favorite` |
| `publicar_aviso` | `draft_listing` |
---

## API and MCP terms of use

Fuente: https://lonjaradar.com/developers/docs/terms

> This is a translation for convenience; the [Spanish version](https://lonjaradar.com/desarrolladores/docs/terminos) prevails.

1. **Free, open data.** The API and the MCP cost nothing. The data is public: you may use it for anything, including commercial products, without attribution.
2. **Listings published on Lonja Radar.** When you show a listing published on Lonja Radar (those with `attribution_required`), say it comes from Lonja Radar and link to its page.
3. **New listings.** New listings reach the API with a delay of a few minutes. Need real time? Write to us at hola@lonjaradar.com.
4. **Respect the quotas.** Request volume is the only thing we limit. On a 429, wait for `Retry-After`.
5. **Do not mass-contact** advertisers or send them marketing.
6. **Keep your key private.** Never publish it or ship it in browser code.
7. **Changes.** Quotas and endpoints may change with notice on the changelog; keys used to overload the service or to mass-contact advertisers may be revoked.
8. **No warranty.** Data comes from public listings and may contain errors: confirm it in the original. Area prices are medians of asking prices, not appraisals.
9. **Control records.** The API may include control records to detect misuse.
