Skip to content

Bitcoin Tracker Proxy is a NodeJS proxy to get the prices from Binance and Crypto Compare.

Notifications You must be signed in to change notification settings

alejandrosnz/bitcoin-tracker-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitcoin Tracker Proxy

Bitcoin Tracker Proxy is a NodeJS proxy to get the prices from Binance and Crypto Compare.

GO version: alejandrosnz/bitcoin-tracker-proxy-go

Installation

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

Usage

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
}

About

Bitcoin Tracker Proxy is a NodeJS proxy to get the prices from Binance and Crypto Compare.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published