coingecko

Integrate CoinGecko on-chain API for Solana token prices, pools, and OHLCV data.

1|1|Updated May 21, 2026
One-click install
npx skills add https://github.com/naruto11eth/cryptoskills --skill coingecko-naruto11eth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coingecko
Source: https://github.com/naruto11eth/cryptoskills/tree/main/skills/coingecko
Command: npx skills add https://github.com/naruto11eth/cryptoskills --skill coingecko-naruto11eth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI agents and developers lack accurate, up-to-date knowledge of CoinGecko's on-chain API endpoints, authentication headers, rate limits, and Solana-specific identifiers, leading to broken integrations, hallucinated addresses, and failed requests. ## Core Features & Use Cases - Token Price Feeds: Fetch single or batched token prices by contract address with market cap, 24h volume, and price change data. - Pool & DEX Analytics: Query pool liquidity, trending pools, recent trades, and filter pools across 1,700+ DEXes like Raydium, Orca, and Pump.fun using the megafilter endpoint. - OHLCV Charts: Retrieve candlestick data at minute, hour, and day timeframes for technical analysis and charting. - Use Case: Build a portfolio tracker that polls SOL, JUP, and BONK prices every 30 seconds, displays hourly OHLCV charts for a Raydium pool, and monitors trending Solana pools. ## Quick Start Set the COINGECKO_API_KEY environment variable and ask the agent to fetch the current SOL price and trending Solana pools using the CoinGecko on-chain API.

Frequently Asked Questions about coingecko

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get Solana token prices from the CoinGecko API?

Call GET /simple/networks/solana/token_price/{addresses} with your API key in the x-cg-demo-api-key or x-cg-pro-api-key header. You can batch up to 30 addresses on the Demo plan or 100 on Pro, and optionally include market cap, 24h volume, and price change.

How to fetch OHLCV candlestick data for a Solana pool?

Use GET /networks/solana/pools/{pool_address}/ohlcv/{timeframe} with timeframe set to day, hour, or minute. Control granularity with the aggregate parameter (1, 5, 15 for minute; 1, 4, 12 for hour) and retrieve up to 1000 candles per request.

What is the difference between CoinGecko Demo and Pro API?

Demo uses api.coingecko.com with the x-cg-demo-api-key header and allows 30 calls per minute, while Pro uses pro-api.coingecko.com with x-cg-pro-api-key and supports 500 to 1000 calls per minute depending on plan. Pro also allows more addresses per batch request and unlimited pagination.

Why does the CoinGecko API return 429 errors?

A 429 error means you exceeded your plan's rate limit, such as 30 calls per minute on the Demo tier. Implement a sliding-window rate limiter, batch token requests into single calls, and cache frequently accessed data to stay within limits.

Why does market cap return null for some Solana tokens?

Market cap is null when CoinGecko has not verified the token's supply data. Use the FDV value as a fallback or pass the mcap_fdv_fallback=true query parameter to automatically substitute FDV when market cap is unavailable.

How do I filter Solana pools by DEX like Raydium or Pump.fun?

Use the GET /pools/megafilter endpoint with networks=solana and a comma-separated dexes parameter such as raydium or pump-fun. You can also set minimum liquidity and 24h volume thresholds and sort by pool creation date.