0.0.29 • Published 2 years ago
coingecko-api-v3 v0.0.29
coingecko-api-v3
The nodejs api library for accessing coingecko api v3 , develop with typescript with zero dependencies
Get started
npm install coingecko-api-v3import { CoinGeckoClient } from 'coingecko-api-v3';
const client = new CoinGeckoClient({
timeout: 10000,
autoRetry: true,
});
const trendingSearch = await client.trending();Options
- timeout (optional): The http timeout, default 30s
- autoRetry (optional): Auto retry if the http response code is 429 - to many request
Supported API method
| Endpoint | function | tested? |
|---|---|---|
| /ping | client.ping() | ✅ |
| /simple/price | client.simplePrice() | ✅ |
| /simple/token_price/:id | client.simplePriceId() | ✅ |
| /simple/supported_vs_currencies | client.simpleSupportedCurrencies() | ✅ |
| /coins/list | client.coinList() | ✅ |
| /coins/markets | client.coinMarkets() | ✅ |
| /coins/:id | client.coinId() | ✅ |
| /coins/:id/tickers | client.coinIdTickers() | ✅ |
| /coins/:id/history | client.coinIdHistory() | ✅ |
| /coins/:id/market_history | client.coinIdMarketHistory() | ✅ |
| /coins/id/market_chart | client.coinIdMarketChart() | ✅ |
| /coins/{id}/market_chart/range | client.coinIdMarketChartRange() | ✅ |
| /coins/{id}/status_updates | client.coinIdStatusUpdates() | ✅ |
| /coins/{id}/ohlc | client.coinIdOHLC() | ✅ |
| /coins/{id}/contract/{contract_address} | client.contract() | ✅ |
| /coins/{id}/contract/{contract_address}/market_chart/ | client.contractMarketChart() | ✅ |
| /coins/{id}/contract/{contract_address}/market_chart/range | client.contractMarketChartRange() | ✅ |
| /exchanges | client.exchanges() | ✅ |
| /exchanges/list | client.exchangeList() | ✅ |
| /exchanges/{id}/tickers | client.exchangeIdTickers() | ✅ |
| /exchanges/{id}/status_update | client.exchangeIdStatusUpdates() | ✅ |
| /exchanges/{id}/volume_chart | client.exchangeIdVolumeChart() | ✅ |
| /finance_platforms | client.financePlatforms() | ✅ |
| /finance_products | client.financeProducts() | ✅ |
| /indexes | client.indexes() | ✅ |
| /indexes/{market_id}/{id} | client.indexesMarketId() | ✅ |
| /indexes/list | client.indexesList() | ✅ |
| /indexes/list_by_market_and_id/{market_id}/{id} | client.financeProducts() | ✅ |
| /derivatives | client./derivatives() | ✅ |
| /derivatives/exchanges | client./derivativesExchanges() | ✅ |
| /derivatives/exchanges/{id} | client./derivativesExchangesId() | ✅ |
| /status_updates | client.statusUpdates() | ✅ |
| /exchange_rates | client.exhangesRates() | ✅ |
| /search | client.search() | ✅ |
| /search/trending | client.trending() | ✅ |
| /global | client.global() | ✅ |
| /status_updates | client.statusUpdates() | ✅ |
| /global/decentralized_finance_defi | client.globalDefi() | ✅ |
Development
e
0.0.27
2 years ago
0.0.28
2 years ago
0.0.29
2 years ago
0.0.24
2 years ago
0.0.25
2 years ago
0.0.26
2 years ago
0.0.23
3 years ago
0.0.21
3 years ago
0.0.22
3 years ago
0.0.20
3 years ago
0.0.16
3 years ago
0.0.17
3 years ago
0.0.18
3 years ago
0.0.19
3 years ago
0.0.14
3 years ago
0.0.15
3 years ago
0.0.13
4 years ago
0.0.12
4 years ago
0.0.10
4 years ago
0.0.11
4 years ago
0.0.9
4 years ago
0.0.8
5 years ago
0.0.5
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.3
5 years ago
0.0.4
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago