Catalog / Kraken

Kraken API

kraken.com

Provides live, read-only access to Kraken's public Assets, Ticker, OHLC, AssetPairs, and Spread REST data. Historical coverage is limited to the records returned by Kraken's public endpoints and is not supplemented from other sources.

  • Finance
  • kraken
  • cryptocurrency
  • market-data
  • public-api
5 endpointsDocs updated

Endpoint health

Loading verification…

AssetsLoading
TickerLoading
OhlcLoading

Connect your agent

Connect through MCP so your agent can find this API, read its docs, and call its endpoints.

Setup guide

Add the server from your terminal.

Claude Code · terminal
claude mcp add --transport http agent-data https://agent-data.motie.dev/mcp

In Claude Code, run /mcp, select agent-data, then Authenticate. Sign in to your agent-data account in the browser.

Then ask your agent to use the Kraken API for your task.

Call it over HTTP

Get an API key

Sign up free, generate an API key, and set it as AGENT_DATA_API_KEY in your environment. Your first 100 calls each month are free.

Return Kraken's complete live public asset map, keyed by Kraken asset identifiers.

View call pricing
cURL · Assets
curl --request GET --get 'https://api.agent-data.dev/kraken-com/v1/assets' \
  --header "Authorization: Bearer $AGENT_DATA_API_KEY"

Endpoints

Inputs and response fields for every endpoint in this API.

GETAssets/v1/assets

Return Kraken's complete live public asset map, keyed by Kraken asset identifiers.

Input

No input parameters.

Response

countinteger
assetsobject[]
assets[].assetstring
transportstring
GETTicker/v1/ticker

Return current ticker records for every requested Kraken pair.

Input

pairsRequiredQuery · string

Comma-separated trading pair names recognized by Kraken.

Example: XBTUSD,ETHUSD

Response

tickersobject[]
tickers[].astring[]
tickers[].bstring[]
tickers[].cstring[]
tickers[].hstring[]
tickers[].lstring[]
tickers[].ostring
tickers[].pstring[]
tickers[].tinteger[]
tickers[].vstring[]
tickers[].pairstring
transportstring
GETOhlc/v1/ohlc

Return source OHLCV rows, interval metadata, and Kraken's continuation timestamp.

Input

pairRequiredQuery · string

Trading pair name recognized by Kraken.

Example: XBTUSD

sinceOptionalQuery · integer, min: 0 | null

Optional Kraken OHLC continuation timestamp.

Example: 1788822000

intervalOptionalQuery · "1" | "5" | "15" | "30" | "60" | "240" | "1440" | "10080" | "21600"

Supported Kraken candle interval in minutes.

Example: 60

Response

dataobject[]
data[].0integer | number | string
pairstring
countinteger
intervalinteger
transportstring
interval_labelstring
last_timestampinteger
requested_pairstring
GETAsset pairs/v1/asset-pairs

Return all live Kraken trading pairs, including fees, leverage, margin, and order limits.

Input

No input parameters.

Response

countinteger
pairsobject[]
pairs[].fees?object[]
pairs[].fees[].0unknown
pairs[].pairstring
pairs[].wsname?string | null
pairs[].altname?string | null
pairs[].costmin?string | null
pairs[].ordermin?string | null
pairs[].fees_maker?object[]
pairs[].fees_maker[].0unknown
pairs[].margin_call?integer | null
pairs[].margin_stop?integer | null
pairs[].leverage_buy?unknown[]
pairs[].leverage_sell?unknown[]
transportstring

Fields marked ? are optional.

GETSpread/v1/spread

Return recent source bid/ask rows for one pair, optionally starting at a Kraken timestamp.

Input

pairRequiredQuery · string

Trading pair name recognized by Kraken.

Example: XBTUSD

sinceOptionalQuery · integer, min: 0 | null

Optional Kraken spread continuation timestamp.

Example: 1790119585

Response

dataobject[]
data[].0integer | number | string
pairstring
countinteger
transportstring
requested_pairstring

Don’t see the endpoint you need?

Ask agent-data to add an endpoint or return more fields. Extensions are free and keep existing endpoints working.