PROD

List the types of properties by country

Resource information
AuthenticationRequired
HTTP MethodGET
ResponseJSON
Version1

Resource URL

https://mapaprop.app/api/action/portal-v2/settings/types/{country}

Parameters

KeyTypeRequiredDescription
countrystringyesThe ISO code for the country. Constants

Sample code

GET /api/action/portal-v2/settings/types/CH HTTP/1.1
Host: mapaprop.app
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Authorization: Bearer {access_token}

Response

A JSON object with the property types in that country's catalog, keyed by their code.

ObjectFieldTypeRequiredDescription
ResponsetypesObjectyesA code → name map. The key is a string

Code 23 is Desarrollo Inmobiliario (real estate development), and a property of that type is not just another property: it is the project that groups units. It carries its own group of fields — see the development group.

It returns the catalog of the country, not what a given agency has published. The same list in Express API has a different shape —an array of {id, description}— and a different scope. They are not interchangeable.

{
    "types": {
        "1": "Departamento",
        "2": "Casa",
        "3": "Quinta",
        "4": "Terreno",
        "5": "Campo",
        "6": "Cochera",
        "7": "Oficina",
        "8": "Galpón",
        "9": "Local Comercial",
        "10": "PH",
        "11": "Duplex",
        "12": "Fondo Comercio",
        "13": "Isla",
        "14": "Hotel",
        "15": "Garage",
        "16": "Chacra",
        "17": "Complejo Turístico",
        "18": "Triplex",
        "19": "Edificio",
        "20": "Loft",
        "21": "Cabaña",
        "22": "Otro Inmueble",
        "23": "Desarrollo Inmobiliario"
    }
}