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 comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

