Fund Data API
Positions, NAV, risk, and fees — read-only
Twelve GET endpoints, one per real analyst tool. Every response is redacted at the edge, fail-closed — the same posture as Nyx Analyst.
Fund Overview
The fund's base currency, inception date, AUM target, share classes, and latest NAV summary.
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/overview" \
-H "Authorization: Bearer nyx_dk_demo000000000000000000000000000000000000000"JavaScript
const res = await fetch("https://nyxchain.org/api/v1/fund/overview", {
method: "GET",
headers: { Authorization: "Bearer nyx_dk_demo000000000000000000000000000000000000000" },
})
const data = await res.json()Python
# GET https://nyxchain.org/api/v1/fund/overview
import requests
res = requests.get(
"https://nyxchain.org/api/v1/fund/overview",
headers={"Authorization": "Bearer nyx_dk_demo000000000000000000000000000000000000000"},
)
data = res.json()Object(3)
Object(3)
Array(1)
Object(8)
Object(4)
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()Object(4)
Array(6)
Object(6)
Object(6)
Object(6)
Object(6)
Object(6)
Object(6)
Portfolio Breakdown
The fund's current portfolio breakdown by asset, source type, and venue.
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/breakdown" \
-H "Authorization: Bearer nyx_dk_demo000000000000000000000000000000000000000"JavaScript
const res = await fetch("https://nyxchain.org/api/v1/fund/breakdown", {
method: "GET",
headers: { Authorization: "Bearer nyx_dk_demo000000000000000000000000000000000000000" },
})
const data = await res.json()Python
# GET https://nyxchain.org/api/v1/fund/breakdown
import requests
res = requests.get(
"https://nyxchain.org/api/v1/fund/breakdown",
headers={"Authorization": "Bearer nyx_dk_demo000000000000000000000000000000000000000"},
)
data = res.json()Object(5)
Array(6)
Object(6)
Object(6)
Object(6)
Object(6)
Object(6)
Object(6)
Array(6)
Object(4)
Object(4)
Object(4)
Object(4)
Object(4)
Object(4)
Array(3)
Object(3)
Object(3)
Object(3)
Array(6)
Object(4)
Object(4)
Object(4)
Object(4)
Object(4)
Object(4)
Current Exposure
The fund's current gross/net/long/short/cash exposure snapshot.
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/exposure" \
-H "Authorization: Bearer nyx_dk_demo000000000000000000000000000000000000000"JavaScript
const res = await fetch("https://nyxchain.org/api/v1/fund/exposure", {
method: "GET",
headers: { Authorization: "Bearer nyx_dk_demo000000000000000000000000000000000000000" },
})
const data = await res.json()Python
# GET https://nyxchain.org/api/v1/fund/exposure
import requests
res = requests.get(
"https://nyxchain.org/api/v1/fund/exposure",
headers={"Authorization": "Bearer nyx_dk_demo000000000000000000000000000000000000000"},
)
data = res.json()Object(11)
Array(3)
Object(6)
Object(6)
Object(6)
Array(1)
Object(6)
Array(4)
Object(6)
Object(6)
Object(6)
Object(6)
Array(2)
Object(6)
Object(6)
Exposure Series
The fund's exposure evolution over a trailing window of days.
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.
| Name | Type | Required | Description |
|---|---|---|---|
| days | integer | Optional | — |
cURL
curl -s -X GET "https://nyxchain.org/api/v1/fund/exposure/series" \
-H "Authorization: Bearer nyx_dk_demo000000000000000000000000000000000000000"JavaScript
const res = await fetch("https://nyxchain.org/api/v1/fund/exposure/series", {
method: "GET",
headers: { Authorization: "Bearer nyx_dk_demo000000000000000000000000000000000000000" },
})
const data = await res.json()Python
# GET https://nyxchain.org/api/v1/fund/exposure/series
import requests
res = requests.get(
"https://nyxchain.org/api/v1/fund/exposure/series",
headers={"Authorization": "Bearer nyx_dk_demo000000000000000000000000000000000000000"},
)
data = res.json()Array(3)
Object(9)
Object(9)
Object(9)
P&L Attribution
P&L attribution between the NAV run on a given date and the immediately preceding usable run.
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.
| Name | Type | Required | Description |
|---|---|---|---|
| date | string | Required | — |
cURL
curl -s -X GET "https://nyxchain.org/api/v1/fund/pnl/attribution" \
-H "Authorization: Bearer nyx_dk_demo000000000000000000000000000000000000000"JavaScript
const res = await fetch("https://nyxchain.org/api/v1/fund/pnl/attribution", {
method: "GET",
headers: { Authorization: "Bearer nyx_dk_demo000000000000000000000000000000000000000" },
})
const data = await res.json()Python
# GET https://nyxchain.org/api/v1/fund/pnl/attribution
import requests
res = requests.get(
"https://nyxchain.org/api/v1/fund/pnl/attribution",
headers={"Authorization": "Bearer nyx_dk_demo000000000000000000000000000000000000000"},
)
data = res.json()Object(10)
Array(4)
Object(3)
Object(3)
Object(3)
Object(3)
Value at Risk (VaR)
A parametric Value-at-Risk estimate for the live portfolio.
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.
| Name | Type | Required | Description |
|---|---|---|---|
| confidence | 0.95 | 0.99 | Optional | — |
| horizonDays | 1 | 10 | Optional | — |
| method | "sample" | "ewma" | Optional | — |
| windowDays | integer | Optional | — |
cURL
curl -s -X GET "https://nyxchain.org/api/v1/fund/risk/var" \
-H "Authorization: Bearer nyx_dk_demo000000000000000000000000000000000000000"JavaScript
const res = await fetch("https://nyxchain.org/api/v1/fund/risk/var", {
method: "GET",
headers: { Authorization: "Bearer nyx_dk_demo000000000000000000000000000000000000000" },
})
const data = await res.json()Python
# GET https://nyxchain.org/api/v1/fund/risk/var
import requests
res = requests.get(
"https://nyxchain.org/api/v1/fund/risk/var",
headers={"Authorization": "Bearer nyx_dk_demo000000000000000000000000000000000000000"},
)
data = res.json()Object(2)
Object(12)
Array(3)
Object(3)
Object(3)
Object(3)
Array(3)
Object(3)
Object(3)
Object(3)
Array(1)
Trial Balance
The fund's trial balance as of a given date.
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.
| Name | Type | Required | Description |
|---|---|---|---|
| asOf | string | Optional | — |
cURL
curl -s -X GET "https://nyxchain.org/api/v1/fund/trial-balance" \
-H "Authorization: Bearer nyx_dk_demo000000000000000000000000000000000000000"JavaScript
const res = await fetch("https://nyxchain.org/api/v1/fund/trial-balance", {
method: "GET",
headers: { Authorization: "Bearer nyx_dk_demo000000000000000000000000000000000000000" },
})
const data = await res.json()Python
# GET https://nyxchain.org/api/v1/fund/trial-balance
import requests
res = requests.get(
"https://nyxchain.org/api/v1/fund/trial-balance",
headers={"Authorization": "Bearer nyx_dk_demo000000000000000000000000000000000000000"},
)
data = res.json()Object(5)
Array(3)
Object(7)
Object(7)
Object(7)
Capital Accounts
Per-investor capital accounts for the fund's latest complete NAV run.
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/capital-accounts" \
-H "Authorization: Bearer nyx_dk_demo000000000000000000000000000000000000000"JavaScript
const res = await fetch("https://nyxchain.org/api/v1/fund/capital-accounts", {
method: "GET",
headers: { Authorization: "Bearer nyx_dk_demo000000000000000000000000000000000000000" },
})
const data = await res.json()Python
# GET https://nyxchain.org/api/v1/fund/capital-accounts
import requests
res = requests.get(
"https://nyxchain.org/api/v1/fund/capital-accounts",
headers={"Authorization": "Bearer nyx_dk_demo000000000000000000000000000000000000000"},
)
data = res.json()Object(4)
Array(1)
Object(11)
Expenses
The fund's expense accruals/payments.
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.
| Name | Type | Required | Description |
|---|---|---|---|
| limit | integer | Optional | — |
cURL
curl -s -X GET "https://nyxchain.org/api/v1/fund/expenses" \
-H "Authorization: Bearer nyx_dk_demo000000000000000000000000000000000000000"JavaScript
const res = await fetch("https://nyxchain.org/api/v1/fund/expenses", {
method: "GET",
headers: { Authorization: "Bearer nyx_dk_demo000000000000000000000000000000000000000" },
})
const data = await res.json()Python
# GET https://nyxchain.org/api/v1/fund/expenses
import requests
res = requests.get(
"https://nyxchain.org/api/v1/fund/expenses",
headers={"Authorization": "Bearer nyx_dk_demo000000000000000000000000000000000000000"},
)
data = res.json()Object(2)
Array(3)
Object(8)
Object(8)
Object(8)
Fee Terms
The fund's configured management/performance fee terms and share classes.
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/fee-terms" \
-H "Authorization: Bearer nyx_dk_demo000000000000000000000000000000000000000"JavaScript
const res = await fetch("https://nyxchain.org/api/v1/fund/fee-terms", {
method: "GET",
headers: { Authorization: "Bearer nyx_dk_demo000000000000000000000000000000000000000" },
})
const data = await res.json()Python
# GET https://nyxchain.org/api/v1/fund/fee-terms
import requests
res = requests.get(
"https://nyxchain.org/api/v1/fund/fee-terms",
headers={"Authorization": "Bearer nyx_dk_demo000000000000000000000000000000000000000"},
)
data = res.json()