CoinsImp..::..GetCoinTickersAsync Method

Get coin tickers.

IMPORTANT:

Ticker object is limited to 100 items per page. Ticker is_stale is true when ticker has not been updated/unchanged from the exchange for a while. Ticker is_anomaly is true if ticker's price is outliered by our system. You are responsible for managing how you want to display these information(e.g.footnote, different background, change opacity, hide).

Namespace:  CoinGeckoAPI.Imps
Assembly:  CoinGeckoAPI (in CoinGeckoAPI.dll)

Syntax


public Task<CoinTickersResponse> GetCoinTickersAsync(
	string id,
	IEnumerable<string> exchange_ids,
	bool include_exchange_logo,
	uint page,
	CoinTickersOrderBy order,
	bool depth
)
Public Function GetCoinTickersAsync ( _
	id As String, _
	exchange_ids As IEnumerable(Of String), _
	include_exchange_logo As Boolean, _
	page As UInteger, _
	order As CoinTickersOrderBy, _
	depth As Boolean _
) As Task(Of CoinTickersResponse)

Parameters

id
Type: String
The id of the coin cryptocurrency. See GetCoinsListAsync(Boolean).
exchange_ids
Type: IEnumerable<(Of <(<'String>)>)>
Filter results by exchange_ids (GetExchangesListAsync()()()()).
include_exchange_logo
Type: Boolean
if set to true include exchange logo in response.
page
Type: UInt32
Page through results.
order
Type: CoinGeckoAPI.Types..::..CoinTickersOrderBy
The ordering of the results (sort CoinTickersOrderBy).
depth
Type: Boolean
Set to true to include 2% orderbook depth in the response.

Return Value

A Task<CoinTickersResponse> representing the asynchronous operation.

Exceptions


ExceptionCondition
ArgumentNullExceptionid - Invalid value. Value must be a valid coin id (EX: bitcoin, ethereum)
ArgumentOutOfRangeExceptionpage - Must be a valid page index starting from 1.