Get Crypto Ticker
get_crypto_tickerFetch the current public ticker (last/bid/ask/24h stats) for a crypto trading pair on one exchange. No API key needed.
Args:
symbol: 'BASE/QUOTE' pair, e.g. 'BTC/USDT', 'ETH/USDT', 'BTC/KRW' (default BTC/USDT)
exchange: binance | upbit | bithumb | coinbase | kraken | okx | bybit | gateio (default binance)
Returns: {exchange, symbol, last, bid, ask, high_24h, low_24h, base_volume_24h, quote_volume_24h, timestamp}. Prices are in the QUOTE currency (raw numbers, no scaling). Cached ~10s.
Examples:
"current bitcoin price" -> {symbol:'BTC/USDT'}
"BTC price in Korea" -> {symbol:'BTC/KRW', exchange:'upbit'}
Don't use for candles/history (get_crypto_ohlcv) or cross-exchange premium (compare_crypto_exchanges).
Errors: unknown symbol -> check BASE/QUOTE format and the exchange's market list (upbit/bithumb use KRW quotes); geo-blocked exchange -> try okx.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | Trading pair as BASE/QUOTE, e.g. 'BTC/USDT' or 'BTC/KRW' | BTC/USDT |
| exchange | No | Exchange: binance | upbit | bithumb | coinbase | kraken | okx | bybit | gateio (default binance). Note: binance may be geo-blocked in some regions. | binance |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ask | No | ||
| bid | No | ||
| last | No | ||
| symbol | Yes | ||
| low_24h | No | ||
| exchange | Yes | ||
| high_24h | No | ||
| timestamp | No | ||
| base_volume_24h | No | ||
| quote_volume_24h | No |