get https://api.amberdata.com/market/defi/metrics/exchanges//historical
Retrieves historical daily exchange metrics for the specified decentralized exchange.
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 186 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 3 months.
Response Data
Field | Type | Description |
---|---|---|
exchangeId | string | The id of the exchange. |
timestamp | number | string | The timestamp associated with this record. |
liquidityTotalWETH | number | Total liquidity of the exchange (aka total value locked (TVL)), in WETH. |
liquidityTotalUSD | number | Total liquidity of the exchange (aka total value locked (TVL)), in USD. |
pairsTradedTotal | number | Total number of pairs which were traded during that period of time. |
pairsCumulativeTotal | number | Total number of unique pairs which were traded since the exchange was created. |
tradesTotal | number | Total number of trades during that period of time. |