BETA

Returns the currencies available for publishing properties in a given country.

Resource information
AuthenticationRequired (API Token, Bearer)
HTTP MethodGET
ResponseJSON
Version1
Cache1 day

Resource URL

https://mapaprop.app/api/action/mapaprop-chat-ai-v1/currencies/{country}

Parameters

KeyTypeRequiredDescription
countrystringyesPath parameter. ISO country code (2 characters). Constants

Sample code

GET /api/action/mapaprop-chat-ai-v1/currencies/AR HTTP/1.1
Host: mapaprop.app
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Authorization: Bearer {access_token}

Response

ObjectFieldTypeRequiredDescription
ResponsecurrenciesArray of CurrencyyesCurrencies available for the country
CurrencycurrencyIdintyesInternal currency ID
zoneIdintyesID of the country the currency belongs to
symbolstringyesCurrency code (e.g. ARS, USD)
descriptionstringyesCurrency description

Sample response

{
    "currencies": [
        { "currencyId": 1, "zoneId": 1, "symbol": "ARS", "description": "Pesos" },
        { "currencyId": 2, "zoneId": 1, "symbol": "USD", "description": "Dólares" }
    ]
}

If the country path param does not have exactly 2 characters, or does not correspond to an ISO code recognized by Mapaprop, the service responds with an error.