With a myriad of new cryptocurrency exchanges popping up every quarter, lots of newcomers to this field can be overwhelmed by their number. Big names can quickly stand out if you filter the list according to daily trading volume or the total number of cryptocurrencies available for trading. Some offer decent liquidity but some are newly born rising stars.
In this quick note, we will show a few-liner in Python that allows to extract the most recent update on general information on crypto-exchanges. It can be a very good starting point to commence your own research and grasp the feeling on how big this new world is.
CryptoCompare’s REST API provides with a general info on all exchanges, including 24h volume, they have an exposure and interest in. They allow to fetch the data making use of the following URL address:
import requests import json from bs4 import BeautifulSoup # data URL url = "https://min-api.cryptocompare.com/data/exchanges/general" # fetch the raw data response = requests.get(url) soup = BeautifulSoup(response.content, "html.parser") dic = json.loads(soup.prettify(), strict=False) # convert from json to dictionary
The code above transforms a raw output into Python dictionary. The exchange data are identified by 289 IDs, as in the moment of writing this note:
ids = list(dic['Data'].keys()) print(len(ids)) print(ids)
This database stores quite useful information on various exchanges. We can check any record by hand, picking up the ID randomly, e.g.:
print(dic['Data'][ids[43]])
what returns:
{'Id': '37377', 'Name': 'Quoine', 'Url': '/exchanges/quoine/overview', 'LogoUrl': '/media/1381996/quoine.png', 'ItemType': ['Cryptocurrency', 'Fiat'], 'CentralizationType': 'Centralized', 'InternalName': 'Quoine', 'GradePoints': 0, 'Grade': '-', 'GradePointsSplit': {'Legal': '0', 'KYCAndTransactionRisk': '0', 'Team': '0', 'DataProvision': '0', 'AssetQualityAndDiversity': '0', 'MarketQuality': '0', 'Security': '0', 'NegativeReportsPenalty': '0'}, 'AffiliateURL': 'https://www.quoine.com/', 'Country': 'Japan', 'OrderBook': False, 'Trades': True, 'Description': 'Quoine exchange is a Japanese Bitcoin and Ether exchange. It allows users to exchange BTC and ETH for multiple national currencies. Quoine currently offers 0% fees on all pairs except ETHBTC and margin trading with leverage starting at 2X and up to 25X. Quoine has other special features like\xa0futures trading, algo trading, and even lending to earn interest on your deposits.', 'FullAddress': '2-7-3 Hirakawacho Chiyoda-ku, Tóquio Japão', 'Fees': 'Trading fee for base currency pairs is zero.\n\nTrading fee for non-base currency pairs:\nBTC and BCH pairs: 0.25%\nETH pairs: 0.1%', 'DepositMethods': 'Wire Transfer: 0%\nBitcoin: 0%\nEther: 0%', 'WithdrawalMethods': 'Wire Transfer and Crypto\n\nFiat withdrawal fee:\nUSD: 5 USD\nSGD: 5 SGD\nEUR: 5 EUR\nAUD: 5 AUD\nJPY: QUOINEX fee: 500 JPY\nLocal bank fee (applied only if recipient bank account is local): 716 JPY\nIDR: 1% of withdrawal amount, minimum 20,000 IDR\nINR: 325 INR\n\nCrypto withdrawal fee: zero until further notice', 'Sponsored': False, 'Recommended': False, 'Rating': {'One': 5, 'Two': 0, 'Three': 2, 'Four': 0, 'Five': 1, 'Avg': 2.6, 'TotalUsers': 8}, 'SortOrder': '51', 'TOTALVOLUME24H': {'BTC': 0}, 'DISPLAYTOTALVOLUME24H': {'BTC': 'Ƀ 0'}}
In order to get the list of these crypto-exchanges allowing for fiat currency to be used, you can simply list them all in a plain loop:
for i in ids: if 'Fiat' in dic['Data'][i]['ItemType']: print(dic['Data'][i]['Name']) print(dic['Data'][i]['AffiliateURL']) print(dic['Data'][i]['ItemType']) print(dic['Data'][i]['DepositMethods']) print('---')
The exemplary output can be generated:
Bitstamp https://www.bitstamp.net/ ['Cryptocurrency', 'Fiat'] Cryptocurrencies and Fiat. --- Bittrex https://bittrex.com ['Cryptocurrency', 'Stable Coins', 'Tokens', 'Fiat'] Cryptocurrencies and Fiat. --- OKCoin https://www.okcoin.com/join?channelId=600006168 ['Cryptocurrency', 'Stable Coins', 'Fiat'] Cryptocurrencies and Fiat. --- Kraken https://r.kraken.com/z37qM ['Cryptocurrency', 'Derivatives', 'Stable Coins', 'Tokens', 'Fiat'] Cryptocurrencies and Fiat. --- Bitfinex https://bitfinex.com/?refcode=-Dkl7lkv ['Cryptocurrency', 'Derivatives', 'Stable Coins', 'Tokens', 'Fiat'] Cryptocurrencies and Fiat. --- Cex.io https://cex.io/r/0/up110861111/0/ ['Cryptocurrency', 'Tokens', 'Fiat'] Credit Card, Debit Card, Wire Transfer, Skrill, SEPA USD: 3.5% + 0.25 USD for Visa, MasterCard EUR: 3.5% + 0.24 EUR for Visa, MasterCard RUB: 5.25% + 15.57 RUB for Visa, MasterCard GBP: 3.5% + 0.20 GBP for Visa, MasterCard --- Yacuna https://yacuna.com/ ['Cryptocurrency', 'Fiat'] Sofort, iDeal, Sepa, PayCo --- Coinbase https://coinbase-consumer.sjv.io/OABJK ['Cryptocurrency', 'Stable Coins', 'Tokens', 'Fiat'] Cryptocurrencies and Fiat. --- LocalBitcoins https://localbitcoins.com/?ch=irs1 ['Cryptocurrency', 'Fiat'] LocalBitcoins features several payment methods and others can be arranged with the buyer/seller: Cash by Mail Cash Deposit Credit Card International wire Moneygram National bank transfer Neteller PayPal PaySafe Card SEPA Western Union Others. --- itBit https://www.itbit.com ['Cryptocurrency', 'Fiat'] Cryptocurrencies and Fiat (Sepa, Wire Transfer, Giro, Fast). --- BTC38 http://www.btc38.com/ ['Cryptocurrency', 'Fiat'] Bank Transfer ...
There is no guarantee that all listed exchanges in this way are (currently) accepting fiat currencies as an option for payments/deposits but worth giving a shot! There is more information in each record which you may find interesting. And as I mentioned in the beginning… a good starting point to crypto-trading experience.
1 comment