List Currencies
curl --request GET \
--url https://mapi.boomfi.xyz/v1/currency/list \
--header 'X-API-KEY: <api-key>'import requests
url = "https://mapi.boomfi.xyz/v1/currency/list"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://mapi.boomfi.xyz/v1/currency/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mapi.boomfi.xyz/v1/currency/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mapi.boomfi.xyz/v1/currency/list"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mapi.boomfi.xyz/v1/currency/list")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mapi.boomfi.xyz/v1/currency/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"type": "Digital",
"symbol": "TON",
"name": "Toncoin",
"address": "",
"prefix": ""
},
{
"type": "Fiat",
"symbol": "USD",
"name": "US Dollar",
"address": "",
"prefix": "$",
"decimals": 2,
"coingecko_code": "usd",
"coinmarketcap_code": "usd"
},
{
"type": "Digital",
"symbol": "BNB",
"name": "BNB",
"address": "",
"prefix": ""
},
{
"type": "Fiat",
"symbol": "EUR",
"name": "Euro",
"address": "",
"prefix": "€",
"decimals": 2,
"coingecko_code": "eur",
"coinmarketcap_code": "eur"
},
{
"type": "Fiat",
"symbol": "BRL",
"name": "Brazil Real",
"address": "",
"prefix": "R$",
"decimals": 2,
"coingecko_code": "brl",
"coinmarketcap_code": "brl"
},
{
"type": "Fiat",
"symbol": "AED",
"name": "United Arab Emirates Dirham",
"address": "",
"prefix": "DH",
"decimals": 2,
"coingecko_code": "aed",
"coinmarketcap_code": "aed"
},
{
"type": "Fiat",
"symbol": "GBP",
"name": "British Pound Sterling",
"address": "",
"prefix": "£",
"decimals": 2,
"coingecko_code": "gbp",
"coinmarketcap_code": "gbp"
},
{
"type": "Fiat",
"symbol": "IDR",
"name": "Indonesian Rupiah",
"address": "",
"prefix": "Rp",
"decimals": 2,
"coingecko_code": "idr",
"coinmarketcap_code": "idr"
},
{
"type": "Fiat",
"symbol": "PLN",
"name": "Polish Zloty",
"address": "",
"prefix": "zł",
"decimals": 2,
"coingecko_code": "pln",
"coinmarketcap_code": "pln"
},
{
"type": "Fiat",
"symbol": "HKD",
"name": "Hong Kong Dollar",
"address": "",
"prefix": "HK$",
"decimals": 2,
"coingecko_code": "hkd",
"coinmarketcap_code": "hkd"
},
{
"type": "Digital",
"symbol": "WETH",
"name": "Ethereum",
"address": "",
"prefix": ""
},
{
"type": "Digital",
"symbol": "ETH",
"name": "Ethereum",
"address": "",
"prefix": "",
"decimals": 18
},
{
"type": "Digital",
"symbol": "USDCE",
"name": "USD Coin Bridged",
"address": "",
"prefix": ""
},
{
"type": "Digital",
"symbol": "USDC",
"name": "USDC",
"address": "",
"prefix": ""
},
{
"type": "Digital",
"symbol": "MATIC",
"name": "Polygon",
"address": "",
"prefix": "",
"decimals": 4
},
{
"type": "Digital",
"symbol": "TRX",
"name": "TRON",
"address": "",
"prefix": ""
},
{
"type": "Digital",
"symbol": "BTC",
"name": "Bitcoin",
"address": "",
"prefix": "",
"decimals": 5
},
{
"type": "Digital",
"symbol": "DAI",
"name": "Dai",
"address": "",
"prefix": ""
},
{
"type": "Digital",
"symbol": "SOL",
"name": "Solana",
"address": "",
"prefix": "",
"decimals": 9
},
{
"type": "Digital",
"symbol": "USDT",
"name": "Tether USDt",
"address": "",
"prefix": ""
},
{
"type": "Digital",
"symbol": "ARB",
"name": "Arbitrum",
"address": "",
"prefix": ""
},
{
"type": "Fiat",
"symbol": "SGD",
"name": "Singapore Dollar",
"address": "",
"prefix": "S$",
"decimals": 2,
"coingecko_code": "sgd",
"coinmarketcap_code": "sgd"
},
{
"type": "Fiat",
"symbol": "JPY",
"name": "Japanese Yen",
"address": "",
"prefix": "¥",
"coingecko_code": "jpy",
"coinmarketcap_code": "jpy"
}
]{
"error": {
"code": 400,
"errors": [
{
"domain": "orders",
"reason": "InsufficientQuantity"
}
],
"message": "Insufficient quantity"
}
}Networks
List Currencies
Enabled fiat and digital currencies. The body is a JSON array, not the data envelope. The example is a production snapshot; the live list is whatever is enabled for the API host.
GET
/
currency
/
list
List Currencies
curl --request GET \
--url https://mapi.boomfi.xyz/v1/currency/list \
--header 'X-API-KEY: <api-key>'import requests
url = "https://mapi.boomfi.xyz/v1/currency/list"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://mapi.boomfi.xyz/v1/currency/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mapi.boomfi.xyz/v1/currency/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://mapi.boomfi.xyz/v1/currency/list"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mapi.boomfi.xyz/v1/currency/list")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mapi.boomfi.xyz/v1/currency/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"type": "Digital",
"symbol": "TON",
"name": "Toncoin",
"address": "",
"prefix": ""
},
{
"type": "Fiat",
"symbol": "USD",
"name": "US Dollar",
"address": "",
"prefix": "$",
"decimals": 2,
"coingecko_code": "usd",
"coinmarketcap_code": "usd"
},
{
"type": "Digital",
"symbol": "BNB",
"name": "BNB",
"address": "",
"prefix": ""
},
{
"type": "Fiat",
"symbol": "EUR",
"name": "Euro",
"address": "",
"prefix": "€",
"decimals": 2,
"coingecko_code": "eur",
"coinmarketcap_code": "eur"
},
{
"type": "Fiat",
"symbol": "BRL",
"name": "Brazil Real",
"address": "",
"prefix": "R$",
"decimals": 2,
"coingecko_code": "brl",
"coinmarketcap_code": "brl"
},
{
"type": "Fiat",
"symbol": "AED",
"name": "United Arab Emirates Dirham",
"address": "",
"prefix": "DH",
"decimals": 2,
"coingecko_code": "aed",
"coinmarketcap_code": "aed"
},
{
"type": "Fiat",
"symbol": "GBP",
"name": "British Pound Sterling",
"address": "",
"prefix": "£",
"decimals": 2,
"coingecko_code": "gbp",
"coinmarketcap_code": "gbp"
},
{
"type": "Fiat",
"symbol": "IDR",
"name": "Indonesian Rupiah",
"address": "",
"prefix": "Rp",
"decimals": 2,
"coingecko_code": "idr",
"coinmarketcap_code": "idr"
},
{
"type": "Fiat",
"symbol": "PLN",
"name": "Polish Zloty",
"address": "",
"prefix": "zł",
"decimals": 2,
"coingecko_code": "pln",
"coinmarketcap_code": "pln"
},
{
"type": "Fiat",
"symbol": "HKD",
"name": "Hong Kong Dollar",
"address": "",
"prefix": "HK$",
"decimals": 2,
"coingecko_code": "hkd",
"coinmarketcap_code": "hkd"
},
{
"type": "Digital",
"symbol": "WETH",
"name": "Ethereum",
"address": "",
"prefix": ""
},
{
"type": "Digital",
"symbol": "ETH",
"name": "Ethereum",
"address": "",
"prefix": "",
"decimals": 18
},
{
"type": "Digital",
"symbol": "USDCE",
"name": "USD Coin Bridged",
"address": "",
"prefix": ""
},
{
"type": "Digital",
"symbol": "USDC",
"name": "USDC",
"address": "",
"prefix": ""
},
{
"type": "Digital",
"symbol": "MATIC",
"name": "Polygon",
"address": "",
"prefix": "",
"decimals": 4
},
{
"type": "Digital",
"symbol": "TRX",
"name": "TRON",
"address": "",
"prefix": ""
},
{
"type": "Digital",
"symbol": "BTC",
"name": "Bitcoin",
"address": "",
"prefix": "",
"decimals": 5
},
{
"type": "Digital",
"symbol": "DAI",
"name": "Dai",
"address": "",
"prefix": ""
},
{
"type": "Digital",
"symbol": "SOL",
"name": "Solana",
"address": "",
"prefix": "",
"decimals": 9
},
{
"type": "Digital",
"symbol": "USDT",
"name": "Tether USDt",
"address": "",
"prefix": ""
},
{
"type": "Digital",
"symbol": "ARB",
"name": "Arbitrum",
"address": "",
"prefix": ""
},
{
"type": "Fiat",
"symbol": "SGD",
"name": "Singapore Dollar",
"address": "",
"prefix": "S$",
"decimals": 2,
"coingecko_code": "sgd",
"coinmarketcap_code": "sgd"
},
{
"type": "Fiat",
"symbol": "JPY",
"name": "Japanese Yen",
"address": "",
"prefix": "¥",
"coingecko_code": "jpy",
"coinmarketcap_code": "jpy"
}
]{
"error": {
"code": 400,
"errors": [
{
"domain": "orders",
"reason": "InsufficientQuantity"
}
],
"message": "Insufficient quantity"
}
}Authorizations
Response
OK
Token contract address when this value is a token. Empty for a chain-agnostic currency.
CoinGecko identifier. Omitted when unset.
CoinMarketCap identifier. Omitted when unset.
Decimal places used for amounts. Omitted when unset.
Minimum billing amount. Omitted when unset.
Display name.
Display prefix, for example $. Empty when the currency has none.
Currency symbol, for example USDC or USD.
Fiat or Digital.
Available options:
Fiat, Digital