Skip to main content

GET /api/propiedades/

Retrieve detailed information about a specific property using its unique code. This endpoint is public and does not require authentication.

Request

id
string
required
The unique 6-character property identifier (e.g., “ZN1001”)
curl https://idforideas-1.jamrdev.com.ar/api/propiedades/ZN1001

Response

Returns a single property object.
codigo_id
string
required
Unique 6-character property identifier (e.g., “ZN1001”)
pais
string
required
Country where the property is located (e.g., “Argentina”)
ciudad
string
required
City where the property is located (e.g., “Tigre”)
direccion
string
required
Street address of the property (e.g., “Av. Cazón 123”)
ambientes
number
required
Number of rooms in the property
metros_cuadrados
number
required
Property size in square meters
precio
number
required
Property price in local currency
tipo_contratacion
enum
required
Type of contract. Possible values: Alquiler (Rent) or Venta (Sale)
estado
enum
required
Current status of the property. Possible values: Disponible (Available), Reservado (Reserved), Alquilado (Rented), Vendido (Sold)
descripcion
string
Optional description or additional details about the property

Example Response

Success (200)
{
  "codigo_id": "ZN1001",
  "pais": "Argentina",
  "ciudad": "Tigre",
  "direccion": "Av. Cazón 123",
  "ambientes": 3,
  "metros_cuadrados": 75.5,
  "precio": 120000,
  "tipo_contratacion": "Venta",
  "estado": "Disponible",
  "descripcion": "Hermosa vista al río"
}
Not Found (404)
{
  "error": "Propiedad no encontrada"
}

Status Codes

200
Success
Property found and returned successfully
404
Not Found
Property with the specified ID does not exist

Build docs developers (and LLMs) love