# Crypto Tracker 📈 - Real-time Prices & Historical Data (`tikitakaclaw/crypto-tracker`) Actor

Real-time cryptocurrency prices + historical OHLC for 2000+ coins. Combines CoinPaprika (deep coin data, market cap, supply) and Binance (live prices, 24h stats, candlesticks). Multi-quote: USD, EUR, BTC.

- **URL**: https://apify.com/tikitakaclaw/crypto-tracker.md
- **Developed by:** [TikitakaClaw Pikipiki](https://apify.com/tikitakaclaw) (community)
- **Categories:** E-commerce, Developer tools, Other
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 coin snapshots

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Crypto Tracker 📈

**Real-time cryptocurrency prices + historical data** for 2000+ coins. Combines deep coin data from CoinPaprika with live prices from Binance. Multi-quote (USD, EUR, BTC, ETH). No API keys required.

***

### What you get

For each coin you track:

#### From CoinPaprika

- **Identity:** name, symbol, rank, slug
- **Supply:** total, max, circulating
- **Historical context:** first data at, beta value
- **Quotes (USD, EUR, BTC, ETH):**
  - Current price
  - Market cap + 24h change
  - 24h volume + 24h change
  - Price percent change: 15m, 30m, 1h, 6h, 12h, 24h, 7d, 30d, 1y

#### From Binance

- **Live price:** last, bid, ask
- **24h stats:** open, high, low, close, change, change %, volume, quote volume
- **Market data:** number of trades, weighted avg price

#### Optional: Historical Klines

- Daily OHLC candlesticks (open, high, low, close, volume)
- Up to 1000 days back
- 1 item per day per coin

***

### Input

```json
{
  "coins": "BTC,ETH,SOL,BNB",
  "vsCurrencies": "usd,eur,btc",
  "includeHistorical": false,
  "historicalDays": 30,
  "topN": 50
}
```

#### Field reference

| Field | Type | Default | Description |
|---|---|---|---|
| `coins` | string | `""` (empty) | Comma-separated symbols. Empty = top N by market cap. |
| `vsCurrencies` | string | `"usd,eur,btc"` | Quote currencies for pricing |
| `includeHistorical` | boolean | `false` | Fetch daily klines (1 item per day) |
| `historicalDays` | integer | `30` | Days of kline history (max 1000) |
| `topN` | integer | `50` | How many top coins if `coins` is empty |

***

### Output example

```json
{
  "type": "coin",
  "coinId": "btc-bitcoin",
  "symbol": "BTC",
  "name": "Bitcoin",
  "rank": 1,
  "source": "coinpaprika+binance",
  "lastUpdated": "2026-07-05T19:44:15Z",
  "firstDataAt": "2010-07-17T00:00:00Z",
  "betaValue": 0.971797,
  "supply": {
    "total": 20052575,
    "max": 21000000,
    "circulating": 19947000
  },
  "quotes": {
    "usd": {
      "price": 62726.06,
      "marketCap": 1257819199104,
      "volume24h": 14336203611.52,
      "marketCapChange24h": -0.75,
      "volumeChange24h": -17.45,
      "percentChange": {
        "15m": -0.1,
        "30m": -0.2,
        "1h": -0.5,
        "24h": -0.8,
        "7d": 2.3,
        "30d": 5.1,
        "1y": 95.4
      }
    },
    "eur": {"price": 58000, "marketCap": 1162000000000, ...},
    "btc": {"price": 1.0, "marketCap": 20052575, ...}
  },
  "binance": {
    "lastPrice": 62815.64,
    "priceChange": -504.35,
    "priceChangePercent": -0.797,
    "highPrice": 63448,
    "lowPrice": 62436.59,
    "volume": 7901.56,
    "quoteVolume": 496779254,
    "trades": 1495920
  }
}
```

#### Kline example (when `includeHistorical: true`)

```json
{
  "type": "kline",
  "coinId": "btc-bitcoin",
  "symbol": "BTCUSDT",
  "date": "2025-07-05",
  "open": 62500.00,
  "high": 63100.00,
  "low": 62400.00,
  "close": 62815.64,
  "volume": 7901.56,
  "quoteVolume": 496779254,
  "trades": 1495920,
  "closeTime": "2025-07-06T00:00:00+00:00"
}
```

***

### Pricing

**Pay per event:**

| Event | Cost |
|---|---|
| Coin snapshot | $0.002 |
| Kline (per day) | $0.0005 |

> ℹ️ Apify's platform usage (CU) is **passed through to you** — no markup. You only pay the per-event fee on top of CU.

**Example:** tracking top 10 coins = 10 events × $0.002 = **$0.02/run**.
With historical (30 days × 10 coins = 300 klines) = 300 × $0.0005 = **$0.15** additional.

***

### Use cases

1. **📊 Trading dashboards** — power your crypto portfolio tracker
2. **🤖 Trading bots** — feed real-time prices into automated strategies
3. **📈 Market research** — analyze trends, market cap dominance, supply metrics
4. **🔔 Price alerts** — schedule this Actor to monitor price movements
5. **🤖 LLM training data** — historical price/OHLC data for crypto analysis models
6. **📰 News/journalism** — get current prices for articles
7. **🏦 Tax/accounting** — historical cost basis for crypto holdings

***

### Technical notes

- **APIs used:**
  - [CoinPaprika](https://coinpaprika.com) — deep coin data, no rate limits
  - [Binance public API](https://binance-docs.github.io/apidocs/spot/en/) — real-time prices, klines
- **No API keys required**
- **No proxies needed** — public APIs
- **Rate limits:** CoinPaprika has no documented limit, Binance public API allows 1200 requests/minute
- **Concurrency:** Sequential (no parallel fetches) to stay well under Binance rate limits
- **Build time:** ~30s
- **Memory:** 128 MB typical

***

### Changelog

- **0.1.0** (2026-07-05) — Initial release. Multi-coin, multi-quote, optional historical klines.

***

### Support

- 🐛 Report issues: Apify Console → this Actor → Issues tab
- 💬 Questions: [Apify Discord](https://discord.com/invite/jyEM2PRvMU)
- 📧 Author: [@tikitakaclaw](https://apify.com/tikitakaclaw) on Apify

***

### License

MIT License. Data from public APIs (CoinPaprika, Binance). Use at your own risk; not financial advice.

# Actor input Schema

## `coins` (type: `string`):

Comma-separated list of coin symbols (e.g. 'BTC,ETH,SOL'). Empty = top 50 by market cap.

## `vsCurrencies` (type: `string`):

Comma-separated list of fiat/crypto to quote against.

## `includeHistorical` (type: `boolean`):

If true, fetch historical daily OHLC for each coin (last 365 days). Adds 1 item per day per coin.

## `historicalDays` (type: `integer`):

How many days of historical data to fetch (only if includeHistorical=true).

## `topN` (type: `integer`):

If 'coins' field is empty, fetch the top N coins.

## Actor input object example

```json
{
  "coins": "BTC,ETH,SOL,BNB,ADA,XRP,DOGE,AVAX,MATIC,DOT",
  "vsCurrencies": "usd,eur,btc",
  "includeHistorical": false,
  "historicalDays": 30,
  "topN": 50
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("tikitakaclaw/crypto-tracker").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("tikitakaclaw/crypto-tracker").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{}' |
apify call tikitakaclaw/crypto-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=tikitakaclaw/crypto-tracker",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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