Loading
Loading
https://api.apifreaks.com/v1.0/currency/supported
1. Open the Authorizations dropdown and Verify your API key.
2. Click Run to see the live response here.
$ pip install requestsimport requests
url = "https://api.apifreaks.com/v1.0/currency/supported"
payload = {}
headers = {
'X-apiKey': ''
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
| Field | Type | Requirement | Description |
|---|---|---|---|
| supportedCurrenciesMap | Map | Mandatory | A map of all supported currencies, keyed by the currency code. Each entry contains detailed information about the currency. |
| supportedCurrenciesMap.[currencyCode] | Object | Mandatory | An object containing details for a specific currency identified by its currency code. |
| currencyCode | String | Mandatory | The unique code representing the currency (e.g., USD, FJD, AGLD). |
| currencyName | String | Mandatory | The full name of the currency (e.g., Fiji Dollar, Adventure Gold). |
| countryCode | String | Mandatory | The ISO 3166-1 alpha-2 country code associated with the currency. For cryptocurrencies, the value is "Crypto". |
| countryName | String | Mandatory | The name of the country associated with the currency. For cryptocurrencies, the value is "Global". |
| status | String | Mandatory | The current availability status of the currency. Possible values are AVAILABLE or DEPRECIATED. |
| availableFrom | String | Mandatory | The date (format YYYY-MM-DD) from which this currency became available in the system. |
| availableUntil | String | Mandatory | The date (format YYYY-MM-DD) until which this currency is or was available. For DEPRECIATED currencies, this marks the end date. |
| icon | String | Mandatory | A URL pointing to the icon/flag image associated with the currency. |