Skip to main content

Overview

Retrieve a list of all trading pairs (markets) available on a specific cryptocurrency exchange, including price data, volume, and trust scores.

Usage

coinpaprika-cli exchange-markets <exchange_id> [OPTIONS]

Arguments

exchange_id
string
required
The unique identifier for the exchange (e.g., binance, coinbase, kraken)

Options

limit
number
default:"50"
Maximum number of markets to return
quotes
string
default:"USD"
Comma-separated list of quote currencies for price data (e.g., USD,BTC)
output
string
default:"table"
Output format: table or json
raw
boolean
default:"false"
Output raw JSON without metadata wrapper (useful for scripting)

Examples

Get top 10 markets on Binance

coinpaprika-cli exchange-markets binance --limit 10

Get Coinbase markets with BTC prices

coinpaprika-cli exchange-markets coinbase --quotes BTC --limit 20

Get Kraken markets as JSON

coinpaprika-cli exchange-markets kraken --output json

Find high-volume trading pairs

coinpaprika-cli exchange-markets binance --limit 50 --quotes USD

Response

The command returns a list of markets on the exchange:
[
  {
    "pair": "BTC/USDT",
    "base_currency_id": "btc-bitcoin",
    "base_currency_name": "Bitcoin",
    "quote_currency_id": "usdt-tether",
    "quote_currency_name": "Tether",
    "market_url": "https://www.binance.com/en/trade/BTC_USDT",
    "category": "Spot",
    "fee_type": "Percentage",
    "outlier": false,
    "reported_volume_24h_share": 12.5,
    "quotes": {
      "USD": {
        "price": 42500.75,
        "volume_24h": 3000000000
      }
    },
    "trust_score": "high",
    "last_updated": "2024-01-02T15:30:00Z"
  }
]

Response Fields

pair
string
Trading pair symbol (e.g., BTC/USDT, ETH/BTC)
base_currency_id
string
CoinPaprika ID of the base currency
base_currency_name
string
Display name of the base currency
quote_currency_id
string
CoinPaprika ID of the quote currency
quote_currency_name
string
Display name of the quote currency
market_url
string
Direct link to trade this pair on the exchange
category
string
Market category (e.g., Spot, Perpetual, Futures)
fee_type
string
Type of trading fee structure
outlier
boolean
Whether this market’s price is an outlier compared to other exchanges
reported_volume_24h_share
number
Percentage of the exchange’s total volume from this market
quotes
object
Price and volume data in requested quote currencies
trust_score
string
CoinPaprika trust score for this market (e.g., high, medium, low)
last_updated
string
ISO 8601 timestamp of last data update

Notes

  • Markets are ordered by volume (highest first)
  • The outlier flag helps identify suspicious pricing
  • Trust scores help assess market reliability
  • All values may be null if data is unavailable
  • Available on free tier
  • Use --limit to control response size

Build docs developers (and LLMs) love