This is a community client built by Tokenomia Pro, not maintained by CoinPaprika. The
coinpaprika_api crate is published independently, so CoinPaprika support does not cover it. For officially maintained clients, see the Python, PHP, or Go SDKs.Installation
Add the CoinPaprika Rust SDK to yourCargo.toml:
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
Available Methods
Key
Global
Coins
- List coins
- Get coin by ID
- Get Twitter timeline tweets for a coin
- Get coin events by coin ID
- Get exchanges by coin ID
- Get markets by coin ID
- Get OHLC for the last full day
- Get historical OHLC
- Get today OHLC
People
Tags
Tickers
- Get tickers for all active coins
- Get ticker for a specific coin
- Get historical ticks for a specific coin
Exchanges
Tools
Contracts
Changelog
- Get id changelog for all coins
FAQs
How do I authenticate with the Rust SDK?
How do I authenticate with the Rust SDK?
Construct the client with your API key using
Client::with_key(“YOUR_API_KEY”) when calling Pro endpoints.How do I find the correct coin_id?
How do I find the correct coin_id?
Use the Coverage Checker to resolve canonical IDs such as
btc-bitcoin.Can I get historical data in Rust?
Can I get historical data in Rust?
Yes. Use the REST historical endpoints via the client methods that accept
start/end parameters. The free tier reaches back one year of daily ticks; an API key is required for anything deeper and for OHLCV history beyond the last full day.What’s the error handling approach?
What’s the error handling approach?
Propagate
Result and map HTTP errors (e.g., 429) to retry/backoff logic in your async runtime.