0.0.29 • Published 8 months 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-v3
import { 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
9 months ago
0.0.28
9 months ago
0.0.29
8 months ago
0.0.24
12 months ago
0.0.25
12 months ago
0.0.26
11 months ago
0.0.23
1 year ago
0.0.21
1 year ago
0.0.22
1 year ago
0.0.20
1 year ago
0.0.16
1 year ago
0.0.17
1 year ago
0.0.18
1 year ago
0.0.19
1 year ago
0.0.14
2 years ago
0.0.15
2 years ago
0.0.13
3 years ago
0.0.12
3 years ago
0.0.10
3 years ago
0.0.11
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.5
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.3
3 years ago
0.0.4
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago