CoinGecko CLI is a command-line tool for accessing cryptocurrency market data from the CoinGecko API.
It is aimed at developers, analysts, and terminal users who want live prices, historical data, market rankings, trending assets, and exportable data without using a web browser.
The software provides both standard command-line output and an interactive terminal interface. It supports real-time price lookups, market-cap ranked coin lists, historical price queries, category filtering, CSV export, JSON output for scripting, and live WebSocket streaming for supported API tiers.
This is free and open source software.
Key Features
- Access real-time cryptocurrency prices from the terminal
- Interactive TUI with market tables and 7-day price charts
- Fetch market rankings, trending coins, NFTs, and categories
- Historical price data with custom date ranges
- CSV export for analysis in spreadsheets or Python
- JSON output for scripting and automation
- Category filtering across hundreds of CoinGecko categories
- Live WebSocket price streaming for supported API tiers
- Dry-run mode and command metadata useful for agents and workflows
Website: github.com/coingecko/coingecko-cli
Support:
Developer: CoinGecko
License: MIT License

CoinGecko CLI is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| Track Cryptocurrencies | |
|---|---|
| Ghostfolio | Wealth management software built with web technology |
| rotki | Privacy-focused portfolio tracking, accounting and tax reporting |
| cg | Command-line access to prices, rankings and detailed market data |
| cryptofetch | Terminal-based tool in the style of neofetch |
| Open Crypto Tracker | Private portfolio tracker with holdings, prices and performance insights |
| Cryptonose | Desktop application that keeps track of significant price movements |
| tick-tock-tui | Terminal interface for viewing the latest Bitcoin network data |
| Digital Assets | Cryptocurrencies prices and statistics |
| markets | Track stock, currency, and cryptocurrency |
| cointop | Monitor cryptocurrencies in the terminal |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.