tickers()
tickers(params?: { type?: string }): Promise<ApiResponse>
Get list of available cryptocurrency tickers.
Example
const tickers = await client.crypto.tickers();
ticker()
ticker(ticker: string): Promise<ApiResponse>
Get detailed information for a specific cryptocurrency.
Cryptocurrency ticker symbol (e.g., “BTC”)
Example
const info = await client.crypto.ticker('BTC');
prices()
prices(ticker: string, params?: { from?: string, to?: string, frame?: string }): Promise<ApiResponse>
Get historical price data for a cryptocurrency.
Cryptocurrency ticker symbol
Start date for price history
End date for price history
Time frame (e.g., “1d”, “1h”)
Example
const prices = await client.crypto.prices('BTC', {
from: '2024-01-01',
frame: '1h'
});