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

Request

  • Base URL
    https://api.privy.io
  • URL
    https://api.privy.io/v1/kraken_embed/assets/{asset_id}/rates
  • Auth
    HTTP basic

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

Changes

No recorded changes to this operation across all 60 revisions of this API.