Skip to main content
Solana Agent Kit provides comprehensive integration with CoinGecko’s API for accessing market data, token information, and trending metrics. The integration supports both Pro and Demo API keys with fallback functionality.

Key Features

  • Token price data
  • Token information
  • Latest pools tracking
  • Trending pools analysis
  • Top gainers identification
  • Trending tokens discovery
  • Support for both Pro and Demo API
  • Configurable time ranges

Basic Usage

Getting Token Price Data

Getting Token Information

Getting Latest Pools

Getting Top Gainers

Configuration

API Key Setup

Time Range Options

API Response Types

Token Price Data

Pool Data

Important Notes

  1. API Key Requirements
    • Pro API key required for advanced endpoints
    • Demo API key supports basic endpoints
    • Some endpoints work without any key
  2. Rate Limits
    • Pro API: Higher rate limits
    • Demo API: Limited requests per minute
    • Public API: Lowest rate limits
  3. Data Freshness
    • Price data updated every minute
    • Pool data updated every 5 minutes
    • Trending data updated every hour

Best Practices

  1. API Key Management
  2. Error Handling
  3. Batch Processing

Technical Details

API Endpoints

Common Parameters

Example Use Cases

  1. Market Analysis
  2. Pool Discovery
  3. Token Research

Error Messages

Common error messages and their meanings: