ADAMANT InfoServices is a crypto and fiat currency rates service provider. It collects rates from MOEX, Currency-Api, ExchangeRate, Coinmarketcap, CryptoCompare and Coingecko and calculates cross-rates, and provides information via API.
It is own-hosted service run on your server, it stores all rates in local database, updated with refreshInterval frequency.
Features:
Collects rates from MOEX for fiat tickers
Collects rates from Currency-Api for fiat tickers
Collects rates from ExchangeRate (Currency-Api2) for fiat tickers
Collects rates from Coinmarketcap for crypto tickers
Collects rates from CryptoCompare for crypto tickers
Collects rates from Coingecko for crypto tickers
Own-hosted service
Reliable: uses different sources for one coin, and notifies about significant deviation
Minimum API calls. Free API keys fit.
Notifications in case of errors to Slack
Stores history on server, no need to make additional request
su - adamant
git clone https://github.com/Adamant-im/adamant-currencyinfo-services
cd ./adamant-currencyinfo-services
npm i
Pre-launch tuning
nano config.json
Parameters:
crypto_cmc List of coins to fetch rates from Coinmarketcap
crypto_cmc_coinids
crypto_cc List of coins to fetch rates from Cryptocompare
crypto_cg List of coins to fetch rates from Coingecko. Better use crypto_cg_coinids.
crypto_cg_coinids <string, array> List of Coingecko coin Ids to fetch rates from Coingecko. Used when one coin symbol is used for different coins. Coin ids can be seen on https://api.coingecko.com/api/v3/coins/list.
fiat
baseCoins List of coins to calculate all available pairs using crypto and fiat