# Crypto Price API: Tickers, OHLCV, Markets and Exchanges (`nabeelbaghoor/crypto-price-ohlcv-exchange-markets-api`) Actor

Cryptocurrency market data from the CoinPaprika API on your own paid key: live prices and tickers in 42 currencies, historical OHLCV candles, price history, trading pairs by coin or exchange, exchange volumes and global market cap for 11,000+ coins. Bring your own key.

- **URL**: https://apify.com/nabeelbaghoor/crypto-price-ohlcv-exchange-markets-api.md
- **Developed by:** [Nabeel Hassan](https://apify.com/nabeelbaghoor) (community)
- **Categories:** Developer tools, Business, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 coin tickers

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Crypto Price API: Tickers, OHLCV, Markets and Exchanges

Get live cryptocurrency prices, historical OHLCV candles, price history, trading pairs, exchange volumes and global market cap for more than 11,000 coins on about 370 exchanges, as clean dataset rows, through the CoinPaprika API on your own paid key.

Works with the official CoinPaprika REST API v1 on the paid-plan host (api-pro.coinpaprika.com), using only endpoints in the published CoinPaprika API reference: Get tickers for all active coins, Get ticker for a specific coin, Get historical ticks, Get historical OHLC, Get OHLC for the last full day, Get today OHLC, Get markets by coin ID, List exchanges, List an exchange markets, Get market overview data and List coins.

**Every mode only reads.** Nothing is written to your CoinPaprika account.

BYOK, not live-tested: you bring your own paid-plan CoinPaprika API key. Every path, parameter and field comes from the published API reference, and a route probe showed every route this actor calls is real (data) while invented paths are not (404), but the actor has not been run against a live paid key.

### What it does

- **Coin tickers**: current price, 24 hour volume, market cap, 1 hour, 24 hour and 7 day change, all-time high, circulating, total and max supply and beta, in up to three quote currencies (USD, EUR, BTC, ETH, GBP, JPY and 36 more). Leave Coin IDs empty to read every active coin, ranked.
- **Historical OHLCV candles**: open, high, low, close, volume and market cap per day, or per hour down to 5 minutes on higher plans, in USD or BTC, up to 366 candles per coin per run.
- **Last full day and today OHLCV**: yesterday's closed daily candle, or today's candle so far.
- **Historical price ticks**: price, 24 hour volume and market cap at intervals from 5 minutes to 365 days, up to 5000 points per coin.
- **Markets by coin**: every trading pair of a coin with exchange, price, 24 hour volume, adjusted volume share, category (spot, derivatives) and market URL.
- **Markets by exchange**: every trading pair listed on an exchange such as Binance, Coinbase or Kraken.
- **Exchange list**: exchanges with adjusted rank, type (CEX, DEX, spot, perpetuals), adjusted and reported 24 hour, 7 day and 30 day volume, markets, currencies and fiats.
- **Global market overview**: total crypto market cap, 24 hour volume, Bitcoin dominance, number of active coins and all-time highs.
- **Coin list**: every coin's CoinPaprika ID, name, symbol, rank and type, to find the IDs the other modes take.
- **Source on every row**: each row carries `source` and `sourceUrl` crediting CoinPaprika, as the API terms require.
- **Pay only for results**: unknown IDs, empty ranges and refused requests come back as a free row that says why.

### How to get an API key

Subscribe to a paid CoinPaprika API plan (Starter or higher) and copy the key from your API customer portal. Paste it into the API key field (or set the DATA_API_KEY secret). The key is sent only to api-pro.coinpaprika.com as the whole Authorization header value and is removed from every log line. Each call counts against your plan's monthly request allowance.

The keyless free plan is licensed for personal use only, so this actor never calls it. A run with no key ends cleanly with a message and makes no request.

### Input

| Field | Modes | Description |
| --- | --- | --- |
| `mode` | all | `tickers` (default), `historicalOhlcv`, `latestOhlcv`, `todayOhlcv`, `historicalTicks`, `coinMarkets`, `exchangeMarkets`, `exchanges`, `globalMarket` or `coinList` |
| `coinIds` | coin modes | CoinPaprika coin IDs such as `btc-bitcoin`, one per line, up to 100 |
| `exchangeIds` | markets by exchange | Exchange IDs such as `binance`, up to 100 |
| `quotes` | tickers, markets, exchanges | Quote currencies; up to 3 for tickers; default USD |
| `historyQuote` | OHLCV, ticks | `usd` (default) or `btc` |
| `start`, `end` | historical OHLCV, ticks | YYYY-MM-DD, RFC 3339 or unix seconds; start is required |
| `ohlcvInterval` | historical OHLCV | `24h` (default), `12h`, `6h`, `1h`, `30m`, `15m`, `5m` |
| `tickInterval` | historical ticks | `1d` (default) down to `5m`, up to `365d` |
| `maxResults` | all | Row cap per run (default 100) |
| `apiKey` | all | Your paid-plan CoinPaprika API key (secret) |

Example input:

```json
{
    "mode": "historicalOhlcv",
    "coinIds": ["btc-bitcoin", "eth-ethereum"],
    "start": "2026-10-01",
    "end": "2026-10-31",
    "ohlcvInterval": "24h",
    "historyQuote": "usd",
    "maxResults": 100
}
```

### Example output

```json
{
    "mode": "tickers",
    "recordType": "ticker",
    "found": true,
    "input": "btc-bitcoin",
    "coinId": "btc-bitcoin",
    "name": "Bitcoin",
    "symbol": "BTC",
    "rank": 1,
    "quoteCurrency": "USD",
    "price": 74449.3,
    "volume24h": 19293504846,
    "marketCap": 1485419308378,
    "percentChange1h": 0.12,
    "percentChange24h": 0.98,
    "percentChange7d": -2.4,
    "athPrice": 126080,
    "athDate": "2025-10-06T18:57:00Z",
    "lastUpdated": "2026-11-11T20:44:14Z",
    "note": null,
    "source": "CoinPaprika",
    "sourceUrl": "https://coinpaprika.com",
    "record": { "circulatingSupply": 19950000, "totalSupply": 20110850, "maxSupply": 21000000, "betaValue": 1.05841, "quotes": { "USD": { "price": 74449.3 } } }
}
```

An OHLCV row carries `timeOpen`, `timeClose`, `open`, `high`, `low`, `close`, `volume` and `marketCap`. A tick row carries `timestamp`, `price`, `volume24h` and `marketCap`. A market row carries `exchangeId`, `exchangeName`, `pair`, `baseCurrencyId`, `quoteCurrencyId`, `price`, `volume24h`, `volumeShare` and `marketUrl`. The full provider breakdown of every row sits in `record`.

### FAQ

#### What is the CoinPaprika API?

CoinPaprika is an independent crypto market data provider that tracks prices for more than 11,000 cryptocurrencies across about 370 exchanges, with prices computed as a volume-weighted average across markets. Its REST API serves tickers, OHLCV, historical prices, markets, exchanges and global data; this actor wraps those read endpoints as dataset rows.

#### Do I need my own CoinPaprika API key?

Yes. This is a bring-your-own-key actor: it calls CoinPaprika with your paid-plan key, under your own plan and terms, and every call counts against your monthly allowance. A missing or rejected key ends the run cleanly with a status message, and nothing is charged.

#### Why does it not use the free CoinPaprika plan?

The free plan needs no key but is licensed for personal use only, and an Apify run is a hosted service. So the actor calls only the paid host with your key.

#### How far back does historical OHLCV go?

That depends on your CoinPaprika plan: daily candles cover the last 30 days on Starter, 90 days on Pro, 365 days on Business and the full history on Ultimate and Enterprise. Hourly candles need Business or higher, and 5, 15 and 30 minute candles need Enterprise. A range or interval your plan does not include comes back as a free row with the API's refusal.

#### Can I get the price of every coin at once?

Yes. Run Coin tickers with Coin IDs left empty and set Maximum results to the number of coins you want; the API returns all active coins in one call.

#### Which currencies can prices be shown in?

Live tickers and markets can be quoted in 42 currencies, including USD, EUR, GBP, JPY, KRW, BRL, INR, BTC and ETH. Historical OHLCV and price ticks are available in USD or BTC only.

#### Where do I find a coin's ID?

Run the Coin list mode, or take it from the coin page URL on coinpaprika.com: btc-bitcoin, eth-ethereum, sol-solana, usdt-tether.

#### What does it cost?

Pay per result: 0.005 USD per ticker, OHLCV candle, price tick, market pair, exchange or coin list entry, and 0.01 USD per global market overview. Rows without data and refused requests are never charged. Your CoinPaprika plan is billed separately by CoinPaprika.

### Pricing

| Event | Price | Charged for |
| --- | --- | --- |
| `ticker` | 0.005 USD | Each coin ticker |
| `price-history-point` | 0.005 USD | Each OHLCV candle or historical price tick |
| `market-pair` | 0.005 USD | Each trading pair of a coin or exchange |
| `exchange` | 0.005 USD | Each exchange |
| `global-overview` | 0.01 USD | Each global market overview |
| `coin-listing` | 0.005 USD | Each coin list entry |

### Keyword map

crypto price API, cryptocurrency market data API, CoinPaprika API, crypto ticker API, Bitcoin price API, Ethereum price, OHLCV API, crypto candles, historical crypto prices, crypto price history, market cap API, crypto exchange API, exchange volume, trading pairs, crypto markets, Bitcoin dominance, global crypto market cap, coin list, altcoin prices.

### Terms and data use

Use of the CoinPaprika API is governed by your own CoinPaprika plan and the CoinPaprika API Terms of Use (coinpaprika.com/terms-api). Those terms require attribution to CoinPaprika as the data source wherever you use the data, which is why every row carries `source` and `sourceUrl`. They also prohibit building a competing data aggregation service or reselling raw API data, and bulk redistribution needs CoinPaprika's written permission; paid plans below Enterprise allow commercial use inside your own company only, with no redistribution. This actor runs only under your key and does not resell or share CoinPaprika data or access: each user calls the API under their own licence.

# Actor input Schema

## `mode` (type: `string`):

Coin tickers returns the current price, volume, market cap and price changes per coin (all active coins when no coin IDs are set). Historical OHLCV candles returns open, high, low, close, volume and market cap over a date range. Last full day and Today OHLCV return one candle per coin. Historical price ticks returns price, volume and market cap at a chosen interval. Markets by coin and Markets by exchange list trading pairs with price and volume. Exchange list, Global market overview and Coin list need no IDs. Every mode only reads.

## `coinIds` (type: `array`):

Coin modes. CoinPaprika coin IDs, one per line, up to 100, such as btc-bitcoin, eth-ethereum or sol-solana. Find IDs with the Coin list mode or in the coin page URL on coinpaprika.com. Leave empty in Coin tickers to read every active coin.

## `exchangeIds` (type: `array`):

Markets by exchange only. CoinPaprika exchange IDs, one per line, up to 100, such as binance, coinbase or kraken. Find IDs with the Exchange list mode.

## `quotes` (type: `array`):

Coin tickers (up to 3), Markets by coin, Markets by exchange and Exchange list. Currencies to price in; the first one fills the price and volume columns, all of them sit in record.quotes.

## `historyQuote` (type: `string`):

OHLCV and Historical price ticks modes. The API offers history in USD or BTC only.

## `start` (type: `string`):

Historical OHLCV and Historical price ticks, required. YYYY-MM-DD, 2026-01-31T00:00:00Z or unix seconds. How far back you can go depends on your CoinPaprika plan.

## `end` (type: `string`):

Historical OHLCV and Historical price ticks. Same formats as Start. Leave empty for now (ticks) or for as many points as the result cap allows (OHLCV).

## `ohlcvInterval` (type: `string`):

Historical OHLCV only. 24h works on every paid plan; 1h, 6h and 12h need Business or higher; 5m, 15m and 30m need Enterprise.

## `tickInterval` (type: `string`):

Historical price ticks only. Hourly and 5 minute history depth depends on your plan.

## `maxResults` (type: `integer`):

The most rows this run returns and charges for. Also sets the per-coin limit sent to the history endpoints (up to 366 candles or 5000 ticks per coin).

## `apiKey` (type: `string`):

Your paid-plan CoinPaprika API key, from the API customer portal. Required: the keyless free plan is for personal use only and is not called. Sent only to api-pro.coinpaprika.com in the Authorization header, never logged. You can also set the DATA_API_KEY secret instead.

## Actor input object example

```json
{
  "mode": "tickers",
  "coinIds": [
    "btc-bitcoin",
    "eth-ethereum"
  ],
  "quotes": [
    "USD"
  ],
  "historyQuote": "usd",
  "ohlcvInterval": "24h",
  "tickInterval": "1d",
  "maxResults": 100
}
```

# Actor output Schema

## `records` (type: `string`):

One row per ticker, candle, tick, market, exchange or lookup.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "coinIds": [
        "btc-bitcoin",
        "eth-ethereum"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("nabeelbaghoor/crypto-price-ohlcv-exchange-markets-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "coinIds": [
        "btc-bitcoin",
        "eth-ethereum",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("nabeelbaghoor/crypto-price-ohlcv-exchange-markets-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "coinIds": [
    "btc-bitcoin",
    "eth-ethereum"
  ]
}' |
apify call nabeelbaghoor/crypto-price-ohlcv-exchange-markets-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nabeelbaghoor/crypto-price-ohlcv-exchange-markets-api"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/HdfxXWDB5XCqBNP7k/builds/qmiHa4qMscThaWHkD/openapi.json
