Skip to content

deanvanniekerk/coindata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coindata

Complete list of crypto currencies with metadata

Build Status npm

Last Update: 2018-08-14
Total Coin Count: 2046

Install

npm install coindata

Usage

const coindata = require('coindata');

// Get complete list of coins
let coins = coindata.getAll();

// Get a single coin
let coin = coindata.getCoin('btc');

// Get a specifc coin atttribute
let name = coins.getCoin('btc', 'name');

Sample Coin Format

{
        "rank": 1,
        "symbol": "BTC",
        "name": "Bitcoin",
        "maxSupply": 21000000,
        "logoUrl32x32": "https://coinkraal.io/api/coins/BTC/logo",
        "links": [
            {
                "name": "reddit",
                "url": "https://www.reddit.com/r/bitcoin"
            },
            {
                "name": "website",
                "url": "https://bitcoin.org/"
            },
            {
                "name": "sourceCode",
                "url": "https://github.com/bitcoin/"
            },
            {
                "name": "explorer",
                "url": "https://blockchain.info/"
            }
        ]
    }

List of all possible coin links

  • twitter
  • reddit
  • website
  • sourceCode
  • telegram
  • announcement
  • explorer

Contributing

Pull requests are welcome to improve the code but please don't add currencies to coins.json directly. The JSON is automatically generated on a weekly basis.

License

MIT © Dean van Niekerk