Skip to main content
GET
/
api
/
users
/
{userId}
/
positions
Get Positions
curl --request GET \
  --url https://trade.predexon.com/api/users/{userId}/positions \
  --header 'x-api-key: <api-key>'
{
  "positions": [
    {
      "venue": "<string>",
      "marketIdentifier": "<string>",
      "tokenId": "<string>",
      "title": "<string>",
      "outcome": "<string>",
      "size": "<string>",
      "status": "<string>",
      "result": "<string>",
      "averagePrice": "<string>",
      "currentPrice": "<string>",
      "currentValue": "<string>",
      "pnl": "<string>"
    }
  ],
  "_meta": {
    "venues": [
      {
        "venue": "<string>",
        "status": "ok"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.predexon.com/llms.txt

Use this file to discover all available pages before exploring further.

Legacy /api/users endpoint. New integrations should use Get Positions on the accounts path. This endpoint continues to work unchanged.

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,
predict

Response

List of positions

positions
object[]
_meta
object

Per-plane status metadata on aggregated responses. Surfaces partial failures so clients can detect when a venue timed out or errored while others succeeded.