Retrieve comprehensive perp account information including equity,
realized/unrealized PnL, margin utilization, and optional performance metrics.
Use include_performance=true to get historical return metrics.
Total cross-margin buying power across all collateral assets (USDC + secondary).
Formula: max(0, raw_free_collateral − order_margin)
= max(0, cross_margin + secondary_collateral_value + min(0, uPnL − funding) − initial_margin − order_margin)
Use this for "Available to Trade" display. Unlike usdc_cross_withdrawable_balance
(which is capped at the USDC balance), this reflects the full buying power including
DLP and other secondary collateral.
Cross-margin deficit: 0 when healthy, negative when the account has a margin hole.
When negative, new deposits will partially fill this deficit before becoming
available to trade. For example, deficit = -12 means a $185 deposit yields
only $173 available (the first $12 fills the hole).
Formula: min(0, margin_balance - margin_for_free_collateral + min(0, unrealized_pnl - funding) - order_margin)
Perp equity at FULL NAV — DLP / secondary collateral counted at oracle/computed
price WITHOUT the haircut discount. Intended for display ("your total
account value"). Do NOT use this as the equity input to client-side liquidation
price estimation; use perp_equity_haircutted instead so the estimate matches
the on-chain liquidation threshold.
Perp equity with the haircut applied to secondary collateral. This is the value
the on-chain liquidation engine uses to decide whether to liquidate. The order
form's pre-trade liquidation-price estimate must consume this (not
perp_equity_balance) to match the positions tab.
Difference from perp_equity_balance: perp_equity_balance - perp_equity_haircutted
equals the secondary collateral haircut discount (i.e. sum(amount × NAV × haircut_bps/10000)).
For accounts with no secondary collateral the two fields are equal.
USDC sitting in the subaccount's CROSS margin pool, before any withdrawable cap.
Can be negative when the account is underwater.
Distinct from total_margin, which is cross_margin + isolated_margin + secondary_collateral_value: subtracting the secondary breakdown from that leaves
cross AND isolated together, and isolated margin is locked behind isolated positions.
Any client sizing a cross-collateral move (dex_accounts_entry:: transfer_assets_between_non_collateral_and_collateral only touches the cross pool)
needs this figure, not that difference.
Also distinct from usdc_cross_withdrawable_balance, which is this balance capped by
free collateral and pending order margin — a limit on what may leave, not what is held.
Additive borrow/lend collateral section: BL target/max LTV and values,
kept DISTINCT from the perp haircut and risk totals above (BL applies
its own LTV weighting, not the perp haircut). Absent when borrow/lend
reads are disabled, the pool is not initialized, or the section is
unavailable (see borrow_lend_unavailable).
Set when borrow/lend reads are enabled but this section could not be
produced (read timeout, database error, unpriceable pledge). The rest
of the overview is unaffected; the dedicated /borrow_lend/* routes
return 503 for the same condition.
Non-trade fee income (vault/BLP accounts only).
Protocol fee distributions recorded as CBH Fee entries but not captured in trade fee_amount.
Regular users: always null (their CBH fee entries exactly match trade fee amounts).
USDC value of vault shares NOT currently pledged as DLP collateral on this
subaccount's perp account ("free" shares × NAV). This is the additive
complement to perp_equity_balance: summing the two gives the subaccount's
total wealth with no double-count of pledged DLP (which perp_equity_balance
already covers via secondary_collateral).
Equals 0.0 for users who pledge all their vault shares as collateral. The
full pre-pledge total is still visible in vault_equity for display.
NULL when not yet available (e.g., WebSocket updates before real-time vault tracking).
Total fees paid during margin call liquidations (always positive).
Fee rate is configurable per market (default 0.5%, max 2% of notional).
This is already included in realized_pnl but shown separately for transparency.
Null for accounts that have never been margin called.
Net collateral balance changes from liquidations (vault/BLP accounts only).
Regular users: always null - their liquidation loss is in realized_pnl via BackStopLiquidation trades.
Vault accounts: positive = margin received from liquidated users (profit),
negative = bad debt covered when users were underwater (loss).
Net deposits (total deposits - total withdrawals) in USDC.
Used to verify all_time_return: all_time_return = ((equity - net_deposits) / net_deposits) * 100
Spot-tradable inventory for this subaccount, sourced from PFS holdings.
USDC held in the PFS IS included as a PnL-less position priced 1.0: a
token sits in exactly one store, so PFS USDC can never overlap the CBS
balance that perp equity counts (no double-count possible), and the
spot_value_snapshots series counts it too — the live overview and the
portfolio chart must agree. in_flight_orders covers amounts locked in
escrow for open spot orders. NULL for wallet-only owners (no subaccount).
Total USDC value of vault shares attributed to this subaccount (free shares
in the subaccount's primary store plus shares pledged as DLP collateral
on its perp account). Intended for direct display ("your total vault position
is worth $X") — answers the question "what do I own in vaults?".
Do not add to perp_equity_balance to compute total wealth. The pledged
portion is already counted in perp_equity_balance via secondary_collateral,
so summing the two double-counts pledged DLP. Use free_vault_equity (below)
as the additive complement instead: perp_equity_balance + free_vault_equity
gives total wealth with no overlap.
NULL when not yet available (e.g., WebSocket updates before real-time vault tracking).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Decibel","colors":{"primary":"#FFBE0B","light":"#FFBE0B","dark":"#bf8e06"},"logo":{"light":"https://mintcdn.com/aptoslabs/v1mrvWAEF-j2Vo20/logo/fullmark_black.png?fit=max\u0026auto=format\u0026n=v1mrvWAEF-j2Vo20\u0026q=85\u0026s=8606664ecd7f84268c69aaeee50e6b4d","dark":"https://mintcdn.com/aptoslabs/v1mrvWAEF-j2Vo20/logo/fullmark_white.png?fit=max\u0026auto=format\u0026n=v1mrvWAEF-j2Vo20\u0026q=85\u0026s=d075df97c850a126ba8a120405120167"},"favicon":"https://mintcdn.com/aptoslabs/v1mrvWAEF-j2Vo20/favicon.ico?fit=max\u0026auto=format\u0026n=v1mrvWAEF-j2Vo20\u0026q=85\u0026s=b2f8f37db1b7d8632d17ad0ca8065eda","navbar":{"links":[{"href":"https://docs.decibel.trade/llms.txt","label":"LLMs.txt"},{"href":"https://discord.gg/decibel","label":"Support"}]},"footer":{"socials":{"x":"https://x.com/DecibelTrade"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aptoslabs","hasAudioNarration":false,"actualSubdomain":"aptoslabs","customDomains":["docs.decibel.trade"],"gitSource":{"type":"github","owner":"aptos-labs","repo":"etna","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aeb892df3783a031a51ac5e","collectionId":"ec21577c-8a5c-4d55-a915-d22f7cc8be1e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeb892df3783a031a51ac5e"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeb892df3783a031a51ac5e","clientVersion":"0.0.4064","searchFilterCounts":[{"language":"default","tag":"API: REST","count":84},{"language":"default","tag":"Developer Hub","count":53},{"language":"default","tag":"API: WebSocket","count":20},{"language":"default","tag":"For Traders","count":18},{"language":"default","tag":"Websockets","count":18},{"language":"default","tag":"Referrals","count":15},{"language":"default","tag":"Market Data","count":13},{"language":"default","tag":"On-Chain: Order Management","count":11},{"language":"default","tag":"Account","count":9},{"language":"default","tag":"Rewards Programs","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/account/get-account-overview","slug":"/api-reference/account/get-account-overview","pageMetadata":{"title":"Get account overview","description":"Retrieve comprehensive perp account information including equity,\nrealized/unrealized PnL, margin utilization, and optional performance metrics.\nUse `include_performance=true` to get historical return metrics.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/account_overviews","href":"/api-reference/account/get-account-overview","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Retrieve comprehensive perp account information including equity,\\nrealized/unrealized PnL, margin utilization, and optional performance metrics.\\nUse \", _jsx(_components.code, {\n children: \"include_performance=true\"\n }), \" to get historical return metrics.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get account overview","description":"Retrieve comprehensive perp account information including equity,\nrealized/unrealized PnL, margin utilization, and optional performance metrics.\nUse `include_performance=true` to get historical return metrics.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/account_overviews","href":"/api-reference/account/get-account-overview","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Account"],"summary":"Get account overview","description":"Retrieve comprehensive perp account information including equity,\nrealized/unrealized PnL, margin utilization, and optional performance metrics.\nUse `include_performance=true` to get historical return metrics.","operationId":"handle_account_overview","parameters":["c36cf00e-4d20-4677-b83b-65dd42f5ded4","a8918900-ccec-4f2d-afcd-f770308829a2","0bf6c252-1177-4cc9-845d-abff2d756bd5","34a40dc1-a3df-41bb-b64b-817948ab8568"],"responses":{"200":"d0035812-d677-4500-bfdd-101d160092b9","500":"6273ab01-4988-44e1-97b8-f9833445183d"},"method":"get","type":"path","servers":["c8273ef7-994d-4342-9047-9767e0deeea2","da7ecace-9492-4874-924e-a7578376481a"],"security":["358308dd-965e-42e6-b033-30b919be0b62"],"path":"/api/v1/account_overviews","baseUrlOptions":["https://api.mainnet.aptoslabs.com/decibel","https://api.testnet.aptoslabs.com/decibel"],"title":"Get account overview","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c36cf00e-4d20-4677-b83b-65dd42f5ded4":{"name":"account","in":"query","description":"User account address (`user` query alias is also accepted)","required":true,"schema":{"type":"string","isRequired":true,"description":"User account address (`user` query alias is also accepted)","uniqueKey":"","typeLabel":"string"},"example":"0x123..."},"a8918900-ccec-4f2d-afcd-f770308829a2":{"name":"volume_window","in":"query","description":"Volume time window (e.g., \"7d\", \"14d\", \"30d\", \"90d\"). Omit to exclude volume data.","required":false,"schema":{"type":"string","description":"Volume time window (e.g., \"7d\", \"14d\", \"30d\", \"90d\"). Omit to exclude volume data.\nTime window for volume queries","enum":["7d","14d","30d","90d"],"isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"example":"30d"},"0bf6c252-1177-4cc9-845d-abff2d756bd5":{"name":"include_performance","in":"query","description":"Include performance metrics","required":false,"schema":{"type":"boolean","default":false,"isRequired":false,"description":"Include performance metrics","uniqueKey":"","typeLabel":"boolean"},"example":false},"34a40dc1-a3df-41bb-b64b-817948ab8568":{"name":"performance_lookback_days","in":"query","description":"Performance lookback window in days.","required":false,"schema":{"type":"integer","format":"int32","default":90,"minimum":0,"isRequired":false,"description":"Performance lookback window in days.","uniqueKey":"","typeLabel":"integer\u003cint32>"},"example":90}},"responses":{"d0035812-d677-4500-bfdd-101d160092b9":{"description":"Account overview retrieved successfully","content":{"application/json":{"schema":{"type":"object","required":["perp_equity_balance","perp_equity_haircutted","unrealized_pnl","unrealized_funding_cost","cross_margin_ratio","maintenance_margin","cross_account_leverage_ratio","total_margin","usdc_cross_withdrawable_balance","usdc_isolated_withdrawable_balance","usdc_cross_balance","margin_deficit","cross_available_to_trade"],"properties":{"cross_account_leverage_ratio":{"type":"number","format":"double","example":40.99,"isRequired":true,"uniqueKey":"cross_account_leverage_ratio","typeLabel":"number\u003cdouble>"},"cross_available_to_trade":{"type":"number","format":"double","description":"Total cross-margin buying power across all collateral assets (USDC + secondary).\nFormula: max(0, raw_free_collateral − order_margin)\n = max(0, cross_margin + secondary_collateral_value + min(0, uPnL − funding) − initial_margin − order_margin)\nUse this for \"Available to Trade\" display. Unlike usdc_cross_withdrawable_balance\n(which is capped at the USDC balance), this reflects the full buying power including\nDLP and other secondary collateral.","example":4791.47,"isRequired":true,"uniqueKey":"cross_available_to_trade","typeLabel":"number\u003cdouble>"},"cross_margin_ratio":{"type":"number","format":"double","example":0.01,"isRequired":true,"uniqueKey":"cross_margin_ratio","typeLabel":"number\u003cdouble>"},"maintenance_margin":{"type":"number","format":"double","example":115.29,"isRequired":true,"uniqueKey":"maintenance_margin","typeLabel":"number\u003cdouble>"},"margin_deficit":{"type":"number","format":"double","description":"Cross-margin deficit: 0 when healthy, negative when the account has a margin hole.\nWhen negative, new deposits will partially fill this deficit before becoming\navailable to trade. For example, deficit = -12 means a $185 deposit yields\nonly $173 available (the first $12 fills the hole).\nFormula: min(0, margin_balance - margin_for_free_collateral + min(0, unrealized_pnl - funding) - order_margin)","example":-12.06,"isRequired":true,"uniqueKey":"margin_deficit","typeLabel":"number\u003cdouble>"},"perp_equity_balance":{"type":"number","format":"double","description":"Perp equity at FULL NAV — DLP / secondary collateral counted at oracle/computed\nprice WITHOUT the haircut discount. Intended for **display** (\"your total\naccount value\"). Do NOT use this as the equity input to client-side liquidation\nprice estimation; use `perp_equity_haircutted` instead so the estimate matches\nthe on-chain liquidation threshold.","example":10064.88,"isRequired":true,"uniqueKey":"perp_equity_balance","typeLabel":"number\u003cdouble>"},"perp_equity_haircutted":{"type":"number","format":"double","description":"Perp equity with the haircut applied to secondary collateral. This is the value\nthe on-chain liquidation engine uses to decide whether to liquidate. The order\nform's pre-trade liquidation-price estimate must consume this (not\n`perp_equity_balance`) to match the positions tab.\n\nDifference from `perp_equity_balance`: `perp_equity_balance - perp_equity_haircutted`\nequals the secondary collateral haircut discount (i.e. `sum(amount × NAV × haircut_bps/10000)`).\nFor accounts with no secondary collateral the two fields are equal.","example":10054.92,"isRequired":true,"uniqueKey":"perp_equity_haircutted","typeLabel":"number\u003cdouble>"},"total_margin":{"type":"number","format":"double","example":9998.72,"isRequired":true,"uniqueKey":"total_margin","typeLabel":"number\u003cdouble>"},"unrealized_funding_cost":{"type":"number","format":"double","example":-87.84,"isRequired":true,"uniqueKey":"unrealized_funding_cost","typeLabel":"number\u003cdouble>"},"unrealized_pnl":{"type":"number","format":"double","example":154,"isRequired":true,"uniqueKey":"unrealized_pnl","typeLabel":"number\u003cdouble>"},"usdc_cross_balance":{"type":"number","format":"double","description":"USDC sitting in the subaccount's CROSS margin pool, before any withdrawable cap.\nCan be negative when the account is underwater.\n\nDistinct from `total_margin`, which is `cross_margin + isolated_margin +\nsecondary_collateral_value`: subtracting the secondary breakdown from that leaves\ncross AND isolated together, and isolated margin is locked behind isolated positions.\nAny client sizing a cross-collateral move (`dex_accounts_entry::\ntransfer_assets_between_non_collateral_and_collateral` only touches the cross pool)\nneeds this figure, not that difference.\n\nAlso distinct from `usdc_cross_withdrawable_balance`, which is this balance capped by\nfree collateral and pending order margin — a limit on what may leave, not what is held.","example":9998.72,"isRequired":true,"uniqueKey":"usdc_cross_balance","typeLabel":"number\u003cdouble>"},"usdc_cross_withdrawable_balance":{"type":"number","format":"double","example":9843.79,"isRequired":true,"uniqueKey":"usdc_cross_withdrawable_balance","typeLabel":"number\u003cdouble>"},"usdc_isolated_withdrawable_balance":{"type":"number","format":"double","example":0,"isRequired":true,"uniqueKey":"usdc_isolated_withdrawable_balance","typeLabel":"number\u003cdouble>"},"all_time_return":{"oneOf":[{"type":"number","format":"double","uniqueKey":"all_time_return.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"all_time_return.oneOf.1","typeLabel":"null"}],"uniqueKey":"all_time_return","typeLabel":"number\u003cdouble> | null"},"average_cash_position":{"oneOf":[{"type":"number","format":"double","uniqueKey":"average_cash_position.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"average_cash_position.oneOf.1","typeLabel":"null"}],"uniqueKey":"average_cash_position","typeLabel":"number\u003cdouble> | null"},"average_leverage":{"oneOf":[{"type":"number","format":"double","uniqueKey":"average_leverage.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"average_leverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"average_leverage","typeLabel":"number\u003cdouble> | null"},"borrow_lend":{"oneOf":[{"type":"null","uniqueKey":"borrow_lend.oneOf.0","typeLabel":"null"},{"type":"object","description":"Additive borrow/lend collateral section: BL target/max LTV and values,\nkept DISTINCT from the perp haircut and risk totals above (BL applies\nits own LTV weighting, not the perp haircut). Absent when borrow/lend\nreads are disabled, the pool is not initialized, or the section is\nunavailable (see `borrow_lend_unavailable`).","required":["owner","rescue_enabled","debt_in_primary","liquidatable","pledges","collateral_value_in_primary","max_weighted_collateral_in_primary","borrow_capacity_in_primary"],"properties":{"borrow_capacity_in_primary":{"type":"string","isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.borrow_capacity_in_primary","typeLabel":"string"},"collateral_value_in_primary":{"type":"string","isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.collateral_value_in_primary","typeLabel":"string"},"debt_in_primary":{"type":"string","description":"Debt at the chain's last recorded index update; no off-chain accrual.","isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.debt_in_primary","typeLabel":"string"},"liquidatable":{"type":"boolean","isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.liquidatable","typeLabel":"boolean"},"max_weighted_collateral_in_primary":{"type":"string","isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.max_weighted_collateral_in_primary","typeLabel":"string"},"owner":{"type":"string","isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.owner","typeLabel":"string"},"pledges":{"type":"array","items":{"type":"object","description":"One pledged asset in the account-overview's additive borrow/lend section:\nBL's own target/max LTV weighting, distinct from the perp haircut.","required":["asset","decimals","amount","value_in_primary","max_weighted_value_in_primary","target_weighted_value_in_primary","max_ltv_bps","target_ltv_bps"],"properties":{"amount":{"type":"string","isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.pledges.items.[INDEX].amount","typeLabel":"string"},"asset":{"type":"string","isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.pledges.items.[INDEX].asset","typeLabel":"string"},"decimals":{"type":"integer","format":"int32","minimum":0,"isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.pledges.items.[INDEX].decimals","typeLabel":"integer\u003cint32>"},"max_ltv_bps":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.pledges.items.[INDEX].max_ltv_bps","typeLabel":"integer\u003cint64>"},"max_weighted_value_in_primary":{"type":"string","isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.pledges.items.[INDEX].max_weighted_value_in_primary","typeLabel":"string"},"target_ltv_bps":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.pledges.items.[INDEX].target_ltv_bps","typeLabel":"integer\u003cint64>"},"target_weighted_value_in_primary":{"type":"string","isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.pledges.items.[INDEX].target_weighted_value_in_primary","typeLabel":"string"},"value_in_primary":{"type":"string","isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.pledges.items.[INDEX].value_in_primary","typeLabel":"string"},"price_in_primary_per_unit":{"oneOf":[{"type":"string","description":"Null when the asset has no registered market source, the market's mode\nis unknown, or it has no recorded positive oracle price. \"0\" only when\nthe source market is Delisting.","uniqueKey":"borrow_lend.oneOf.1.pledges.items.[INDEX].price_in_primary_per_unit.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null when the asset has no registered market source, the market's mode\nis unknown, or it has no recorded positive oracle price. \"0\" only when\nthe source market is Delisting.","uniqueKey":"borrow_lend.oneOf.1.pledges.items.[INDEX].price_in_primary_per_unit.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrow_lend.oneOf.1.pledges.items.[INDEX].price_in_primary_per_unit","typeLabel":"string | null"}},"uniqueKey":"borrow_lend.oneOf.1.pledges.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.pledges","typeLabel":"object[]"},"rescue_enabled":{"type":"boolean","description":"Always present. An account with no borrower record reads the chain\ndefault, true.","isRequired":true,"uniqueKey":"borrow_lend.oneOf.1.rescue_enabled","typeLabel":"boolean"}},"uniqueKey":"borrow_lend.oneOf.1","typeLabel":"object"}],"uniqueKey":"borrow_lend","typeLabel":"null | object"},"borrow_lend_unavailable":{"oneOf":[{"type":"string","description":"Set when borrow/lend reads are enabled but this section could not be\nproduced (read timeout, database error, unpriceable pledge). The rest\nof the overview is unaffected; the dedicated `/borrow_lend/*` routes\nreturn 503 for the same condition.","example":"Borrow/lend state is unavailable","uniqueKey":"borrow_lend_unavailable.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set when borrow/lend reads are enabled but this section could not be\nproduced (read timeout, database error, unpriceable pledge). The rest\nof the overview is unaffected; the dedicated `/borrow_lend/*` routes\nreturn 503 for the same condition.","example":"Borrow/lend state is unavailable","uniqueKey":"borrow_lend_unavailable.oneOf.1","typeLabel":"null"}],"uniqueKey":"borrow_lend_unavailable","typeLabel":"string | null"},"cross_account_position":{"oneOf":[{"type":"number","format":"double","uniqueKey":"cross_account_position.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"cross_account_position.oneOf.1","typeLabel":"null"}],"uniqueKey":"cross_account_position","typeLabel":"number\u003cdouble> | null"},"fee_income":{"oneOf":[{"type":"number","format":"double","description":"Non-trade fee income (vault/BLP accounts only).\nProtocol fee distributions recorded as CBH Fee entries but not captured in trade fee_amount.\nRegular users: always null (their CBH fee entries exactly match trade fee amounts).","example":5386,"uniqueKey":"fee_income.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Non-trade fee income (vault/BLP accounts only).\nProtocol fee distributions recorded as CBH Fee entries but not captured in trade fee_amount.\nRegular users: always null (their CBH fee entries exactly match trade fee amounts).","example":5386,"uniqueKey":"fee_income.oneOf.1","typeLabel":"null"}],"uniqueKey":"fee_income","typeLabel":"number\u003cdouble> | null"},"free_vault_equity":{"oneOf":[{"type":"number","format":"double","description":"USDC value of vault shares NOT currently pledged as DLP collateral on this\nsubaccount's perp account (\"free\" shares × NAV). This is the additive\ncomplement to `perp_equity_balance`: summing the two gives the subaccount's\ntotal wealth with no double-count of pledged DLP (which `perp_equity_balance`\nalready covers via `secondary_collateral`).\n\nEquals 0.0 for users who pledge all their vault shares as collateral. The\nfull pre-pledge total is still visible in `vault_equity` for display.\n\nNULL when not yet available (e.g., WebSocket updates before real-time vault tracking).","example":14.65,"uniqueKey":"free_vault_equity.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"USDC value of vault shares NOT currently pledged as DLP collateral on this\nsubaccount's perp account (\"free\" shares × NAV). This is the additive\ncomplement to `perp_equity_balance`: summing the two gives the subaccount's\ntotal wealth with no double-count of pledged DLP (which `perp_equity_balance`\nalready covers via `secondary_collateral`).\n\nEquals 0.0 for users who pledge all their vault shares as collateral. The\nfull pre-pledge total is still visible in `vault_equity` for display.\n\nNULL when not yet available (e.g., WebSocket updates before real-time vault tracking).","example":14.65,"uniqueKey":"free_vault_equity.oneOf.1","typeLabel":"null"}],"uniqueKey":"free_vault_equity","typeLabel":"number\u003cdouble> | null"},"liquidation_fees_paid":{"oneOf":[{"type":"number","format":"double","description":"Total fees paid during margin call liquidations (always positive).\nFee rate is configurable per market (default 0.5%, max 2% of notional).\nThis is already included in realized_pnl but shown separately for transparency.\nNull for accounts that have never been margin called.","example":45.5,"uniqueKey":"liquidation_fees_paid.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Total fees paid during margin call liquidations (always positive).\nFee rate is configurable per market (default 0.5%, max 2% of notional).\nThis is already included in realized_pnl but shown separately for transparency.\nNull for accounts that have never been margin called.","example":45.5,"uniqueKey":"liquidation_fees_paid.oneOf.1","typeLabel":"null"}],"uniqueKey":"liquidation_fees_paid","typeLabel":"number\u003cdouble> | null"},"liquidation_losses":{"oneOf":[{"type":"number","format":"double","description":"Net collateral balance changes from liquidations (vault/BLP accounts only).\nRegular users: always null - their liquidation loss is in realized_pnl via BackStopLiquidation trades.\nVault accounts: positive = margin received from liquidated users (profit),\n negative = bad debt covered when users were underwater (loss).","example":-500,"uniqueKey":"liquidation_losses.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Net collateral balance changes from liquidations (vault/BLP accounts only).\nRegular users: always null - their liquidation loss is in realized_pnl via BackStopLiquidation trades.\nVault accounts: positive = margin received from liquidated users (profit),\n negative = bad debt covered when users were underwater (loss).","example":-500,"uniqueKey":"liquidation_losses.oneOf.1","typeLabel":"null"}],"uniqueKey":"liquidation_losses","typeLabel":"number\u003cdouble> | null"},"max_drawdown":{"oneOf":[{"type":"number","format":"double","uniqueKey":"max_drawdown.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"max_drawdown.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_drawdown","typeLabel":"number\u003cdouble> | null"},"net_deposits":{"oneOf":[{"type":"number","format":"double","description":"Net deposits (total deposits - total withdrawals) in USDC.\nUsed to verify all_time_return: all_time_return = ((equity - net_deposits) / net_deposits) * 100","example":30277044.96,"uniqueKey":"net_deposits.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Net deposits (total deposits - total withdrawals) in USDC.\nUsed to verify all_time_return: all_time_return = ((equity - net_deposits) / net_deposits) * 100","example":30277044.96,"uniqueKey":"net_deposits.oneOf.1","typeLabel":"null"}],"uniqueKey":"net_deposits","typeLabel":"number\u003cdouble> | null"},"pnl_90d":{"oneOf":[{"type":"number","format":"double","uniqueKey":"pnl_90d.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"pnl_90d.oneOf.1","typeLabel":"null"}],"uniqueKey":"pnl_90d","typeLabel":"number\u003cdouble> | null"},"realized_pnl":{"oneOf":[{"type":"number","format":"double","example":1250.5,"uniqueKey":"realized_pnl.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","example":1250.5,"uniqueKey":"realized_pnl.oneOf.1","typeLabel":"null"}],"uniqueKey":"realized_pnl","typeLabel":"number\u003cdouble> | null"},"secondary_collateral":{"oneOf":[{"type":"array","items":{"type":"object","description":"Secondary (non-USDC) collateral held in cross margin.","required":["asset_type","amount","value_in_usdc","nav_per_unit","haircut_bps","withdrawable_amount"],"properties":{"amount":{"type":"number","format":"double","description":"Raw balance normalized to human units (balance / 10^decimals).","example":150,"isRequired":true,"uniqueKey":"secondary_collateral.oneOf.0.items.[INDEX].amount","typeLabel":"number\u003cdouble>"},"asset_type":{"type":"string","description":"On-chain asset type address (e.g., DLP fungible asset address).","example":"0x1234...","isRequired":true,"uniqueKey":"secondary_collateral.oneOf.0.items.[INDEX].asset_type","typeLabel":"string"},"haircut_bps":{"type":"integer","format":"int64","description":"Haircut applied to the oracle price for margin purposes (in basis points).","example":500,"minimum":0,"isRequired":true,"uniqueKey":"secondary_collateral.oneOf.0.items.[INDEX].haircut_bps","typeLabel":"integer\u003cint64>"},"nav_per_unit":{"type":"number","format":"double","description":"NAV per unit in USDC terms (oracle price / 10^collateral_decimals).","example":1.05,"isRequired":true,"uniqueKey":"secondary_collateral.oneOf.0.items.[INDEX].nav_per_unit","typeLabel":"number\u003cdouble>"},"value_in_usdc":{"type":"number","format":"double","description":"USDC-equivalent value after applying the haircut.\nFormula: amount * (nav_per_unit * (10000 - haircut_bps) / 10000).","example":142.5,"isRequired":true,"uniqueKey":"secondary_collateral.oneOf.0.items.[INDEX].value_in_usdc","typeLabel":"number\u003cdouble>"},"withdrawable_amount":{"type":"number","format":"double","description":"Maximum amount of this secondary asset that can be withdrawn without\nviolating margin requirements.","example":100,"isRequired":true,"uniqueKey":"secondary_collateral.oneOf.0.items.[INDEX].withdrawable_amount","typeLabel":"number\u003cdouble>"}},"uniqueKey":"secondary_collateral.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Secondary (non-USDC) collateral held in cross margin.\nNULL when no secondary collateral exists or oracle data is unavailable.","uniqueKey":"secondary_collateral.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Secondary (non-USDC) collateral held in cross margin.","required":["asset_type","amount","value_in_usdc","nav_per_unit","haircut_bps","withdrawable_amount"],"properties":{"amount":{"type":"number","format":"double","description":"Raw balance normalized to human units (balance / 10^decimals).","example":150},"asset_type":{"type":"string","description":"On-chain asset type address (e.g., DLP fungible asset address).","example":"0x1234..."},"haircut_bps":{"type":"integer","format":"int64","description":"Haircut applied to the oracle price for margin purposes (in basis points).","example":500,"minimum":0},"nav_per_unit":{"type":"number","format":"double","description":"NAV per unit in USDC terms (oracle price / 10^collateral_decimals).","example":1.05},"value_in_usdc":{"type":"number","format":"double","description":"USDC-equivalent value after applying the haircut.\nFormula: amount * (nav_per_unit * (10000 - haircut_bps) / 10000).","example":142.5},"withdrawable_amount":{"type":"number","format":"double","description":"Maximum amount of this secondary asset that can be withdrawn without\nviolating margin requirements.","example":100}}},"description":"Secondary (non-USDC) collateral held in cross margin.\nNULL when no secondary collateral exists or oracle data is unavailable.","uniqueKey":"secondary_collateral.oneOf.1","typeLabel":"null"}],"uniqueKey":"secondary_collateral","typeLabel":"object[] | null"},"sharpe_ratio":{"oneOf":[{"type":"number","format":"double","uniqueKey":"sharpe_ratio.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"sharpe_ratio.oneOf.1","typeLabel":"null"}],"uniqueKey":"sharpe_ratio","typeLabel":"number\u003cdouble> | null"},"spot":{"oneOf":[{"type":"null","uniqueKey":"spot.oneOf.0","typeLabel":"null"},{"type":"object","description":"Spot-tradable inventory for this subaccount, sourced from PFS holdings.\nUSDC held in the PFS IS included as a PnL-less position priced 1.0: a\ntoken sits in exactly one store, so PFS USDC can never overlap the CBS\nbalance that perp equity counts (no double-count possible), and the\nspot_value_snapshots series counts it too — the live overview and the\nportfolio chart must agree. `in_flight_orders` covers amounts locked in\nescrow for open spot orders. NULL for wallet-only owners (no subaccount).","required":["positions","total_usd","in_flight_orders","total_unrealized_pnl_usd"],"properties":{"in_flight_orders":{"type":"array","items":{"type":"object","required":["market_addr","order_id","is_bid","reserved_asset","reserved_amount","reserved_usd_value"],"properties":{"is_bid":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"spot.oneOf.1.in_flight_orders.items.[INDEX].is_bid","typeLabel":"boolean"},"market_addr":{"type":"string","example":"0x26f1dd...","isRequired":true,"uniqueKey":"spot.oneOf.1.in_flight_orders.items.[INDEX].market_addr","typeLabel":"string"},"order_id":{"type":"string","description":"Numeric on-chain order id for regular orders. Bulk-order ladders are\nfolded into ONE aggregate entry per (market, side) whose `order_id` is\nthe literal string `\"bulk\"` ([`BULK_AGGREGATE_ORDER_ID`]); clients\nmust not parse it as a number or use it for cancellation.","example":"1234","isRequired":true,"uniqueKey":"spot.oneOf.1.in_flight_orders.items.[INDEX].order_id","typeLabel":"string"},"reserved_amount":{"type":"number","format":"double","description":"Reserved amount in human units.","example":500,"isRequired":true,"uniqueKey":"spot.oneOf.1.in_flight_orders.items.[INDEX].reserved_amount","typeLabel":"number\u003cdouble>"},"reserved_asset":{"type":"string","description":"FA metadata address for the reserved asset (quote for bids, base for asks).","isRequired":true,"uniqueKey":"spot.oneOf.1.in_flight_orders.items.[INDEX].reserved_asset","typeLabel":"string"},"reserved_usd_value":{"type":"number","format":"double","description":"USDC-equivalent value at current mark.","example":500,"isRequired":true,"uniqueKey":"spot.oneOf.1.in_flight_orders.items.[INDEX].reserved_usd_value","typeLabel":"number\u003cdouble>"}},"uniqueKey":"spot.oneOf.1.in_flight_orders.items.[INDEX]","typeLabel":"object"},"description":"One row per open spot order for this subaccount. `reserved_asset` is the\nside that the user must have paid to enter the order (USDC for bids, base\nfor asks). USD-equivalent computed at current mark.","isRequired":true,"uniqueKey":"spot.oneOf.1.in_flight_orders","typeLabel":"object[]"},"positions":{"type":"array","items":{"type":"object","required":["asset_addr","asset_symbol","amount","usd_value","entry_notional_usd","unrealized_pnl_usd"],"properties":{"amount":{"type":"number","format":"double","description":"Balance normalized to human units (raw_balance / 10^decimals).","example":10,"isRequired":true,"uniqueKey":"spot.oneOf.1.positions.items.[INDEX].amount","typeLabel":"number\u003cdouble>"},"asset_addr":{"type":"string","description":"FA metadata address for the held asset.","example":"0x000000000000000000000000000000000000000000000000000000000000000a","isRequired":true,"uniqueKey":"spot.oneOf.1.positions.items.[INDEX].asset_addr","typeLabel":"string"},"asset_symbol":{"type":"string","description":"Human-readable symbol from the spot market (e.g., \"APT\"). Best-effort from\n`spot_markets` metadata; empty when the asset isn't currently a base of any\nregistered market.","example":"APT","isRequired":true,"uniqueKey":"spot.oneOf.1.positions.items.[INDEX].asset_symbol","typeLabel":"string"},"entry_notional_usd":{"type":"number","format":"double","description":"Weighted-average cost of the units in this position that were actually\nBOUGHT. Analogue of Hyperliquid `spotClearinghouseState.entryNtl`.\n`0.0` when the asset carries no on-book fills (e.g. an external FA\ntransfer) — the stats MV only sees fills.\n\nCovers `amount` only when the account still holds no more than it\nbought. Beyond that the excess arrived by transfer at an unrecorded\nprice, and the costed pool is shared with base escrowed behind resting\nasks, so this is the PFS share of it.","example":82.4,"isRequired":true,"uniqueKey":"spot.oneOf.1.positions.items.[INDEX].entry_notional_usd","typeLabel":"number\u003cdouble>"},"unrealized_pnl_usd":{"type":"number","format":"double","description":"Unrealized PnL on the costed units only. Negative when mark \u003c avg cost.\n\nNOT `usd_value - entry_notional_usd`: `usd_value` marks every held unit\nwhile this covers only the ones with a known cost. The two agree only\nfor a fully-costed position.","example":4.75,"isRequired":true,"uniqueKey":"spot.oneOf.1.positions.items.[INDEX].unrealized_pnl_usd","typeLabel":"number\u003cdouble>"},"usd_value":{"type":"number","format":"double","description":"amount × current mark price.","example":87.15,"isRequired":true,"uniqueKey":"spot.oneOf.1.positions.items.[INDEX].usd_value","typeLabel":"number\u003cdouble>"}},"uniqueKey":"spot.oneOf.1.positions.items.[INDEX]","typeLabel":"object"},"description":"Assets held in this subaccount's PFS (base assets + USDC). Each row is\none asset held; balance × mark_price = usd_value. Mark resolution per\nmarket follows the shared spot rule (all_spot_mids / asset_contexts /\nspot_value_snapshots): mid of a TWO-SIDED book, else last trade price,\nelse 0. USDC is marked 1.0 by definition.","isRequired":true,"uniqueKey":"spot.oneOf.1.positions","typeLabel":"object[]"},"total_unrealized_pnl_usd":{"type":"number","format":"double","description":"Unrealized PnL across everything the subaccount controls: PFS holdings\nplus base escrowed behind resting orders. Not the sum of\n`positions[].unrealized_pnl_usd`, which is PFS-only.\n\nBid escrow, PFS USDC, and units with no on-book cost all contribute 0.","example":4.75,"isRequired":true,"uniqueKey":"spot.oneOf.1.total_unrealized_pnl_usd","typeLabel":"number\u003cdouble>"},"total_usd":{"type":"number","format":"double","description":"USDC-equivalent value of every position + reserved amount in open spot orders.","example":872.3,"isRequired":true,"uniqueKey":"spot.oneOf.1.total_usd","typeLabel":"number\u003cdouble>"},"metrics":{"oneOf":[{"type":"null","uniqueKey":"spot.oneOf.1.metrics.oneOf.0","typeLabel":"null"},{"type":"object","description":"Aggregate spot trading metrics for this subaccount: volume, fees, and\nrealized PnL summed across all spot markets. `None` when the subaccount\nhas never traded spot (or the stats MV hasn't materialized yet).","required":["cumulative_volume_usd","cumulative_taker_fees_usd","cumulative_maker_fees_usd","cumulative_realized_pnl_usd"],"properties":{"cumulative_maker_fees_usd":{"type":"number","format":"double","description":"Cumulative fees paid on fills where this account was the maker, USD.","example":4.1,"isRequired":true,"uniqueKey":"spot.oneOf.1.metrics.oneOf.1.cumulative_maker_fees_usd","typeLabel":"number\u003cdouble>"},"cumulative_realized_pnl_usd":{"type":"number","format":"double","description":"Cumulative realized PnL from spot sells, USD, GROSS of fees (they render\nbeside this in their own row). Weighted-average basis, prorated to the\nshare of units sold that had a known cost.","example":142.55,"isRequired":true,"uniqueKey":"spot.oneOf.1.metrics.oneOf.1.cumulative_realized_pnl_usd","typeLabel":"number\u003cdouble>"},"cumulative_taker_fees_usd":{"type":"number","format":"double","description":"Cumulative fees paid on fills where this account was the taker, USD.","example":12.29,"isRequired":true,"uniqueKey":"spot.oneOf.1.metrics.oneOf.1.cumulative_taker_fees_usd","typeLabel":"number\u003cdouble>"},"cumulative_volume_usd":{"type":"number","format":"double","description":"Cumulative spot volume traded (both taker and maker sides), USD.","example":24580.1,"isRequired":true,"uniqueKey":"spot.oneOf.1.metrics.oneOf.1.cumulative_volume_usd","typeLabel":"number\u003cdouble>"}},"uniqueKey":"spot.oneOf.1.metrics.oneOf.1","typeLabel":"object"}],"uniqueKey":"spot.oneOf.1.metrics","typeLabel":"null | object"}},"uniqueKey":"spot.oneOf.1","typeLabel":"object"}],"uniqueKey":"spot","typeLabel":"null | object"},"vault_equity":{"oneOf":[{"type":"number","format":"double","description":"Total USDC value of vault shares attributed to this subaccount (free shares\nin the subaccount's primary store **plus** shares pledged as DLP collateral\non its perp account). Intended for direct display (\"your total vault position\nis worth $X\") — answers the question \"what do I own in vaults?\".\n\n**Do not add to `perp_equity_balance` to compute total wealth.** The pledged\nportion is already counted in `perp_equity_balance` via `secondary_collateral`,\nso summing the two double-counts pledged DLP. Use `free_vault_equity` (below)\nas the additive complement instead: `perp_equity_balance + free_vault_equity`\ngives total wealth with no overlap.\n\nNULL when not yet available (e.g., WebSocket updates before real-time vault tracking).","example":259.73,"uniqueKey":"vault_equity.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Total USDC value of vault shares attributed to this subaccount (free shares\nin the subaccount's primary store **plus** shares pledged as DLP collateral\non its perp account). Intended for direct display (\"your total vault position\nis worth $X\") — answers the question \"what do I own in vaults?\".\n\n**Do not add to `perp_equity_balance` to compute total wealth.** The pledged\nportion is already counted in `perp_equity_balance` via `secondary_collateral`,\nso summing the two double-counts pledged DLP. Use `free_vault_equity` (below)\nas the additive complement instead: `perp_equity_balance + free_vault_equity`\ngives total wealth with no overlap.\n\nNULL when not yet available (e.g., WebSocket updates before real-time vault tracking).","example":259.73,"uniqueKey":"vault_equity.oneOf.1","typeLabel":"null"}],"uniqueKey":"vault_equity","typeLabel":"number\u003cdouble> | null"},"volume":{"oneOf":[{"type":"number","format":"double","uniqueKey":"volume.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"volume.oneOf.1","typeLabel":"null"}],"uniqueKey":"volume","typeLabel":"number\u003cdouble> | null"},"weekly_win_rate_12w":{"oneOf":[{"type":"number","format":"double","uniqueKey":"weekly_win_rate_12w.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"weekly_win_rate_12w.oneOf.1","typeLabel":"null"}],"uniqueKey":"weekly_win_rate_12w","typeLabel":"number\u003cdouble> | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"cross_account_leverage_ratio":40.99,"cross_available_to_trade":4791.47,"cross_margin_ratio":0.01,"maintenance_margin":115.29,"margin_deficit":-12.06,"perp_equity_balance":10064.88,"perp_equity_haircutted":10054.92,"total_margin":9998.72,"unrealized_funding_cost":-87.84,"unrealized_pnl":154,"usdc_cross_balance":9998.72,"usdc_cross_withdrawable_balance":9843.79,"usdc_isolated_withdrawable_balance":0,"all_time_return":123,"average_cash_position":123,"average_leverage":123,"borrow_lend":{"borrow_capacity_in_primary":"\u003cstring>","collateral_value_in_primary":"\u003cstring>","debt_in_primary":"\u003cstring>","liquidatable":true,"max_weighted_collateral_in_primary":"\u003cstring>","owner":"\u003cstring>","pledges":[{"amount":"\u003cstring>","asset":"\u003cstring>","decimals":1,"max_ltv_bps":1,"max_weighted_value_in_primary":"\u003cstring>","target_ltv_bps":1,"target_weighted_value_in_primary":"\u003cstring>","value_in_primary":"\u003cstring>","price_in_primary_per_unit":"\u003cstring>"}],"rescue_enabled":true},"borrow_lend_unavailable":"Borrow/lend state is unavailable","cross_account_position":123,"fee_income":5386,"free_vault_equity":14.65,"liquidation_fees_paid":45.5,"liquidation_losses":-500,"max_drawdown":123,"net_deposits":30277044.96,"pnl_90d":123,"realized_pnl":1250.5,"secondary_collateral":[{"amount":150,"asset_type":"0x1234...","haircut_bps":500,"nav_per_unit":1.05,"value_in_usdc":142.5,"withdrawable_amount":100}],"sharpe_ratio":123,"spot":{"in_flight_orders":[{"is_bid":true,"market_addr":"0x26f1dd...","order_id":"1234","reserved_amount":500,"reserved_asset":"\u003cstring>","reserved_usd_value":500}],"positions":[{"amount":10,"asset_addr":"0x000000000000000000000000000000000000000000000000000000000000000a","asset_symbol":"APT","entry_notional_usd":82.4,"unrealized_pnl_usd":4.75,"usd_value":87.15}],"total_unrealized_pnl_usd":4.75,"total_usd":872.3,"metrics":{"cumulative_maker_fees_usd":4.1,"cumulative_realized_pnl_usd":142.55,"cumulative_taker_fees_usd":12.29,"cumulative_volume_usd":24580.1}},"vault_equity":259.73,"volume":123,"weekly_win_rate_12w":123}}},"exampleType":"generated"}},"exampleType":"generated"},"6273ab01-4988-44e1-97b8-f9833445183d":{"description":"Database error","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"358308dd-965e-42e6-b033-30b919be0b62":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Bearer token from Geomi. See [Authentication](/api-reference/rest/authentication) for setup instructions.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"c8273ef7-994d-4342-9047-9767e0deeea2":{"url":"https://api.mainnet.aptoslabs.com/decibel","description":"Mainnet"},"da7ecace-9492-4874-924e-a7578376481a":{"url":"https://api.testnet.aptoslabs.com/decibel","description":"Testnet"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer token from Geomi. See [Authentication](/api-reference/rest/authentication) for setup instructions.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer token from Geomi. See [Authentication](/api-reference/rest/authentication) for setup instructions.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"aptoslabs","siteName":"Decibel","title":"Get account overview - Decibel","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T19:36:38.891Z","originalFileLocation":"api-reference/account/get-account-overview.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve comprehensive perp account information including equity, realized/unrealized PnL, margin utilization, and optional performance metrics. Use include_performance=true to get historical return metrics.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Decibel\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aptoslabs/1QPxIzCJI3K0dNyA/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/aptoslabs/1QPxIzCJI3K0dNyA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aptoslabs/1QPxIzCJI3K0dNyA/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aptoslabs/1QPxIzCJI3K0dNyA/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aptoslabs/1QPxIzCJI3K0dNyA/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aptoslabs/1QPxIzCJI3K0dNyA/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aptoslabs/1QPxIzCJI3K0dNyA/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aptoslabs/1QPxIzCJI3K0dNyA/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aptoslabs/1QPxIzCJI3K0dNyA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get account overview - Decibel\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve comprehensive perp account information including equity, realized/unrealized PnL, margin utilization, and optional performance metrics. Use include_performance=true to get historical return metrics.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Decibel\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.decibel.trade/api-reference/account/get-account-overview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aptoslabs.mintlify.app/_mintlify/api/og/v2?division=Account\u0026amp;title=Get+account+overview\u0026amp;description=Retrieve+comprehensive+perp+account+information+including+equity%2C%0Arealized%2Funrealized+PnL%2C+margin+utilization%2C+and+optional+performance+metrics.%0AUse+%60include_pe\u0026amp;theme=2487a7442155a5ba82df3db5\u0026amp;signature=6d26b59b8ac51e73cb855b6541aa5c91e2ce665b45e55a7e2414cc7c5c18155c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get account overview - Decibel\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve comprehensive perp account information including equity, realized/unrealized PnL, margin utilization, and optional performance metrics. Use include_performance=true to get historical return metrics.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aptoslabs.mintlify.app/_mintlify/api/og/v2?division=Account\u0026amp;title=Get+account+overview\u0026amp;description=Retrieve+comprehensive+perp+account+information+including+equity%2C%0Arealized%2Funrealized+PnL%2C+margin+utilization%2C+and+optional+performance+metrics.%0AUse+%60include_pe\u0026amp;theme=2487a7442155a5ba82df3db5\u0026amp;signature=6d26b59b8ac51e73cb855b6541aa5c91e2ce665b45e55a7e2414cc7c5c18155c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/aptoslabs/1QPxIzCJI3K0dNyA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Decibel\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FFBE0B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.decibel.trade/api-reference/account/get-account-overview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/account/get-account-overview.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.decibel.trade/#organization\",\"name\":\"Decibel\",\"url\":\"https://docs.decibel.trade\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aptoslabs/v1mrvWAEF-j2Vo20/logo/fullmark_black.png?fit=max\u0026auto=format\u0026n=v1mrvWAEF-j2Vo20\u0026q=85\u0026s=8606664ecd7f84268c69aaeee50e6b4d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.decibel.trade#website\",\"name\":\"Decibel\",\"url\":\"https://docs.decibel.trade\",\"publisher\":{\"@id\":\"https://docs.decibel.trade/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.decibel.trade/api-reference/account/get-account-overview#webpage\",\"url\":\"https://docs.decibel.trade/api-reference/account/get-account-overview\",\"name\":\"Get account overview\",\"description\":\"Retrieve comprehensive perp account information including equity, realized/unrealized PnL, margin utilization, and optional performance metrics. Use include_performance=true to get historical return metrics.\",\"dateModified\":\"2026-11-04T19:36:38.891Z\",\"isPartOf\":{\"@id\":\"https://docs.decibel.trade#website\"},\"breadcrumb\":{\"@id\":\"https://docs.decibel.trade/api-reference/account/get-account-overview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.decibel.trade/api-reference/account/get-account-overview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Decibel\",\"item\":\"https://docs.decibel.trade\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get account overview\",\"item\":\"https://docs.decibel.trade/api-reference/account/get-account-overview\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.decibel.trade/api-reference/account/get-account-overview#apireference\",\"headline\":\"Get account overview\",\"name\":\"Get account overview\",\"description\":\"Retrieve comprehensive perp account information including equity, realized/unrealized PnL, margin utilization, and optional performance metrics. Use include_performance=true to get historical return metrics.\",\"url\":\"https://docs.decibel.trade/api-reference/account/get-account-overview\",\"mainEntityOfPage\":{\"@id\":\"https://docs.decibel.trade/api-reference/account/get-account-overview#webpage\"},\"dateModified\":\"2026-11-04T19:36:38.891Z\",\"publisher\":{\"@id\":\"https://docs.decibel.trade/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.decibel.trade#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Decibel\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Decibel","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":""}]},{"tab":"For Traders","pages":[{"title":"For Traders","href":"/for-traders/overview"}]},{"tab":"Developer Hub","pages":[{"title":"Developer Hub","href":"/developer-hub/overview"}]},{"tab":"API: REST","groups":[{"group":"Overview","pages":[{"title":"REST API Overview","href":"/api-reference/rest/overview"},{"title":"Authentication","href":"/api-reference/rest/authentication"},{"title":"Error Handling","href":"/api-reference/rest/errors"}]},{"group":"User","pages":[{"title":"Get user fund history (deposits, withdrawals and borrow-lend transfers)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/account_fund_history","href":"/api-reference/user/get-user-fund-history-deposits-withdrawals-and-borrow-lend-transfers"},{"title":"Get delegations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/delegations","href":"/api-reference/user/get-delegations"},{"title":"Get apiv1orders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/orders","href":"/api-reference/user/get-apiv1orders"},{"title":"Get user fund history (deprecated)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user_fund_history","href":"/api-reference/user/get-user-fund-history-deprecated"},{"title":"Get user positions (deprecated)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user_positions","href":"/api-reference/user/get-user-positions-deprecated"},{"title":"Get withdrawal queue entries for an account","description":"Returns all withdrawal queue entries for the specified account,\noptionally filtered by status.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/withdraw_queue","href":"/api-reference/user/get-withdrawal-queue-entries-for-an-account"}]},{"group":"Account","pages":[{"title":"Get account overview","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/account_overviews","href":"/api-reference/account/get-account-overview"},{"title":"Get account positions","description":"Retrieve all open perp positions for a specific account with optional filtering\nby one perp market address.\nIncludes position size, entry price, unrealized PnL, liquidation price, and margin details.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/account_positions","href":"/api-reference/account/get-account-positions"},{"title":"Get aggregate account volume over a date range","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/account_volume","href":"/api-reference/account/get-aggregate-account-volume-over-a-date-range"},{"title":"Get user funding rate history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/funding_rate_history","href":"/api-reference/account/get-user-funding-rate-history"},{"title":"Get account's open orders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/open_orders","href":"/api-reference/account/get-accounts-open-orders"},{"title":"Get user order history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/order_history","href":"/api-reference/account/get-user-order-history"},{"title":"Get subaccounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/subaccounts","href":"/api-reference/account/get-subaccounts"},{"title":"Get user trade history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trade_history","href":"/api-reference/account/get-user-trade-history"},{"title":"Get user fees and fee schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user_fee_rates","href":"/api-reference/account/get-user-fees-and-fee-schedule"}]},{"group":"Vaults","pages":[{"title":"Get account-owned vaults","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/account_owned_vaults","href":"/api-reference/vaults/get-account-owned-vaults"},{"title":"Get account vault performance for all vaults where account has deposits","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/account_vault_performance","href":"/api-reference/vaults/get-account-vault-performance-for-all-vaults-where-account-has-deposits"},{"title":"Get user-owned vaults (deprecated)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user_owned_vaults","href":"/api-reference/vaults/get-user-owned-vaults-deprecated"},{"title":"Get user vault performance (deprecated)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user_vault_performance","href":"/api-reference/vaults/get-user-vault-performance-deprecated"},{"title":"Get public vaults","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/vaults","href":"/api-reference/vaults/get-public-vaults"}]},{"group":"TWAP","pages":[{"title":"Get active TWAP orders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/active_twaps","href":"/api-reference/twap/get-active-twap-orders"},{"title":"Get TWAP order history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/twap_history","href":"/api-reference/twap/get-twap-order-history"}]},{"group":"Affiliates","pages":[{"title":"GET /api/v1/affiliates/codes/{account}","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/affiliates/codes/{account}","href":"/api-reference/affiliates/get-apiv1affiliatescodes"},{"title":"GET /api/v1/affiliates/codes/{account}/analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/affiliates/codes/{account}/analytics","href":"/api-reference/affiliates/get-apiv1affiliatescodes-analytics"},{"title":"GET /api/v1/affiliates/earnings/{account}","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/affiliates/earnings/{account}","href":"/api-reference/affiliates/get-apiv1affiliatesearnings"}]},{"group":"Market Data","pages":[{"title":"Get asset contexts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/asset_contexts","href":"/api-reference/market-data/get-asset-contexts"},{"title":"Get candlestick (OHLC) data","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/candlesticks","href":"/api-reference/market-data/get-candlestick-ohlc-data"},{"title":"Get contract specifications","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/contract_specs","href":"/api-reference/market-data/get-contract-specifications"},{"title":"Get contracts summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/contracts","href":"/api-reference/market-data/get-contracts-summary"},{"title":"Get DEX registration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/dex","href":"/api-reference/market-data/get-dex-registration"},{"title":"Get market activity","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/market_activity","href":"/api-reference/market-data/get-market-activity"},{"title":"Get all available markets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/markets","href":"/api-reference/market-data/get-all-available-markets"},{"title":"Get orderbook depth","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/orderbook","href":"/api-reference/market-data/get-orderbook-depth"},{"title":"Get market prices","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/prices","href":"/api-reference/market-data/get-market-prices"},{"title":"Get spot asset contexts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/spot/asset_contexts","href":"/api-reference/market-data/get-spot-asset-contexts"},{"title":"Get trades","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trades","href":"/api-reference/market-data/get-trades"},{"title":"Get trades in a time window","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trades/window","href":"/api-reference/market-data/get-trades-in-a-time-window"},{"title":"Get trending markets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trending_markets","href":"/api-reference/market-data/get-trending-markets"}]},{"group":"Borrow/Lend","pages":[{"title":"Get apiv1borrow lendaccount","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/borrow_lend/account","href":"/api-reference/borrowlend/get-apiv1borrow_lendaccount"},{"title":"Get apiv1borrow lendactivity","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/borrow_lend/activity","href":"/api-reference/borrowlend/get-apiv1borrow_lendactivity"},{"title":"Get apiv1borrow lendcollateral","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/borrow_lend/collateral","href":"/api-reference/borrowlend/get-apiv1borrow_lendcollateral"},{"title":"Get apiv1borrow lendlending history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/borrow_lend/lending_history","href":"/api-reference/borrowlend/get-apiv1borrow_lendlending_history"},{"title":"Get apiv1borrow lendpool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/borrow_lend/pool","href":"/api-reference/borrowlend/get-apiv1borrow_lendpool"},{"title":"Get apiv1borrow lendpool history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/borrow_lend/pool_history","href":"/api-reference/borrowlend/get-apiv1borrow_lendpool_history"},{"title":"Get apiv1borrow lendvault lending","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/borrow_lend/vault_lending","href":"/api-reference/borrowlend/get-apiv1borrow_lendvault_lending"}]},{"group":"Bulk Orders","pages":[{"title":"Get bulk order fills","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/bulk_order_fills","href":"/api-reference/bulk-orders/get-bulk-order-fills"},{"title":"Get bulk order status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/bulk_order_status","href":"/api-reference/bulk-orders/get-bulk-order-status"},{"title":"Get bulk orders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/bulk_orders","href":"/api-reference/bulk-orders/get-bulk-orders"}]},{"group":"Campaigns","pages":[{"title":"Get account's campaign locks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/campaign_locks","href":"/api-reference/campaigns/get-accounts-campaign-locks"},{"title":"Aggregates sum over all campaigns; `claims` is paged by `limit` / `offset`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/campaigns/account","href":"/api-reference/campaigns/aggregates-sum-over-all-campaigns;-`claims`-is-paged-by-`limit`-`offset`"},{"title":"Get apiv1campaignsactive","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/campaigns/active","href":"/api-reference/campaigns/get-apiv1campaignsactive"},{"title":"Get account's protected (FFT) trials","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/protected_trials","href":"/api-reference/campaigns/get-accounts-protected-fft-trials"}]},{"group":"Analytics","pages":[{"title":"Get daily stats","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/daily_stats","href":"/api-reference/analytics/get-daily-stats"},{"title":"Get leaderboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/leaderboard","href":"/api-reference/analytics/get-leaderboard"},{"title":"Returns the total number of users with points and total amps distributed.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points/global","href":"/api-reference/analytics/returns-the-total-number-of-users-with-points-and-total-amps-distributed"},{"title":"Returns active and upcoming Amps boosts (multiplier > 1) for the current season.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points/market_boosts","href":"/api-reference/analytics/returns-active-and-upcoming-amps-boosts-multiplier->-1-for-the-current-season"},{"title":"Get points leaderboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points_leaderboard","href":"/api-reference/analytics/get-points-leaderboard"},{"title":"Get portfolio chart data","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/portfolio_chart","href":"/api-reference/analytics/get-portfolio-chart-data"}]},{"group":"Points","pages":[{"title":"Get amps breakdown for an owner","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points/amps","href":"/api-reference/points/get-amps-breakdown-for-an-owner"},{"title":"Get per-day Amps for an owner","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points/amps/daily","href":"/api-reference/points/get-per-day-amps-for-an-owner"}]},{"group":"Tier","pages":[{"title":"Get tier info for a user based on percentile-based thresholds","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points/tier","href":"/api-reference/tier/get-tier-info-for-a-user-based-on-percentile-based-thresholds"}]},{"group":"Trading Points","pages":[{"title":"Get aggregated trading points for an owner across all their active subaccounts\nReturns total points and per-subaccount breakdown","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points/trading/account","href":"/api-reference/trading-points/get-aggregated-trading-points-for-an-owner-across-all-their-active-subaccountsreturns-total-points-and-per-subaccount-breakdown"}]},{"group":"Trading Hz","pages":[{"title":"Get aggregated trading Hz for an owner across all their subaccounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points/trading/amps","href":"/api-reference/trading-hz/get-aggregated-trading-hz-for-an-owner-across-all-their-subaccounts"}]},{"group":"Predeposit Rewards","pages":[{"title":"Get S0 predeposit USDC reward for a user","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/predeposits/rewards","href":"/api-reference/predeposit-rewards/get-s0-predeposit-usdc-reward-for-a-user"}]},{"group":"Referrals","pages":[{"title":"Handler to get referral info for an account (who referred them)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/account/{account}","href":"/api-reference/referrals/handler-to-get-referral-info-for-an-account-who-referred-them"},{"title":"Get trading activity of a referrer's referred clients","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/activity","href":"/api-reference/referrals/get-trading-activity-of-a-referrers-referred-clients"},{"title":"Get the transactions that paid an owner builder fees","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/builder-fee-history","href":"/api-reference/referrals/get-the-transactions-that-paid-an-owner-builder-fees"},{"title":"Get the builder fees an owner collected","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/builder-fees","href":"/api-reference/referrals/get-the-builder-fees-an-owner-collected"},{"title":"Get a referrer's referred clients with lifecycle segments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/clients","href":"/api-reference/referrals/get-a-referrers-referred-clients-with-lifecycle-segments"},{"title":"Get per-code performance for a referrer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/code-performance","href":"/api-reference/referrals/get-per-code-performance-for-a-referrer"},{"title":"GET /api/v1/referrals/code/{code}","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/code/{code}","href":"/api-reference/referrals/get-apiv1referralscode"},{"title":"Get an affiliate's accrued commission","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/commissions","href":"/api-reference/referrals/get-an-affiliates-accrued-commission"},{"title":"Get fee revenue generated by a referrer's network","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/fees","href":"/api-reference/referrals/get-fee-revenue-generated-by-a-referrers-network"},{"title":"Get the referral funnel for a referrer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/funnel","href":"/api-reference/referrals/get-the-referral-funnel-for-a-referrer"},{"title":"POST /api/v1/referrals/redeem","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/referrals/redeem","href":"/api-reference/referrals/post-apiv1referralsredeem"},{"title":"Handler to get referrer statistics.\nNon-affiliate referrers must meet the minimum trade volume threshold\nto see their referral codes. Affiliate referrers always see all codes.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/stats/{account}","href":"/api-reference/referrals/handler-to-get-referrer-statisticsnon-affiliate-referrers-must-meet-the-minimum-trade-volume-thresholdto-see-their-referral-codes-affiliate-referrers-always-see-all-codes"},{"title":"Get a referrer's sub-affiliates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/sub-affiliates","href":"/api-reference/referrals/get-a-referrers-sub-affiliates"},{"title":"Handler to get users referred by a referrer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/users","href":"/api-reference/referrals/handler-to-get-users-referred-by-a-referrer"},{"title":"Get referred volume per day for a referrer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/volume/daily","href":"/api-reference/referrals/get-referred-volume-per-day-for-a-referrer"}]},{"group":"Streaks","pages":[{"title":"Get account streak data including qualifying dates and grace days","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/streaks/account","href":"/api-reference/streaks/get-account-streak-data-including-qualifying-dates-and-grace-days"}]},{"group":"Transfers","pages":[{"title":"POST /api/v1/transfers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/transfers","href":"/api-reference/transfers/post-apiv1transfers"}]}]},{"tab":"API: WebSocket","pages":[{"title":"API: WebSocket","href":"/api-reference/websocket/overview"}]},{"tab":"Agents","pages":[{"title":"Agents","href":"/agents/llms-txt"}]},{"tab":"Security","pages":[{"title":"Security","href":"/security/audits"}]}]},"basePath":"","title":"Get account overview - Decibel","buildId":"dpl_2gSLkbMoF5kkLsBqYzq9KWtDyJRo","deploymentId":"dpl_2gSLkbMoF5kkLsBqYzq9KWtDyJRo","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-hfTk6MZX.js","utils-Bfp7HcY4.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D8dSW7yV.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CFgQXcZO.js","snippetPresets-dMW1-pV3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-DyrCOido.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Bwwdcyh3.js","shallow-drVXTg79.js","getApiPlaygroundDisplay-GMPxUzWV.js","CodeSnippet-wTmV0wP6.js","CodeSnippets-D_QxCJEq.js","Page-BsZAA8xk.js","getPastedJson-Dev-X0Xy.js","icon-7L2WL0jD.js","MethodPill-Ble59Dl_.js","DuplicateIcon-r-98uLGh.js","createIcon-DaFzipjW.js","DynamicMarkdown-Jk8YAWGN.js","SectionHeading-nLgrCDOg.js","axios-vUo_bRtp.js","Markdown-_QGow1Wo.js","clsx-v8ssfMzu.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CjboTi0T.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DkAyo-p5.js"]}