Crypto Prices & OHLC History Export (Apify Actor)

Export crypto prices, market cap, 24h volume and 24h change for coins by name or ticker, or history: OHLC candles from Binance or Kraken, price and market cap from CoinGecko. Clear not-found rows and a run summary. No login or API key. Price: $0.30 per 1,000 coin snapshots, $0.10 per 1,000 history candles, plus $0.0015 per run start. Runs as an Apify Actor, callable from MCP clients via the Apify MCP server (https://mcp.apify.com/?tools=cliqtomedia/crypto-market-data).

Hosted MCP Server

npx add-mcp 'https://mcp.apify.com/?tools=cliqtomedia/crypto-market-data'

Installs into Claude Code, Codex, Cursor and more

Documentation

Crypto Prices & OHLC History Export - No Login (cliqtomedia/crypto-market-data) Actor

Export crypto prices, market cap, 24h volume and change for coins by name or ticker, or OHLC candle history from Binance, Kraken or CoinGecko. Public data, no login or API key. Clear not-found rows and run summary.

Pricing

from $0.21 / 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. Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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 section below.

Each client library has reference documentation the quickstart does not restate: JavaScript/TypeScript (npm install apify-client) and Python (pip install apify-client).

README

Export crypto prices for the coins you choose: current price, market cap, 24h volume and 24h change, or OHLC candle history from Binance, Kraken or CoinGecko. No login and no API key.

Add coins by name or ticker (bitcoin, eth), click Start, and get one row per coin in a few seconds. A run with 2 coins costs $0.0021 at the Free-plan price.

Crypto Prices & OHLC History: coins by name or ticker turn into price snapshots or OHLC candles from CoinGecko, Binance and Kraken

Run it now: open the prefilled input form and export crypto prices for 2 coins, no coding

Table of contents

What it does

The Actor has two modes:

  • snapshot: one row per coin with the current price, market cap, market cap rank, 24h volume, 24h change, 24h high and low, supply and all-time high. Data comes from the CoinGecko public API. You can list coins, take the top N coins by market cap, or both.
  • history: price history for each coin. With binance or kraken you get OHLC candles (open, high, low, close, volume) for 1h, 4h, 1d or 1w. With coingecko you get daily or hourly price, market cap and volume.

You can write a coin as a CoinGecko ID (bitcoin, ethereum) or as a ticker (btc, ETH, $sol). The Actor finds the coin and shows how it matched it in matchedBy.

šŸ‘‰ Try it now: open the input form

Good fit

  • Daily price and market cap table for a list of coins in a spreadsheet.
  • OHLC candles for charts, back-tests or reports, back to 2017 on Binance.
  • Top 100 coins by market cap, ready to export as CSV or Excel.

šŸ‘‰ Try it now: open the input form

How it works

  1. You list coins (names or tickers) or ask for the top N coins by market cap, and choose snapshot or history.
  2. The Actor looks each coin up on CoinGecko, then reads the price or the candles from the public CoinGecko, Binance or Kraken API.
  3. It saves one row per coin or per candle to the Dataset, adds not_found rows for coins it could not match, and writes a short run summary. The run status line says how many rows were saved.

šŸ‘‰ Try it now: open the input form

Quick start

Input form of the Actor in Apify Console: box 1 is Mode, box 2 is Coins, box 3 is Quote currency

  1. Open the Input tab. Mode is snapshot (box 1 in the picture).

  2. Keep the prefilled Coins: bitcoin and ethereum, or add your own (box 2).

  3. Keep Quote currency usd or choose another one (box 3).

  4. Click Start.

  5. Open the Output tab and check the Prices (snapshot) view: price, marketCap, volume24h, change24hPct (boxes 1 to 4 below).

    Output table: Prices (snapshot) view with price, marketCap, volume24h and change24hPct columns for bitcoin and ethereum

Expected result: 2 rows, one for Bitcoin and one for Ethereum, in a few seconds.

For candles, set Mode to history, then open History options and choose the source, interval and days.

What the run status line tells you

When a run ends, the status line at the top of the run shows the result.

SymbolMeaningWhat you see
āœ…All requested rows saved, or the run stopped at your max candle rows and no coin was left undoneāœ… 2 rows saved (or Stopped at your max candle rows) and a link to rate the Actor
āš ļøSome rows saved, but not everything you asked for (some coins not found, history shorter than asked, max candle rows reached with coins left undone, or max cost per run reached, or the run time ran out)The number of rows saved, the reason in plain words, and a link to report a problem. A run you abort ends ABORTED (set by Apify); the status line may show āš ļø Run aborted with the rows saved so far
ā„¹ļøNothing was saved because no requested coin was foundā„¹ļø 0 rows saved: no requested coin was found
āŒThe run failed, for example the data source stopped answeringāŒ with the reason, the number of rows saved when the run got that far, a link to report it and a link to the run
āš ļø (nothing saved)Wrong or empty input, or a Timeout in Run options that ended before the first row. The run ends SUCCEEDED, saves nothing and says what to fixThe message with a field example, or the Timeout to set

šŸ‘‰ Try it now: open the input form

Use cases

Buyer jobInput pathOutput entityKey fieldsNext integration
Track prices of my coins every daycoins, mode: snapshotcoin snapshotprice, marketCap, volume24h, change24hPctGoogle Sheets, CSV, scheduled run
Top coins by market captopN: 100coin snapshotmarketCapRank, price, marketCapExcel, BI tool
Candles for charts or back-testsmode: history, exchange: binance, interval, daysOHLC candletimestamp, open, high, low, close, volumePython, pandas, database
Long price and market cap historymode: history, exchange: coingecko, interval: 1d, days: 365history pointtimestamp, price, marketCap, volumeSpreadsheet, chart

šŸ‘‰ Try it now: open the input form

Input

Input fields

FieldPlain nameTypeRequiredDefault / prefillAllowed valuesEffectExampleRecommendation
modeModestringnodefault and prefill snapshotsnapshot, historyCurrent values or historyhistoryStart with snapshot
coinsCoinsarray of stringsyes, unless topN > 0prefill ["bitcoin", "ethereum"]; no runtime defaultCoinGecko ID or ticker; up to 250 in snapshot, 25 in historyWhich coins to export["btc", "solana"]Use IDs when a ticker is shared by many coins
topNTop coins by market capintegerno0 (off)0–250Snapshot only: adds the top N coins100Combine with coins for extra coins
vsCurrencyQuote currencystringnousd63 CoinGecko codes; Binance and Kraken: usd, eur, gbp, jpy, try, brl, aud, cad, chf, btc, eth, bnb, sol, xrpPrice currencyeurBinance quotes usd in USDT
exchangeHistory sourcestringnobinancebinance, kraken, coingeckoHistory only: where candles come fromkrakenbinance for long history
intervalCandle intervalstringno1d1h, 4h, 1d, 1wHistory only: one row per interval1hCoinGecko: 1d, or 1h up to 90 days
daysDays of historyintegerno301–1825 (CoinGecko 1–365)History only: how far back from now365Fewer days = fewer rows = lower cost
maxRowsMax candle rowsintegerno100001–50000History only: stop after this many candles2000Keep it low to cap cost

Empty or wrong input: the run ends without failing, writes no rows and says which field to fix, in the run status and in RUN_SUMMARY (status is invalid_input). Add at least one coin or set topN.

Duplicates: if two entries mean the same coin (btc and bitcoin), the coin is exported once. The second entry is marked skipped in RUN_SUMMARY.

Unknown coins: the Actor writes a not_found row with the reason and goes on with the other coins.

Interacting settings

WhenInput AInput BEffective behaviorExampleCost/result effect
Snapshot with bothcoinstopNListed coins first, then top coins; no duplicatescoins: ["dogecoin"], topN: 10Up to 11 rows
HistorydaysintervalRows ā‰ˆ days Ɨ candles per day, per coindays: 30, interval: 1h720 rows per coin
HistorymaxRowscoinsStops at maxRows in total, coin by coin25 coins, maxRows: 1000Last coins may be partial or skipped
History on KrakendaysintervalOnly about 720 recent candles1h, days: 90About 30 days, status SOURCE_LIMIT
Ticker shared by several coinscoins—Coin with the largest market cap winsuniCheck coin and matchedBy

Input examples

Prices of a few coins
{
  "mode": "snapshot",
  "coins": ["bitcoin", "ethereum"]
}

Expected behavior: the Actor looks up both coins on CoinGecko and saves 2 rows. Expected output: coin snapshots with price, marketCap, volume24h, change24hPct. Limit or cost note: $0.0021 per run at the Free-plan price (start fee plus 2 snapshots).

Daily candles for 30 days
{
  "mode": "history",
  "coins": ["btc", "eth"],
  "exchange": "binance",
  "interval": "1d",
  "days": 30
}

Expected behavior: BTCUSDT and ETHUSDT daily candles from Binance. Expected output: about 61 candle rows (roughly 30 per coin) with open, high, low, close, volume. The newest candle has isClosed: false. Limit or cost note: about $0.0076 per run (61 candles at the Free-plan price).

šŸ‘‰ Try it now: open the input form

Output

The default Dataset has 3 views: Prices (snapshot), History (OHLC candles) and Not found & errors. Every row has recordType: snapshot, candle or status. Views choose columns; they do not filter rows, so not_found rows also appear in Prices (snapshot) with empty price cells. To keep only one kind, filter by recordType or status in your spreadsheet or code.

Output fields

FieldMeaningTypeCan be empty?Example / enumSource / notes
recordTypeRow kindstringnosnapshot, candle, status—
statusRow resultstringnook, not_found, error—
queryYour entrystringyesbtcAs you typed it, trimmed, lower case, without $; empty for topN rows
matchedByHow the coin was foundstringyesid, symbol, topN, ticker—
coinCoinGecko IDstringyesbitcoinEmpty for Binance/Kraken tickers not checked on CoinGecko
symbol, nameTicker and namestringyesBTC, Bitcoin—
vsCurrencyPrice currencystringnousd—
pricePrice (last close for candles)numberyes82947—
marketCap, marketCapRankMarket cap and ranknumberyes1667051393162, 1Snapshot and CoinGecko history
volume24h24h trading volumenumberyes32352326234Snapshot
change24h, change24hPct24h price change and percentnumberyes521.38, 0.63249Snapshot
high24h, low24h24h high and lownumberyes84074, 81018Snapshot
circulatingSupply, totalSupply, maxSupplySupplynumberyes20097687maxSupply is empty when there is no cap
ath, athDate, atl, atlDateAll-time high and lownumber / stringyes126080Snapshot
exchange, pair, quoteAsset, intervalCandle sourcestringyesbinance, BTCUSDT, USDT, 1dHistory
timestamp, timestampMsData time (candle open time in history)string / numberno for data rows2026-09-14T00:00:00.000ZUTC
open, high, low, closeOHLC pricesnumberyes76842.01Empty for CoinGecko history except open/close
volume, quoteVolume, tradesCandle volume, quote volume, trade countnumberyes15413.49trades only on Binance and Kraken
isClosedCandle is finalbooleanyestrueThe newest candle is still open and can change
messageWhy a row is not_found or errorstringyesNo CoinGecko coin has this ID or ticker.Status rows
source, sourceUrl, fetchedAtWhere and whenstringnocoingecko—

Output entities and surfaces

SituationDataset/API/KVS/live viewResult shapeUser action
Normal itemDataset rows with recordType snapshot or candle (views Prices (snapshot), History (OHLC candles) show their columns)One row per coin or per candleExport or read the fields
Coin not foundDataset rows with recordType: status (view Not found & errors shows their columns)status: not_found row with message; after 20 such rows, one more row lists the restFix the entry or use the CoinGecko ID
Partial resultDataset + RUN_SUMMARY in the key-value storeRows saved so far; RUN_SUMMARY.status is PARTIAL with reason (MAX_ROWS, SOURCE_LIMIT, SOME_NOT_FOUND, CHARGE_LIMIT, DEADLINE)Read reason and message
Invalid inputRUN_SUMMARY, run status SUCCEEDED, empty Datasetstatus: invalid_input, message, inputErrors (field, message, example)Fix the named field and run again
Source down or blockedRun status FAILED with a āŒ status line, RUN_SUMMARYstatus: ERROR, reason: SOURCE_ERROR, no fake rowsRun again later

Output example

{
  "recordType": "snapshot",
  "status": "ok",
  "query": "bitcoin",
  "matchedBy": "id",
  "coin": "bitcoin",
  "symbol": "BTC",
  "name": "Bitcoin",
  "vsCurrency": "usd",
  "price": 82947,
  "marketCap": 1667051393162,
  "marketCapRank": 1,
  "volume24h": 32352326234,
  "change24h": 521.38,
  "change24hPct": 0.63249,
  "high24h": 84074,
  "low24h": 81018,
  "maxSupply": 21000000,
  "timestamp": "2026-10-13T17:53:53.000Z",
  "open": null,
  "close": null,
  "source": "coingecko",
  "sourceUrl": "https://www.coingecko.com/en/coins/bitcoin",
  "fetchedAt": "2026-10-13T17:55:08.988Z"
}

This example is trimmed and shows one snapshot row from the first input example. null means the field does not apply to this row kind or the source has no value.

A candle row from the second example:

{
  "recordType": "candle",
  "status": "ok",
  "query": "btc",
  "matchedBy": "symbol",
  "coin": "bitcoin",
  "symbol": "BTC",
  "exchange": "binance",
  "pair": "BTCUSDT",
  "interval": "1d",
  "timestamp": "2026-09-14T00:00:00.000Z",
  "open": 76842.01,
  "high": 79600,
  "low": 76388.72,
  "close": 78189.21,
  "volume": 15413.48971,
  "trades": 3225517,
  "isClosed": true,
  "source": "binance"
}

šŸ‘‰ Try it now: open the input form

Pricing

Pricing unit

You pay per event (pay-per-event). The platform usage is included in these prices. The start fee is charged once per GB of run memory, minimum one event. This Actor runs on 256 MB, so you pay one start event.

EventWhen it is chargedFreeBronzeSilverGold
Actor startOnce per run$0.0015$0.0015$0.0015$0.0015
Coin snapshotOne saved snapshot row$0.0003$0.00027$0.00024$0.00021
History candleOne saved candle or history point$0.0001$0.000095$0.00009$0.000085
Coin lookup with no matchOne requested coin that matched no coin or pair$0.0002$0.0002$0.0002$0.0002

Platinum and Diamond pay the Gold prices.

A run where no coin is found costs the start fee plus $0.0002 per coin. A run that ends on invalid input, or whose Timeout ended before the first row was saved, costs only the start fee. If a source is down, you pay the start fee and only the rows that were saved. Rows not_found and error are free, apart from the small lookup fee. Set Max cost per run to stop early: the Actor saves only the rows that fit in it and says so in the run status line.

Cost examples

ScenarioInput scopeExpected item/event countBase chargeOptional chargeStop/cap behavior
Prefill2 coins, snapshot2 snapshots$0.0021nonenone
Top 100topN: 100100 snapshots$0.0315nonenone
One coin, daily candles for a yeardays: 365, 1d366 candles$0.0381nonemaxRows
25 coins, hourly for 30 days1h, days: 30, maxRows: 1800018,000 candles$1.8015nonemaxRows
Largest runmaxRows: 5000050,000 candles$5.0015noneStops at maxRows
Nothing found1 unknown coin1 lookup with no match$0.0017nonenone

Free-plan prices. The real number of rows depends on how much history the exchange has.

šŸ‘‰ Try it now: open the input form

Limits

  • Snapshot: up to 250 coins plus topN up to 250 per run.
  • History: up to 25 coins and 50,000 rows per run. Binance has data back to 2017, Kraken only about 720 recent candles, CoinGecko up to 365 days.
  • A run stops source work after about 4 minutes and keeps what it saved.
  • Not real-time. Prices are as fresh as the public API at run time (CoinGecko updates about every minute). Do not use it for trading signals.
  • Not investment advice. The Actor only copies public market data.
  • No order books, trades, wallets, DEX pools or derivatives.

šŸ‘‰ Try it now: open the input form

API, export and integrations

  • API: start a run with POST https://api.apify.com/v2/acts/cliqtomedia~crypto-market-data/runs and the input JSON. Read rows from the run's default Dataset.
  • Export: download the Dataset as JSON, CSV, Excel, XML or RSS from the Output tab or the API.
  • Scheduling: create a schedule in Apify Console (for example every day at 00:05 UTC) to build a daily price table.
  • Webhooks / no-code: use Apify integrations for Google Sheets, Zapier, Make or a webhook after each run.

Use with AI agents (MCP)

  • MCP server URL with only this Actor: https://mcp.apify.com?tools=cliqtomedia/crypto-market-data.
  • Smallest useful input: {"mode": "snapshot", "coins": ["bitcoin", "ethereum"]}.
  • Key output fields: coin (CoinGecko ID), price (in vsCurrency), marketCap, change24hPct (24h change in percent), timestamp (UTC time of the value).
  • A snapshot run takes a few seconds and costs $0.0021 for 2 coins at the Free-plan price. History is up to 25 coins and 50,000 rows per run. Data is not real-time and is not investment advice.

šŸ‘‰ Try it now: open the input form

Troubleshooting

A coin is not_found

Symptom: a row with status: not_found and a message. Likely reason: a typo, or the ticker is not listed on CoinGecko (snapshot) or the pair is not on the exchange (history). Check: open the coin on coingecko.com; the ID is the last part of the URL (/coins/the-graph). Action: use the CoinGecko ID, another currency, or another exchange.

A ticker returns a different coin

Symptom: coin is not the coin you meant. Likely reason: many coins share the same ticker. The Actor picks the one with the largest market cap. Check: matchedBy is symbol. Action: use the CoinGecko ID instead of the ticker.

Kraken history is shorter than days

Symptom: RUN_SUMMARY.reason is SOURCE_LIMIT. Likely reason: Kraken returns only about 720 recent candles. Action: use exchange: binance or a larger interval.

The run failed with SOURCE_ERROR

Symptom: run status FAILED, RUN_SUMMARY.status is ERROR. Likely reason: the public API was down or limited requests for a while. Action: run again in a few minutes. You pay only the start fee and saved rows.

The run ran out of time

Symptom: the status line starts with āš ļø and says "run time ran out". The run is SUCCEEDED and the rows saved before the stop stay in the Dataset. RUN_SUMMARY.status is PARTIAL with reason: DEADLINE, and coins lists what was not done. Likely reason: the Timeout in Run options is too short for the number of coins and days you asked for. Work stops about 45 seconds before the Timeout (or 10% of it, if that is more), so the results and the summary are always saved. The Actor also stops its own work after 240 seconds. Action: set a longer Timeout, or ask for fewer coins or days, and run again. If the Timeout is below 300 seconds and nothing was saved, the run ends SUCCEEDED with a message to set Timeout to 300 seconds or more. With 300 seconds or more and nothing saved, the run is FAILED.

The run finished with no results and a message

Symptom: the run status line names a field and gives an example. Likely reason: the input was empty or wrong. Action: fix the named field and run again. You pay only the start fee.

šŸ‘‰ Try it now: open the input form

FAQ

Do I need an account or API key on CoinGecko, Binance or Kraken?

No. The Actor uses public endpoints. No login, no API key.

Is the data real-time?

No. You get the values at run time. CoinGecko updates about every minute. The newest candle has isClosed: false and can still change.

Why does my history have fewer rows than days Ɨ interval?

The coin may be newer than your period, the exchange may not have old data, or maxRows stopped the run. Check RUN_SUMMARY for each coin.

Where does the data come from?

Data provided by CoinGecko, and public market data from Binance and Kraken. The Actor does not change the values; it only renames fields to one schema.

Is this investment advice?

No. This is a data export tool. It does not give buy or sell signals.

šŸ‘‰ Try it now: open the input form

Related Actors

šŸ‘‰ Try it now: open the input form

Support

For bugs, questions or feature requests, use the Issues tab of this Actor. Include the run ID, the input mode and the error text. Never send API tokens, passwords or account data.

⭐ Found it useful? Rate this Actor. Something wrong? Report a problem. We fix reported problems.

šŸ‘‰ Try it now: open the input form

Run it now: open the prefilled input form and export crypto prices for 2 coins, no coding

Changelog

This Actor's version history is a separate document: https://apify.com/cliqtomedia/crypto-market-data/changelog.md

Actor input Schema

mode (type: string):

snapshot: one row per coin with current price, market cap, 24h volume and change (CoinGecko). history: OHLC candles for each coin from Binance, Kraken or CoinGecko.

coins (type: array):

CoinGecko IDs (bitcoin, ethereum) or tickers (btc, eth, $sol). For a ticker shared by several coins the one with the largest market cap is used; check matchedBy and coin in the output. Up to 250 in snapshot mode, 25 in history mode. Duplicates are exported once.

topN (type: integer):

Snapshot mode only: also export the top N coins by market cap (0–250). 0 = off.

vsCurrency (type: string):

Currency for prices, e.g. usd, eur, gbp, jpy, btc. Snapshot and coingecko history accept 63 CoinGecko codes. Binance and Kraken history accept usd, eur, gbp, jpy, try, brl, aud, cad, chf, btc, eth, bnb, sol, xrp where the exchange lists the pair; Binance quotes usd in USDT.

exchange (type: string):

History mode only. binance: OHLC back to 2017 (up to 1825 days). kraken: OHLC, latest 720 candles only. coingecko: price, market cap and 24h volume (no open/high/low), up to 365 days.

interval (type: string):

History mode only: 1h, 4h, 1d or 1w. CoinGecko supports 1d, and 1h for up to 90 days.

days (type: integer):

History mode only: how many days back from now (1–1825 for Binance and Kraken, 1–365 for CoinGecko).

maxRows (type: integer):

History mode only: stop after this many candle rows in total (1–50000). Keeps cost predictable.

Actor input object example

{
  "mode": "snapshot",
  "coins": [
    "bitcoin",
    "ethereum"
  ],
  "topN": 0,
  "vsCurrency": "usd",
  "exchange": "binance",
  "interval": "1d",
  "days": 30,
  "maxRows": 10000
}

Actor output Schema

snapshot (type: string):

All rows with snapshot columns (price, market cap, volume). Filter recordType=snapshot for snapshot rows only.

candles (type: string):

All rows with candle columns (open, high, low, close, volume). Filter recordType=candle for candles only.

issues (type: string):

All rows with status columns (query, status, message). Filter recordType=status for not_found and error rows only.

runSummary (type: string):

Status, counts, per-coin outcomes, source attribution and request statistics.

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

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 = {
    "mode": "snapshot",
    "coins": [
        "bitcoin",
        "ethereum"
    ]
};

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

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 = {
    "mode": "snapshot",
    "coins": [
        "bitcoin",
        "ethereum",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("cliqtomedia/crypto-market-data").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

echo '{
  "mode": "snapshot",
  "coins": [
    "bitcoin",
    "ethereum"
  ]
}' |
apify call cliqtomedia/crypto-market-data --silent --output-dataset

MCP server setup

{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,cliqtomedia/crypto-market-data"
        }
    }
}

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/lYwghzsejJtUIegzU/builds/9bcdWxXAqCyu83JxP/openapi.json