get https://api.amberdata.com/market/defi/metrics/exchanges//assets//historical
Retrieves historical daily metrics for the specified asset (for example DAI).
Protocols Supported
This endpoints supports Uniswap v2, Uniswap v3 and Sushiswap.
This endpoint does not support Curve or Balancer.
Blockchains Supported
This endpoint only supports data from
ethereum-mainnet
.
Time Range Limit
The maximum time range (difference between endDate and startDate) is 31 days.
Not specifying startDate and endDate
If the startDate and endDate query parameters are not provided, the API will return daily data from the previous 1 month.
Response Data
Field | Type | Description |
---|---|---|
exchangeId | string | The id of the exchange. |
timestamp | number | string | The timestamp associated with this record. |
liquidityTotalNative | number | Total liquidity for the asset (aka total value locked (TVL)), in native currency. |
liquidityTotalUSD | number | Total liquidity for the asset (aka total value locked (TVL)), in USD. |