Tracking live cryptocurrency prices across different exchanges can be achieved through various methods, including using APIs, dedicated websites, or custom scripts. Below are some options to help you track live cryptocurrency prices from different exchanges:
1. Dedicated Websites
Several websites aggregate cryptocurrency prices from multiple exchanges. Here are some popular ones:
a. CoinMarketCap
- Website: CoinMarketCap
- Features:
- Lists prices from multiple exchanges.
- Provides market cap, volume, and other metrics.
- Allows you to compare prices across exchanges for each cryptocurrency.
- Offers a “Exchanges” section where you can see the top exchanges and their trading pairs.
b. CoinGecko
- Website: CoinGecko
- Features:
- Aggregates prices from numerous exchanges.
- Provides detailed charts and historical data.
- Has an “Exchanges” page that lists exchanges and their trading volumes.
- Offers a “Coins” page where you can see prices from different exchanges for each coin.
c. CryptoCompare
- Website: CryptoCompare
- Features
- Aggregates data from over 200 exchanges.
- Provides detailed market data, including order books and trade history.
- Offers tools for comparing exchange rates and fees.
- Has an API for more advanced users.
2. APIs
If you prefer to build your own price tracker, you can use APIs provided by these platforms. Here are some popular APIs:
a. CoinMarketCap API
b. CoinGecko API
c. CryptoCompare API
3. Custom Scripts
You can write your own script to fetch and display cryptocurrency prices from multiple exchanges. Here’s a basic example using Python and the requests library:
import requests
import pandas as pd
# Function to get price from CoinMarketCap
def get_coinmarketcap_price(crypto_id):
url = f"https://pro-api.coinmarketcap.com/v1/cryptocurrency/quotes/latest"
parameters = {
'id': crypto_id,
'convert': 'USD'
}
headers = {
'X-CMC_PRO_API_KEY': 'your_api_key'
}
response = requests.get(url, headers=headers, params=parameters)
data = response.json()
return data['data'][str(crypto_id)]['quote']['USD']['price']
# Function to get price from CoinGecko
def get_coingecko_price(crypto_id):
url = f"https://api.coingecko.com/api/v3/simple/price"
parameters = {
'ids': crypto_id,
'vs_currencies': 'usd',
'include_exchanges': 'true'
}
response = requests.get(url, params=parameters)
data = response.json()
return data[crypto_id]['usd'], data[crypto_id]['exchanges']
# Example usage
crypto_ids = ['1', '1027'] # 1 = Bitcoin, 1027 = Ethereum on CoinMarketCap
coingecko_ids = ['bitcoin', 'ethereum']
cmc_prices = {id: get_coinmarketcap_price(id) for id in crypto_ids}
coingecko_prices = {id: get_coingecko_price(id)[0] for id in coingecko_ids}
print("CoinMarketCap Prices:")
print(cmc_prices)
print("CoinGecko Prices:")
print(coingecko_prices)
4. Trading Terminals and Platforms
Some trading platforms and terminals also provide live price tracking across multiple exchanges
a. TradingView
- Website: TradingView
- Features:
- Real-time price charts.
- Supports multiple exchanges.
- Advanced technical analysis tools.
- You can add multiple exchange prices for the same cryptocurrency to compare them on the chart
b. Bloomberg Terminal
- Website: Bloomberg
- Features:
- Real-time market data
- Comprehensive financial data, including crypto.
- Supports multiple exchanges
- Requires a subscription.
Choose the method that best suits your needs, whether you prefer ready-made solutions or custom development.