Skip to main content

Commands Overview

Exchange commands provide data about cryptocurrency exchanges:
  • exchanges - List all exchanges
  • exchange - Get detailed info about an exchange
  • exchange-markets - Get markets on an exchange

List Exchanges

coinpaprika-cli exchanges [OPTIONS]
List cryptocurrency exchanges with volume and ranking data.

Options

  • --limit <NUMBER> - Maximum number of results (default: 50)
  • --quotes <CURRENCIES> - Currency quotes, comma-separated (default: USD)

Examples

coinpaprika-cli exchanges --limit 10

Response Fields

Basic information:
  • id - Exchange identifier (e.g., binance, coinbase)
  • name - Exchange name
  • adjusted_rank - Adjusted ranking
  • reported_rank - Self-reported ranking
  • active - Whether exchange is active
  • website_status - Website availability
  • api_status - API availability
Metrics:
  • currencies - Number of currencies listed
  • markets - Number of trading pairs
  • fiats - Supported fiat currencies
  • confidence_score - Trust/confidence score
  • markets_data_fetched - Whether market data is available
Volume data (per quote currency):
  • reported_volume_24h - Self-reported 24h volume
  • adjusted_volume_24h - Adjusted 24h volume
  • reported_volume_7d - 7-day reported volume
  • adjusted_volume_7d - 7-day adjusted volume
  • reported_volume_30d - 30-day reported volume
  • adjusted_volume_30d - 30-day adjusted volume
Additional:
  • description - Exchange description
  • links - Social links and website
  • message - Status message
  • last_updated - Last update timestamp

Get Exchange Details

coinpaprika-cli exchange <EXCHANGE_ID> [OPTIONS]
Get comprehensive information about a specific exchange.

Arguments

  • <EXCHANGE_ID> - Exchange identifier (e.g., binance, coinbase)

Options

  • --quotes <CURRENCIES> - Currency quotes, comma-separated (default: USD)

Examples

coinpaprika-cli exchange binance

Get Exchange Markets

coinpaprika-cli exchange-markets <EXCHANGE_ID> [OPTIONS]
Get all trading markets (pairs) available on an exchange.

Arguments

  • <EXCHANGE_ID> - Exchange identifier

Options

  • --limit <NUMBER> - Maximum number of results (default: 50)
  • --quotes <CURRENCIES> - Currency quotes, comma-separated (default: USD)

Examples

coinpaprika-cli exchange-markets binance --limit 10

Response Fields

  • pair - Trading pair (e.g., BTC/USD)
  • base_currency_id, base_currency_name - Base currency
  • quote_currency_id, quote_currency_name - Quote currency
  • market_url - Direct link to trading pair
  • category - Market category
  • fee_type - Fee structure type
  • outlier - Whether market is an outlier
  • reported_volume_24h_share - Volume share percentage
  • trust_score - Market trust score
  • quotes - Price and volume by quote currency:
    • price - Current pair price
    • volume_24h - 24-hour volume
  • last_updated - Last update timestamp

Finding Exchange IDs

Exchange IDs are lowercase identifiers:
# Search for an exchange
coinpaprika-cli search binance --categories exchanges

# List exchanges to browse IDs
coinpaprika-cli exchanges --limit 50
Common exchange IDs:
  • binance
  • coinbase-exchange
  • kraken
  • bitfinex
  • okex
  • huobi
  • kucoin
  • bitstamp

Practical Examples

Compare Exchange Volumes

# Compare top 5 exchanges
coinpaprika-cli exchanges --limit 5 --output json --raw | \
  jq '.[] | {name, volume_24h: .quotes.USD.adjusted_volume_24h}'

Find Best Markets for a Coin

# Find where Bitcoin trades on Binance
coinpaprika-cli exchange-markets binance --limit 100 --output json --raw | \
  jq '.[] | select(.base_currency_id == "btc-bitcoin")'

Check Exchange Status

# Monitor exchange availability
exchanges=("binance" "coinbase-exchange" "kraken")
for ex in "${exchanges[@]}"; do
  status=$(coinpaprika-cli exchange $ex --output json --raw | jq -r '.website_status')
  echo "$ex: $status"
done

Find High-Volume Markets

# Top 10 markets by volume on Binance
coinpaprika-cli exchange-markets binance --limit 100 --output json --raw | \
  jq 'sort_by(-.quotes.USD.volume_24h) | .[:10] | .[] | {pair, volume: .quotes.USD.volume_24h}'

Exchange Rankings

# Compare adjusted vs reported ranks
coinpaprika-cli exchanges --limit 10 --output json --raw | \
  jq '.[] | {name, adjusted_rank, reported_rank}'

Understanding Volume Metrics

Reported vs Adjusted Volume

Reported Volume: Self-reported by the exchange (may be inflated) Adjusted Volume: CoinPaprika’s adjusted figure based on:
  • Wash trading detection
  • Trust score analysis
  • Historical patterns

Which to Use?

Use adjusted volume for:
  • Comparing exchanges
  • Evaluating liquidity
  • Making trading decisions
Use reported volume for:
  • Checking exchange claims
  • Regulatory reporting
  • Due diligence

Trust and Confidence Scores

Exchanges include confidence scores:
# View confidence scores
coinpaprika-cli exchanges --limit 20 --output json --raw | \
  jq '.[] | {name, confidence_score}'
Higher scores indicate:
  • More reliable volume data
  • Better API uptime
  • Stronger regulatory compliance
  • Lower wash trading

Use Cases

Exchange Research

# Evaluate an exchange before trading
coinpaprika-cli exchange binance
coinpaprika-cli exchange-markets binance --limit 50

Liquidity Analysis

# Find most liquid exchanges
coinpaprika-cli exchanges --limit 20 | grep -A1 "adjusted_volume"

Market Discovery

# Find where specific pairs trade
coinpaprika-cli exchange-markets binance | grep "BTC/USDT"

Arbitrage Opportunities

# Compare prices across exchanges
for ex in binance coinbase-exchange kraken; do
  echo "$ex BTC/USD:"
  coinpaprika-cli exchange-markets $ex --output json --raw | \
    jq '.[] | select(.pair == "BTC/USD") | .quotes.USD.price'
done

API Details

  • List Exchanges: /exchanges
  • Exchange Details: /exchanges/{exchange_id}
  • Exchange Markets: /exchanges/{exchange_id}/markets
  • Method: GET
  • Rate Limit: Counts toward your monthly limit
  • Update Frequency: ~10 minutes (free tier)

Build docs developers (and LLMs) love