getSwapTrades
Get the list of completed swap trades. Returns a maximum of 200 trades per request. Visit here for more details about how the API works.
Query parameters
A pagination cursor used to fetch the next page of trades. It should be set to null for the initial request; otherwise, it should be the value of nextCursor that is returned from getSwapTrades or getGaslessTrades calls.
Unix timestamp in seconds, specifying the starting point of the time range filter. Only trades completed on or after this timestamp will be included in the response.
Unix timestamp in seconds, specifying the end point of the time range filter. Only trades completed on or before this timestamp will be included in the response.
Headers
Visit dashboard.0x.org to get your API Key
API version
Response
Successful response