Skip to main content
Pythonic and intuitive interface — write less code, ship faster.

Prompt for integrating CoinGecko Python SDK

Or set up manually:
1

Install

View on PyPI | GitHub
2

Import and authenticate

Replace YOUR_API_KEY with your key from the Developer Dashboard.
3

Make your first request

4

Find the right method

SDK methods map to endpoint paths. For example, /simple/price becomes client.simple.price.get(). Two ways to find the right method:
  1. Every endpoint page includes an SDK Examples section at the bottom with copy-ready code. For example, see the Coin Price by IDs page:
  2. Visit all methods to browse the full list with endpoint mappings.

Found a bug or missing feature? Open an issue.