IndexesImp..::..GetIndexAsync Method
Get market index by market id and index id.
Namespace:
CoinGeckoAPI.ImpsAssembly: CoinGeckoAPI (in CoinGeckoAPI.dll)
Syntax
Parameters
- market_id
- Type: String
The market id (can be obtained from GetExchangesListAsync()()()()).
- id
- Type: String
The index id (can be obtained from GetIndexesListAsync()()()()).
Return Value
A Task<IndexItem> representing the asynchronous operation.Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | market_id - Invalid value. Value must be a valid market id (EX: cme_futures) |
| ArgumentNullException | id - Invalid value. Value must be a valid index id (EX: btc) |

