liquidstaking

Get Protocol APR

Obtain historical APR data for Lido on Ethereum over the past seven days. The response includes timestamped APR values along with associated block numbers, as well as a simple moving average (SMA) APR, allowing for trend analysis over time.

💡 Compute Unit Value: 5 (Fixed)

get/defi/v1/liquidstaking/getprotocolapr

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/liquidstaking/getprotocolapr
  • Auth
    API key in header X-API-Key

Query parameters

liquidStakingId'1'

The unique ID to specify the liquid staking protocol for routing staking-related queries or transactions.

Example:1

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "aprs": [
      {
        "timeUnix": 1712492591,
        "apr": 3.041,
        "blockNumber": 19603793
      },
      {
        "timeUnix": 1712579075,
        "apr": 3.148,
        "blockNumber": 19610931
      },
      {
        "timeUnix": 1712665379,
        "apr": 3.22,
        "blockNumber": 19618058
      },
      {
        "timeUnix": 1712751839,
        "apr": 3.36,
        "blockNumber": 19625206
      },
      {
        "timeUnix": 1712838191,
        "apr": 3.45,
        "blockNumber": 19632355
      },
      {
        "timeUnix": 1712924531,
        "apr": 3.146,
        "blockNumber": 19639495
      },
      {
        "timeUnix": 1713011063,
        "apr": 4.31,
        "blockNumber": 19646630
      },
      {
        "timeUnix": 1713097271,
        "apr": 4.436,
        "blockNumber": 19653737
      }
    ],
    "smaApr": 3.513875
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.