Theme switcher

Get Bets

Header Parameters

Authorizationstring

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

Query Parameters

pageinteger

Page number to retrieve (zero-based or one-based depending on your configuration).

Default value
0
sizeinteger

Number of Bet items to return per page.

Default value
20
statusstring

Current lifecycle status of the Bet.

Enum values:
RESOLVED
All outcomes have been settled - winning positions have been automatically closed at the final settlement price.
ACTIVE
The bet is open - trading is enabled on at least one outcome and positions can be opened.
CLOSED
Trading has been suspended for all outcomes - no new positions can be opened, but the result has not yet been determined.

Response

200
Object

OK

Response Attributes

itemsarray Required

Show child attributes

totalinteger Required

Total number of Bets matching the filter.

pageinteger Required

Current page number returned.

sizeinteger Required

Number of items per page in this response.

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