Keep track of every change to the Amberdata API.
This changelog lists all additions and updates to the Amberdata API, in chronological order.
All changes are backwards-compatible unless otherwise indicated.
2023-05-31
New Features
/market/defi/liquidity/providers/return/{liquidityPoolAddress}
- Documentation
- Added support for new resource,
positionOpen
, to indicate if the liquidity provider's position is still open at the time of the impermanent loss calculation - Increased the max supported time range for endDate and startDate to 731 days (previously 31 days)
/market/defi/liquidity/providers/daily-return/{liquidityPoolAddress}
- Documentation
- Added support for new resource
positionOpen
to indicate if the liquidity provider's position is still open at the time of the impermanent loss calculation
2023-05-25
New Features
/defi/lending/{protocolId}/metrics/summary
- Documentation
/defi/lending/{protocolId}/assets/{assetId}/metrics/summary
- Documentation
- Aggregated insights into lending protocols and specific assets on the protocols
/defi/dex/uniswapv3/pools/{liquidityPoolAddress}/liquidity-distribution
- Documentation
- Analyze the distribution of liquidity and associated prices on all Uniswap v3 pools
Bug Fixes
/market/defi/trades/information/
- Documentation
- Pools that have 0 trades will have the same
startDate
andendDate
2023-04-26
Bug Fixes
Breaking Change
/market/defi/twap/asset/information
- Documentation
/market/defi/vwap/asset/information
- Documentation
/market/defi/prices/asset/information/
- Documentation
- Add pagination to allow efficient querying of results. The next page url can be found under
payload.metadata.next
.- Add support for the resource
data
, which will now contain the results of the query.data
is nested underpayload
2023-04-05
New Features
/defi/lending/{protocolId}/protocol
- Documentation
/defi/lending/{protocolId}/assets/{asset}
- Documentation
/defi/lending/{protocolId}/wallets/{walletAddress}
- Documentation
- Add support for aavev3 on
ethereum-mainnet
via thex-amberdata-blockchain-id
header
Breaking Change
/defi/lending/assets/information
- Documentation
- Removed resources
borrowingRate
andlendingRate
Breaking Change
/defi/lending/{protocolId}/protocol
- Documentation
/defi/lending/{protocolId}/assets/{asset}
- Documentation
/defi/lending/{protocolId}/wallets/{walletAddress}
- Documentation
- Removed resources
user
,to
andonBehalfOf
2023-03-30
Bug Fixes
Breaking Change
/market/defi/twap/pairs/information
- Documentation
/market/defi/vwap/pairs/information
- Documentation
/market/defi/prices/pairs/information/
- Documentation
- Add pagination to allow efficient querying of results. The next page url can be found under
metadata.next
in the first element of the payload array i.e.payload[0]
.- Add support for query parameter
size
. Default is 1000 elements per page, with a max allowed size of 10000.
2023-03-27
New Features
/defi/lending/protocols/information
- Documentation
- Add support for resources
totalDepositedUSD
,totalBorrowedUSD
- Add support for query parameter
endDate
/defi/lending/assets/information
- Documentation
- Add support for resources
totalDepositedUSD
,totalBorrowedUSD
,totalLiquidationsUSD
,loanToValueRatio
Bug Fixes
Breaking Change
market/defi/liquidity/{poolAddress}/snapshots/
- Documentation
- Fixed issues cause by duplicate {tokenSymbol}_{tokenSymbol} e.g. DAI_WETH, pool names by restricting path parameter to only accept an address for the pool
- Removed support for query parameter
exchange
because it is redundant if using an address for the pool- Restrict max time range to 1 day