Bitcoin Tracker Proxy is a NodeJS proxy to get the prices from Binance and Crypto Compare.
GO version: alejandrosnz/bitcoin-tracker-proxy-go
Install Node and then run the following command
npm install
Start the server with:
export CRYPTO_COMPARE_API_KEY="your_crypto_compare_api_key"
npm start
Alternatively, the following docker image can be used: alejandrosnz/bitcoin-tracker-proxy
docker pull alejandrosnz/bitcoin-tracker-proxy
docker run --publish 3000:3000 alejandrosnz/bitcoin-tracker-proxy
GET /api/ticker/current_price/:symbol
GET /api/ticker/current_price/BTC
{
"currentPrice": 61118.69
}
GET /api/ticker/closing_price/:symbol
GET /api/ticker/closing_price/BTC
{
"closingPrice": 62929.93
}