0.0.29 • Published 8 months ago

coingecko-api-v3 v0.0.29

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

coingecko-api-v3

CI codecov version

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

Endpointfunctiontested?
/pingclient.ping()
/simple/priceclient.simplePrice()
/simple/token_price/:idclient.simplePriceId()
/simple/supported_vs_currenciesclient.simpleSupportedCurrencies()
/coins/listclient.coinList()
/coins/marketsclient.coinMarkets()
/coins/:idclient.coinId()
/coins/:id/tickersclient.coinIdTickers()
/coins/:id/historyclient.coinIdHistory()
/coins/:id/market_historyclient.coinIdMarketHistory()
/coins/id/market_chartclient.coinIdMarketChart()
/coins/{id}/market_chart/rangeclient.coinIdMarketChartRange()
/coins/{id}/status_updatesclient.coinIdStatusUpdates()
/coins/{id}/ohlcclient.coinIdOHLC()
/coins/{id}/contract/{contract_address}client.contract()
/coins/{id}/contract/{contract_address}/market_chart/client.contractMarketChart()
/coins/{id}/contract/{contract_address}/market_chart/rangeclient.contractMarketChartRange()
/exchangesclient.exchanges()
/exchanges/listclient.exchangeList()
/exchanges/{id}/tickersclient.exchangeIdTickers()
/exchanges/{id}/status_updateclient.exchangeIdStatusUpdates()
/exchanges/{id}/volume_chartclient.exchangeIdVolumeChart()
/finance_platformsclient.financePlatforms()
/finance_productsclient.financeProducts()
/indexesclient.indexes()
/indexes/{market_id}/{id}client.indexesMarketId()
/indexes/listclient.indexesList()
/indexes/list_by_market_and_id/{market_id}/{id}client.financeProducts()
/derivativesclient./derivatives()
/derivatives/exchangesclient./derivativesExchanges()
/derivatives/exchanges/{id}client./derivativesExchangesId()
/status_updatesclient.statusUpdates()
/exchange_ratesclient.exhangesRates()
/searchclient.search()
/search/trendingclient.trending()
/globalclient.global()
/status_updatesclient.statusUpdates()
/global/decentralized_finance_deficlient.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