Coinpaprika API delivers free & frequently updated market data from the world of crypto: coin prices, volumes, market caps, ATHs, return rates and more.
Coinpaper.io uses the Coinpaprika API for all price-related data. The here provided wrapper for the coinpaprika API is delivered under the MIT License.
The package is uploaded to PyPi.
pip install coinpaprika-client
import Coinpaprika
api_client = Coinpaprika.Client()
market_overview = api_client.global_market_overview()
import Coinpaprika
api_client = Coinpaprika.Client()
all_coins = api_client.coins()
import Coinpaprika
api_client = Coinpaprika.Client()
bitcoin = api_client.coins.with_id("btc-bitcoin")
Not more than last 50 tweets
import Coinpaprika
api_client = Coinpaprika.Client()
twitter_timeline = api_client.coins.twitter("btc-bitcoin")
import Coinpaprika
api_client = Coinpaprika.Client()
events = api_client.coins.events("btc-bitcoin")
import Coinpaprika
api_client = Coinpaprika.Client()
exchanges = api_client.coins.exchanges("btc-bitcoin")
import Coinpaprika
api_client = Coinpaprika.Client()
markets = api_client.coins.markets("btc-bitcoin")
Open/High/Low/Close values with volume and market_cap
import Coinpaprika
api_client = Coinpaprika.Client()
last_OHLC = api_client.coins.last_OHLC("btc-bitcoin")
Open/High/Low/Close values with volume and market_cap. Request example: https://api.coinpaprika.com/v1/coins/btc-bitcoin/ohlcv/historical?start=2019-01-01&end=2019-01-20 if the last day is current day it can an change with every request until actual close of the day at 23:59:59
import Coinpaprika
from datetime import datetime, timedelta
api_client = Coinpaprika.Client()
historical_OHLC = api_client.coins.historical_OHLC(
coin_id="btc-bitcoin",
start=datetime.now() - timedelta(weeks=1),
end=datetime.now(),
limit=7,
)
Open/High/Low/Close values with volume and market_cap for today
import Coinpaprika
api_client = Coinpaprika.Client()
todays_OHLC = api_client.coins.today_OHLC(coin_id="btc-bitcoin")
import Coinpaprika
api_client = Coinpaprika.Client()
vitalik = api_client.people.with_id("vitalik-buterin")
import Coinpaprika
api_client = Coinpaprika.Client()
tags = api_client.tags()
import Coinpaprika
api_client = Coinpaprika.Client()
tag = api_client.tags.with_id("blockchain-service")
import Coinpaprika
api_client = Coinpaprika.Client()
tickers = api_client.tickers()
import Coinpaprika
api_client = Coinpaprika.Client()
btc_ticker = api_client.tickers.for_coin("btc-bitcoin")
import Coinpaprika
from datetime import datetime, timedelta
api_client = Coinpaprika.Client()
historical_ticker = api_client.tickers.historical_ticker_for_coin(
coin_id="btc-bitcoin",
start=datetime.now() - timedelta(weeks=1),
end=datetime.now(),
limit=1000,
interval="1h"
)
import Coinpaprika
api_client = Coinpaprika.Client()
exchanges = api_client.exchanges()
import Coinpaprika
api_client = Coinpaprika.Client()
binance = api_client.exchanges.with_id("binance")
import Coinpaprika
api_client = Coinpaprika.Client()
binance_markets = api_client.exchanges.markets("binance")