v46

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-211591,0051.4 MB
Kraken Embed

Get Asset Historical Rates

Get historical price rates for a specific asset with optional time range and interval filtering.

get/v1/kraken_embed/assets/{asset_id}/rates

Path parameters

asset_idstring required

The asset identifier (e.g., BTC, ETH)

Query parameters

quotestring
start_timestring date-time
end_timestring date-time
intervalstring

Headers

privy-app-idstring required

ID of your Privy app.

Response

Historical rates retrieved successfully.

Example response

{
  "data": {
    "error": [],
    "errors": [],
    "result": {
      "meta": {
        "page_newest_rate": {
          "price": "107591.76",
          "timestamp": "2025-10-22T00:00:00.0+00:00"
        },
        "page_oldest_rate": {
          "price": "110575.61",
          "timestamp": "2025-10-20T00:00:00.0+00:00"
        },
        "page_price_change_percent": "-2.70",
        "page_price_change_value": "-2983.85"
      },
      "rates": [
        {
          "price": "110575.61",
          "timestamp": "2025-10-20T00:00:00.0+00:00"
        },
        {
          "price": "108376.01",
          "timestamp": "2025-10-21T00:00:00.0+00:00"
        },
        {
          "price": "107591.76",
          "timestamp": "2025-10-22T00:00:00.0+00:00"
        }
      ]
    }
  }
}