Skip to main content
GET
/
v1
/
pm
/
trades
Trades
curl --request GET \
  --url https://relay.bayse.markets/v1/pm/trades
{
  "trades": [
    {
      "id": "t1a2b3c4-d5e6-7890-abcd-ef1234567890",
      "marketId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "outcome": "YES",
      "side": "BUY",
      "price": 0.72,
      "quantity": 100,
      "timestamp": "2026-02-17T12:00:01Z"
    },
    {
      "id": "t2b3c4d5-e6f7-8901-bcde-f12345678901",
      "marketId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "outcome": "NO",
      "side": "BUY",
      "price": 0.28,
      "quantity": 250,
      "timestamp": "2026-02-17T11:59:45Z"
    }
  ]
}

Authentication

No authentication required.

Query parameters

marketId
string
Filter by market UUID.
id
string
Filter to a specific trade UUID.
limit
integer
default:"50"
Maximum number of trades to return.

Example request

curl "https://relay.bayse.markets/v1/pm/trades?marketId=b2c3d4e5-f6a7-8901-bcde-f12345678901&limit=20"

Response

Returns a list of recently executed trades, most recent first.
{
  "trades": [
    {
      "id": "t1a2b3c4-d5e6-7890-abcd-ef1234567890",
      "marketId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "outcome": "YES",
      "side": "BUY",
      "price": 0.72,
      "quantity": 100,
      "timestamp": "2026-02-17T12:00:01Z"
    },
    {
      "id": "t2b3c4d5-e6f7-8901-bcde-f12345678901",
      "marketId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "outcome": "NO",
      "side": "BUY",
      "price": 0.28,
      "quantity": 250,
      "timestamp": "2026-02-17T11:59:45Z"
    }
  ]
}
This endpoint returns trades from CLOB markets only. AMM market trades are not included.