Skip to main content
GET
/
nbx
/
v2
/
emm
/
positions
/
all
cURL Example
curl -X GET '$API/emm/positions/all' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -G \
  --data-urlencode 'currency=COIN' \
  --data-urlencode 'outcomeIds=6bee554c-d5ee-4ada-b283-112746883542' \
  --data-urlencode 'outcomeIds=8d18ea33-2953-469f-a5c9-d407d333529d'
[
  {
    "marketId": "123e4567-e89b-12d3-a456-426614174000",
    "outcomeId": "123e4567-e89b-12d3-a456-426614174001",
    "size": 100,
    "cost": 66.67,
    "currency": "COIN"
  }
]

Query Parameters

currency
enum<string>
required

The currency denomination

Available options:
CASH,
COIN
outcomeIds
string[]

Array of outcome IDs to filter positions by. If omitted, you will get all positions across open markets.

Response

Successfully retrieved all positions for the user

marketId
string

The ID of the market this position is for

Example:

"123e4567-e89b-12d3-a456-426614174000"

outcomeId
string

The ID of the outcome this position is for

Example:

"123e4567-e89b-12d3-a456-426614174001"

size
number

The quantity of positive exposure to the outcome

Example:

100

cost
number

The net entry cost of the position

Example:

66.67

currency
string

The currency of the position

Example:

"COIN"