v1
latestOpenAPI 3.0.12026-07-26251295.9 KBGet consolidated trades
This endpoint retrieves past consolidated trades on the exchange via pagination. If a trade fills multiple orders, it will show up as one entry here per bettor. Requests must include at least one of bettor or marketHash; requests with neither are rejected with a 400 error.
Query parameters
Only get trades placed by this bettor. Requests must include at least one of bettor or marketHash.
If true only get settled trades
Page number for pagination
Amount of records to fetch per page
Which field to sort by
If true, sorts in ascending order
If true, only gets trades where the bettor was a market maker
Only gets trades for this event ID
Filter trades to see only those with SUCCESS or FAILED status
Only get trades for this market hash. Requests must include at least one of bettor or marketHash.
If true, omits the synthetic parent consolidated trades of quarter-line bets, leaving only the underlying leg entries.
If true, omits the leg consolidated trades of quarter-line bets, leaving only the parent entries. Recommended for user-facing P&L views.