Abstraxn Agent Kit supports CoinGecko market data and GeckoTerminal on-chain analytics using your CoinGecko API key (BYOK). Agents call the data_and_analytics MCP tool; responses are read-only — no wallet signing or on-chain transactions. The sample web app includes a Portfolio & Price predefined specialist agent (?serviceAgent=portfolio) tuned for balances, spot prices, charts, and — when CoinGecko is enabled — richer market and on-chain datasets via data_and_analytics.

Plans

PlanAPI baseWhen to use
demohttps://api.coingecko.com/api/v3Development and light usage
prohttps://pro-api.coingecko.com/api/v3Production workloads and higher rate limits
Get keys from CoinGecko (Demo or Pro depending on your plan).

Dashboard setup

  1. Open Agentic Stack → Integrations for your application.
  2. Enable CoinGecko.
  3. Select plan (demo or pro) and paste your API key.
  4. Save — credentials are encrypted server-side and included in agent validation for MCP calls.
CoinGecko credentials are stored per application, not per end user. All agents under that app share the integration when enabled.

MCP tool: data_and_analytics

Requires CoinGecko enabled in Integrations. If disabled, the tool returns COINGECKO_NOT_ENABLED with setup instructions.
ParameterRequiredDescription
actionYesDataset to fetch (see actions below)
coin_idFor some actionsCoinGecko coin id (e.g. ethereum, bitcoin)
queryFor searchSearch text
vs_currencyNoQuote currency for price actions (default usd)
networkFor on-chain actionsGeckoTerminal network slug (e.g. eth, solana, base)
token_addressFor on-chain token actionsContract address
pool_addressFor onchain_poolPool address
limitNoMax rows for list actions (default 20, max 100)
daysNoLookback for charts (default 30)
from_date / to_dateFor market_chart_rangeISO dates YYYY-MM-DD
durationNoFor top_gainers_losers (e.g. 24h)
sortNoFor onchain_megafilter (e.g. pool_created_at_desc)

Aggregated market actions (CoinGecko API)

actionDescription
coin_priceSpot price for one or more coins
coin_marketsMarket table (cap, volume, change)
global_marketTotal crypto market stats
global_defiDeFi market overview
searchSearch coins, categories, exchanges
trendingTrending coins
coin_detailFull coin metadata
categoriesCategory list
market_chartHistorical price/volume/market cap
market_chart_rangeChart between two dates
ohlcOHLC candle data
top_gainers_losersTop movers for a duration
exchangesExchange list
pingAPI health check

On-chain actions (GeckoTerminal)

actionDescription
onchain_token_priceDEX token price on a network
onchain_poolPool details
onchain_trending_poolsTrending pools
onchain_new_poolsRecently created pools
onchain_megafilterFiltered pool discovery
onchain_token_infoOn-chain token metadata
Example tools/call (application API key — include agent_id when required):

Portfolio & Price specialist chat

In the sample web app, open chat with ?serviceAgent=portfolio (or pick Portfolio & Price from the agent category picker). The backend:
  • Filters tools to read-only portfolio and market calls
  • Injects Portfolio-specific system prompts (no transfers, swaps, or paid APIs)
  • Uses wallet tools (get_balance, get_token_price, token_chart, etc.) for holdings and simple prices
  • Uses data_and_analytics when CoinGecko is enabled for global markets, trending, gainers/losers, and GeckoTerminal on-chain data
The Portfolio agent is read-only. For transfers use ?serviceAgent=transfer; for swaps use Uniswap, LiFi, Jupiter, or 1inch agents.

get_token_price vs data_and_analytics

ToolCoinGecko BYOKBehavior
get_token_priceNot requiredSimple spot price via public CoinGecko API; subject to x402 spend policy on paid tiers
data_and_analyticsRequiredFull CoinGecko + GeckoTerminal datasets using your plan and API key
Enable CoinGecko when agents need market tables, trending lists, historical charts beyond token_chart, or on-chain pool analytics.

Errors

CodeMeaning
COINGECKO_NOT_ENABLEDIntegration disabled or missing plan/key in dashboard
RATE_LIMITEDCoinGecko rate limit — retry later or upgrade plan
NOT_FOUNDUnknown coin, network, or pool
INVALID_INPUTMissing or invalid action / parameters
TIMEOUTUpstream request timed out

Third-party integrations

BYOK overview, architecture, and deployment.

MCP tools reference

Full tool catalog including data_and_analytics.

Full-stack integration

Sample backend + web app with category agents and chat.

Dashboard setup

Agentic Stack navigation and Integrations tab.