Get Trades (Data-API)
Alternative endpoint to the GAMMA Get-Trades. Allows users to get trades from all markets and all users. Ordered by timestamp in descending order(most recent trade first).
Polymarket provides a simple alternative to the CLOB API for accessing trade data through a basic GET request that doesn’t require L2 headers. This endpoint allows users to retrieve trades from all markets and users. See the schema and example response below for implementation details.
Query Parameters
The address of the user in question
The max number of trades to return, defaults to 100, max 500
1 <= x <= 500
The starting index for pagination
x >= 0
Flag that determines whether to return only taker orders. Defaults to true. Otherwise return maker and taker orders
Flag indicating whether to filter trades by a parameter
CASH
, TOKENS
The amount to filter by. Related to filterType above
The condition ID of the market in question. Supports comma separated values
The side of the trade
BUY
, SELL
Response
Successful response with trades data
The response is of type object[]
.