Skip to main content
Retrieve full details for a specific wager, including share count, cost basis, ROI, and resolution status. Public wagers are accessible without authentication.

Endpoint

Authentication

Authentication is optional for this endpoint. Unauthenticated requests can retrieve public wager data. To access private wagers, include the Key, Timestamp, and HMAC headers.

Request

integer
required
The ID of the wager to retrieve.

Response

Returns a WagerDetail object. Fields match WagerList with the addition of actions.
integer
required
Unique wager ID.
string
required
Wager status: purchased, sold, won, lost, cancelled, or disabled.
string
required
Human-readable status label.
string
required
User resource reference (read-only).
string
required
Event resource reference (read-only).
string
required
Market resource reference (read-only).
string
required
Position direction: long (in favor of the outcome) or short (against).
string
required
Human-readable position label.
string
Currency code for the wager (for example OOM, USDC).
number
required
Consolidated shares held in this wager.
number
required
Consolidated shares expressed in the event’s canonical currency.
string
required
Total amount associated with the wager.
number
Cost basis of the open position, adjusted for partial sales.
string
required
Amount from active purchases on this wager.
Purchases from the last outcome bought in this event.
string
required
Return on investment for the wager.
string
required
Earnings associated with the wager.
string
required
Projected payout if the wager wins.
string
required
Amount available if the position is sold now.
number
Last profit when the event resolved or the wager was sold. null if not applicable.
number
Last sale amount when the wager was sold. Always positive when set.
string
required
ISO 8601 datetime of the most recent purchase.
string
required
ISO 8601 datetime of the most recent wager update.
Serialized data about the most recent WagerAction on this wager.
integer
Number of user-triggered actions (purchases, sales) on this wager.
string
required
Serialized wager action history (read-only).

Example

Sample response