0.2.10 • Published 9 months ago

@goat-sdk/plugin-coingecko v0.2.10

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

CoinGecko GOAT Plugin

Get tools to access market data, prices, and onchain analytics through the CoinGecko API. Use both the public and pro APIs to fetch detailed information about coins, tokens, pools, and market trends.

Requirements

  • You will need a CoinGecko API key to use this plugin. You can get it from here.

Installation

npm install @goat-sdk/plugin-coingecko
yarn add @goat-sdk/plugin-coingecko
pnpm add @goat-sdk/plugin-coingecko

Setup for the Public API

import { coingecko } from "@goat-sdk/plugin-coingecko";

const tools = await getOnChainTools({
    plugins: [
        coingecko({ 
            apiKey: process.env.COINGECKO_API_KEY 
        })
    ]
});

Setup for the Pro API

import { coingecko } from "@goat-sdk/plugin-coingecko";

const tools = await getOnChainTools({
    plugins: [
        coingecko({ 
            apiKey: process.env.COINGECKO_API_KEY,
            isPro: true
        })
    ]
});

Tools

Public API Tools

  1. Get Trending Coins
  2. Get Coin Prices
  3. Search Coins
  4. Get Coin Price by Contract Address
  5. Get Coin Data
  6. Get Historical Data
  7. Get OHLC Data
  8. Get Trending Coin Categories
  9. Get Coin Categories

Pro API Tools

  1. Get Pool Data by Pool Address
  2. Get Trending Pools
  3. Get Trending Pools by Network
  4. Get Top Gainers/Losers
  5. Get Token Data by Token Address
  6. Get Tokens Info by Pool Address
0.2.10

9 months ago

0.2.9

10 months ago

0.2.8

11 months ago

0.2.7

11 months ago

0.2.6

11 months ago

0.2.5

11 months ago

0.2.4

12 months ago

0.2.3

12 months ago

0.2.2

12 months ago

0.2.1

12 months ago

0.2.0

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago