Skip to main content
GET
/
v1
/
pm
/
activities
Activities
curl --request GET \
  --url https://relay.bayse.markets/v1/pm/activities
{
  "activities": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "type": "BUY_MARKET_ORDER_CREATED",
      "eventId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
      "marketId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "outcomeId": "d4e5f6a7-b8c9-0123-def1-234567890123",
      "orderId": "e5f6a7b8-c9d0-1234-ef12-345678901234",
      "eventType": "SINGLE",
      "imageUrl": "https://example.com/image.png",
      "eventTitle": "Will BTC reach $100k by March 2026?",
      "marketTitle": "Bitcoin Price Prediction",
      "outcome": "YES",
      "currency": "USD",
      "amount": "100",
      "fee": "2",
      "size": "138.21",
      "price": "0.7235",
      "totalCost": "102",
      "currencyBaseMultiplier": "1",
      "status": "FILLED",
      "createdAt": "2026-02-17T12:00:00Z",
      "updatedAt": "2026-02-17T12:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "size": 20,
    "lastPage": 4,
    "totalCount": 73
  }
}

Authentication

Read authentication required — X-Public-Key header.

Query parameters

type
string
Filter activities by category. Accepted values:
FilterActivity types included
buysBUY_MARKET_ORDER_CREATED, BUY_TRADE_FILL
sellsSELL_MARKET_ORDER_CREATED, SELL_TRADE_FILL
limitsBUY_LIMIT_ORDER_CREATED, SELL_LIMIT_ORDER_CREATED, BUY_LIMIT_ORDER_CANCELLED, SELL_LIMIT_ORDER_CANCELLED, BUY_LIMIT_ORDER_EXPIRED, SELL_LIMIT_ORDER_EXPIRED
payoutPAYOUT_WIN, PAYOUT_LOSS
When no filter is provided, all activity types are returned except BUY_TRADE_FILL and SELL_TRADE_FILL.
page
integer
default:"1"
Page number.
size
integer
default:"20"
Results per page.

Activity types

Each activity in the response has a type field with one of the following values:
TypeDescription
BUY_MARKET_ORDER_CREATEDA market buy order was placed
SELL_MARKET_ORDER_CREATEDA market sell order was placed
BUY_LIMIT_ORDER_CREATEDA limit buy order was placed
SELL_LIMIT_ORDER_CREATEDA limit sell order was placed
BUY_LIMIT_ORDER_CANCELLEDA limit buy order was cancelled
SELL_LIMIT_ORDER_CANCELLEDA limit sell order was cancelled
BUY_LIMIT_ORDER_EXPIREDA limit buy order expired
SELL_LIMIT_ORDER_EXPIREDA limit sell order expired
BUY_TRADE_FILLA buy order was filled via trade match
SELL_TRADE_FILLA sell order was filled via trade match
PAYOUT_WINPayout received for a winning position
PAYOUT_LOSSMarket resolved against your position
BUY_REFUNDRefund issued for a buy order

Example request

curl "https://relay.bayse.markets/v1/pm/activities?type=buys&page=1&size=20" \
  -H "X-Public-Key: pk_live_abcdef123456"

Response

Returns a paginated list of your trading activities across all markets.

Response fields

activities
array
pagination
object
{
  "activities": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "type": "BUY_MARKET_ORDER_CREATED",
      "eventId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
      "marketId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "outcomeId": "d4e5f6a7-b8c9-0123-def1-234567890123",
      "orderId": "e5f6a7b8-c9d0-1234-ef12-345678901234",
      "eventType": "SINGLE",
      "imageUrl": "https://example.com/image.png",
      "eventTitle": "Will BTC reach $100k by March 2026?",
      "marketTitle": "Bitcoin Price Prediction",
      "outcome": "YES",
      "currency": "USD",
      "amount": "100",
      "fee": "2",
      "size": "138.21",
      "price": "0.7235",
      "totalCost": "102",
      "currencyBaseMultiplier": "1",
      "status": "FILLED",
      "createdAt": "2026-02-17T12:00:00Z",
      "updatedAt": "2026-02-17T12:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "size": 20,
    "lastPage": 4,
    "totalCount": 73
  }
}