home / skills / 2025emma / vibe-coding-cn / coingecko

coingecko skill

/i18n/zh/skills/coingecko

This skill helps you integrate CoinGecko API, access market data, and build crypto price trackers with best practices.

npx playbooks add skill 2025emma/vibe-coding-cn --skill coingecko

Review the files below or copy the command above to add this skill to your agents.

Files (15)
SKILL.md
2.5 KB
---
name: coingecko
description: CoinGecko API documentation - cryptocurrency market data API, price feeds, market cap, volume, historical data. Use when integrating CoinGecko API, building crypto price trackers, or accessing cryptocurrency market data.
---

# Coingecko Skill

Comprehensive assistance with coingecko development, generated from official documentation.

## When to Use This Skill

This skill should be triggered when:
- Working with coingecko
- Asking about coingecko features or APIs
- Implementing coingecko solutions
- Debugging coingecko code
- Learning coingecko best practices

## Quick Reference

### Common Patterns

*Quick reference patterns will be added as you use the skill.*

## Reference Files

This skill includes comprehensive documentation in `references/`:

- **authentication.md** - Authentication documentation
- **coins.md** - Coins documentation
- **contract.md** - Contract documentation
- **exchanges.md** - Exchanges documentation
- **introduction.md** - Introduction documentation
- **market_data.md** - Market Data documentation
- **nfts.md** - Nfts documentation
- **other.md** - Other documentation
- **pricing.md** - Pricing documentation
- **reference.md** - Reference documentation
- **trending.md** - Trending documentation

Use `view` to read specific reference files when detailed information is needed.

## Working with This Skill

### For Beginners
Start with the getting_started or tutorials reference files for foundational concepts.

### For Specific Features
Use the appropriate category reference file (api, guides, etc.) for detailed information.

### For Code Examples
The quick reference section above contains common patterns extracted from the official docs.

## Resources

### references/
Organized documentation extracted from official sources. These files contain:
- Detailed explanations
- Code examples with language annotations
- Links to original documentation
- Table of contents for quick navigation

### scripts/
Add helper scripts here for common automation tasks.

### assets/
Add templates, boilerplate, or example projects here.

## Notes

- This skill was automatically generated from official documentation
- Reference files preserve the structure and examples from source docs
- Code examples include language detection for better syntax highlighting
- Quick reference patterns are extracted from common usage examples in the docs

## Updating

To refresh this skill with updated documentation:
1. Re-run the scraper with the same configuration
2. The skill will be rebuilt with the latest information

Overview

This skill provides practical, developer-focused guidance for using the CoinGecko API to access cryptocurrency market data. It consolidates endpoint usage, common request patterns, and code examples so you can integrate price feeds, market cap, volume, and historical data quickly. The content is organized by topic for fast lookup during development.

How this skill works

The skill inspects and summarizes CoinGecko endpoints and parameters, showing how to call REST endpoints, handle pagination, and parse JSON responses. It highlights authentication nuances (CoinGecko is largely public), rate limits, and typical request/response shapes for coins, markets, exchanges, contracts, NFTs, and historical data. Use the references to view endpoint-specific examples and response fields for each feature.

When to use it

  • Building a crypto price tracker, portfolio app, or market dashboard
  • Integrating live price feeds or historical charts into a web or mobile app
  • Debugging CoinGecko API responses, parameter usage, or rate limit issues
  • Learning how to query coins, markets, exchanges, contracts, or NFTs
  • Automating market data collection, backtesting, or analytics pipelines

Best practices

  • Cache frequent price and market responses to reduce API calls and avoid rate limits
  • Respect rate limits and implement exponential backoff for 429 responses
  • Request only needed fields and use pagination for large lists to improve performance
  • Normalize coin identifiers (CoinGecko IDs) rather than relying on tickers to avoid ambiguity
  • Validate and sanitize API responses before persisting or displaying data

Example use cases

  • Fetch current price and 24h change for multiple coins to populate a live dashboard
  • Retrieve historical price series for charting or backtesting trading strategies
  • Query exchange tickers and volume to compare liquidity across markets
  • Get token contract data for tokens on a specific blockchain (e.g., Ethereum) to verify addresses and supply metrics
  • Collect trending coins and developer/social metrics for research and signal generation

FAQ

Do I need an API key to use CoinGecko?

No API key is required for most public endpoints, but you must respect rate limits and use caching to avoid request throttling.

How do I get reliable coin identifiers?

Use CoinGecko's coin list endpoint to map symbols to canonical CoinGecko IDs and store those IDs for subsequent queries.