Develop the skills of trading
from first steps to advanced strategies
No Credit Card Required
Learn For Free Nowhttps://coinlib.io/api/v1
. Use GET
to access the API. remaining
requests you can do until the beginning of the next hour. /global
/coinlist
/coin
JSON
. Whole numbers (number of coins, rank, timestamps) are returned as integers. Decimal numbers are returned as strings, using a .
as a decimal point and having up to 10 precision digits. { "error": "Unknown pref symbol.", "remaining": 53 }
/global
key
: API key
pref
: symbol to use for prices and other market values. Default is USD. https://coinlib.io/api/v1/global?key=XXX&pref=EUR
{ "coins": 4329, "markets": 13648, "total_market_cap": "207058335320.66", "total_volume_24h": "10413469137.11", "last_updated_timestamp": 1528975469, "remaining": 540 }
/coinlist
key
: API key pref
: symbol to use for prices and other market values. Default is USD. page
: integer, starting from 1. For now we return 100 results per page, but this may change without warning. order
:
rank_asc
rank_desc
volume_asc
volume_desc
price_asc
price_desc
date_inserted_asc
date_inserted_desc
https://coinlib.io/api/v1/coinlist?key=XXX&pref=BTC&page=1&order=volume_desc
{ "coins": [ { "symbol": "ETH", "show_symbol": "ETH", "name": "Ethereum", "rank": 2, "price": "0.078420138035523", "market_cap": "7847729.8474137", "volume_24h": "260650.1638446", "delta_24h": "5.91" }, {...}, {...}, ], "last_updated_timestamp": 1565321123, "remaining": 84 }
/coin
key
: API key symbol
: single coin symbol or a comma separated list of symbols pref
: symbol to use for prices and other market values. Default is USD. https://coinlib.io/api/v1/coin?key=XXX&pref=EUR&symbol=BTC
{ "symbol": "BTC", "show_symbol": "BTC", "name": "Bitcoin", "rank": 1, "price": "5524.7112165586", "market_cap": "94433817003.39", "total_volume_24h": "6378793658.5432", "low_24h": "5324.2665427149", "high_24h": "5561.0068476948", "delta_1h": "0.81", "delta_24h": "0.68", "delta_7d": "-15.26", "delta_30d": "-25.26", "markets": [ { "symbol": "EUR", "volume_24h": "123707000", "price": "5524.7112165586", "exchanges": [ { "name": "Kraken", "volume_24h": "50623900", "price": "5520" }, { "name": "Bitfinex", "volume_24h": "19314700", "price": "5512.6" }, {...} ] }, {...}, {...} ], "last_updated_timestamp": 1528987416, "remaining": 1133 }Notes:
symbol
: Always unique. show_symbol
: The symbol the coin is using. Some coins use the same symbol as other coins. total_volume_24h
: The total volume for all markets this coin participates converted in your pref
currency.
markets
: We show the top 3 pairs for the selected coin. If your pref
currency is traded then it is always included first. exchanges
: The top 3 exchanges by volume for the pair. https://coinlib.io/api/v1/coin?key=XXX&pref=EUR&symbol=BTC,ETH,XMR
{ "coins": [ {}, {}, ... ], "remaining": 534 }
Free Online trading courses
Develop the skills of trading
from first steps to advanced strategies
No Credit Card Required
Learn For Free Now