Skip to main content
GET
Per-leg fee totals for one order (USDC + OUTCOME_TOKENS)

Authorizations

X-Api-Key
string
header
required

Partner / integrator key — format ps_live_<keyId>_<secret>. Partner keys are issued by PredictStreet; a user can also create keys bound to their own wallet from their account settings in the web app. Never ship to a browser. multi_wallet partners must additionally send X-User-Wallet: 0x<40-hex> on every authenticated request to declare the acting wallet. See the API keys guide for scope taxonomy, partner kinds, rate limits, and rotation procedure.

Path Parameters

id
string
required

Server-side order id: a UUID v4 or v5 in any hex case, read in lowercase (RND-4823), so an id echoed in the answer is the lowercase UUID.

Response

200 - application/json
orderId
string
required
feeUsdc
string
required

Sum of the USDC fees (SELL-leg fills), decimal string.

feeShares
string
required

Sum of the outcome-token fees (BUY-leg fills), decimal string.

feeShareTokenId
string | null
required

Token id of the outcome-token fees; null when there are none.

byRole
object
required

The same totals split by the order's role on each fill: maker where it rested in the book, taker where it crossed it. Each pair sums to feeUsdc / feeShares.