Coinpaprika API Python Client
Usage
This library provides convenient way to use Coinpaprika API in Python.
Coinpaprika delivers full market data to the world of crypto: coin prices, volumes, market caps, ATHs, return rates and more.
For details and limitations please check the documentation
Requirements
pip install coinpaprika-sdk
Getting started
Free plan client
from coinpaprika import client as Coinpaprika
client = Coinpaprika.Client()
Pro plan client
from coinpaprika import client as Coinpaprika
client = Coinpaprika.Client(api_key="YOUR-API-KEY")
API KEY can be generated https://coinpaprika.com/api/.
API Coverage
Market Data
client.global_market() # Global market overview
client.coins() # List all coins
client.coin("btc-bitcoin") # Coin details
client.tickers() # All tickers
client.ticker("btc-bitcoin") # Ticker for specific coin
client.historical("btc-bitcoin", start="2024-01-01") # Historical tickers (Pro)
OHLCV
client.candle("btc-bitcoin") # Latest 24h OHLCV
client.ohlcv("btc-bitcoin", start="2024-01-01") # Historical OHLCV
client.today("btc-bitcoin") # Today's OHLCV (updates until close)
Exchanges
client.exchange_list() # List exchanges
client.exchange("binance") # Exchange details
client.exchange_markets("binance") # Markets on exchange
Contracts
client.platforms() # List contract platforms
client.contracts("eth-ethereum") # Contracts on Ethereum
client.ticker_by_contract("eth-ethereum", "0xdac1...") # Ticker by contract
client.historical_by_contract("eth-ethereum", "0xdac1...", start="2024-01-01") # Historical by contract
Other
client.search(q="bitcoin") # Search coins, exchanges, people, tags
client.price_converter(base_currency_id="btc-bitcoin", quote_currency_id="usd-us-dollars", amount=1)
client.coin_mappings() # ID mappings to CoinGecko, CMC, etc. (Pro)
client.people("vitalik-buterin") # Person details
client.tags() # List tags
client.tag("blockchain-service") # Tag details
client.twitter("btc-bitcoin") # Twitter timeline
client.events("btc-bitcoin") # Coin events
client.exchanges("btc-bitcoin") # Exchanges for coin
client.markets("btc-bitcoin") # Markets for coin
client.key_info() # API key usage info (requires key)
client.changelog_ids() # Recent changelog IDs (Pro)
Examples
Check out the ./examples directory.
Tests
pip install -r test_requirements.txt
pytest tests/test_api_request.py
License
See the LICENSE file for more info.
Source
Based on repository which is not maintained anymore: s0h3ck/coinpaprika-api-python-client
Metadata
Release files for coinpaprika-sdk 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| coinpaprika_sdk-1.1.1.tar.gz | 13.5 kB | Without provenance | Details for coinpaprika_sdk-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| coinpaprika_sdk-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for coinpaprika_sdk-1.1.1-py3-none-any.whl |
Total release size: 23.3 kB
Release files / coinpaprika_sdk-1.1.1.tar.gz
| Download URL | coinpaprika_sdk-1.1.1.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0438bf9499e32526c5280594371cf175963fcd27497cf13b5d68b83cb13aa05d
|
|
BLAKE2b-256 checksum How to use checksums |
528615d6034bc67299515c2ee2b5fd236bd779c6f50f33d63325f8585650ee48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Release files / coinpaprika_sdk-1.1.1-py3-none-any.whl
| Download URL | coinpaprika_sdk-1.1.1-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1c012cfd149b1059e0eeb8e6c73562c5581b083d4cbc9e10c532b0c0fec2a8c
|
|
BLAKE2b-256 checksum How to use checksums |
0ca99534dde8f16af6d21b1e94aaec639212c764710fe95ba8f06a1d051d108e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Security for coinpaprika-sdk 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.