Graphrt

CoinGecko

Prices, ranked markets, coin details, market charts, OHLC, search, trending, categories and global stats

Stable v0.1.0 Node.js 15 actions
Use in Graphrt Desktop

About

A Graphrt plugin for the CoinGecko API v3: crypto prices, ranked market data, coin details, historical charts and OHLC candles, search, trending coins, categories and global market stats. It works without a key (the public API), with a free Demo key or with a paid Pro key. Every operation is a read, a workflow node and an agent tool.

What it can do

  • Prices: get_simple_price (by ids, names or symbols, with market cap, volume and 24h change), get_token_price (by contract address on a platform), list_supported_vs_currencies
  • Markets: get_coins_markets (ranked, filter by ids or category, paginated with limit/cursor), list_categories, get_global, get_exchange_rates (1 BTC in fiat and crypto)
  • Coins: list_coins, get_coin (localization, tickers, community and developer data off by default to keep the response small), search, get_trending
  • History: get_market_chart (last N days), get_market_chart_range (between dates), get_ohlc
  • api_request: any other endpoint, e.g. /coins/bitcoin/tickers or Pro-only /coins/top_gainers_losers (GET only for agents)

Actions

Each action is a step you can add to a workflow. Agents can also use most of them as tools.

  • Coin prices coingecko.get_simple_price
  • Token prices by contract coingecko.get_token_price
  • Supported quote currencies coingecko.list_supported_vs_currencies
  • List coins coingecko.list_coins
  • Coin market data coingecko.get_coins_markets
  • Coin details coingecko.get_coin
  • Coin market chart coingecko.get_market_chart
  • Coin market chart (date range) coingecko.get_market_chart_range
  • Coin OHLC candles coingecko.get_ohlc
  • Search coins coingecko.search
Show all 15 actions
  • Trending coins coingecko.get_trending
  • Global crypto market coingecko.get_global
  • Coin categories coingecko.list_categories
  • BTC exchange rates coingecko.get_exchange_rates
  • CoinGecko API request coingecko.api_request

Settings

Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.

  • COINGECKO_API_KEY Optional
    Demo or Pro key (CG-...). Without it the keyless public API is used
  • COINGECKO_API_PLAN Optional
    demo (default): api.coingecko.com with x-cg-demo-api-key. pro: pro-api.coingecko.com with x-cg-pro-api-key (a key is then required)

How to use it

In Graphrt Desktop

  1. Open Plugins and search for CoinGecko.
  2. Click Install and approve it.
  3. Follow the setup steps on the plugin's page, then paste the settings it needs.
  4. Describe a job that needs it, and the builder adds the steps.
Plugins in Graphrt Desktop

With the CLI

terminal
$ graphrt plugin install coingecko
workflow.yaml
- id: chart
  type: coingecko.get_market_chart
  coin_id: bitcoin
  vs_currency: idr
  days: "30"
  interval: daily
Plugins in the docs