Skip to main content
Full type safety and auto-complete — catch errors at compile time, not runtime.

Prompt for integrating CoinGecko TypeScript SDK

Or set up manually:
1

Install

View on npm | 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.