Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

coinmarketcap-cli-api

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coinmarketcap-cli-api

API for accessing information oncoinmarketcap.com

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

coinmarketcap-api

An API for querying coinmarketcap.com

Install

$ npm install coinmarketcap-cli-api

API

getMarkets(currency)

Returns a list maps containing market information by exchange

[
{ Exchange: 'Bitfinex',
  Pair: 'BTC/USD',
  'Volume (%)': '11.10%',
  'Volume (24h)': '$252,068,000',
  Price: '$7078.40' },
{ Exchange: 'bitFlyer',
  Pair: 'BTC/JPY',
  'Volume (%)': '5.99%',
  'Volume (24h)': '$136,021,000',
  Price: '$7175.06' },
  ...
]

getMarketCap(currency)

Returns a map

{
    "Symbol": "BTC",
    "Currency": "Bitcoin",
    "Market cap": "$100,000,000,000"
}
  • coinmarketcap-cli
  • discord-coinmarketcap-bot

License

Apache 2.0 © Eric Crosson

Keywords

FAQs

Package last updated on 08 Nov 2017

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