GET/api/v1/fund/positions
The fund's current row-level live positions (never paper-trading holdings).
Requires an Authorization: Bearer <API key> header (a nyx_dk_… developer key, minted from Settings → Developer). Reflects Nyx's shadow NAV, reconciled against your fund administrator.
No parameters — call it with no query string.
cURL
curl -s -X GET "https://nyxchain.org/api/v1/fund/positions" \
-H "Authorization: Bearer nyx_dk_demo000000000000000000000000000000000000000"JavaScript
const res = await fetch("https://nyxchain.org/api/v1/fund/positions", {
method: "GET",
headers: { Authorization: "Bearer nyx_dk_demo000000000000000000000000000000000000000" },
})
const data = await res.json()Python
# GET https://nyxchain.org/api/v1/fund/positions
import requests
res = requests.get(
"https://nyxchain.org/api/v1/fund/positions",
headers={"Authorization": "Bearer nyx_dk_demo000000000000000000000000000000000000000"},
)
data = res.json()Try It
API Key
nyx_dk_dem••••••••0000
Sample response
Object(4)
"totalValueUsd": "18450210.44"
"positionCount": 6
"truncated": false
"rows":
Array(6)
Object(6)
"asset": "BTC"
"quantity": "112.35000000"
"priceUsd": "64000.00"
"valueUsd": "7190400.00"
"sourceType": "exchange"
"source": "Binance"
Object(6)
"asset": "ETH"
"quantity": "1850.00000000"
"priceUsd": "3400.00"
"valueUsd": "6290000.00"
"sourceType": "exchange"
"source": "Coinbase"
Object(6)
"asset": "USDC"
"quantity": "2650000.00000000"
"priceUsd": "1.00"
"valueUsd": "2650000.00"
"sourceType": "wallet"
"source": "Ethereum wallet"
Object(6)
"asset": "SOL"
"quantity": "9800.00000000"
"priceUsd": "145.00"
"valueUsd": "1421000.00"
"sourceType": "wallet"
"source": "Solana wallet"
Object(6)
"asset": "ARB"
"quantity": "650000.00000000"
"priceUsd": "1.10"
"valueUsd": "715000.00"
"sourceType": "exchange"
"source": "Bybit"
Object(6)
"asset": "USD"
"quantity": "183810.44"
"priceUsd": "1.00"
"valueUsd": "183810.44"
"sourceType": "manual"
"source": "Manual entry"