Token Operations
CoinGecko Market Data Integration
Learn how to fetch market data, token information, and trends using CoinGecko
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 Trending Pools
Getting Top Gainers
Getting Trending Tokens
Configuration
API Key Setup
Time Range Options
API Response Types
Token Price Data
Pool Data
Important Notes
-
API Key Requirements
- Pro API key required for advanced endpoints
- Demo API key supports basic endpoints
- Some endpoints work without any key
-
Rate Limits
- Pro API: Higher rate limits
- Demo API: Limited requests per minute
- Public API: Lowest rate limits
-
Data Freshness
- Price data updated every minute
- Pool data updated every 5 minutes
- Trending data updated every hour
Best Practices
-
API Key Management
-
Error Handling
-
Batch Processing
Technical Details
API Endpoints
Common Parameters
Example Use Cases
-
Market Analysis
-
Pool Discovery
-
Token Research
Error Messages
Common error messages and their meanings:
Was this page helpful?