AI Prompts
CoinGecko API AI prompt library
Accelerate your development with CoinGecko's curated AI prompts. These prompts are designed to guide AI-powered coding assistants in correctly implementing our official API SDKs (libraries), helping you spend less time debugging and more time building.
How to Use Our Prompts
Integrating these prompts into your workflow is simple. Copy the entire markdown prompt for your chosen language and provide it as context to your AI assistant.
- For Chat Interfaces (Claude, ChatGPT, etc.): Paste the prompt at the beginning of your conversation before asking the AI to write code.
- For Cursor IDE: Add the prompt to your project's
Rules
to enforce the guidelines across all AI interactions. - For GitHub Copilot: Save the prompt to a file (e.g.
coingecko_rules.md
) and reference it in your chat with@workspace #coingecko_rules.md
.
Available Prompts
Select the prompt that matches your project's tech stack.
- π Python: A complete guide for implementing the CoinGecko API using our official coingecko-sdk.
- π¦ TypeScript: The definitive prompt for integrating the CoinGecko API with our official @coingecko/coingecko-typescript package.
Best Practices
To get the most out of our AI prompts, keep these tips in mind:
- Be Specific: After providing the main prompt, give the AI a clear, specific task (e.g. "Write a function to fetch the price of Bitcoin and Ethereum in EUR").
- Customize: Feel free to modify the prompts to fit your project's unique requirements or coding standards.
- Version Control: Store your customized prompts in your repository to ensure your entire team benefits from consistent AI-generated code.
- Always Review: Treat AI-generated code as a starting point. Always review it for security, performance, and correctness.
Updated 22 days ago