🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@goat-sdk/plugin-coingecko

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goat-sdk/plugin-coingecko

latest
Source
npmnpm
Version
0.2.10
Version published
Weekly downloads
236
4.42%
Maintainers
2
Weekly downloads
 
Created
Source
GOAT

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

  • 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

Pro API Tools

  • 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


Keywords

ai

FAQs

Package last updated on 10 Mar 2025

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