Skip to main content
The official Python client library for the CoinPaprika API provides convenient access to cryptocurrency market data.

Installation

Install the CoinPaprika Python SDK using pip:

Quick Start

Free Plan

For basic usage with the free API plan:

Pro Plan

To access Pro features and higher rate limits, initialize the client with your API key.
Get your API key at coinpaprika.com/api

Common Use Cases

Getting Market Data

Coin Information

Historical Data

The primary method for fetching historical OHLCV data is ohlcv(). Using an API key is required for most historical data access.

Exchange Data

Search and Price Conversion

People and Tags

Error Handling

The client raises specific exceptions for different HTTP error codes. It is best practice to catch these specific exceptions.

Available Methods

Global Data

Coins

People

Tags

Tickers

Exchanges

Tools

Requirements

  • Python >= 3.7
  • requests library

License

This library is available under the Apache License 2.0. See the LICENSE file for more info.

FAQs

Initialize Client(api_key=“YOUR_API_KEY”) for Pro features and higher limits. Free usage works with Client() for public endpoints.
Use the Coverage Checker or the REST /coins endpoint to look up canonical IDs.
Use client.ohlcv(coin_id, start=…, end=…) with an API key. See the OHLCV example above.
Catch SDK exceptions (e.g., CoinpaprikaAPITooManyRequestsException) and back off before retrying.