Get information about available currencies [Public]

Get available currencies and their information.

This is a public route, no need for authorization.

Method name:/v4/public/currencies?type={type}
Request type:GET

Data dictionary

NameTypeParameter typeRequiredRangeDescription
typestringQUERYNO-Asset type. For cryptocurrency assets - Crypto, for fiat assets - Fiat

📘

If you do not specify the type, you will get information about all currencies.

Exemplary request

Example pathDescription
/v4/public/currencies?type=CryptoReturns information about available cryptocurrencies
/v4/public/currencies?type=FiatReturns information about available fiat assets
const url = "https://api.kuna.io";
const path = "/v4/public/currencies?type=Crypto";
const options = {
  headers: {
    accept: "application/json",
  },
};

fetch(url + path, options)
  .then((response) => response.json())
  .then((showResponse) => console.log(showResponse.data));
import requests

url = "https://api.kuna.io"
path = "/v4/public/currencies?type=Crypto"
headers = {
    "accept": "application/json"
}

request = requests.get(url + path, headers=headers)
print(request.json())

How to call public endpoints here

Swagger here

Response

[
    {
      "code": "BTC",
      "name": "Bitcoin",
      "payload": {
        "chart": "https://kuna-pro.kuna.io/bitcoin-chart",
        "icons": {
          "svg": "https://kuna-pro.kuna.io/icon-btc-svg",
          "png2x": "https://kuna-pro.kuna.io/icon-btc-png2x",
          "png3x": "https://kuna-pro.kuna.io/icon-btc-png3x",
          "svgXL": "https://kuna-pro.kuna.io/icon-btc-svg"
        },
        "pngChart": "https://kuna-pro.kuna.io/png-bitcoin-chart"
      },
      "position": 1,
      "precision": 8,
      "tradePrecision": 6,
      "type": "Crypto"
    }
]