Skip to main content

tickers()

tickers(params?: { type?: string }): Promise<ApiResponse>
Get list of available cryptocurrency tickers.
params.type
string
Filter by crypto type

Example

const tickers = await client.crypto.tickers();

ticker()

ticker(ticker: string): Promise<ApiResponse>
Get detailed information for a specific cryptocurrency.
ticker
string
required
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.
ticker
string
required
Cryptocurrency ticker symbol
params.from
string
Start date for price history
params.to
string
End date for price history
params.frame
string
Time frame (e.g., “1d”, “1h”)

Example

const prices = await client.crypto.prices('BTC', {
  from: '2024-01-01',
  frame: '1h'
});