Skip to main content
GET
Positions

Authorizations

Authorization
string
header
required

Your API key: codex_ and 48 hex characters.

Path Parameters

wallet
string
required

The wallet: 0x and 40 hex.

Pattern: ^0x[0-9a-fA-F]{40}$

Query Parameters

status
enum<string>

open or closed. Leave it out for the raw form.

Available options:
open,
closed
limit
integer
default:100

Rows, 1 to 2,500. Out of range is clamped.

Required range: 1 <= x <= 2500
offset
integer
default:0

Rows to skip.

Required range: x >= 0
category
string

Only this category's markets; other for markets in none of them.

q
string

Only markets whose question, or the row's outcome name, contains this text.

conditions
string

Raw form: condition ids, comma separated, no spaces.

Response

OK

wallet
string
block
integer

The finalized block the answer reflects.

tooLarge
boolean

Past maxPositions positions the wallet answers with no rows.

maxPositions
integer

50,000.

total
integer

Rows after filters.

offset
integer
rows
object[]
next
integer | null

The next offset.

positions
object[]

Raw form only.