# Currencies Endpoint

Returns all our supported currencies

Currency types

Besides fiat currencies we also support precious metals (e.g. XAU, XAG, XPT, XPD) and popular crypto currencies (e.g. BTC, ETH). Every currency has a type of fiat, metal or crypto, and all data endpoints accept a type parameter to filter the results accordingly.

Request Method: GET
Request URL: https://api.fxapi.com/v1/currencies

# Request Parameters

Parameter Type Mandatory Description
apikey string Your API Key
currencies string A list of comma-separated currency codes which you want to get (EUR,USD,CAD)
The array form currencies[]=EUR&currencies[]=USD is also accepted
By default all available currencies will be shown
type string Filter the returned currencies by type
Possible Values: fiat, metal, crypto
By default currencies of all types are returned
as_html boolean When true, returns an HTML table of currency codes and names instead of a JSON payload
Default: false

# Sample Response

Each currency entry contains its type (fiat, metal or crypto) and the ISO 3166-1 alpha-2 codes of the countries using it.

{
    "data": {
        "AED": {
            "symbol": "AED",
            "name": "United Arab Emirates Dirham",
            "symbol_native": "د.إ",
            "decimal_digits": 2,
            "rounding": 0,
            "code": "AED",
            "name_plural": "UAE dirhams",
            "type": "fiat",
            "countries": ["AE"]
        },
        "BTC": {
            "symbol": "₿",
            "name": "Bitcoin",
            "symbol_native": "₿",
            "decimal_digits": 8,
            "rounding": 0,
            "code": "BTC",
            "name_plural": "Bitcoins",
            "type": "crypto",
            "countries": []
        },
        "...": {}
    }
}