Kraken API: Get coin price
Gets a coin's current Kraken price, bid and ask, and 24-hour trading statistics in a chosen currency, with change since today's midnight UTC open.
Unofficial. Not affiliated with or endorsed by Kraken.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Coin, required
coin Cryptocurrency name or symbol, for example Bitcoin or ETH.
Bitcoin
- Currency optional
currency Currency to quote the coin in, for example USD, EUR, GBP, CAD or USDT.
USD (default)
Input as JSON
{ "coin": "Bitcoin"}Output
{ "ask": 81477.7, "bid": 81477.6, "pair": "BTC/USD" , "time": "2026-10-23T09:38:31+00:00", "low_24h": 80813.7, "high_24h": 82088.6, "vwap_24h": 81437.25439, "page_link": "https://www.kraken.com/prices/bitcoin" , "last_price": 81477.7, "trades_24h": 142862, "volume_24h": 1914.62929692, "kraken_pair_code": "XXBTZUSD", "change_since_today_open_pct": 0.20119511868175177}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"kraken.com/get_coin_price","input":{"coin":"Bitcoin"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "kraken.com/get_coin_price" , "input": { "coin": "Bitcoin" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "kraken.com/get_coin_price" , "input": { "coin": "Bitcoin" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run kraken.com/get_coin_price# with {"coin":"Bitcoin"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "coin" ], "properties": { "coin": { "type": "string", "description": "Cryptocurrency name or symbol, for example Bitcoin or ETH." }, "currency": { "type": "string", "default": "USD", "description": "Currency to quote the coin in, for example USD, EUR, GBP, CAD or USDT." } }, "additionalProperties": false}Output schema
{ "type": "object", "required": [ "pair", "last_price", "bid", "ask", "high_24h", "low_24h", "volume_24h", "vwap_24h", "change_since_today_open_pct", "trades_24h", "time", "page_link", "kraken_pair_code" ], "properties": { "ask": { "type": "number", "description": "Best ask price in the quote currency." }, "bid": { "type": "number", "description": "Best bid price in the quote currency." }, "pair": { "type": "string", "description": "Coin and quote currency as familiar symbols, such as BTC/USD." }, "time": { "type": "string", "format": "date-time", "description": "UTC time when this quote was retrieved." }, "low_24h": { "type": "number", "description": "Lowest trade price over the preceding 24 hours in the quote currency." }, "high_24h": { "type": "number", "description": "Highest trade price over the preceding 24 hours in the quote currency." }, "vwap_24h": { "type": "number", "description": "Volume-weighted average price over the preceding 24 hours in the quote currency." }, "page_link": { "type": [ "string", "null" ], "description": "Kraken price page for the coin, when available." }, "last_price": { "type": "number", "description": "Most recent trade price in the quote currency." }, "trades_24h": { "type": "integer", "description": "Number of trades over the preceding 24 hours." }, "volume_24h": { "type": "number", "description": "Traded volume in units of the coin over the preceding 24 hours." }, "kraken_pair_code": { "type": "string", "description": "Kraken internal pair code, for example XXBTZUSD.", "x-fous-developer": true }, "change_since_today_open_pct": { "type": [ "number", "null" ], "description": "Percentage change from the midnight UTC opening price to the last trade." } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
kraken.com/get_coin_price- Returns
- pair, last price, bid, ask, 24h high/low/volume/VWAP/trades, change since open, page link, Kraken pair code
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method kraken.com/get_coin_price with the inputs above.
Ask your agent
- What's the current price of Bitcoin in USD on Kraken, with bid, ask and 24-hour volume?
- Show me ETH's live price in euros, plus its 24h high and low.
- How much is Solana trading for in GBP right now, and how has it changed since midnight UTC?
- Get the bid and ask spread for Cardano quoted in CAD on kraken.com.
- Look up Litecoin against USDT: last price, 24h VWAP and number of trades.
See more
Gets a Binance spot pair's latest price and rolling 24-hour trading statistics from a coin name or symbol. Only currently trading pairs are available.
binance.com/get_coin_priceLooks up a cryptocurrency's current Coinbase spot, buy and sell prices in a chosen currency.
coinbase.com/get_coin_priceGets a cryptocurrency's price, changes, supply, market cap, volume and all-time high in a chosen currency. If a name or symbol is shared, returns the coin with the largest market cap.
coinmarketcap.com/get_coin_priceGets a cryptocurrency's price, 24-hour change, market statistics, popularity, tradability, description and website from its public Coinbase price page.
coinbase.com/get_coin_overviewGets Binance spot price candles for a coin and quote currency, newest by default or within a UTC date range, up to 1,000 candles.
binance.com/get_price_historyGets a coin's daily prices and price change over the last 7, 30, 90 or 365 days, with UTC dates. Today's price may change.
coingecko.com/get_coin_price_historyGets a coin's price, market cap and 24-hour volume at 00:00 UTC on a past date. Non-USD currencies are available only for the last 365 days.
coingecko.com/get_coin_price_on_dateGets the current bid and ask price levels for a Binance spot pair from a coin name or symbol, with the spread.
binance.com/get_order_book