Theme switcher

Get Bet Outcomes

Header Parameters

Authorizationstring

Bearer token used to authenticate the request and authorize access to the resource.

Path Parameters

uuidstring Required

The unique identifier of the parent Bet whose outcomes you want to retrieve.

Response

200
Object

OK

Response Attributes

titlestring Required

The name of this outcome as displayed to the end user (e.g. "Verstappen", "Yes", "Candidate A").

externalIdstring

The external ticker identifier for this outcome, used as the basis for instrument naming in the trading engine.

instrumentYesNamestring Required

The name of the YES-side PRED instrument in the trading engine. Pass this as the symbol when opening a BUY position if the client believes this outcome will occur.

instrumentNoNamestring Required

The name of the NO-side PRED instrument in the trading engine. Pass this as the symbol when opening a BUY position if the client believes this outcome will not occur.

statusstring Required

Current status of this outcome.

resultboolean

The settlement result of this outcome. true means this outcome was determined to be correct (YES wins); false means it was not (NO wins). null or absent if the Bet has not yet been resolved.

resolvedDatestring

The date and time when this outcome was resolved and positions were settled.

expectedCloseTimestring

The date and time when trading on this outcome closed.

400
Object

Bad Request

Response Attributes

statusstring

HTTP status code

titlestring

Error title

detailstring

Error detail

pathstring

Request path

timestampstring

Error timestamp

401
Object

Unauthorized

Response Attributes

statusstring

HTTP status code

titlestring

Error title

detailstring

Error detail

pathstring

Request path

timestampstring

Error timestamp

403
Object

Forbidden

Response Attributes

statusstring

HTTP status code

titlestring

Error title

detailstring

Error detail

pathstring

Request path

timestampstring

Error timestamp

500
Object

Internal Server Error

Response Attributes

statusstring

HTTP status code

titlestring

Error title

detailstring

Error detail

pathstring

Request path

timestampstring

Error timestamp

GET

/

Select
1

Response

View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot