Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

coingecko-api-v3

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coingecko-api-v3

The nodejs api library for accessing coingecko api v3 , develop with typescript

  • 0.0.24
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.6K
decreased by-6.54%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 22 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc