Skip to main content
GET
/
api
/
v1
/
trades
Get list of trades
curl --request GET \
  --url https://prediction-markets-api.dflow.net/api/v1/trades
{
  "trades": [
    {
      "count": 1,
      "createdTime": 1,
      "noPrice": 1,
      "noPriceDollars": "<string>",
      "price": 1,
      "takerSide": "<string>",
      "ticker": "<string>",
      "tradeId": "<string>",
      "yesPrice": 1,
      "yesPriceDollars": "<string>"
    }
  ],
  "cursor": "<string>"
}

Query Parameters

limit
integer<int32>

Maximum number of trades to return (1-1000, default 100)

Required range: x >= 0
cursor
string

Pagination cursor (trade ID) to start from

ticker
string

Filter by market ticker

minTs
integer<int64>

Filter trades after this Unix timestamp

Required range: x >= 0
maxTs
integer<int64>

Filter trades before this Unix timestamp

Required range: x >= 0

Response

List of trades

trades
object[]
required
cursor
string | null