wallets

Average-cost wallet P&L rollup

Free through 100 transactions and for the three public showcase addresses; larger histories for other addresses require an active Wallet+ session. Realized-gains CSV export is reserved for active Wallet+ accounts, with the same three showcase addresses remaining public.

get/v1/wallets/{address}/pnl

Request

  • Base URL: https://satoshidata.ai (the document declares no server; this is the origin it was published from)
  • URL: https://satoshidata.ai/v1/wallets/{address}/pnl
  • Auth: none declared

Path parameters

addressstring required

Query parameters

formatstring
currencystring

Headers

authorizationstring nullable

Response

Average-cost wallet P&L rollup

method'average_cost'
held_satsinteger required
cost_basisobject

Complete-FX currencies only; a currency is omitted if any relevant flow lacks its FX value.

realized_pnlobject

Complete-FX currencies only; a currency is omitted if any relevant flow lacks its FX value.

avg_cost_per_btcobject

Complete-FX currencies only; a currency is omitted if any relevant flow lacks its FX value.

inflow_countinteger required
outflow_countinteger required
pending_excludedinteger required
history_completeboolean required

False when transaction history, spend coverage, or any previously advertised currency FX series is incomplete.

computed_atstring required
as_of_blockinteger nullable
betaboolean nullable

Changes

No recorded changes to this operation across all 1 revision of this API.