GET/v1/currencies
ISO 4217 currencies in circulation with minor units, symbols and where they are used
PARAMETERS
- qquery · string
- Substring of the name or an entity using ite.g. dollar
- kindquery · enum
- `special` = funds, metals and test codes (X…)one of: currency, special
REQUEST
curl "https://api.apialmanac.com/v1/currencies" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.get("https://api.apialmanac.com/v1/currencies", headers={"X-API-Key": "YOUR_KEY"})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://api.apialmanac.com/v1/currencies", {
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"count": 1,
"currencies": [
{
"code": "EUR",
"name": "Euro",
"numeric": "978",
"minor_unit": 2,
"symbol": "€",
"kind": "currency",
"entities": [
"Andorra",
"Austria",
"Belgium"
]
}
]
}