ExchangesImp..::..GetExchangeTickersAsync Method

Get exchange tickers (paginated, 100 tickers per page).

* Ticker object is limited to 100 items per page

* Ticker is_stale is true when ticker that 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<ExchangeTickersResponse> GetExchangeTickersAsync(
	string id,
	IEnumerable<string> coin_ids,
	bool include_exchange_logo,
	uint page,
	bool depth,
	CoinTickersOrderBy order
)
Public Function GetExchangeTickersAsync ( _
	id As String, _
	coin_ids As IEnumerable(Of String), _
	include_exchange_logo As Boolean, _
	page As UInteger, _
	depth As Boolean, _
	order As CoinTickersOrderBy _
) As Task(Of ExchangeTickersResponse)

Parameters

id
Type: String
The exchange id (can be obtained from GetExchangesListAsync()()()()).
coin_ids
Type: IEnumerable<(Of <(<'String>)>)>
Filter tickers by coin_ids (GetCoinsListAsync(Boolean)).
include_exchange_logo
Type: Boolean
Set to true to include exchange logo in response.
page
Type: UInt32
Page through results.
depth
Type: Boolean
Set to true to include 2% orderbook depth i.e., cost_to_move_up_usd and cost_to_move_down_usd.
order
Type: CoinGeckoAPI.Types..::..CoinTickersOrderBy
The ordering of results (sorting) CoinTickersOrderBy. Default: trust_score_desc.

Return Value

A Task<ExchangeTickersResponse> representing the asynchronous operation.

Exceptions


ExceptionCondition
ArgumentNullExceptionid - Invalid value. Value must be a valid exchange id (EX: bitstamp)
ArgumentNullExceptioncoin_ids - Invalid value. Value must be a valid enumerable of coin ids (EX: bitcoin, ethereum)