Profiles

My Orders

GET
/api/v1/me/orders
Returns the authenticated wallet's prediction-market order book entries (limit orders the wallet has listed), with optional status / market / outcome filters and offset pagination. Sorted by orderId, newest first (was last activity). Rows carry updatedAt. Any wallet: GET /api/v1/wallet/{address}/orders.
Auth: Session or API Key

Query params: status (ACTIVE/FILLED/CANCELLED), marketToken (0x…, narrow to one market), outcomeId (integer, narrow to one outcome), host (public/private/0x…, one market host), page (default 1), limit (default 20, max 100).

Response
{
  "data": [
    {
      "id": "clxyz123abc",
      "orderId": 42,
      "marketToken": "0x1234...abcd",
      "host": "0x...",
      "seller": "0xabcd...1234",
      "outcomeId": 0,
      "amount": "100000000000000000000",
      "totalAmount": "250000000000000000000",
      "pricePerShare": "600000000000000000",
      "status": "ACTIVE",
      "createdTx": "0x...",
      "lastBlock": 12345678,
      "createdAt": "2026-05-09T18:42:11.000Z",
      "updatedAt": "2026-05-10T09:15:02.000Z",
      "hostKind": "public",
      "remaining": "100000000000000000000",
      "filled": "150000000000000000000",
      "marketPriced": false,
      "priceScale": "1000000000000000000",
      "main": "0x...",
      "pairAsset": "0x...",
      "pairDecimals": 6,
      "fillable": true
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 1,
    "hasMore": false
  }
}

amount is shares still listed and totalAmount the original size, both 18-decimal strings. pricePerShare is not a currency amount: it is the odds scaled by 1e18 (0.001 to 0.999), and 0 means a market-priced order that fills at the current AMM price (marketPriced: true). A fill of shares costs shares × pricePerShare × 10^pairDecimals / 1e36 raw units of the market's pair asset, before fees.

200 Orders returned400 Invalid query parameter401 Not authenticated429 Rate limit exceeded503 Not deployed on this network