Skip to content

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-Key header Authorization: Bearer only
    /v1/portfolios/{id}/summary /v1/portfolios/{id} for the portfolio; nav + lines for the data
    /v1/portfolios/{id}/balances /v1/portfolios/{id}/lines?kind=wallet
    positions?include=legs positions?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's nav, nav/history, lines, positions, position-returns
    nav-marks, nav-marks/{mark_id} marks, marks/{mark_id}
    nav-schedules schedules in /v1/portfolios/{id}
    return-periods returns
    returns, return-windows position-returns
    returns/{position_id} position-returns/periods?position_id=
    returns/{position_id}/explain position-returns/explain?position_id=
    a portfolio outside the key: 403 404
    an unknown query parameter: ignored 422
  • Changed (breaking) — fields. address → account_id / account; total_usd and contribution_usd → nav_usd; usd_value → value_usd (unsigned) and nav_usd (signed, what a line adds to the NAV); leg_role → role; item_type → position_type; a row's as_of → block_ts; on marks and schedules instant → as_of; a mark's status → state (provisional, final, superseded, void); return fields lose their _pct suffix (twr_pct → twr, or cumulative_twr / window_twr on position returns; total_apy, …), and every ratio reads as a ratio (0.0034 is 0.34%); a NAV's by_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 unless limit is 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_usd sums to the NAV.
  • Added — anchors: nav, lines, positions and accounts answer for now, for an instant (?as_of=) or for a run (?run_id=). nav lists the reading behind each account and location, and says when one is carried from an earlier run.
  • Added — runs and runs/{run_id}: what each run read and how each reading ended, and coverage, the protocols each run probed per account and location (null for runs before this release).
  • Added — the portfolio document /v1/portfolios/{id}: currency, NAV schedules, newest run, and data_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/protocols lists 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 with versions=all.
  • Added — updated_at on 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. Filters token_id, from, to; CSV like every list. Ask per token for routine use; the whole portfolio is an occasional audit read.
  • Kept — position-returns/explain keeps the returns engine's names (leg_role, usd_value) for its breakdown.

2026-11 — version on NAV marks counts sign-offs

  • Changed (breaking) — version on 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 read version: 2; it now reads 1. 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 strategy value of a position with debt is leveraged_lending (was leveraged_loop), on positions and single-position returns. The field and its type are unchanged. Match on leveraged_lending; leveraged_loop no 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-windows ends at the current time rounded up to the hour, the same window the app uses. No fields change.
  • Fixed — decimals in return-windows are plain digits (0.0000005, not 5E-7; 1000000, not 1.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 market null. No field changes.
  • Fixed — a request that fails validation on a decimal bound or a custom validator answers 422 with the reason, instead of 500.

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.kind erc4626 and the vault address as market.id. Blue market positions keep morpho (the market id). No field changes.

2026-10 — Positions carry their market

  • Added — market on every position (JSON only; never a CSV column): the on-chain market the position sits in, or null. {kind, protocol_id, chain, id}, where kind is aave_v3 (Aave V3 and Spark: the Pool address), aave_v4 (the Spoke address), morpho (Morpho Blue: the market id) or erc4626 (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/accounts and /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= is 403. A key created for "every portfolio I can access" (no longer offered) must now pass ?portfolio_id= on these paths, or gets 400 bad_request. An address that isn't in the portfolio is 404. 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_of on GET /v1/portfolios/{id}/summary for a portfolio whose display currency is EUR or GBP. They are metadata: every amount in the summary stays in USD, and no *_value fields are added. fx_rate is USD per one unit of currency, as on the returns endpoints, so a value converts as total_usd ÷ fx_rate without a second call. On a USD portfolio, or before any rate is stored, the three fields are absent. The summary ignores any currency query 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 (Python Decimal, JavaScript Number) you will not notice. If you feed these strings to a fixed-point parser, a NUMERIC column 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 when is_final is true.
  • 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: false and nav_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); the recurrence string 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=all gives every mark-to-mark period. twr_pct_usd is a ratio — 0.0034 is +0.34% — matching twr_pct elsewhere, and it is null, never 0, 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 strategy value. strategy on positions and returns can now read yield_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 of strategy values 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, amount and usd_value now report only the part counted in NAV. The exchange's own figures are in the new venue_amount and venue_usd_value, and the margin in nav_excluded_amount. The rule for reproducing NAV is unchanged: sum the balance rows not marked nav_excluded, plus the position nets. Rows without a margin, which is every row before this release, are unchanged.
  • Added: return periods carry funding_usd and fee_usd for an exchange perpetual whose period is read from the exchange's ledger. A period the ledger can't explain is frozen, with its state reading ledger_gap.
  • Changed: a perpetual's window_rate.net_apy on 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 /v1 money field is in USD, on every endpoint and in every CSV, whatever the portfolio's display currency. base_currency is always "USD", and /v1 has no currency parameter. The earlier Currency section described a currency parameter on every money endpoint and a data wrapper. Neither is part of /v1.
  • On a EUR or GBP portfolio, three returns endpoints carry additional *_value fields 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 currency query parameter (USD, EUR, GBP) to money endpoints. Responses carry an FX envelope (currency, fx_rate, fx_as_of) and additive *_value fields alongside the existing *_usd fields. USD passes through unchanged. See Currency.
  • Changed a portfolio's base_currency to 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.