Skip to main content
GET
/
api
/
users
/
{userId}
/
positions
# Get all positions
curl -H "x-api-key: YOUR_API_KEY" \
  "https://trade.predexon.com/api/users/550e8400-e29b-41d4-a716-446655440000/positions"

# Get Kalshi positions only
curl -H "x-api-key: YOUR_API_KEY" \
  "https://trade.predexon.com/api/users/550e8400-e29b-41d4-a716-446655440000/positions?venue=kalshi"
{
  "positions": [
    {
      "venue": "polymarket",
      "tokenId": "71321045679252...",
      "title": "Will Bitcoin reach $100k by 2024?",
      "outcome": "Yes",
      "size": "100.50",
      "status": "active",
      "result": null,
      "averagePrice": "0.45",
      "currentPrice": "0.62",
      "currentValue": "62.31",
      "pnl": "17.08"
    },
    {
      "venue": "kalshi",
      "ticker": "PRES-2024-DJT",
      "title": "Trump wins 2024 election",
      "outcome": "Yes",
      "size": "50.00",
      "status": "redeemable",
      "result": "won",
      "averagePrice": "0.55",
      "currentPrice": "1.0000",
      "currentValue": "50.00",
      "pnl": "22.50"
    },
    {
      "venue": "polymarket",
      "tokenId": "48331043336612...",
      "title": "Will ETH flip BTC by 2025?",
      "outcome": "Yes",
      "size": "200.00",
      "status": "resolved",
      "result": "lost",
      "averagePrice": "0.15",
      "currentPrice": "0.00",
      "currentValue": "0.00",
      "pnl": "-30.00"
    }
  ]
}
# Get all positions
curl -H "x-api-key: YOUR_API_KEY" \
  "https://trade.predexon.com/api/users/550e8400-e29b-41d4-a716-446655440000/positions"

# Get Kalshi positions only
curl -H "x-api-key: YOUR_API_KEY" \
  "https://trade.predexon.com/api/users/550e8400-e29b-41d4-a716-446655440000/positions?venue=kalshi"
{
  "positions": [
    {
      "venue": "polymarket",
      "tokenId": "71321045679252...",
      "title": "Will Bitcoin reach $100k by 2024?",
      "outcome": "Yes",
      "size": "100.50",
      "status": "active",
      "result": null,
      "averagePrice": "0.45",
      "currentPrice": "0.62",
      "currentValue": "62.31",
      "pnl": "17.08"
    },
    {
      "venue": "kalshi",
      "ticker": "PRES-2024-DJT",
      "title": "Trump wins 2024 election",
      "outcome": "Yes",
      "size": "50.00",
      "status": "redeemable",
      "result": "won",
      "averagePrice": "0.55",
      "currentPrice": "1.0000",
      "currentValue": "50.00",
      "pnl": "22.50"
    },
    {
      "venue": "polymarket",
      "tokenId": "48331043336612...",
      "title": "Will ETH flip BTC by 2025?",
      "outcome": "Yes",
      "size": "200.00",
      "status": "resolved",
      "result": "lost",
      "averagePrice": "0.15",
      "currentPrice": "0.00",
      "currentValue": "0.00",
      "pnl": "-30.00"
    }
  ]
}

Position Status Values

StatusDescriptionAction
activeMarket is still tradingCan sell via Place Order (Polymarket / Kalshi)
resolvedMarket has settledCheck result for outcome
redeemablePosition can be cashed outUse Redeem Position

Use Cases

Portfolio Dashboard

Display all holdings with live P&L

Redemption Queue

Find and process redeemable positions

Risk Management

Monitor exposure across markets

Performance Tracking

Track realized and unrealized gains

Authorizations

x-api-key
string
header
required

Path Parameters

userId
string
required

Unique identifier for the user

Query Parameters

venue
enum<string>

Filter by venue

Available options:
polymarket,
kalshi

Response

200 - application/json

List of positions

positions
object[]