Returns historical rates for a given asset.
This endpoint returns historical rates for a given asset. The response includes the timestamp for the period the rate is for and the median price of the asset during the period (daily).
curl --request GET \
--url https://nexus.kraken.com/b2b/assets/{asset}/rates \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>'{
"result": {
"rates": [
{
"timestamp": "2023-03-13T12:34:56Z",
"price": "1.23"
}
],
"meta": {
"page_oldest_rate": {
"timestamp": "2023-03-13T12:34:56Z",
"price": "1.23"
},
"page_newest_rate": {
"timestamp": "2023-03-13T12:34:56Z",
"price": "1.23"
},
"page_price_change_value": "1.23",
"page_price_change_percent": "1.23"
}
}
}Documentation Index
Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The "API-Key" header should contain your API key.
Authenticated requests should be signed with the "API-Sign" header, using a signature generated with your private key, nonce, encoded payload, and URI path.
The target version of the Embed API to use. The API version name is based on the date when the API version was released. For example, the API version 2025-04-15 was released on April 15, 2025.
2025-04-15 3 - 16"BTC"
If provided, shows values as the provided asset.
3 - 16"BTC"
A RFC 3339 datetime
A RFC 3339 datetime
If provided, shows the history of the asset in the given interval.
Should be in the format of an [ISO 8601 duration].
Supported resolutions: 1min, 5min, 15min, 30min, 60min, 4H, 1D, 7D, 15D
Response
Show child attributes
curl --request GET \
--url https://nexus.kraken.com/b2b/assets/{asset}/rates \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>'{
"result": {
"rates": [
{
"timestamp": "2023-03-13T12:34:56Z",
"price": "1.23"
}
],
"meta": {
"page_oldest_rate": {
"timestamp": "2023-03-13T12:34:56Z",
"price": "1.23"
},
"page_newest_rate": {
"timestamp": "2023-03-13T12:34:56Z",
"price": "1.23"
},
"page_price_change_value": "1.23",
"page_price_change_percent": "1.23"
}
}
}