Skip to main content
GET
/
api
/
accounts
/
{accountId}
/
orders
/
{orderId}
Get Order
curl --request GET \
  --url https://trade.predexon.com/api/accounts/{accountId}/orders/{orderId} \
  --header 'x-api-key: <api-key>'
{
  "orderId": "<string>",
  "venue": "<string>",
  "predexonId": "<string>",
  "side": "<string>",
  "outcome": "<string>",
  "status": "open",
  "createdAt": "<string>",
  "size": "<string>",
  "price": "<string>",
  "filled": "<string>",
  "market": {
    "tokenId": "<string>",
    "marketId": "<string>",
    "ticker": "<string>",
    "outcome": "<string>",
    "marketSlug": "<string>"
  },
  "fee": {
    "policyApplied": true,
    "feeBps": 123,
    "platformFeeBps": 123,
    "partnerFeeBps": 123,
    "grossAmount": "<string>",
    "netOrderAmount": "<string>",
    "maxFeeReserved": "<string>"
  },
  "message": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

accountId
string
required
orderId
string
required

Query Parameters

venue
enum<string>
Available options:
polymarket,
predict,
opinion,
limitless

Response

Order details

orderId
string
venue
string
predexonId
string

Cross-venue market identifier. Round-trips from request on placement; resolved from venue fields on reads.

side
string
outcome
string
status
enum<string>

Normalized order status across venues

Available options:
open,
filled,
cancelled,
expired,
pending,
failed
createdAt
string
size
string

Number of shares (when size was provided in request)

price
string | null
filled
string | null

Number of shares filled. Emits null (not absent) when no fills.

market
object

Venue-specific market identification. Populate the fields the target venue requires: Polymarket needs tokenId; Predict needs tokenId and marketId; Opinion needs marketId (and tokenId when trading a specific outcome). On responses, the bag contains only the fields the venue surfaces (tokenId, marketId, ticker, outcome) — request-only fields like marketSlug are not echoed back.

fee
object

Fee metadata (when fees are active)

message
string