pycoingecko
Python wrapper around the CoinGecko API
Decision gist · record as of 2026-08-14
Yes, if you need a lightweight, zero-setup way to query CoinGecko's public cryptocurrency data and can tolerate dormant maintenance. The low install friction and permissive license make it a safe choice for prototypes and read-only data fetching. No, if you require active maintenance, up-to-date Pro API support, or expect CoinGecko's endpoints to change—consider forking or monitoring for a maintained alternative.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a single runtime dependency (requests).
- Maintenance is dormant—last commit was 2024-11-13 and no release in 639 days—so expect no active bug fixes or feature updates, though the repository remains public and not archived.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions, making it safe for commercial and private projects.
last release 2024-11-13 (639 days) · last repo commit 2024-11-13 · 1,095 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 414,270 downloads/mo, #6,836 on PyPI
Alternatives
Verify before relying
pip install pycoingecko
from pycoingecko import CoinGeckoAPI
cg = CoinGeckoAPI()
print(cg.get_price(ids='bitcoin', vs_currencies='usd'))- Whether the public API rate limits or access policies have changed since the last release
- Compatibility with current CoinGecko API response formats and endpoint behavior
- Whether Pro API features work reliably with the latest CoinGecko Pro API v3.1.1
What it is and what it does
Pycoingecko is a Python client library that wraps the CoinGecko cryptocurrency API, letting you query live and historical price data, market capitalization, trading volume, and exchange information for thousands of cryptocurrencies. It supports both the free public API and the paid Pro tier, with optional API key authentication. The library maps CoinGecko's REST endpoints to Python methods, handling parameter conversion (lists, booleans, strings) and returning JSON responses as Python dictionaries.
You use it by instantiating a CoinGeckoAPI object, optionally passing an API key, then calling methods like get_price(), get_coin_by_id(), or get_coin_market_chart_by_id() with the parameters documented in the CoinGecko API reference. It depends only on requests, so installation and setup are straightforward. However, the project is dormant—no updates in 639 days—so if CoinGecko's API evolves, you may encounter compatibility issues or missing endpoints.
Use it for
- Fetch current cryptocurrency prices in multiple fiat currencies for a portfolio tracker or price dashboard
- Build historical price charts or analyze market trends using get_coin_market_chart_by_id() for OHLC data
- Monitor exchange listings and trading pairs for a coin using get_coin_ticker_by_id()
- Query market cap, 24-hour volume, and price changes for research or algorithmic trading signals
- Retrieve metadata (name, symbol, description) and contract addresses for token discovery
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a lightweight, zero-setup way to query CoinGecko's public cryptocurrency data and can tolerate dormant maintenance.
The low install friction and permissive license make it a safe choice for prototypes and read-only data fetching. No, if you require active maintenance, up-to-date Pro API support, or expect CoinGecko's endpoints to change—consider forking or monitoring for a maintained alternative.
Install
pycoingecko on PyPI
Before you install
Low install friction with a single runtime dependency (requests). Maintenance is dormant—last commit was 2024-11-13 and no release in 639 days—so expect no active bug fixes or feature updates, though the repository remains public and not archived.
License in practice
MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions, making it safe for commercial and private projects.
Quickstart
pip install pycoingecko
from pycoingecko import CoinGeckoAPI
cg = CoinGeckoAPI()
print(cg.get_price(ids='bitcoin', vs_currencies='usd'))
Verify before relying
- Whether the public API rate limits or access policies have changed since the last release
- Compatibility with current CoinGecko API response formats and endpoint behavior
- Whether Pro API features work reliably with the latest CoinGecko Pro API v3.1.1
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Dormant 639 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 414,270 / month, #6,836 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2Programming Language :: Python :: 3 |
Evidence: pycoingecko-3.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “cryptocurrency price data api”
- pycoingeckoPython wrapper around the CoinGecko API (v3) that fetches…
- finance-datareaderFetches historical and current financial data—stock prices, indices,…
- openbb-cryptoProvides cryptocurrency data retrieval commands as an extension to…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also forex-python · etherscan-python · krakenex · tardis-client · tardis-dev · ccxt · openbb-crypto · yfinance · alpaca-py · python-binance