{"openapi":"3.1.0","info":{"title":"Lonja Radar public API","version":"1.0.0","summary":"Property listings for sale and rent in Colombia, the rent by bedrooms of each neighborhood and the price per m².","description":"Lonja Radar brings together the property listings published in Colombia (real-estate portals, agencies, social networks and its own listings). This API provides:\n\n- **Listings**: current ones only. For listings from other sources, only the basic facts and the link to the original; never the source's photo URL, descriptions or phone numbers. The cover photo comes only as OUR copy (`photo`, `photo_thumbnail`, under /f/), when it exists.\n- **Area prices**: for homes for rent, the monthly rent asked in each neighborhood by number of bedrooms; for sales and commercial rentals, the median asking price per m². Last 120 days; never a whole-city figure to judge a price.\n- **Overview** and market **stats**.\n\n**Free to use**: the data is public and you may use it freely, including in commercial products, without attribution. Only listings published on Lonja Radar (`source.type` = `lonjaradar`) must be credited: say they come from Lonja Radar and link to the listing; that is why they carry `attribution_required`. The `attribution` field of every response is an optional credit line.\n\n**New listings**: new listings reach the API with a delay of a few minutes. Need real time? Write to us at hola@lonjaradar.com. The API may include control records to detect misuse.\n\n**Quotas**: without a key, 100 requests a day per IP (10 per minute). With a free key (requires an account), 5,000 a day (60 per minute). Days are Colombian days (UTC−5).\n\n**Writing**: with a write key (you choose it when creating the key), the account endpoints (radars, me/listings, favorites, marks, channels, agency) act on the key owner's account, with the same rules as the website. No CORS (the key stays on your server), `Idempotency-Key` on POST and 300 changes a day per key.\n\n**Errors**: always `{ \"error\": { \"code\", \"message\" } }` with a stable `code`.\n\nDocumentation: https://lonjaradar.com/developers/docs (en español: https://lonjaradar.com/desarrolladores/docs). Keys: https://lonjaradar.com/developers. There is also an MCP server at https://lonjaradar.com/mcp.","contact":{"name":"Lonja Radar","email":"hola@lonjaradar.com","url":"https://lonjaradar.com/developers"},"license":{"name":"Lonja Radar API terms of use","url":"https://lonjaradar.com/developers/docs/terms"},"termsOfService":"https://lonjaradar.com/developers/docs/terms"},"externalDocs":{"description":"Documentation, examples and recipes","url":"https://lonjaradar.com/developers/docs"},"servers":[{"url":"https://lonjaradar.com/api/v1","description":"Production"}],"security":[{},{"bearer":[]},{"apiKey":[]}],"tags":[{"name":"Listings","description":"Properties for sale and rent."},{"name":"Prices","description":"Rent by bedrooms (homes for rent) and price per m² (sales, commercial) by area."},{"name":"Places","description":"Cities and neighborhoods with data."},{"name":"Catalog","description":"Overview and market stats."},{"name":"Tools","description":"The free calculators of the Lonja Radar website (/herramientas) as endpoints. Same math as the pages. Every official figure comes with its source and date. Legal notes and disclaimers (`note`, `notes`, `disclaimer`) are returned in Spanish, as published."},{"name":"Account","description":"With a write key: the account of its owner."},{"name":"Radars","description":"Create and manage radars (saved searches with alerts); see what they find."},{"name":"My listings","description":"Publish and manage your own listings."},{"name":"Favorites","description":"Save and mark listings."},{"name":"Agency","description":"Your agency's listings and removals."}],"paths":{"/account":{"get":{"operationId":"getAccount","tags":["Account"],"summary":"Who owns the key","security":[{"bearer":[]}],"responses":{"200":{"description":"The account, its plan and its limits.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/radars":{"get":{"operationId":"listRadars","tags":["Radars"],"summary":"My radars","security":[{"bearer":[]}],"parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}}],"responses":{"200":{"description":"The radars.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RadarList"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}},"post":{"operationId":"createRadar","tags":["Radars"],"summary":"Create a radar","description":"It starts active. Same rules as the website: `operation` and at least one city; respects the active-radar limit of your plan (3 on the free plan). A name that already exists is 409.","security":[{"bearer":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"A unique key per operation (8 to 100 characters; a UUID works). If you repeat the same request with the same key within 24 hours, you get the same response (with `Idempotent-Replayed: true`) and nothing is created twice.","schema":{"type":"string","minLength":8,"maxLength":100}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RadarInput"},"example":{"name":"Apto en Cabecera","operation":"rent","types":["apartment"],"cities":["Bucaramanga"],"neighborhoods":["Cabecera del Llano"],"max_price":2500000,"min_bedrooms":2}}}},"responses":{"201":{"description":"The radar created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneRadar"}}}},"400":{"description":"A field is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"409":{"description":"There is already a radar with that name.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"422":{"description":"The Idempotency-Key was already used with another request (`idempotency_key_reused`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/radars/{id}":{"parameters":[{"name":"id","in":"path","required":true,"description":"The radar id.","schema":{"type":"string"}}],"get":{"operationId":"getRadar","tags":["Radars"],"summary":"One radar","security":[{"bearer":[]}],"responses":{"200":{"description":"The radar.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneRadar"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"404":{"description":"It does not exist or is not yours.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}},"patch":{"operationId":"updateRadar","tags":["Radars"],"summary":"Edit, pause, resume or close","description":"With `status` (`active`, `paused`, `found`, `closed`, and an optional `reason`) it changes the status; without it, it edits the filters you send (the rest stays). Editing leaves the radar active, as on the website. Resuming and editing respect the active-radar limit.","security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/RadarPartialInput"},{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["active","paused","found","closed"]},"reason":{"type":"string","maxLength":200}}}]}}}},"responses":{"200":{"description":"The radar as it is now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneRadar"}}}},"400":{"description":"A field is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"404":{"description":"It does not exist or is not yours.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"409":{"description":"You already have another radar with that name.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}},"delete":{"operationId":"deleteRadar","tags":["Radars"],"summary":"Delete a radar","description":"With its matches. Cannot be undone.","security":[{"bearer":[]}],"responses":{"200":{"description":"Deleted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ok"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"404":{"description":"It does not exist or is not yours.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/radars/{id}/matches":{"get":{"operationId":"listRadarMatches","tags":["Radars"],"summary":"What a radar found","description":"Newest first, the same as in Hallazgos on the website. Each listing goes through the content filter of the public API, and new listings arrive with the same delay of a few minutes.","security":[{"bearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"The radar id.","schema":{"type":"string"}},{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}},{"name":"mark","in":"query","schema":{"type":"string","enum":["favorite","dismissed"]}}],"responses":{"200":{"description":"The matches.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchList"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"404":{"description":"It does not exist or is not yours.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/marks":{"post":{"operationId":"markListing","tags":["Favorites"],"summary":"Mark a listing","description":"`favorite`, `dismissed` (not interested) or `none` (removes the mark).","security":[{"bearer":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"A unique key per operation (8 to 100 characters; a UUID works). If you repeat the same request with the same key within 24 hours, you get the same response (with `Idempotent-Replayed: true`) and nothing is created twice.","schema":{"type":"string","minLength":8,"maxLength":100}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","mark"],"properties":{"id":{"type":"string"},"mark":{"type":"string","enum":["favorite","dismissed","none"]}}},"example":{"id":"lonjaradar:12","mark":"favorite"}}}},"responses":{"200":{"description":"The mark.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mark"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"404":{"description":"The listing is no longer available.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/favorites":{"get":{"operationId":"listFavorites","tags":["Favorites"],"summary":"My favorites","security":[{"bearer":[]}],"parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"The favorites.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FavoriteList"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}},"post":{"operationId":"addFavorite","tags":["Favorites"],"summary":"Save to favorites","security":[{"bearer":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"A unique key per operation (8 to 100 characters; a UUID works). If you repeat the same request with the same key within 24 hours, you get the same response (with `Idempotent-Replayed: true`) and nothing is created twice.","schema":{"type":"string","minLength":8,"maxLength":100}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}}}}},"responses":{"201":{"description":"Saved.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mark"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"404":{"description":"The listing is no longer available.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/favorites/{id}":{"delete":{"operationId":"removeFavorite","tags":["Favorites"],"summary":"Remove from favorites","security":[{"bearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"The listing id, URL-encoded («lonjaradar%3A12»).","schema":{"type":"string"}}],"responses":{"200":{"description":"Removed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mark"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/me/listings":{"get":{"operationId":"listMyListings","tags":["My listings"],"summary":"My listings","description":"Without the deleted ones, with views and WhatsApp messages (total and last 7 days).","security":[{"bearer":[]}],"parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"The listings.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnListingList"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}},"post":{"operationId":"createMyListing","tags":["My listings"],"summary":"Publish a listing (or save it as a draft)","description":"Same rules as the website: operation, type, city and price are required; Colombian WhatsApp number; point inside Colombia; up to 5 published listings at a time and 10 per hour. With `draft: true` it is saved without publishing. With `text`, AI reads it and fills in what is missing (what you send in `data` wins).","security":[{"bearer":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"A unique key per operation (8 to 100 characters; a UUID works). If you repeat the same request with the same key within 24 hours, you get the same response (with `Idempotent-Replayed: true`) and nothing is created twice.","schema":{"type":"string","minLength":8,"maxLength":100}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnListingInput"},"example":{"data":{"operation":"rent","type":"apartment","city":"Bucaramanga","neighborhood":"Cabecera del Llano","price":1800000,"area_m2":62,"bedrooms":2,"bathrooms":2,"stratum":4,"description":"Apartamento iluminado, cerca del parque."},"whatsapp":"3001234567","photos":[],"draft":true}}}},"responses":{"201":{"description":"The listing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnListingCreated"}}}},"400":{"description":"A field is missing or not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only or you reached the published-listings limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/me/listings/photos":{"post":{"operationId":"uploadPhoto","tags":["My listings"],"summary":"Upload a photo for a new listing","description":"Returns the `key` to put in `photos` when creating the listing. JPEG only; metadata is removed.","security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["photo"],"properties":{"photo":{"type":"string","format":"binary","description":"JPEG up to 6 MB and 6,000 px per side."}}}}}},"responses":{"201":{"description":"The photo.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Photo"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"413":{"description":"Larger than 6 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"415":{"description":"Not a JPEG.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/me/listings/{id}":{"parameters":[{"name":"id","in":"path","required":true,"description":"The id of your listing.","schema":{"type":"string"}}],"get":{"operationId":"getMyListing","tags":["My listings"],"summary":"One of my listings","security":[{"bearer":[]}],"responses":{"200":{"description":"The listing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneOwnListing"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"404":{"description":"It does not exist or is not yours.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}},"patch":{"operationId":"updateMyListing","tags":["My listings"],"summary":"Edit, publish, pause or close","description":"With `status` (`published`, `paused`, `closed`, and an optional `reason` when closing) it changes the status: `published` publishes a draft or reactivates. Without it, it edits what you send (`data` is merged with what was there; `photos` replaces the list).","security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/OwnListingPartialInput"},{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["published","paused","closed"]},"reason":{"type":"string"}}}]}}}},"responses":{"200":{"description":"The listing as it is now.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneOwnListing"}}}},"400":{"description":"A field is not valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"404":{"description":"It does not exist or is not yours.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"409":{"description":"It is under review or that change cannot be made.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}},"delete":{"operationId":"deleteMyListing","tags":["My listings"],"summary":"Delete a listing","description":"With its photos. Cannot be undone.","security":[{"bearer":[]}],"responses":{"200":{"description":"Deleted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ok"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"404":{"description":"It does not exist or is not yours.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/me/listings/{id}/photos":{"post":{"operationId":"addPhoto","tags":["My listings"],"summary":"Add a photo to a listing","description":"At the end of its photos (up to 15). To remove or reorder, PATCH with `photos`.","security":[{"bearer":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"The id of your listing.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["photo"],"properties":{"photo":{"type":"string","format":"binary","description":"JPEG up to 6 MB and 6,000 px per side."}}}}}},"responses":{"201":{"description":"The photo and the listing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhotoAdded"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"404":{"description":"It does not exist or is not yours.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"413":{"description":"Larger than 6 MB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"415":{"description":"Not a JPEG.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/channels":{"get":{"operationId":"listChannels","tags":["Account"],"summary":"Where your alerts arrive","description":"Read-only: connecting Telegram or phone notifications is done on the website.","security":[{"bearer":[]}],"responses":{"200":{"description":"The channels.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Channels"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/agency":{"get":{"operationId":"getAgency","tags":["Agency"],"summary":"My agency","security":[{"bearer":[]}],"responses":{"200":{"description":"The agency (or null).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Agency"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/agency/listings":{"get":{"operationId":"listAgencyListings","tags":["Agency"],"summary":"My agency's listings","description":"The same as in the agency panel, 20 at a time. `view=removals`: the ones you removed.","security":[{"bearer":[]}],"parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":60}},{"name":"operation","in":"query","schema":{"type":"string","enum":["sale","rent"]}},{"name":"type","in":"query","schema":{"type":"string","enum":["apartment","house","studio","room","country_house","farm","cabin","house_with_lot","lot","retail","office","warehouse","medical_office","building","parking"]}},{"name":"origin","in":"query","schema":{"type":"string","enum":["own_website","portal","facebook","tiktok","other"]}},{"name":"view","in":"query","schema":{"type":"string","enum":["removals"]}},{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}}],"responses":{"200":{"description":"The listings.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgencyListings"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"404":{"description":"Your account does not belong to any agency.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/agency/removals":{"post":{"operationId":"removeAgencyListing","tags":["Agency"],"summary":"Remove a listing","description":"It leaves the radar at once; it stays in the history and can be undone for 7 days. Only with a verified agency. After 20 removals in 24 hours, the next ones are held until Lonja Radar confirms them (202, status «held»).","security":[{"bearer":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"A unique key per operation (8 to 100 characters; a UUID works). If you repeat the same request with the same key within 24 hours, you get the same response (with `Idempotent-Replayed: true`) and nothing is created twice.","schema":{"type":"string","minLength":8,"maxLength":100}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","reason"],"properties":{"id":{"type":"string"},"reason":{"type":"string","enum":["sold","rented","unavailable"]}}}}}},"responses":{"201":{"description":"The removal (status «applied»).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Removal"}}}},"202":{"description":"Held: applied when Lonja Radar confirms it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Removal"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"404":{"description":"That listing is not from your agency.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/agency/removals/{event}/undo":{"post":{"operationId":"undoRemoval","tags":["Agency"],"summary":"Undo a removal","security":[{"bearer":[]}],"parameters":[{"name":"event","in":"path","required":true,"description":"The removal event (it comes in the list of removals).","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"A unique key per operation (8 to 100 characters; a UUID works). If you repeat the same request with the same key within 24 hours, you get the same response (with `Idempotent-Replayed: true`) and nothing is created twice.","schema":{"type":"string","minLength":8,"maxLength":100}}],"responses":{"200":{"description":"Undone.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Removal"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"409":{"description":"Already undone, expired, or blocked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/agency/history":{"get":{"operationId":"getAgencyHistory","tags":["Agency"],"summary":"The team's history","security":[{"bearer":[]}],"parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}}],"responses":{"200":{"description":"The events.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/History"}}}},"401":{"description":"The key is missing, malformed or revoked (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"403":{"description":"The key is read-only (`insufficient_scope`), a plan limit was reached (`limit_reached`) or permission is missing (`forbidden`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"429":{"description":"The write quota of the minute or the day is used up (`rate_limited`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}},"503":{"description":"The database is not responding; try again in a minute.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountError"}}}}}}},"/listings":{"get":{"operationId":"searchListings","tags":["Listings"],"summary":"Search listings","description":"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":"city","in":"query","required":false,"description":"City or municipality, as written in Spanish («Bogotá», «Santa Marta», «santa-marta»). List at /api/v1/cities.","schema":{"type":"string","maxLength":60},"example":"Bogotá"},{"name":"neighborhood","in":"query","description":"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`.","schema":{"type":"string","maxLength":320},"example":"Chapinero"},{"name":"locality","in":"query","description":"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.","schema":{"type":"string","maxLength":200},"example":"Usaquén"},{"name":"zone","in":"query","description":"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`.","schema":{"type":"string","maxLength":60},"example":"norte"},{"name":"operation","in":"query","description":"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`).","schema":{"type":"string","enum":["sale","rent","short_stay"],"default":"sale"}},{"name":"type","in":"query","description":"Property type; `types` also accepts several separated by commas.","schema":{"type":"string","enum":["apartment","house","studio","room","country_house","farm","cabin","house_with_lot","lot","retail","office","warehouse","medical_office","building","parking"]}},{"name":"types","in":"query","description":"Several types separated by commas.","schema":{"type":"string","maxLength":200},"example":"apartment,studio"},{"name":"min_price","in":"query","description":"Minimum price in Colombian pesos.","schema":{"type":"integer","minimum":1}},{"name":"max_price","in":"query","description":"Maximum price in Colombian pesos.","schema":{"type":"integer","minimum":1},"example":600000000},{"name":"min_bedrooms","in":"query","description":"Minimum bedrooms.","schema":{"type":"integer","minimum":0,"maximum":5}},{"name":"published_within_days","in":"query","description":"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).","schema":{"type":"integer","minimum":1,"maximum":31,"default":31}},{"name":"published_since","in":"query","description":"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.","schema":{"type":"string","format":"date"},"example":"2026-11-24"},{"name":"keywords","in":"query","description":"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.","schema":{"type":"string","maxLength":200},"example":"remodelado piscina"},{"name":"min_area","in":"query","description":"Minimum built area in m² (integer).","schema":{"type":"integer","minimum":1,"maximum":1000000},"example":90},{"name":"max_area","in":"query","description":"Maximum built area in m² (integer).","schema":{"type":"integer","minimum":1,"maximum":1000000},"example":120},{"name":"min_stratum","in":"query","description":"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.","schema":{"type":"integer","minimum":1,"maximum":6},"example":3},{"name":"max_stratum","in":"query","description":"Maximum stratum, 1 to 6. For «estrato 4» use min_stratum=4&max_stratum=4.","schema":{"type":"integer","minimum":1,"maximum":6},"example":4},{"name":"include_missing_area","in":"query","description":"With min_area or max_area: also include listings that do not give their area (they carry the missing_area warning). Default false.","schema":{"type":"boolean","default":false}},{"name":"max_total_monthly","in":"query","description":"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).","schema":{"type":"integer","minimum":1},"example":4000000},{"name":"min_geo_precision","in":"query","description":"Only listings whose point is at least this precise: exact (its own point), neighborhood (at least the neighborhood centre) or city.","schema":{"type":"string","enum":["exact","neighborhood","city"]}},{"name":"exclude_warnings","in":"query","description":"Leave out listings with any of these warnings, separated by commas.","schema":{"type":"string"},"example":"implausible_price,price_outlier_low"},{"name":"dedupe","in":"query","description":"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).","schema":{"type":"boolean","default":true}},{"name":"owner_only","in":"query","description":"1 = only listings by direct owners.","schema":{"type":"string","enum":["0","1"]}},{"name":"bbox","in":"query","description":"Rectangle `west,south,east,north` in degrees (each side up to 0.48°). With city, it searches the rectangle and keeps only that city.","schema":{"type":"string"},"example":"-74.07,4.62,-74.03,4.68"},{"name":"sort","in":"query","description":"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.","schema":{"type":"string","enum":["newest","price","area","price_per_m2"],"default":"newest"}},{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"maximum":10,"default":1}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"The listings of the page.","headers":{"X-RateLimit-Limit":{"description":"Requests per day in your quota.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left today.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When it resets (Unix seconds; midnight Colombia time).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingsResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/InvalidKey"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/listings/{id}":{"get":{"operationId":"getListing","tags":["Listings"],"summary":"One listing","description":"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":"id","in":"path","required":true,"description":"«source:code», URL-encoded (the colon as %3A or as is).","schema":{"type":"string","maxLength":200},"example":"lonjaradar:12"}],"responses":{"200":{"description":"The listing.","headers":{"X-RateLimit-Limit":{"description":"Requests per day in your quota.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left today.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When it resets (Unix seconds; midnight Colombia time).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListingDetail"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/InvalidKey"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/prices":{"get":{"operationId":"areaPrices","tags":["Prices"],"summary":"Prices by area","description":"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":"city","in":"query","required":true,"description":"City or municipality, as written in Spanish («Bogotá», «Santa Marta», «santa-marta»). List at /api/v1/cities.","schema":{"type":"string","maxLength":60},"example":"Bogotá"},{"name":"neighborhood","in":"query","schema":{"type":"string","maxLength":60},"example":"Chapinero"},{"name":"operation","in":"query","description":"sale (default) or rent. For rent, the price is the monthly rent.","schema":{"type":"string","enum":["sale","rent"],"default":"sale"}},{"name":"type","in":"query","schema":{"type":"string","enum":["apartment","house","studio","room","country_house","farm","cabin","house_with_lot","lot","retail","office","warehouse","medical_office","building","parking"]},"example":"apartment"},{"name":"price","in":"query","description":"Price to evaluate, in COP (for rent, the monthly rent).","schema":{"type":"integer","minimum":1}},{"name":"area","in":"query","description":"Area to evaluate, in m² (sales and commercial rentals).","schema":{"type":"integer","minimum":1}},{"name":"bedrooms","in":"query","description":"Bedrooms of the home to evaluate (homes for rent: apartment or house; 4 = 4 or more).","schema":{"type":"integer","minimum":1,"maximum":15}}],"responses":{"200":{"description":"The prices.","headers":{"X-RateLimit-Limit":{"description":"Requests per day in your quota.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left today.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When it resets (Unix seconds; midnight Colombia time).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricesResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/InvalidKey"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/overview":{"get":{"operationId":"getOverview","tags":["Catalog"],"summary":"Catalog overview","description":"Current listings, municipalities, advertisers and new listings today.","responses":{"200":{"description":"The live numbers.","headers":{"X-RateLimit-Limit":{"description":"Requests per day in your quota.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left today.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When it resets (Unix seconds; midnight Colombia time).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Overview"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/InvalidKey"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/stats":{"get":{"operationId":"getStats","tags":["Catalog"],"summary":"Market stats","description":"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":"series","in":"query","description":"Only one series.","schema":{"type":"string","enum":["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"]},"example":"new-per-day"}],"responses":{"200":{"description":"The stats.","headers":{"X-RateLimit-Limit":{"description":"Requests per day in your quota.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left today.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When it resets (Unix seconds; midnight Colombia time).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Stats"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/InvalidKey"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/cities":{"get":{"operationId":"listCities","tags":["Places"],"summary":"Cities with data","parameters":[{"name":"q","in":"query","description":"Part of the name.","schema":{"type":"string","maxLength":60},"example":"santa"}],"responses":{"200":{"description":"The cities, from most to fewest listings.","headers":{"X-RateLimit-Limit":{"description":"Requests per day in your quota.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left today.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When it resets (Unix seconds; midnight Colombia time).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CitiesResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/InvalidKey"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/cities/{city}/neighborhoods":{"get":{"operationId":"listNeighborhoods","tags":["Places"],"summary":"Neighborhoods of a city, with their price per m² and, for homes for rent, their rent by bedrooms","parameters":[{"name":"city","in":"path","required":true,"description":"The city (its slug: «bogota», «santa-marta»).","schema":{"type":"string","maxLength":60},"example":"medellin"},{"name":"operation","in":"query","description":"Only that operation (otherwise both).","schema":{"type":"string","enum":["sale","rent"]}},{"name":"type","in":"query","schema":{"type":"string","enum":["apartment","house","studio","room","country_house","farm","cabin","house_with_lot","lot","retail","office","warehouse","medical_office","building","parking"]}}],"responses":{"200":{"description":"The neighborhoods.","headers":{"X-RateLimit-Limit":{"description":"Requests per day in your quota.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left today.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When it resets (Unix seconds; midnight Colombia time).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeighborhoodsResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/InvalidKey"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/tools/rent-increase":{"get":{"operationId":"rentIncrease","tags":["Tools"],"summary":"How much can a rent go up","description":"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":"current_rent","in":"query","description":"Current monthly rent, in COP.","schema":{"type":"integer","minimum":50000,"maximum":100000000},"required":true,"example":1500000},{"name":"contract_start","in":"query","description":"Date the lease started or of the last increase: YYYY-MM-DD (or YYYY-MM).","schema":{"type":"string"},"required":true,"example":"2025-03-01"},{"name":"use","in":"query","description":"housing (default) or commercial (retail, office, warehouse).","schema":{"type":"string","enum":["housing","commercial"],"default":"housing"}},{"name":"proposed_rent","in":"query","description":"The new rent being proposed, in COP, to check it against the cap.","schema":{"type":"integer","minimum":1}},{"name":"effective_from","in":"query","description":"Date the proposed rent would apply from: YYYY-MM-DD.","schema":{"type":"string"}},{"name":"cadastral_value","in":"query","description":"Cadastral value of the property, in COP (for the 1 % cap of art. 18).","schema":{"type":"integer","minimum":1}},{"name":"commercial_value","in":"query","description":"Commercial value of the property, in COP (for the 1 % cap of art. 18).","schema":{"type":"integer","minimum":1}},{"name":"formula","in":"query","description":"Commercial leases only: what the contract says about increases.","schema":{"type":"string","enum":["cpi","cpi_plus_points","fixed","none"]}},{"name":"points","in":"query","description":"Commercial, formula cpi_plus_points: points added to the CPI.","schema":{"type":"number","minimum":0,"maximum":50}},{"name":"fixed_pct","in":"query","description":"Commercial, formula fixed: the fixed yearly percentage.","schema":{"type":"number","minimum":0,"maximum":100}}],"responses":{"200":{"description":"The calculation.","headers":{"X-RateLimit-Limit":{"description":"Requests per day in your quota.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left today.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When it resets (Unix seconds; midnight Colombia time).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RentIncreaseResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/InvalidKey"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/tools/mortgage":{"get":{"operationId":"simulateMortgage","tags":["Tools"],"summary":"Home-loan simulator","description":"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":"price","in":"query","description":"Price of the home, in COP (at least 20,000,000).","schema":{"type":"integer","minimum":20000000},"required":true,"example":350000000},{"name":"down_payment","in":"query","description":"Down payment in COP. Default: the legal minimum (30 %; 20 % for social housing).","schema":{"type":"integer","minimum":0}},{"name":"down_payment_pct","in":"query","description":"Down payment as a percentage of the price, instead of `down_payment`.","schema":{"type":"number","minimum":0,"maximum":99},"example":30},{"name":"years","in":"query","description":"Term in years.","schema":{"type":"integer","minimum":5,"maximum":30,"default":20},"example":20},{"name":"city","in":"query","description":"City of the home, as written in Spanish (changes the social-housing price cap).","schema":{"type":"string","maxLength":60}},{"name":"annual_rate_ea","in":"query","description":"Effective annual rate in percent (for UVR, the points over UVR). Default: the reported average.","schema":{"type":"number","minimum":0,"maximum":40}},{"name":"system","in":"query","description":"fixed_cop (pesos, fixed payment) or uvr (inflation-indexed).","schema":{"type":"string","enum":["fixed_cop","uvr"],"default":"fixed_cop"}},{"name":"inflation_pct","in":"query","description":"UVR only: assumed yearly inflation, in percent.","schema":{"type":"number","minimum":0,"maximum":30}}],"responses":{"200":{"description":"The simulation.","headers":{"X-RateLimit-Limit":{"description":"Requests per day in your quota.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left today.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When it resets (Unix seconds; midnight Colombia time).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgageResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/InvalidKey"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}},"/tools/property-value":{"get":{"operationId":"estimatePropertyValue","tags":["Tools"],"summary":"Market estimate of a home","description":"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":"city","in":"query","description":"City, as written in Spanish.","schema":{"type":"string","maxLength":60},"required":true,"example":"Bogotá"},{"name":"neighborhood","in":"query","description":"Neighborhood, as written in Spanish. Required unless `lat` and `lon` are sent.","schema":{"type":"string","maxLength":60},"example":"Chapinero"},{"name":"lat","in":"query","description":"Latitude of the property.","schema":{"type":"number","minimum":-4.3,"maximum":13.5}},{"name":"lon","in":"query","description":"Longitude of the property.","schema":{"type":"number","minimum":-81.8,"maximum":-66.8}},{"name":"type","in":"query","description":"Homes only.","schema":{"type":"string","enum":["apartment","house","studio"]},"required":true,"example":"apartment"},{"name":"area_m2","in":"query","description":"Built area in m².","schema":{"type":"integer","minimum":20,"maximum":1000},"required":true,"example":80},{"name":"bedrooms","in":"query","description":"Bedrooms.","schema":{"type":"integer","minimum":1,"maximum":10}},{"name":"bathrooms","in":"query","description":"Bathrooms.","schema":{"type":"integer","minimum":1,"maximum":10}},{"name":"stratum","in":"query","description":"Socio-economic stratum.","schema":{"type":"integer","minimum":1,"maximum":6}}],"responses":{"200":{"description":"The estimate, or why there is none (`has_estimate` false).","headers":{"X-RateLimit-Limit":{"description":"Requests per day in your quota.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left today.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When it resets (Unix seconds; midnight Colombia time).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyValueResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/InvalidKey"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}}}}},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Free key: `Authorization: Bearer lr_…`. Create it at /developers."},"apiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"The same key in the X-API-Key header."}},"responses":{"BadRequest":{"description":"A parameter is invalid or missing (`invalid_parameter`, `missing_parameter`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"InvalidKey":{"description":"The key does not exist, was revoked or is malformed (`invalid_key`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"It does not exist or is no longer shown (`not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"RateLimited":{"description":"The minute or day quota is used up (`rate_limited`).","headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}},"X-RateLimit-Limit":{"description":"Requests per day in your quota.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left today.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When it resets (Unix seconds; midnight Colombia time).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unavailable":{"description":"The database is not responding; try again in a minute (`service_unavailable`).","headers":{"Retry-After":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"AccountError":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["invalid_parameter","not_found","invalid_key","insufficient_scope","limit_reached","conflict","idempotency_key_reused","forbidden","payload_too_large","unsupported_media_type","rate_limited","upstream_unavailable","service_unavailable","internal_error"]},"message":{"type":"string"}}},"documentation":{"type":"string","format":"uri"}}},"Ok":{"type":"object","properties":{"ok":{"type":"boolean"}}},"Account":{"type":"object","properties":{"account":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"plan":{"type":"string"}}},"key":{"type":"object","properties":{"id":{"type":"integer"},"scopes":{"type":"array","items":{"type":"string","enum":["read","write","realtime"]}}}},"limits":{"type":"object","properties":{"active_radars":{"type":["integer","null"]},"published_listings":{"type":"integer"},"changes_per_day":{"type":"integer","default":300}}},"links":{"type":"object","additionalProperties":{"type":"string","format":"uri"}}}},"RadarInput":{"type":"object","required":["operation","cities"],"additionalProperties":false,"properties":{"name":{"type":"string","maxLength":60},"operation":{"type":"string","enum":["sale","rent"]},"types":{"type":"array","maxItems":15,"items":{"type":"string","enum":["apartment","house","studio","room","country_house","farm","cabin","house_with_lot","lot","retail","office","warehouse","medical_office","building","parking"]}},"cities":{"type":"array","minItems":1,"maxItems":8,"items":{"type":"string","maxLength":60}},"neighborhoods":{"type":"array","maxItems":24,"items":{"type":"string","maxLength":60}},"min_price":{"type":"integer"},"max_price":{"type":"integer"},"min_bedrooms":{"type":"integer"},"min_bathrooms":{"type":"integer"},"min_parking_spaces":{"type":"integer"},"min_area_m2":{"type":"integer"},"min_stratum":{"type":"integer","minimum":1,"maximum":6},"max_stratum":{"type":"integer","minimum":1,"maximum":6},"owner_only":{"type":"boolean"},"exclude_pedestrian_only":{"type":"boolean","description":"Leave out properties reachable only on foot."}}},"RadarPartialInput":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","maxLength":60},"operation":{"type":"string","enum":["sale","rent"]},"types":{"type":"array","maxItems":15,"items":{"type":"string","enum":["apartment","house","studio","room","country_house","farm","cabin","house_with_lot","lot","retail","office","warehouse","medical_office","building","parking"]}},"cities":{"type":"array","minItems":1,"maxItems":8,"items":{"type":"string","maxLength":60}},"neighborhoods":{"type":"array","maxItems":24,"items":{"type":"string","maxLength":60}},"min_price":{"type":"integer"},"max_price":{"type":"integer"},"min_bedrooms":{"type":"integer"},"min_bathrooms":{"type":"integer"},"min_parking_spaces":{"type":"integer"},"min_area_m2":{"type":"integer"},"min_stratum":{"type":"integer","minimum":1,"maximum":6},"max_stratum":{"type":"integer","minimum":1,"maximum":6},"owner_only":{"type":"boolean"},"exclude_pedestrian_only":{"type":"boolean","description":"Leave out properties reachable only on foot."}}},"Radar":{"type":"object","required":["id","name","status","filters","url","matches_url"],"properties":{"id":{"type":"integer"},"name":{"type":"string"},"status":{"type":"string","enum":["active","paused","found","closed"]},"filters":{"type":"object","properties":{"operation":{"type":"string","enum":["sale","rent"]},"types":{"type":"array","maxItems":15,"items":{"type":"string","enum":["apartment","house","studio","room","country_house","farm","cabin","house_with_lot","lot","retail","office","warehouse","medical_office","building","parking"]}},"cities":{"type":"array","minItems":1,"maxItems":8,"items":{"type":"string","maxLength":60}},"neighborhoods":{"type":"array","maxItems":24,"items":{"type":"string","maxLength":60}},"min_price":{"type":"integer"},"max_price":{"type":"integer"},"min_bedrooms":{"type":"integer"},"min_bathrooms":{"type":"integer"},"min_parking_spaces":{"type":"integer"},"min_area_m2":{"type":"integer"},"min_stratum":{"type":"integer","minimum":1,"maximum":6},"max_stratum":{"type":"integer","minimum":1,"maximum":6},"owner_only":{"type":"boolean"},"exclude_pedestrian_only":{"type":"boolean","description":"Leave out properties reachable only on foot."}}},"created_at":{"type":["string","null"],"format":"date-time"},"closed_at":{"type":["string","null"],"format":"date-time"},"matches":{"type":["object","null"],"properties":{"total":{"type":"integer"},"last_24h":{"type":"integer"}}},"url":{"type":"string","format":"uri"},"matches_url":{"type":"string","format":"uri"}}},"OneRadar":{"type":"object","properties":{"radar":{"$ref":"#/components/schemas/Radar"}}},"RadarList":{"type":"object","required":["radars","page","limit","has_more"],"properties":{"radars":{"type":"array","items":{"$ref":"#/components/schemas/Radar"}},"page":{"type":"integer"},"limit":{"type":"integer"},"has_more":{"type":"boolean"},"total":{"type":"integer"}}},"MatchList":{"type":"object","required":["matches","page","limit","has_more"],"properties":{"matches":{"type":"array","items":{"type":"object","properties":{"radar":{"type":"string"},"reason":{"type":"string","enum":["new","price_drop"]},"price":{"type":"integer"},"detected_at":{"type":"string","format":"date-time"},"mark":{"type":["string","null"],"enum":["favorite","dismissed",null]},"no_longer_available":{"type":["object","null"],"properties":{"status":{"type":"string","enum":["sold","rented","reserved","removed"]},"since":{"type":"string","format":"date-time"}}},"listing":{"$ref":"#/components/schemas/Listing"}}}},"page":{"type":"integer"},"limit":{"type":"integer"},"has_more":{"type":"boolean"},"total":{"type":"integer"}}},"FavoriteList":{"type":"object","required":["favorites","page","limit","has_more"],"properties":{"favorites":{"type":"array","items":{"type":"object","properties":{"saved_at":{"type":"string","format":"date-time"},"listing":{"$ref":"#/components/schemas/Listing"}}}},"page":{"type":"integer"},"limit":{"type":"integer"},"has_more":{"type":"boolean"},"total":{"type":"integer"}}},"Mark":{"type":"object","properties":{"id":{"type":"string"},"mark":{"type":["string","null"]}}},"OwnListingInput":{"type":"object","required":["data","whatsapp"],"additionalProperties":false,"properties":{"data":{"type":"object","description":"The listing fields (the same as on the website's publish form).","properties":{"operation":{"type":"string","enum":["sale","rent"]},"type":{"type":"string","enum":["apartment","house","studio","room","country_house","farm","cabin","house_with_lot","lot","retail","office","warehouse","medical_office","building","parking"],"description":"One of: 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)."},"city":{"type":"string"},"neighborhood":{"type":"string"},"price":{"type":"integer"},"admin_fee":{"type":"integer"},"area_m2":{"type":"number"},"bedrooms":{"type":"integer"},"bathrooms":{"type":"integer"},"parking_spaces":{"type":"integer"},"stratum":{"type":"integer"},"floor":{"type":"integer"},"description":{"type":"string","maxLength":1500},"advertiser":{"type":"string","enum":["owner","agent","agency"]},"company":{"type":"string","maxLength":80,"description":"Agency name (only if advertiser = agency)."},"condition":{"type":"string","enum":["new","used"]},"building_age":{"type":"string","enum":["under_1","1_8","9_15","16_30","over_30"]},"access":{"type":"string","enum":["vehicle","pedestrian_only","unpaved_road"]},"amenities":{"type":"array","items":{"type":"string"}}}},"photos":{"type":"array","maxItems":15,"items":{"type":"string"},"description":"The keys the photo upload returns."},"location":{"type":["object","null"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"},"approximate":{"type":"boolean"}}},"whatsapp":{"type":"string","description":"10-digit Colombian mobile number."},"draft":{"type":"boolean"},"text":{"type":"string","description":"Optional: the listing in words (Spanish); AI fills in what is missing."}}},"OwnListingPartialInput":{"type":"object","required":[],"additionalProperties":false,"properties":{"data":{"type":"object","description":"The listing fields (the same as on the website's publish form).","properties":{"operation":{"type":"string","enum":["sale","rent"]},"type":{"type":"string","enum":["apartment","house","studio","room","country_house","farm","cabin","house_with_lot","lot","retail","office","warehouse","medical_office","building","parking"],"description":"One of: 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)."},"city":{"type":"string"},"neighborhood":{"type":"string"},"price":{"type":"integer"},"admin_fee":{"type":"integer"},"area_m2":{"type":"number"},"bedrooms":{"type":"integer"},"bathrooms":{"type":"integer"},"parking_spaces":{"type":"integer"},"stratum":{"type":"integer"},"floor":{"type":"integer"},"description":{"type":"string","maxLength":1500},"advertiser":{"type":"string","enum":["owner","agent","agency"]},"company":{"type":"string","maxLength":80,"description":"Agency name (only if advertiser = agency)."},"condition":{"type":"string","enum":["new","used"]},"building_age":{"type":"string","enum":["under_1","1_8","9_15","16_30","over_30"]},"access":{"type":"string","enum":["vehicle","pedestrian_only","unpaved_road"]},"amenities":{"type":"array","items":{"type":"string"}}}},"photos":{"type":"array","maxItems":15,"items":{"type":"string"},"description":"The keys the photo upload returns."},"location":{"type":["object","null"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"},"approximate":{"type":"boolean"}}},"whatsapp":{"type":"string","description":"10-digit Colombian mobile number."}}},"OwnListing":{"type":"object","required":["id","status","data","photos","url"],"properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["draft","published","paused","closed","in_review"]},"close_reason":{"type":["string","null"]},"data":{"type":"object","description":"The listing fields (the same as on the website's publish form).","properties":{"operation":{"type":"string","enum":["sale","rent"]},"type":{"type":"string","enum":["apartment","house","studio","room","country_house","farm","cabin","house_with_lot","lot","retail","office","warehouse","medical_office","building","parking"],"description":"One of: 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)."},"city":{"type":"string"},"neighborhood":{"type":"string"},"price":{"type":"integer"},"admin_fee":{"type":"integer"},"area_m2":{"type":"number"},"bedrooms":{"type":"integer"},"bathrooms":{"type":"integer"},"parking_spaces":{"type":"integer"},"stratum":{"type":"integer"},"floor":{"type":"integer"},"description":{"type":"string","maxLength":1500},"advertiser":{"type":"string","enum":["owner","agent","agency"]},"company":{"type":"string","maxLength":80,"description":"Agency name (only if advertiser = agency)."},"condition":{"type":"string","enum":["new","used"]},"building_age":{"type":"string","enum":["under_1","1_8","9_15","16_30","over_30"]},"access":{"type":"string","enum":["vehicle","pedestrian_only","unpaved_road"]},"amenities":{"type":"array","items":{"type":"string"}}}},"photos":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"url":{"type":"string","format":"uri"}}}},"location":{"type":["object","null"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"},"approximate":{"type":"boolean"}}},"whatsapp":{"type":"string"},"created_at":{"type":["string","null"],"format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"},"published_at":{"type":["string","null"],"format":"date-time"},"stats":{"type":"object","properties":{"views":{"type":"integer"},"whatsapp_messages":{"type":"integer"},"last_7_days":{"type":"object","properties":{"views":{"type":"array","items":{"type":"integer"}},"whatsapp_messages":{"type":"array","items":{"type":"integer"}}}}}},"url":{"type":"string","format":"uri"},"edit_url":{"type":"string","format":"uri"}}},"OneOwnListing":{"type":"object","properties":{"listing":{"$ref":"#/components/schemas/OwnListing"}}},"OwnListingCreated":{"type":"object","properties":{"listing":{"$ref":"#/components/schemas/OwnListing"},"warnings":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"message":{"type":"string"}}}},"questions":{"type":"array","items":{"type":"string"}},"note":{"type":"string"}}},"OwnListingList":{"type":"object","required":["listings","page","limit","has_more"],"properties":{"listings":{"type":"array","items":{"$ref":"#/components/schemas/OwnListing"}},"page":{"type":"integer"},"limit":{"type":"integer"},"has_more":{"type":"boolean"},"total":{"type":"integer"}}},"Photo":{"type":"object","properties":{"key":{"type":"string"},"url":{"type":"string","format":"uri"},"width":{"type":"integer"},"height":{"type":"integer"}}},"PhotoAdded":{"type":"object","properties":{"photo":{"$ref":"#/components/schemas/Photo"},"listing":{"$ref":"#/components/schemas/OwnListing"}}},"Channels":{"type":"object","properties":{"channels":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"},"active":{"type":"boolean"},"count":{"type":"integer"}}}},"connect_url":{"type":"string","format":"uri"}}},"Agency":{"type":"object","properties":{"agency":{"type":["object","null"],"properties":{"name":{"type":"string"},"status":{"type":"string"},"role":{"type":"string","enum":["admin","member"]},"url":{"type":"string","format":"uri"}}}}},"AgencyListings":{"type":"object","required":["listings","page","limit","has_more"],"properties":{"listings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"operation":{"type":"string"},"neighborhood":{"type":"string"},"city":{"type":"string"},"price":{"type":["integer","null"]},"origin":{"type":"string"},"source":{"type":"string"},"status":{"type":"string"},"published_at":{"type":["string","null"],"format":"date-time"},"original_url":{"type":["string","null"]},"lonjaradar_url":{"type":["string","null"]},"removal":{"type":"object"}}}},"page":{"type":"integer"},"limit":{"type":"integer"},"has_more":{"type":"boolean"},"total":{"type":"integer"}}},"Removal":{"type":"object","properties":{"id":{"type":"string"},"reason":{"type":"string"},"status":{"type":"string","enum":["applied","held"]},"event":{"type":"integer"},"by":{"type":"string"},"at":{"type":"string","format":"date-time"}}},"History":{"type":"object","required":["events","page","limit","has_more"],"properties":{"events":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"by":{"type":"string"},"action":{"type":"string"},"text":{"type":"string"},"listing":{"type":["string","null"]},"at":{"type":"string","format":"date-time"}}}},"page":{"type":"integer"},"limit":{"type":"integer"},"has_more":{"type":"boolean"},"total":{"type":"integer"}}},"RentIncreaseResponse":{"type":"object","required":["use","current_rent","applies_from","official","cpi","note","legal_basis","link"],"properties":{"use":{"type":"string","enum":["housing","commercial"]},"current_rent":{"type":"integer"},"twelve_months_on":{"type":"string","format":"date","description":"When the 12 months at the same rent are (or were) completed."},"applies_from":{"type":"string","format":"date","description":"The date the increase can apply from."},"can_increase_now":{"type":"boolean"},"official":{"type":"boolean","description":"False while the CPI of that year has not been published: then see `estimate`."},"cpi":{"type":"object","properties":{"year":{"type":"integer"},"status":{"type":"string","enum":["official","provisional","no_data"]},"pct":{"type":"number"},"min_pct":{"type":"number"},"max_pct":{"type":"number"},"source":{"type":"string"},"source_url":{"type":"string","format":"uri"},"published":{"type":"string","format":"date","description":"When DANE published it."}}},"max_increase":{"type":"integer","description":"Maximum monthly increase (COP)."},"max_new_rent":{"type":"integer","description":"Maximum new monthly rent (COP)."},"max_increase_pct":{"type":"number"},"limit":{"type":"string","enum":["cpi","contract","article_18","reference"],"description":"Which limit set the figure."},"estimate":{"type":"object","description":"Only with a provisional CPI: an estimate, not the cap.","properties":{"low":{"type":"object","properties":{"new_rent":{"type":"integer"},"increase":{"type":"integer"},"pct":{"type":"number"}}},"high":{"type":"object","properties":{"new_rent":{"type":"integer"},"increase":{"type":"integer"},"pct":{"type":"number"}}}}},"article_18_cap":{"type":"integer","description":"Rent cap of art. 18: 1 % of the commercial value (COP)."},"proposed":{"type":"object","properties":{"rent":{"type":"integer"},"pct":{"type":"number"},"excess_monthly":{"type":"integer"},"excess_yearly":{"type":"integer"},"within_cap":{"type":["boolean","null"],"description":"null when it cannot be stated (provisional CPI, commercial lease, or `needs_effective_from`)."},"date_valid":{"type":"boolean"},"needs_effective_from":{"type":"boolean"},"scenarios":{"type":"array","description":"With `needs_effective_from`: one per year the increase could apply in.","items":{"type":"object","properties":{"effective_year":{"type":"integer"},"cpi_year":{"type":"integer"},"cpi_pct":{"type":"number"},"max_new_rent":{"type":"integer"},"excess_monthly":{"type":"integer"},"within_cap":{"type":["boolean","null"]}}}}}},"earthquake_deferral":{"type":"object","description":"Only for leases covered by the deferral decreed after the earthquake.","properties":{"first_rent_with_increase":{"type":"string","format":"date"},"installment":{"type":"integer"},"installments":{"type":"integer"},"next_increase":{"type":"string","format":"date"}}},"note":{"type":"string","description":"In Spanish."},"legal_basis":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"}}},"link":{"type":"string","format":"uri","description":"The calculator on Lonja Radar with this case."},"attribution":{"type":"string"}}},"MortgageResponse":{"type":"object","required":["property","loan","payment","totals","notes","link"],"properties":{"property":{"type":"object","properties":{"price":{"type":"integer"},"city":{"type":["string","null"]},"social_housing":{"type":"boolean"},"social_housing_cap":{"type":"integer"},"year":{"type":"integer"}}},"loan":{"type":"object","properties":{"amount":{"type":"integer"},"down_payment":{"type":"integer"},"min_down_payment":{"type":"integer"},"max_financing_pct":{"type":["number","null"]},"years":{"type":"integer"},"system":{"type":"string","enum":["fixed_cop","uvr"]},"payment_type":{"type":"string"},"annual_rate_ea":{"type":"number"},"rate_is_reported_average":{"type":"boolean"},"assumed_inflation_pct":{"type":"number"},"equivalent_rate_cop":{"type":"number"}}},"payment":{"type":"object","properties":{"first_with_insurance":{"type":"integer"},"loan_only":{"type":"integer"},"assumed_insurance":{"type":"integer"},"last_without_insurance":{"type":"integer"},"required_income_30_pct":{"type":"integer"},"required_income_40_pct_legal":{"type":"integer"}}},"totals":{"type":"object","properties":{"interest":{"type":"integer"},"insurance":{"type":"integer"},"paid_excluding_down_payment":{"type":"integer"},"estimated_closing_costs":{"type":"integer"}}},"rates":{"type":["object","null"],"description":"The reported rates used as reference; null if the source is not available.","properties":{"product":{"type":"string"},"as_of":{"type":"string","format":"date","description":"Cut-off date of the last week reported."},"from":{"type":"string","format":"date"},"average":{"type":"number"},"lowest_reported":{"type":["object","null"],"properties":{"lender":{"type":"string"},"rate":{"type":"number"},"loans":{"type":"integer"}}},"by_lender":{"type":"array","items":{"type":"object","properties":{"lender":{"type":"string"},"rate":{"type":"number"},"loans":{"type":"integer"}}}},"source":{"type":"string"},"source_url":{"type":"string","format":"uri"},"note":{"type":"string"}}},"notes":{"type":"array","items":{"type":"string"},"description":"In Spanish."},"link":{"type":"string","format":"uri"},"attribution":{"type":"string"}}},"PropertyValueResponse":{"type":"object","required":["property","sale","rent","is_appraisal","disclaimer","link"],"properties":{"property":{"type":"object","properties":{"city":{"type":"string"},"neighborhood":{"type":"string"},"type":{"type":"string","enum":["apartment","house","studio"]},"area_m2":{"type":"integer"},"point_given":{"type":"boolean"}}},"sale":{"type":"object","required":["has_estimate","similar_within_500_m","similar_within_1_km","comparables"],"properties":{"has_estimate":{"type":"boolean"},"reason":{"type":"string","enum":["too_few","scattered","too_far"],"description":"Why there is no estimate: fewer than 5 similar listings nearby, their prices disagree too much, or fewer than 5 of them are within 1 km (the rest are in other neighborhoods, where prices can be very different)."},"low":{"type":"integer","description":"Lower end of the range (COP)."},"typical":{"type":"integer","description":"Central estimate (COP)."},"high":{"type":"integer","description":"Upper end of the range (COP)."},"price_per_m2":{"type":"integer"},"confidence":{"type":"string","enum":["high","medium","low"]},"range_width_pct":{"type":"integer","description":"Half-width of the range, in percent. The range contains the real asking price about 2 times out of 3."},"similar_within_500_m":{"type":"integer"},"similar_within_1_km":{"type":"integer"},"comparables":{"type":"array","description":"A few similar listings: public facts and the Lonja Radar link only.","items":{"type":"object","properties":{"price":{"type":"integer"},"area_m2":{"type":"number"},"bedrooms":{"type":"integer"},"bathrooms":{"type":"integer"},"stratum":{"type":"integer"},"neighborhood":{"type":"string"},"distance_m":{"type":"integer"},"link":{"type":"string","format":"uri"}}}}}},"rent":{"type":"object","required":["has_estimate","similar_within_500_m","similar_within_1_km","comparables"],"properties":{"has_estimate":{"type":"boolean"},"reason":{"type":"string","enum":["too_few","scattered","too_far"],"description":"Why there is no estimate: fewer than 5 similar listings nearby, their prices disagree too much, or fewer than 5 of them are within 1 km (the rest are in other neighborhoods, where prices can be very different)."},"low":{"type":"integer","description":"Lower end of the range (COP)."},"typical":{"type":"integer","description":"Central estimate (COP)."},"high":{"type":"integer","description":"Upper end of the range (COP)."},"price_per_m2":{"type":"integer"},"confidence":{"type":"string","enum":["high","medium","low"]},"range_width_pct":{"type":"integer","description":"Half-width of the range, in percent. The range contains the real asking price about 2 times out of 3."},"similar_within_500_m":{"type":"integer"},"similar_within_1_km":{"type":"integer"},"comparables":{"type":"array","description":"A few similar listings: public facts and the Lonja Radar link only.","items":{"type":"object","properties":{"price":{"type":"integer"},"area_m2":{"type":"number"},"bedrooms":{"type":"integer"},"bathrooms":{"type":"integer"},"stratum":{"type":"integer"},"neighborhood":{"type":"string"},"distance_m":{"type":"integer"},"link":{"type":"string","format":"uri"}}}}},"description":"Monthly rent."},"gross_yield_pct":{"type":["number","null"]},"area_gross_yield_pct":{"type":["number","null"]},"as_of":{"type":"string","format":"date"},"is_appraisal":{"type":"boolean","enum":[false]},"disclaimer":{"type":"string","description":"In Spanish. Always show it."},"prices_note":{"type":"string"},"link":{"type":"string","format":"uri"},"publish_link":{"type":"string","format":"uri"},"attribution":{"type":"string"}}},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["invalid_parameter","missing_parameter","not_found","invalid_key","rate_limited","payload_too_large","method_not_allowed","service_unavailable","internal_error","gone"]},"message":{"type":"string"}}},"documentation":{"type":"string","format":"uri"}}},"Source":{"type":"object","required":["type","name"],"properties":{"type":{"type":"string","enum":["portal","social_network","agency","lonjaradar"]},"name":{"type":"string","description":"The name of the portal or social network, the agency, or «Lonja Radar»."}}},"Listing":{"type":"object","required":["id","title","operation","type","price","city","neighborhood","location","published_at","source","original_url","lonjaradar_url"],"properties":{"id":{"type":"string","examples":["lonjaradar:12"],"description":"«source:code»."},"title":{"type":"string","examples":["Apartment for sale in Chapinero, Bogotá"]},"operation":{"type":["string","null"],"enum":["sale","rent",null],"description":"Rentals by the night are also rent: `rental_term` tells them apart."},"rental_term":{"type":"string","enum":["monthly","short_stay"],"description":"Only in rent: monthly (the monthly rent) or short_stay (by the night, weekend or season)."},"type":{"type":["string","null"],"description":"Property type key (see the type parameter)."},"price":{"type":["integer","null"],"description":"Colombian pesos. For rent, the monthly rent; for short_stay, see price_unit."},"price_unit":{"type":["string","null"],"enum":["month","night","day","week",null],"description":"Only in rent: what `price` pays for. month for the monthly rent; night, day or week for short_stay, or null when the listing does not say."},"admin_fee":{"type":["integer","null"],"description":"COP per month."},"area_m2":{"type":["number","null"]},"price_per_m2":{"type":["integer","null"]},"bedrooms":{"type":["integer","null"]},"bathrooms":{"type":["integer","null"]},"parking_spaces":{"type":["integer","null"]},"stratum":{"type":["integer","null"],"minimum":1,"maximum":6,"description":"Colombian socio-economic stratum (1 to 6)."},"city":{"type":["string","null"]},"neighborhood":{"type":["string","null"]},"location":{"oneOf":[{"type":"null"},{"type":"object","required":["lat","lon","approximate"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"},"approximate":{"type":"boolean","description":"true = the point marks the neighborhood or the city, not the address (3 decimals)."}}}]},"published_at":{"type":["string","null"],"format":"date-time","description":"When it was published, if the source says so. Most portals give only the day: then the time is 12:00 Colombia (17:00Z) and published_at_has_time is false. For a property on several sources, the most recent publication."},"published_at_has_time":{"type":["boolean","null"],"description":"Search and listing detail. false when the source gave only the day (the time in published_at means nothing)."},"source":{"$ref":"#/components/schemas/Source"},"direct_owner":{"type":"boolean","description":"Published by the owner, without an agency."},"original_url":{"type":["string","null"],"format":"uri","description":"The listing on its source."},"lonjaradar_url":{"type":"string","format":"uri","description":"Its page on Lonja Radar."},"also_listed_on":{"type":"array","items":{"type":"object","required":["source","original_url"],"properties":{"source":{"type":"string"},"original_url":{"type":["string","null"],"format":"uri"}}}},"sources":{"type":"array","description":"Search and, since 2026-11-29, listing detail. Every publication of this property, the one shown first: source name, link to it and its publication date. Never phone numbers.","items":{"type":"object","required":["name","original_url","published_at"],"properties":{"name":{"type":"string"},"original_url":{"type":["string","null"],"format":"uri"},"published_at":{"type":["string","null"],"format":"date-time"}}}},"source_count":{"type":"integer","description":"Search and, since 2026-11-29, listing detail. How many publications (sources) this property has."},"admin_included":{"type":["boolean","null"],"description":"Monthly rent only: true when the listing text says the rent includes the admin fee («administración incluida»), false when it says it does not, null when it does not say."},"total_monthly":{"type":["integer","null"],"description":"Monthly rent only: rent + admin_fee (just the rent when admin_included is true). null when the admin fee is unknown or does not add up (admin_exceeds_rent, admin_suspicious) or the price is implausible."},"total_monthly_reliable":{"type":["boolean","null"],"description":"Since 2026-11-29. true when total_monthly is known; false when there is an admin fee but it does not add up (admin_exceeds_rent, admin_suspicious: total_monthly is null); null when there is no total for another reason (no admin fee, sale, short stay)."},"first_seen_at":{"type":["string","null"],"format":"date-time","description":"Since 2026-11-29. The first time Lonja Radar saw this property, in any of its publications (also earlier ones that are no longer shown, found by price, area, bedrooms, bathrooms, admin fee and place)."},"republished":{"type":"boolean","description":"Since 2026-11-29. true when the property came back under a new listing code after an earlier publication that is no longer shown (seen at least a day before): it is not new even if published_at is today. Being on another portal at the same time is not republishing (see sources)."},"geo_precision":{"type":"string","enum":["exact","neighborhood","city","none"],"description":"Search and, since 2026-11-29, listing detail. exact: the listing's own point (or the same property's point on another portal); neighborhood: the neighborhood centre; city: the city centre (a default point); none: no point."},"price_vs_median_pct":{"type":["integer","null"],"description":"Search and, since 2026-11-29, listing detail. How far its price is from its reference, in % (−20 = 20 % below). 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, if the neighborhood has too few, in its sector (within 1 or 2 km). Everything else: the price per m² against the median of its neighborhood. null without a reference backed by at least 8 listings, for furnished homes and for apartments or houses that do not say their bedrooms. Never the whole city (it mixes very different neighborhoods)."},"comparison_basis":{"type":["string","null"],"enum":["rent_by_bedrooms","price_per_m2",null],"description":"Search and listing detail (since 2026-11-25). What price_vs_median_pct compares: the monthly rent by bedrooms (homes for rent) or the price per m². null for short-stay rentals."},"comparison_scope":{"type":["string","null"],"enum":["neighborhood","sector",null],"description":"Search and listing detail (since 2026-11-25). Where the reference was: its neighborhood or its sector (within 1 or 2 km; rent only). Since 2026-11-29 the sector counts only places of a comparable stratum: when the surroundings mix strata (a stratum-3 neighborhood next to stratum-6 ones), the reference is the median of the medians of the nearby neighborhoods within one stratum of the listing, or none. null when there was nothing to compare with."},"warnings":{"type":"array","description":"Search and, since 2026-11-29, listing detail. Fixed codes: `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).","items":{"type":"string","enum":["missing_area","missing_admin_fee","geo_default","geo_approximate","future_date","implausible_price","price_outlier_low","implausible_area","city_mismatch","admin_exceeds_rent","admin_suspicious","stratum_mismatch"]}},"photo":{"type":"string","format":"uri","description":"The cover photo: our 1280 px copy (under /f/…webp on our domain), only when it exists. Never the source's URL."},"photo_thumbnail":{"type":"string","format":"uri","description":"The same cover at 480 px (our copy)."},"description":{"type":"string","description":"Only on listings published on Lonja Radar."},"photos":{"type":"array","items":{"type":"string","format":"uri"},"description":"Only on listings published on Lonja Radar."},"attribution_required":{"type":"object","required":["text","url"],"description":"Only on listings published on Lonja Radar: if you show it, say it comes from Lonja Radar (`text`) and link to the listing (`url`).","properties":{"text":{"type":"string","examples":["Listing published on Lonja Radar"]},"url":{"type":"string","format":"uri"}}}}},"ListingDetail":{"allOf":[{"$ref":"#/components/schemas/Listing"},{"type":"object","required":["area_comparison"],"properties":{"area_comparison":{"oneOf":[{"type":"null"},{"type":"object","required":["area","is_neighborhood","basis","scope","median_price_per_m2","listing_count","difference_pct","verdict","text"],"description":"Homes for rent (basis rent_by_bedrooms): the monthly rent against the rent asked for the same type and number of bedrooms (bedrooms; 0 = all, for studios and rooms) in its neighborhood or its sector (scope), with median_rent, rent_p25 and rent_p75 (where half of them ask) and compared_with in words; median_price_per_m2 is null. Everything else (basis price_per_m2): the price per m² against the median of its neighborhood. Without a reference backed by at least 8 listings (a furnished home, one that does not say its bedrooms, or only the whole city's median, which mixes very different neighborhoods), difference_pct and verdict are null and text says why; for price_per_m2 the city median may come as context only (scope city, is_neighborhood false).","properties":{"area":{"type":"string"},"is_neighborhood":{"type":"boolean"},"basis":{"type":"string","enum":["rent_by_bedrooms","price_per_m2"]},"scope":{"oneOf":[{"type":"string","enum":["neighborhood","sector","city"]},{"type":"null"}]},"median_price_per_m2":{"oneOf":[{"type":"integer"},{"type":"null"}]},"listing_count":{"type":"integer"},"compared_with":{"type":"string"},"bedrooms":{"oneOf":[{"type":"integer"},{"type":"null"}]},"median_rent":{"oneOf":[{"type":"integer"},{"type":"null"}]},"rent_p25":{"oneOf":[{"type":"integer"},{"type":"null"}]},"rent_p75":{"oneOf":[{"type":"integer"},{"type":"null"}]},"difference_pct":{"oneOf":[{"type":"integer"},{"type":"null"}]},"verdict":{"oneOf":[{"type":"string","enum":["below","in_line","above"]},{"type":"null"}]},"text":{"type":"string"}}}]},"attribution":{"type":"string"}}}]},"Place":{"type":"object","required":["name","slug","url"],"properties":{"name":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string","format":"uri"}}},"ListingsResponse":{"type":"object","required":["listings","page","limit","has_more","map_url","create_radar_url"],"properties":{"listings":{"type":"array","items":{"$ref":"#/components/schemas/Listing"}},"page":{"type":"integer"},"limit":{"type":"integer"},"has_more":{"type":"boolean"},"total":{"type":["integer","null"],"description":"How many properties (not listings) match. With total_exact false it is a lower bound (the 600 most recent candidates were checked). null with dedupe=false."},"total_exact":{"type":"boolean"},"city":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Place"}]},"map_url":{"type":"string","format":"uri","description":"The same filters on the map."},"create_radar_url":{"type":"string","format":"uri","description":"Link for the person to turn on a radar with these filters (requires their account). A radar cannot filter by locality or zone: the link covers the whole city."},"localities":{"type":"array","items":{"type":"string"},"description":"Since 2026-11-29, with locality or zone: the localities (or comunas) the search covered."},"zone":{"type":"string","description":"Since 2026-11-29, with zone: the zones asked for (norte, sur, oriente, occidente, centro), comma separated."},"note":{"type":"string"},"attribution":{"type":"string"}}},"TypePrice":{"type":"object","required":["type","name","median_price_per_m2","listing_count","url"],"properties":{"type":{"type":"string"},"name":{"type":"string"},"median_price_per_m2":{"type":"integer"},"listing_count":{"type":"integer"},"url":{"type":"string","format":"uri"}}},"NeighborhoodPrice":{"type":"object","required":["name","slug","median_price_per_m2","listing_count","vs_city_pct","url"],"properties":{"name":{"type":"string"},"slug":{"type":"string"},"median_price_per_m2":{"type":"integer"},"listing_count":{"type":"integer"},"vs_city_pct":{"type":"integer"},"url":{"type":"string","format":"uri"}}},"RentByBedrooms":{"type":"object","description":"Homes for rent: the monthly rent asked in a neighborhood (groups backed by at least 8 listings). median_rent, rent_p25 and rent_p75 are for all bedrooms (null when only some sizes have enough listings).","properties":{"name":{"type":"string"},"slug":{"type":"string"},"listing_count":{"type":"integer"},"median_rent":{"oneOf":[{"type":"integer"},{"type":"null"}]},"rent_p25":{"oneOf":[{"type":"integer"},{"type":"null"}]},"rent_p75":{"oneOf":[{"type":"integer"},{"type":"null"}]},"by_bedrooms":{"type":"array","items":{"type":"object","properties":{"bedrooms":{"type":"integer","description":"1, 2, 3 or 4 (= 4 or more)."},"listing_count":{"type":"integer"},"median_rent":{"type":"integer"},"rent_p25":{"type":"integer"},"rent_p75":{"type":"integer"}}}},"url":{"type":"string","format":"uri"}}},"PricesResponse":{"type":"object","required":["city","operation","unit","window_days","basis","method"],"properties":{"city":{"$ref":"#/components/schemas/Place"},"operation":{"type":"string","enum":["sale","rent"]},"unit":{"type":"string"},"window_days":{"type":"integer"},"method":{"type":"string"},"basis":{"type":"string","enum":["rent_by_bedrooms","price_per_m2"],"description":"rent_by_bedrooms for homes for rent with a home type (then neighborhood and neighborhoods are RentByBedrooms and there is no city figure); price_per_m2 otherwise."},"note":{"type":"string"},"type":{"type":"string"},"types":{"type":"array","items":{"$ref":"#/components/schemas/TypePrice"},"description":"Without type: the median of each type in the city."},"city_median":{"type":"object","properties":{"median_price_per_m2":{"type":"integer"},"listing_count":{"type":"integer"},"url":{"type":"string","format":"uri"}}},"neighborhood":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/NeighborhoodPrice"},{"$ref":"#/components/schemas/RentByBedrooms"},{"type":"string"}]},"neighborhoods":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/NeighborhoodPrice"},{"$ref":"#/components/schemas/RentByBedrooms"}]},"description":"With type and no neighborhood: the neighborhoods (price per m²: most expensive first)."},"types_in_neighborhood":{"type":"array","items":{"type":"object"}},"types_in_city":{"type":"array","items":{"$ref":"#/components/schemas/TypePrice"}},"neighborhood_note":{"type":"string"},"evaluation":{"type":"object","description":"price_per_m2: against the neighborhood median; without a neighborhood with its own median the city median comes as context only and difference_pct and verdict are null. rent_by_bedrooms: the rent against the same type and number of bedrooms in the neighborhood or its sector (scope), with rent_p25–rent_p75; without them (or without the neighborhood or the bedrooms) difference_pct and verdict are null and text says why.","properties":{"price":{"type":"integer"},"area_m2":{"type":"integer"},"price_per_m2":{"type":"integer"},"bedrooms":{"oneOf":[{"type":"integer"},{"type":"null"}]},"basis":{"type":"string","enum":["rent_by_bedrooms","price_per_m2"]},"scope":{"oneOf":[{"type":"string","enum":["neighborhood","sector","city"]},{"type":"null"}]},"compared_with":{"type":"string"},"median_price_per_m2":{"type":"integer"},"listing_count":{"type":"integer"},"median_rent":{"type":"integer"},"rent_p25":{"type":"integer"},"rent_p75":{"type":"integer"},"difference_pct":{"oneOf":[{"type":"integer"},{"type":"null"}]},"verdict":{"oneOf":[{"type":"string","enum":["below","in_line","above"]},{"type":"null"}]},"text":{"type":"string"}}},"attribution":{"type":"string"}}},"Overview":{"type":"object","required":["active_listings","municipalities","new_today","advertisers","computed_at"],"properties":{"active_listings":{"type":["integer","null"]},"municipalities":{"type":["integer","null"]},"new_today":{"type":["integer","null"]},"advertisers":{"type":["integer","null"]},"computed_at":{"type":["string","null"],"format":"date-time"},"note":{"type":"string"},"attribution":{"type":"string"}}},"Stats":{"type":"object","required":["computed_at","today","series","csv"],"properties":{"computed_at":{"type":"string","format":"date-time"},"today":{"type":"object","properties":{"day":{"type":"string","format":"date"},"new_listings":{"type":["integer","null"]},"active_listings":{"type":["integer","null"]},"municipalities":{"type":["integer","null"]}}},"series":{"type":"object","description":"One property per series (all of them, or the one requested in `series`).","properties":{"new-per-day":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date"},"sale":{"type":"integer"},"rent":{"type":"integer"}}}},"day-of-week":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string"},"average":{"type":"integer"}}}},"active-by-city":{"type":"array","items":{"type":"object","properties":{"city":{"type":"string"},"listing_count":{"type":"integer"}}}},"active-by-type":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"listing_count":{"type":"integer"}}}},"rent-by-city":{"type":"array","items":{"$ref":"#/components/schemas/CityWeeklyPrice"}},"sale-price-per-m2-by-city":{"type":"array","items":{"$ref":"#/components/schemas/CityWeeklyPrice"}},"neighborhoods-this-week":{"type":"object","properties":{"colombia":{"type":"array","items":{"type":"object","properties":{"city":{"type":"string"},"neighborhood":{"type":"string"},"listing_count":{"type":"integer"}}}},"by_city":{"type":"array","items":{"type":"object","properties":{"city":{"type":"string"},"neighborhoods":{"type":"array","items":{"type":"object","properties":{"neighborhood":{"type":"string"},"listing_count":{"type":"integer"}}}}}}}}},"daily-history":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date"},"active":{"type":["integer","null"]},"sale":{"type":["integer","null"]},"rent":{"type":["integer","null"]}}}}}},"csv":{"type":"object","description":"The CSV path of each series.","additionalProperties":{"type":"string"}},"note":{"type":"string"},"attribution":{"type":"string"}}},"CityWeeklyPrice":{"type":"object","properties":{"city":{"type":"string"},"median_cop":{"type":"integer"},"listing_count":{"type":"integer"},"weeks":{"type":"array","items":{"type":"object","properties":{"week":{"type":"string","format":"date","description":"The Monday of the week."},"median_cop":{"type":"integer"},"listing_count":{"type":"integer"}}}}}},"CitiesResponse":{"type":"object","required":["total","cities"],"properties":{"total":{"type":"integer"},"cities":{"type":"array","items":{"type":"object","required":["name","slug","reference_listings","url","neighborhoods_url"],"properties":{"name":{"type":"string"},"slug":{"type":"string"},"reference_listings":{"type":"integer"},"location":{"oneOf":[{"type":"null"},{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"}}}]},"url":{"type":"string","format":"uri"},"neighborhoods_url":{"type":"string","format":"uri"}}}},"attribution":{"type":"string"}}},"NeighborhoodsResponse":{"type":"object","required":["city","neighborhoods"],"properties":{"city":{"$ref":"#/components/schemas/Place"},"neighborhoods":{"type":"array","items":{"type":"object","required":["name","slug","listing_count","prices"],"properties":{"name":{"type":"string"},"slug":{"type":"string"},"listing_count":{"type":"integer"},"location":{"oneOf":[{"type":"null"},{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"}}}]},"prices":{"type":"array","items":{"type":"object","properties":{"operation":{"type":"string"},"type":{"type":"string"},"basis":{"type":"string","enum":["rent_by_bedrooms","price_per_m2"],"description":"rent_by_bedrooms for homes for rent: judge them by `rent`, not by the m²."},"median_price_per_m2":{"type":"integer"},"listing_count":{"type":"integer"},"rent":{"$ref":"#/components/schemas/RentByBedrooms"},"url":{"type":"string","format":"uri"}}}}}}},"attribution":{"type":"string"}}}}}}