Socket
Socket
Sign inDemoInstall

cryptocompare

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cryptocompare

CryptoCompare JavaScript API


Version published
Weekly downloads
241
decreased by-15.14%
Maintainers
1
Weekly downloads
 
Created
Source

cryptocompare

npm travis standard

CryptoCompare JavaScript API

Install

npm install --save cryptocompare

Usage

Methods

coinList

Reference: https://www.cryptocompare.com/api/#-api-data-coinlist-

  • Signature: coinList()
  • Parameters: (none)
  • Returns: A Promise function that returns contains an associative array of coins.

Example:

var cc = require('cryptocompare')
cc.coinList()
.then(coinList => {
  console.dir(coinList.BTC)
})
.catch(console.error.bind(console)

Outputs:

{ Id: '1182',
  Url: '/coins/btc/overview',
  ImageUrl: '/media/19633/btc.png',
  Name: 'BTC',
  CoinName: 'Bitcoin',
  FullName: 'Bitcoin (BTC)',
  Algorithm: 'SHA256',
  ProofType: 'PoW',
  FullyPremined: '0',
  TotalCoinSupply: '21000000',
  PreMinedValue: 'N/A',
  TotalCoinsFreeFloat: 'N/A',
  SortOrder: '1' }

price

Reference: https://www.cryptocompare.com/api/#-api-data-price-

priceHistorical

https://www.cryptocompare.com/api/#-api-data-pricehistorical-

License

MIT

Keywords

FAQs

Package last updated on 01 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc