Skip to main content
GET
/
v2
/
clob
/
fills
curl "https://api.pmx.trade/v2/clob/fills?pubkey=7xKXabc123...&limit=20"
{
  "fills": [
    {
      "id": "c3d4e5f6-...",
      "marketId": "550e8400-...",
      "makerOrderId": "a1b2c3d4-...",
      "takerOrderId": "b2c3d4e5-...",
      "makerPubkey": "8yLMdef456...",
      "takerPubkey": "7xKXabc123...",
      "takerSide": "buy",
      "outcome": "yes",
      "priceBps": 5500,
      "quantity": "30000000",
      "usdcAmount": "16500000",
      "takerFee": "41250",
      "makerRebate": "8250",
      "protocolFee": "33000",
      "fillType": "direct",
      "status": "settled",
      "settleTx": "5KtR3...",
      "matchedAt": "2025-01-15T12:00:01.000Z",
      "settledAt": "2025-01-15T12:00:05.000Z"
    }
  ],
  "nextCursor": null
}
Returns all fills where the specified wallet was the maker or taker, sorted newest first. Supports cursor-based pagination.

Query parameters

pubkey
string
required
The Solana wallet public key (base58-encoded).
marketId
string
Filter by market UUID.
limit
integer
default:"50"
Number of fills to return. Max 200.
cursor
string
Pagination cursor from a previous response.

Response

fills
array
nextCursor
string
Cursor for the next page. null if no more results.
curl "https://api.pmx.trade/v2/clob/fills?pubkey=7xKXabc123...&limit=20"
{
  "fills": [
    {
      "id": "c3d4e5f6-...",
      "marketId": "550e8400-...",
      "makerOrderId": "a1b2c3d4-...",
      "takerOrderId": "b2c3d4e5-...",
      "makerPubkey": "8yLMdef456...",
      "takerPubkey": "7xKXabc123...",
      "takerSide": "buy",
      "outcome": "yes",
      "priceBps": 5500,
      "quantity": "30000000",
      "usdcAmount": "16500000",
      "takerFee": "41250",
      "makerRebate": "8250",
      "protocolFee": "33000",
      "fillType": "direct",
      "status": "settled",
      "settleTx": "5KtR3...",
      "matchedAt": "2025-01-15T12:00:01.000Z",
      "settledAt": "2025-01-15T12:00:05.000Z"
    }
  ],
  "nextCursor": null
}