getGaslessTrades

View as Markdown

Get the list of completed gasless trades. Returns a maximum of 200 trades per request. Visit here for more details about how the API works.

Headers

0x-api-keystringRequired
Visit dashboard.0x.org to get your API Key
0x-versionstringRequired
API version

Query parameters

cursorstringOptional

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.

startTimestampintegerOptional>=0
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.
endTimestampintegerOptional>=0
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.

Response

Successful response
nextCursorstring or null
The cursor to fetch the next page of trades. If not present, there are no more trades to fetch for given parameters.
tradeslist of objects
zidstring
The unique ZeroEx identifier of the request

Errors