This endpoints supports Uniswap v2, Uniswap v3, Sushiswap and Uniswap clones.
This endpoint does not support Curve.
We have trade data for Balancer starting from 2022-05-06T09:14:29.
There reference data for this endpoint can be found at Information - Swaps.
This endpoint only supports data from
Time Range Limit
The maximum time range (difference between endDate and startDate) is 30 days.
In order to get more than 30 days, you must use the
endDateparameters to move the time frame window to get the next n hours/days/months of data.
Not specifying startDate and endDate
If the startDate and endDate query parameters are not provided, the API will return the data from the previous 30 days.
|data||The trade data corresponding to the |
|next||The URL to retrieve the next page of data (when applicable).|
|metadata||The metadata associated with the trade data.|
|columns||The name of the columns associated with the returned data e.g. |
|timestamp||The timestamp associated with this record.|
|timestampNanoseconds||The nanosecond part of the timestamp where applicable.|
|isBuy||Indicates the direction of the trade:|
|price||The actual price at which the asset was traded (including slippage, but not fees) |
|volume||The total amount of that asset that was traded.|
|tradeId||The exchange provided id of the trade.|
|logIndex||The index of the log within the transaction which included this trade event.|
|pairAddress||The address of the pair.|
|amountInBase||The amount of the Base asset accepted in the trade.|
|amountInQuote||The amount of the Quote asset accepted in the trade.|
|amountOutBase||The amount of the Base asset returned in the trade.|
|amountOutQuote||The amount of the Quote asset accepted in the trade.|
|fromAddress||the address which started the trade, ie the sender|
|toAddress||the recipient of the trade, ie the receiver|