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.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.