API changelog¶
Notable changes to the external /v1 API, newest first. This complements the
always-current endpoint reference at /v1/docs (generated from the running
app) — use that for exact request/response shapes, and this page to see what
changed and when.
What “stable” guarantees
Within /v1, existing fields are never renamed or repurposed, and changes
are additive — new fields may appear, so parse defensively and ignore
fields you don't recognize. Anything genuinely breaking would ship under a new
version, never silently under /v1. See
Versioning & stability.
Changes¶
2026-11 — /v1 reorganised around the lines behind a NAV¶
/v1 was reorganised once, before anyone outside had built on it, so that the first
integrators start on the final names. The breaking part below is the one exception to the
additive-only note above; from this release on, changes are additive again.
-
Changed (breaking) — paths.
Before Now X-API-KeyheaderAuthorization: Beareronly/v1/portfolios/{id}/summary/v1/portfolios/{id}for the portfolio;nav+linesfor the data/v1/portfolios/{id}/balances/v1/portfolios/{id}/lines?kind=walletpositions?include=legspositions?include=lines?location=?location_id=/v1/accounts/v1/portfolios/{id}/accounts/v1/accounts/{address}/…(nav,nav/history,balances,positions,returns)?account_id=on the portfolio'snav,nav/history,lines,positions,position-returnsnav-marks,nav-marks/{mark_id}marks,marks/{mark_id}nav-schedulesschedulesin/v1/portfolios/{id}return-periodsreturnsreturns,return-windowsposition-returnsreturns/{position_id}position-returns/periods?position_id=returns/{position_id}/explainposition-returns/explain?position_id=a portfolio outside the key: 403404an unknown query parameter: ignored 422 -
Changed (breaking) — fields.
address→account_id/account;total_usdandcontribution_usd→nav_usd;usd_value→value_usd(unsigned) andnav_usd(signed, what a line adds to the NAV);leg_role→role;item_type→position_type; a row'sas_of→block_ts; on marks and schedulesinstant→as_of; a mark'sstatus→state(provisional,final,superseded,void); return fields lose their_pctsuffix (twr_pct→twr, orcumulative_twr/window_twron position returns;total_apy, …), and every ratio reads as a ratio (0.0034is 0.34%); a NAV'sby_location→readings;base_currency→currency. The reference uses the new names throughout. - Changed — CSV. Files are named
dalubank_p{id}_{what}[_{instant}].csv, carry the portfolio on every row, and hold every row unlesslimitis sent. - Added —
lines: every wallet balance and position leg behind a NAV, with its amount, price, price source, rate and what it adds to the NAV. The lines'nav_usdsums to the NAV. - Added — anchors:
nav,lines,positionsandaccountsanswer for now, for an instant (?as_of=) or for a run (?run_id=).navlists the reading behind each account and location, and says when one is carried from an earlier run. - Added —
runsandruns/{run_id}: what each run read and how each reading ended, andcoverage, the protocols each run probed per account and location (nullfor runs before this release). - Added — the portfolio document
/v1/portfolios/{id}: currency, NAV schedules, newest run, anddata_version, which changes whenever anything a key reads changes (it may also move when nothing you read did). Poll it and read further only when it moved./v1/meta/protocolslists the protocols. - Added — every version of a mark:
marks?versions=all, a mark's adjustments with who decided them (decided_by), and its lines as frozen when it was struck (marks/{mark_id}/lines), which sum to its NAV and never change. A key created to read unconfirmed marks (by an operator) also sees marks before they are confirmed, when the request asks withversions=all. - Added —
updated_aton runs and marks, and?updated_since=to list what changed since an instant. - Added —
pricing-changes: when each token's price source changed. One row per stretch during which a token's lines were valued from one source under one rule (from_as_of,to_as_of,last_as_of,price_source,price_policy,policy_origin); two rows meet where the source changed. Filterstoken_id,from,to; CSV like every list. Ask per token for routine use; the whole portfolio is an occasional audit read. - Kept —
position-returns/explainkeeps the returns engine's names (leg_role,usd_value) for its breakdown.
2026-11 — version on NAV marks counts sign-offs¶
- Changed (breaking) —
versionon NAV marks counts sign-offs: 1 is the first official figure for an instant, 2 its first correction. A figure signed off after its exceptions were decided used to readversion: 2; it now reads1. The field and its type are unchanged. This is an exception to the additive-only note above.
2026-11 — leveraged_loop is now leveraged_lending¶
- Changed (breaking) — the
strategyvalue of a position with debt isleveraged_lending(wasleveraged_loop), on positions and single-position returns. The field and its type are unchanged. Match onleveraged_lending;leveraged_loopno longer appears. This is an exception to the additive-only note above.
2026-11 — Preset windows end on the hour; decimals are plain digits¶
- Fixed — a preset window on position returns and
return-windowsends at the current time rounded up to the hour, the same window the app uses. No fields change. - Fixed — decimals in
return-windowsare plain digits (0.0000005, not5E-7;1000000, not1.00E+6). No fields change.
2026-11 — Convex stakes and fxSAVE redemptions; a 422, not a 500¶
- Added — Convex stake positions on Ethereum and f(x) fxSAVE redemptions waiting to be
claimed appear as positions, with
marketnull. No field changes. - Fixed — a request that fails validation on a decimal bound or a custom validator answers
422with the reason, instead of500.
2026-10 — Morpho vaults are erc4626 markets¶
- Added — Morpho vault positions (MetaMorpho and Vault V2 shares held in a wallet) now
appear as positions, with
market.kinderc4626and the vault address asmarket.id. Blue market positions keepmorpho(the market id). No field changes.
2026-10 — Positions carry their market¶
- Added —
marketon every position (JSON only; never a CSV column): the on-chain market the position sits in, ornull.{kind, protocol_id, chain, id}, wherekindisaave_v3(Aave V3 and Spark: the Pool address),aave_v4(the Spoke address),morpho(Morpho Blue: the market id) orerc4626(the vault address). New kinds may be added. The field is additive: if your client validates responses against a strict schema, allow it.
2026-10 — An account read answers for one portfolio¶
- Changed (breaking for older keys) —
/v1/accountsand/v1/accounts/{address}/…answer for exactly one portfolio and never add portfolios together. A key for one portfolio reads that portfolio, as before; naming another with?portfolio_id=is403. A key created for "every portfolio I can access" (no longer offered) must now pass?portfolio_id=on these paths, or gets400 bad_request. An address that isn't in the portfolio is404. The/v1/portfolios/{id}/…paths are unchanged. - Changed — new keys are for one portfolio. Create a key per portfolio you read. Existing keys are not revoked.
2026-10 — The summary carries the exchange rate¶
- Added —
currency,fx_rate,fx_as_ofonGET /v1/portfolios/{id}/summaryfor a portfolio whose display currency is EUR or GBP. They are metadata: every amount in the summary stays in USD, and no*_valuefields are added.fx_rateis USD per one unit ofcurrency, as on the returns endpoints, so a value converts astotal_usd ÷ fx_ratewithout a second call. On a USD portfolio, or before any rate is stored, the three fields are absent. The summary ignores anycurrencyquery parameter.
2026-10 — Numbers never arrive in scientific notation¶
- Fixed — a round figure used to serialize as
"1.00E+6". Every monetary value and ratio is now rendered as plain digits, always. The values themselves are unchanged and parse to exactly the same numbers; only the text form of a few of them changes. If you parse with a library that accepts exponents (PythonDecimal, JavaScriptNumber) you will not notice. If you feed these strings to a fixed-point parser, aNUMERICcolumn or a pattern check, this removes a case that could have failed on a round number. - Fixed — an exact zero now reads
"0"instead of a long run of decimal places. Scale on a zero carried no information. - Unchanged — the scale of every other value. A figure stored with 19 decimal places still arrives with 19; we did not start trimming.
2026-10 — Official NAV marks, and the fund's own return¶
Four new reads. Nothing existing changed.
- Added —
/v1/portfolios/{id}/nav-marks. Your official NAVs: one row per scheduled instant, with its status, version, finality and exception counts. Only final versions are served, so a mark still awaiting confirmation never appears. Treat a row as official only whenis_finalistrue. - Added — a withdrawn mark is stated, not hidden. When a mark is voided, or
replaced by a version that is not yet confirmed, its row stays in the list with
is_final: falseandnav_usd: null. Stop using that figure. We keep the row rather than dropping it so that a withdrawal is something you are told about, instead of something you notice by diffing against your last pull. - Added —
/v1/portfolios/{id}/nav-marks/{mark_id}. One mark with its evidence: the per-(account, location) readings behind it, how stale each was at the strike and what it contributed, plus what was wrong with the reading and the operator's decision with the reason they gave. - Added —
/v1/portfolios/{id}/nav-schedules. The grid your marks are struck on, and when to expect the next one. Read the structured fields (freq,day_spec,anchor_months,time_of_day,timezone); therecurrencestring beside them is for display and may be reworded. - Added —
/v1/portfolios/{id}/return-periods. The portfolio's own time-weighted return between official marks, because total NAV is flow-sensitive: a 10% deposit reads as a +10% return if you difference NAV levels. Ask for two marks, a mark and now, two instants, or nothing at all (which gives inception-to-date);?range=allgives every mark-to-mark period.twr_pct_usdis a ratio —0.0034is +0.34% — matchingtwr_pctelsewhere, and it isnull, never0, when no sub-period could be measured. - Note — these four reads are not experimental, unlike the per-position returns and the hourly NAV series. A mark is an official, confirmed figure.
- Note — 404 when a portfolio does not report on NAV marks. That is "there is no reporting surface here", not "no marks yet"; an empty list would be a different and misleading statement.
2026-10 — Pendle yield tokens¶
- Added — a new
strategyvalue.strategyon positions and returns can now readyield_trading: a Pendle YT, a position whose value is the market's remaining yield rather than a principal. Existing values are unchanged; as always, treat the set ofstrategyvalues as open and ignore ones you don't recognize.
2026-10 — Exchange perpetuals, corrections¶
- Changed — exchange balances that fund a perpetual's margin. On an exchange
balance row that holds the margin of an isolated perpetual position,
amountandusd_valuenow report only the part counted in NAV. The exchange's own figures are in the newvenue_amountandvenue_usd_value, and the margin innav_excluded_amount. The rule for reproducing NAV is unchanged: sum the balance rows not markednav_excluded, plus the position nets. Rows without a margin, which is every row before this release, are unchanged. - Added: return periods carry
funding_usdandfee_usdfor an exchange perpetual whose period is read from the exchange's ledger. A period the ledger can't explain is frozen, with its state readingledger_gap. - Changed: a perpetual's
window_rate.net_apyon its own return window includes its funding and trading fees. - Added: a period whose starting capital is under $100 carries no return; the
explain endpoint names it
below_capital_floor. - Fixed: account positions with
include=legs, read with a key over several portfolios: each row now carries only its own portfolio's legs. Row totals were already right, and the response shape is unchanged.
2026-10 — Currency clarified¶
No behaviour changed. This entry corrects the documentation.
- Clarified: every
/v1money field is in USD, on every endpoint and in every CSV, whatever the portfolio's display currency.base_currencyis always"USD", and/v1has no currency parameter. The earlier Currency section described acurrencyparameter on every money endpoint and adatawrapper. Neither is part of/v1. - On a EUR or GBP portfolio, three returns endpoints carry additional
*_valuefields in that currency, plus the exchange rate they used. The dollar fields beside them are unchanged.
2026-09 — Return corrections¶
The return engine was overhauled. No /v1 field was renamed or removed, but
the values behind existing return fields are more correct than before, so a
series you pulled earlier may not match a fresh pull of the same period. If you
store returns, refresh rather than treating an old pull as final.
- Changed how deposits and withdrawals are identified: from a quantity that only moves when capital moves, rather than from the size of a value change. Cash flows are now exact, so genuine market moves are no longer mislabelled as transfers.
- Fixed claimed rewards being read as a loss. Rewards count as they accrue; a claim moves value rather than destroying it.
- Fixed a holding that leaves a wallet being read as a large negative return. It is a withdrawal.
- Added finer return attribution: price movement now separates the collateral side, the debt side, and stablecoin peg noise.
- Added asset-denominated returns, so a position can be read in its own asset rather than only in USD.
- Changed periods with missing price data: they arrive marked estimated or withheld (with a reason) instead of as a silent zero. See Returns carry their own caveats.
- Note: returns remain experimental — a past period can be restated when a fault is corrected. Valuation and NAV figures are not affected.
2026-07 — Currency conversion¶
- Added a
currencyquery parameter (USD,EUR,GBP) to money endpoints. Responses carry an FX envelope (currency,fx_rate,fx_as_of) and additive*_valuefields alongside the existing*_usdfields. USD passes through unchanged. See Currency. - Changed a portfolio's
base_currencyto reflect its configured display currency rather than always being"USD". (Non-breaking: the field already existed; its value is now accurate.)
Entries are added as the API evolves. If a change would affect data you already parse, it will appear here first.