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.
- You will need a CoinGecko API key to use this plugin. You can get it from here.
npm install @goat-sdk/plugin-coingecko
yarn add @goat-sdk/plugin-coingecko
pnpm add @goat-sdk/plugin-coingecko
import { coingecko } from "@goat-sdk/plugin-coingecko";
const tools = await getOnChainTools({
plugins: [
coingecko({
apiKey: process.env.COINGECKO_API_KEY
})
]
});
import { coingecko } from "@goat-sdk/plugin-coingecko";
const tools = await getOnChainTools({
plugins: [
coingecko({
apiKey: process.env.COINGECKO_API_KEY,
isPro: true
})
]
});
- Get Trending Coins
- Get Coin Prices
- Search Coins
- Get Coin Price by Contract Address
- Get Coin Data
- Get Historical Data
- Get OHLC Data
- Get Trending Coin Categories
- Get Coin Categories
- Get Pool Data by Pool Address
- Get Trending Pools
- Get Trending Pools by Network
- Get Top Gainers/Losers
- Get Token Data by Token Address
- Get Tokens Info by Pool Address