List the leveraged positions held by an owner’s Credit Account.
Positions are reconstructed from on-chain history rather than from API calls,
so a loop assembled by hand through /v2/credit/bundle is recognised the same
way as one opened through /v2/credit/loop. Only activity inside the Credit
Account is visible — leverage the owner holds directly in their wallet is not.
See the Leveraged Looping guide
for protocol coverage and how to read leverage, health factor and net APY.
GET
/
v2
/
credit
/
looped_positions
Python (SDK)
from compass_api_sdk import CompassAPI, modelswith CompassAPI( api_key_auth="<YOUR_API_KEY_HERE>",) as compass_api: res = compass_api.credit.credit_looped_positions(chain=models.V2CreditLoopedPositionsChain.BASE, owner="0x06A9aF046187895AcFc7258450B15397CAc67400") # Handle response print(res)
import { CompassApiSDK } from "@compass-labs/api-sdk";
const compassApiSDK = new CompassApiSDK({
apiKeyAuth: "<YOUR_API_KEY_HERE>",
});
async function run() {
const result = await compassApiSDK.credit.creditLoopedPositions({
chain: "base",
owner: "0x06A9aF046187895AcFc7258450B15397CAc67400",
});
console.log(result);
}
run();
curl --request GET \
--url https://api.compasslabs.ai/v2/credit/looped_positions \
--header 'x-api-key: <api-key>'
The address of the owner of the credit account to get looped positions for.
Response
Successful Response
Looped positions across Aave V3, Morpho Blue and Euler V2 for a credit account.
credit_account_address
string
required
The credit product account address derived from the owner.
positions
LoopedPosition · object[]
Every leveraged position the account holds, across Aave, Morpho and Euler — each with its live state, lifetime totals and full transaction history, whether it is still open or already closed.
Aave account-level summary (health factor, LTV, borrow capacity). Present when the account holds any open Aave looped position, since Aave collateral is pooled and health is account-level. Null for accounts with no open Aave loop — Morpho and Euler positions carry their own isolated health factor on each position instead.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Compass API Docs","colors":{"primary":"#0284c7","light":"#0e9fe9","dark":"#0284c7"},"logo":{"light":"https://mintcdn.com/compasslabs-f07467e0/x2NrFgZ7soJbH6sc/logo/light.svg?fit=max\u0026auto=format\u0026n=x2NrFgZ7soJbH6sc\u0026q=85\u0026s=80a04b06674000990914306c6a833cb9","dark":"https://mintcdn.com/compasslabs-f07467e0/x2NrFgZ7soJbH6sc/logo/dark.svg?fit=max\u0026auto=format\u0026n=x2NrFgZ7soJbH6sc\u0026q=85\u0026s=77e910ba12605c7f004ad72498f8076f"},"favicon":"https://mintcdn.com/compasslabs-f07467e0/x2NrFgZ7soJbH6sc/favicon.svg?fit=max\u0026auto=format\u0026n=x2NrFgZ7soJbH6sc\u0026q=85\u0026s=2025e9c84a2b6b167d319b28e1ecb8a0","appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"https://calendly.com/elisabeth-compasslabs/30min","label":"Book a demo"},{"href":"https://compasslabs.ai/login","label":"Login"}]},"footer":{"socials":{"x":"https://x.com/labs_compass","github":"https://github.com/CompassLabs","linkedin":"https://www.linkedin.com/company/compass-labs-ai","medium":"https://medium.com/@compasslabs","telegram":"https://discord.com/invite/ujetyJJPYr","discord":"https://discord.com/invite/ujetyJJPYr"},"links":[{"header":"Resources","items":[{"label":"Blog","href":"https://medium.com/@compasslabs"}]},{"header":"Legal","items":[{"label":"Terms \u0026 Conditions","href":"https://docs.compasslabs.ai/v1/support/terms-and-conditions"},{"label":"Privacy Policy","href":"https://docs.compasslabs.ai/v1/support/privacy-policy"}]}]},"styling":{"eyebrows":"section","codeblocks":"system","latex":false},"integrations":{"ga4":{"measurementId":"G-EQSZ3TK15C"},"gtm":{"tagId":"GTM-5NXMZG6D"}},"contextual":{"options":["chatgpt","claude"],"display":"header"},"navigation":{"global":{"tabs":[],"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"compasslabs-f07467e0","hasAudioNarration":false,"actualSubdomain":"compasslabs-f07467e0","customDomains":["docs.compasslabs.ai"],"gitSource":{"type":"github","owner":"compasslabs","repo":"mono","deployBranch":"production","contentDirectory":"api_docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"issues":true,"edits":true,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af5b5300b3858d5ef253beb","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":300},{"language":"default","tag":"Documentation","count":30},{"language":"default","tag":"Aave V3","count":15},{"language":"default","tag":"Credit","count":15},{"language":"default","tag":"Perpetual Trading","count":15},{"language":"default","tag":"Tokenized Assets","count":15},{"language":"default","tag":"Earn","count":13},{"language":"default","tag":"Morpho","count":12},{"language":"default","tag":"Uniswap V3","count":10},{"language":"default","tag":"Transaction Bundler","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"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":"editor-metadata","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},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","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}],"googleFontsInlined":false},"customCss":[{"filePath":"button.css","content":"@keyframes jump{0%,100%{transform:translateY(0)}50%{transform:translateY(-20px)}}.jump-loop{animation:jump 0.5s ease infinite}#code-group{background-color:#EFEFEF33;box-shadow:0 4px 12px rgba(0, 0, 0, 0.08)}#code-group:hover{box-shadow:0 6px 18px rgba(0, 0, 0, 0.1)}#content-area>div.flex.flex-col.gap-8>div.mt-6.flex.w-full.flex-col.space-y-4>div{background-color:#EFEFEF33}#content-area>div.flex.flex-col.gap-8>div.mt-6.flex.w-full.flex-col.space-y-4>div{box-shadow:0 4px 12px rgba(0, 0, 0, 0.08)}#content-area>div.flex.flex-col.gap-8>div.mt-6.flex.w-full.flex-col.space-y-4>div:hover{box-shadow:0 6px 18px rgba(0, 0, 0, 0.1)}"}],"page":{"pagePath":"v2/api-reference/credit/list-looped-leveraged-credit-positions","slug":"/v2/api-reference/credit/list-looped-leveraged-credit-positions","pageMetadata":{"title":"List looped (leveraged) credit positions","description":"List the leveraged positions held by an owner's Credit Account.\n\nPositions are reconstructed from on-chain history rather than from API calls,\nso a loop assembled by hand through /v2/credit/bundle is recognised the same\nway as one opened through /v2/credit/loop. Only activity inside the Credit\nAccount is visible — leverage the owner holds directly in their wallet is not.\n\nSee the [Leveraged Looping guide](https://docs.compasslabs.ai/v2/Products/Looping)\nfor protocol coverage and how to read leverage, health factor and net APY.","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/credit/looped_positions","href":"/v2/api-reference/credit/list-looped-leveraged-credit-positions","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"List the leveraged positions held by an owner’s Credit Account.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Positions are reconstructed from on-chain history rather than from API calls,\\nso a loop assembled by hand through /v2/credit/bundle is recognised the same\\nway as one opened through /v2/credit/loop. Only activity inside the Credit\\nAccount is visible — leverage the owner holds directly in their wallet is not.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"See the \", _jsx(_components.a, {\n href: \"https://docs.compasslabs.ai/v2/Products/Looping\",\n children: \"Leveraged Looping guide\"\n }), \"\\nfor protocol coverage and how to read leverage, health factor and net APY.\"]\n })]\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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"List looped (leveraged) credit positions","description":"List the leveraged positions held by an owner's Credit Account.\n\nPositions are reconstructed from on-chain history rather than from API calls,\nso a loop assembled by hand through /v2/credit/bundle is recognised the same\nway as one opened through /v2/credit/loop. Only activity inside the Credit\nAccount is visible — leverage the owner holds directly in their wallet is not.\n\nSee the [Leveraged Looping guide](https://docs.compasslabs.ai/v2/Products/Looping)\nfor protocol coverage and how to read leverage, health factor and net APY.","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/credit/looped_positions","href":"/v2/api-reference/credit/list-looped-leveraged-credit-positions","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/compasslabs-f07467e0/27fd886bf35b6ed0/redeploy-trigger.js","/_mintlify/custom/compasslabs-f07467e0/5b350f94165e79a1/scripts/auth-btns.js","/_mintlify/custom/compasslabs-f07467e0/0c2ee6a003a69104/scripts/home-btn-link.js","/_mintlify/custom/compasslabs-f07467e0/17a3e2d25ff9b880/scripts/magic.js","/_mintlify/custom/compasslabs-f07467e0/2592024b81e4044f/scripts/modal.js","/_mintlify/custom/compasslabs-f07467e0/60b3db97b96f7d26/scripts/language-icon-fixer.js","/_mintlify/custom/compasslabs-f07467e0/60408501351ea2bb/scripts/disable-bundler-playground.js"],"openApiReferenceData":{"operation":{"tags":["Credit"],"summary":"List looped (leveraged) credit positions","description":"List the leveraged positions held by an owner's Credit Account.\n\nPositions are reconstructed from on-chain history rather than from API calls,\nso a loop assembled by hand through /v2/credit/bundle is recognised the same\nway as one opened through /v2/credit/loop. Only activity inside the Credit\nAccount is visible — leverage the owner holds directly in their wallet is not.\n\nSee the [Leveraged Looping guide](https://docs.compasslabs.ai/v2/Products/Looping)\nfor protocol coverage and how to read leverage, health factor and net APY.","operationId":"v2_credit_looped_positions","parameters":["2e1cbaf8-c2eb-45c4-be00-591bed7736dc","d86c93a0-0c82-4f7a-9cdb-b702416f0292"],"responses":{"200":"bf490145-f12f-4d17-abc1-3c4325561896","422":"7e01c0a7-548c-4a90-b26e-4b530aee5f86"},"x-speakeasy-name-override":"credit_looped_positions","x-codeSamples":[{"lang":"python","label":"Python (SDK)","source":"from compass_api_sdk import CompassAPI, models\n\n\nwith CompassAPI(\n api_key_auth=\"\u003cYOUR_API_KEY_HERE>\",\n) as compass_api:\n\n res = compass_api.credit.credit_looped_positions(chain=models.V2CreditLoopedPositionsChain.BASE, owner=\"0x06A9aF046187895AcFc7258450B15397CAc67400\")\n\n # Handle response\n print(res)"},{"lang":"typescript","label":"Typescript (SDK)","source":"import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"\u003cYOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.credit.creditLoopedPositions({\n chain: \"base\",\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n });\n\n console.log(result);\n}\n\nrun();"}],"method":"get","type":"path","servers":["5cc70962-0013-441d-bd6f-5cb484ceb892"],"security":["e89f6d8c-9ae7-44f6-91ab-c06b98b98bae"],"path":"/v2/credit/looped_positions","baseUrlOptions":["https://api.compasslabs.ai"],"title":"List looped (leveraged) credit positions","codeSamples":[{"label":"Python (SDK)","lang":"python","source":"from compass_api_sdk import CompassAPI, models\n\n\nwith CompassAPI(\n api_key_auth=\"\u003cYOUR_API_KEY_HERE>\",\n) as compass_api:\n\n res = compass_api.credit.credit_looped_positions(chain=models.V2CreditLoopedPositionsChain.BASE, owner=\"0x06A9aF046187895AcFc7258450B15397CAc67400\")\n\n # Handle response\n print(res)"},{"label":"Typescript (SDK)","lang":"typescript","source":"import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"\u003cYOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.credit.creditLoopedPositions({\n chain: \"base\",\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n });\n\n console.log(result);\n}\n\nrun();"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"2e1cbaf8-c2eb-45c4-be00-591bed7736dc":{"name":"chain","in":"query","required":true,"schema":{"type":"string","enum":["arbitrum","base","bsc","ethereum","hyperevm","tempo"],"title":"Chain","default":"base","isRequired":true,"uniqueKey":"","typeLabel":"enum\u003cstring>"}},"d86c93a0-0c82-4f7a-9cdb-b702416f0292":{"name":"owner","in":"query","required":true,"schema":{"type":"string","title":"Owner","default":"0x06A9aF046187895AcFc7258450B15397CAc67400","isRequired":true,"description":"The address of the owner of the credit account to get looped positions for.","uniqueKey":"","typeLabel":"string"},"description":"The address of the owner of the credit account to get looped positions for."}},"responses":{"bf490145-f12f-4d17-abc1-3c4325561896":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"credit_account_address":{"type":"string","title":"Credit Account Address","description":"The credit product account address derived from the owner.","isRequired":true,"uniqueKey":"credit_account_address","typeLabel":"string"},"positions":{"items":{"properties":{"protocol":{"type":"string","enum":["AAVE","EULER","MORPHO"],"title":"CreditProtocol","description":"Lending protocol this position is on: AAVE, MORPHO or EULER.","isRequired":true,"uniqueKey":"positions.items.[INDEX].protocol","typeLabel":"enum\u003cstring>"},"collateral_token":{"type":"string","title":"Collateral Token","description":"Address of the collateral token.","isRequired":true,"uniqueKey":"positions.items.[INDEX].collateral_token","typeLabel":"string"},"collateral_symbol":{"type":"string","title":"Collateral Symbol","description":"Symbol of the collateral token.","isRequired":true,"uniqueKey":"positions.items.[INDEX].collateral_symbol","typeLabel":"string"},"debt_token":{"type":"string","title":"Debt Token","description":"Address of the debt token.","isRequired":true,"uniqueKey":"positions.items.[INDEX].debt_token","typeLabel":"string"},"debt_symbol":{"type":"string","title":"Debt Symbol","description":"Symbol of the debt token.","isRequired":true,"uniqueKey":"positions.items.[INDEX].debt_symbol","typeLabel":"string"},"status":{"type":"string","enum":["OPEN","CLOSED"],"title":"Status","description":"Whether the position is currently open or fully closed.","isRequired":true,"uniqueKey":"positions.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"opened_at":{"type":"string","format":"date-time","title":"Opened At","description":"Timestamp of the position's first transaction.","isRequired":true,"uniqueKey":"positions.items.[INDEX].opened_at","typeLabel":"string\u003cdate-time>"},"totals":{"properties":{"total_collateral_added":{"type":"string","title":"Total Collateral Added","description":"Total collateral added over the position's lifetime.","isRequired":true,"uniqueKey":"positions.items.[INDEX].totals.total_collateral_added","typeLabel":"string"},"total_collateral_removed":{"type":"string","title":"Total Collateral Removed","description":"Total collateral removed over the position's lifetime.","isRequired":true,"uniqueKey":"positions.items.[INDEX].totals.total_collateral_removed","typeLabel":"string"},"total_debt_added":{"type":"string","title":"Total Debt Added","description":"Total debt borrowed over the position's lifetime.","isRequired":true,"uniqueKey":"positions.items.[INDEX].totals.total_debt_added","typeLabel":"string"},"total_debt_removed":{"type":"string","title":"Total Debt Removed","description":"Total debt repaid over the position's lifetime.","isRequired":true,"uniqueKey":"positions.items.[INDEX].totals.total_debt_removed","typeLabel":"string"},"loop_tx_count":{"type":"integer","title":"Loop Tx Count","description":"Number of loop_open + loop_increase transactions.","isRequired":true,"uniqueKey":"positions.items.[INDEX].totals.loop_tx_count","typeLabel":"integer"},"unwind_tx_count":{"type":"integer","title":"Unwind Tx Count","description":"Number of unwind transactions.","isRequired":true,"uniqueKey":"positions.items.[INDEX].totals.unwind_tx_count","typeLabel":"integer"},"liquidation_count":{"type":"integer","title":"Liquidation Count","description":"Number of liquidation events.","isRequired":true,"uniqueKey":"positions.items.[INDEX].totals.liquidation_count","typeLabel":"integer"}},"additionalProperties":false,"type":"object","required":["total_collateral_added","total_collateral_removed","total_debt_added","total_debt_removed","loop_tx_count","unwind_tx_count","liquidation_count"],"title":"LoopedPositionTotals","description":"Lifetime totals across the position's history.","isRequired":true,"uniqueKey":"positions.items.[INDEX].totals","typeLabel":"LoopedPositionTotals · object"},"market_id":{"oneOf":[{"type":"string","title":"Market Id","description":"Morpho only: the bytes32 id of the isolated market.","uniqueKey":"positions.items.[INDEX].market_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Market Id","description":"Morpho only: the bytes32 id of the isolated market.","uniqueKey":"positions.items.[INDEX].market_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].market_id","typeLabel":"string | null"},"sub_account_id":{"oneOf":[{"type":"integer","title":"Sub Account Id","description":"Euler only: the EVC sub-account (0-255) holding this position. Euler isolates each loop in its own sub-account, so this is part of the position's identity — two loops on the same vault pair in different sub-accounts are two separate positions.","uniqueKey":"positions.items.[INDEX].sub_account_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Sub Account Id","description":"Euler only: the EVC sub-account (0-255) holding this position. Euler isolates each loop in its own sub-account, so this is part of the position's identity — two loops on the same vault pair in different sub-accounts are two separate positions.","uniqueKey":"positions.items.[INDEX].sub_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].sub_account_id","typeLabel":"integer | null"},"collateral_vault":{"oneOf":[{"type":"string","title":"Collateral Vault","description":"Euler only: the EVK vault holding the collateral. Euler markets are identified by their vault pair rather than by a market id, and the same underlying token can back several different vaults.","uniqueKey":"positions.items.[INDEX].collateral_vault.oneOf.0","typeLabel":"string"},{"type":"null","title":"Collateral Vault","description":"Euler only: the EVK vault holding the collateral. Euler markets are identified by their vault pair rather than by a market id, and the same underlying token can back several different vaults.","uniqueKey":"positions.items.[INDEX].collateral_vault.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].collateral_vault","typeLabel":"string | null"},"borrow_vault":{"oneOf":[{"type":"string","title":"Borrow Vault","description":"Euler only: the EVK controller vault the debt is owed to.","uniqueKey":"positions.items.[INDEX].borrow_vault.oneOf.0","typeLabel":"string"},{"type":"null","title":"Borrow Vault","description":"Euler only: the EVK controller vault the debt is owed to.","uniqueKey":"positions.items.[INDEX].borrow_vault.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].borrow_vault","typeLabel":"string | null"},"closed_at":{"oneOf":[{"type":"string","title":"Closed At","description":"Timestamp the position was fully closed; null while open.","format":"date-time","uniqueKey":"positions.items.[INDEX].closed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Closed At","description":"Timestamp the position was fully closed; null while open.","uniqueKey":"positions.items.[INDEX].closed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].closed_at","typeLabel":"string\u003cdate-time> | null"},"current":{"oneOf":[{"type":"object","title":"LoopedPositionCurrentState","description":"Live on-chain state; null for CLOSED positions.","required":["collateral_amount","debt_amount","health_factor_scope"],"properties":{"collateral_amount":{"oneOf":[{"type":"string","title":"Collateral Amount","description":"Current on-chain collateral amount for this position. When multiple open Aave positions share one collateral reserve (Aave holds a single pooled aToken balance per reserve), that pooled balance is attributed across them pro-rata by each position's event-ledger contribution — bookkeeping, not protocol truth; liquidation sees the pooled account, not this per-position split.","isRequired":true,"uniqueKey":"positions.items.[INDEX].current.oneOf.0.collateral_amount.oneOf.0","typeLabel":"string"},{"type":"null","title":"Collateral Amount","description":"Current on-chain collateral amount for this position. When multiple open Aave positions share one collateral reserve (Aave holds a single pooled aToken balance per reserve), that pooled balance is attributed across them pro-rata by each position's event-ledger contribution — bookkeeping, not protocol truth; liquidation sees the pooled account, not this per-position split.","isRequired":true,"uniqueKey":"positions.items.[INDEX].current.oneOf.0.collateral_amount.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"positions.items.[INDEX].current.oneOf.0.collateral_amount","typeLabel":"string | null"},"debt_amount":{"oneOf":[{"type":"string","title":"Debt Amount","description":"Current on-chain debt amount for this position.","isRequired":true,"uniqueKey":"positions.items.[INDEX].current.oneOf.0.debt_amount.oneOf.0","typeLabel":"string"},{"type":"null","title":"Debt Amount","description":"Current on-chain debt amount for this position.","isRequired":true,"uniqueKey":"positions.items.[INDEX].current.oneOf.0.debt_amount.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"positions.items.[INDEX].current.oneOf.0.debt_amount","typeLabel":"string | null"},"health_factor_scope":{"type":"string","enum":["market","account"],"title":"Health Factor Scope","description":"How widely this health factor applies. 'market' means it is isolated rather than account-wide: a Morpho market's collateral backs only that market's debt, and an Euler sub-account's collateral backs only its own controller's debt. Note that an Euler figure is scoped to the SUB-ACCOUNT, so if several positions share one sub-account they all report the same health factor and are liquidated together — it is not each position's independent health. 'account' for Aave: collateral is pooled, so all collateral backs all debt and this health factor is shared by every Aave position on the account — see aave_account_summary for the account-level figures.","isRequired":true,"uniqueKey":"positions.items.[INDEX].current.oneOf.0.health_factor_scope","typeLabel":"enum\u003cstring>"},"collateral_usd":{"oneOf":[{"type":"string","title":"Collateral Usd","description":"Collateral value in USD (null if unpriced). Derived from the attributed collateral_amount for shared-reserve Aave positions.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.collateral_usd.oneOf.0","typeLabel":"string"},{"type":"null","title":"Collateral Usd","description":"Collateral value in USD (null if unpriced). Derived from the attributed collateral_amount for shared-reserve Aave positions.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.collateral_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].current.oneOf.0.collateral_usd","typeLabel":"string | null"},"debt_usd":{"oneOf":[{"type":"string","title":"Debt Usd","description":"Debt value in USD (null if unpriced).","uniqueKey":"positions.items.[INDEX].current.oneOf.0.debt_usd.oneOf.0","typeLabel":"string"},{"type":"null","title":"Debt Usd","description":"Debt value in USD (null if unpriced).","uniqueKey":"positions.items.[INDEX].current.oneOf.0.debt_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].current.oneOf.0.debt_usd","typeLabel":"string | null"},"net_usd_value":{"oneOf":[{"type":"string","title":"Net Usd Value","description":"Net position value in USD (collateral - debt); null if unpriced. For shared-reserve Aave positions the collateral side uses the pro-rata attributed balance (bookkeeping, not protocol truth).","uniqueKey":"positions.items.[INDEX].current.oneOf.0.net_usd_value.oneOf.0","typeLabel":"string"},{"type":"null","title":"Net Usd Value","description":"Net position value in USD (collateral - debt); null if unpriced. For shared-reserve Aave positions the collateral side uses the pro-rata attributed balance (bookkeeping, not protocol truth).","uniqueKey":"positions.items.[INDEX].current.oneOf.0.net_usd_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].current.oneOf.0.net_usd_value","typeLabel":"string | null"},"leverage":{"oneOf":[{"type":"string","title":"Leverage","description":"Leverage multiplier: collateral_usd / (collateral_usd - debt_usd). Null when unpriced or net value is non-positive. For shared-reserve Aave positions this is derived from the pro-rata attributed collateral (bookkeeping, not protocol truth).","uniqueKey":"positions.items.[INDEX].current.oneOf.0.leverage.oneOf.0","typeLabel":"string"},{"type":"null","title":"Leverage","description":"Leverage multiplier: collateral_usd / (collateral_usd - debt_usd). Null when unpriced or net value is non-positive. For shared-reserve Aave positions this is derived from the pro-rata attributed collateral (bookkeeping, not protocol truth).","uniqueKey":"positions.items.[INDEX].current.oneOf.0.leverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].current.oneOf.0.leverage","typeLabel":"string | null"},"health_factor":{"oneOf":[{"type":"string","title":"Health Factor","description":"Health factor. Above 1 is safe; below 1 risks liquidation. See health_factor_scope for what it covers.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.health_factor.oneOf.0","typeLabel":"string"},{"type":"null","title":"Health Factor","description":"Health factor. Above 1 is safe; below 1 risks liquidation. See health_factor_scope for what it covers.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.health_factor.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].current.oneOf.0.health_factor","typeLabel":"string | null"},"collateral_apy":{"oneOf":[{"type":"string","title":"Collateral Apy","description":"What the collateral leg currently earns, in percentage (e.g. 6.12 = 6.12%) — the sum of collateral_lending_apy and collateral_intrinsic_apy where both apply. Null when the token earns a yield outside the lending pool (a staked or wrapped asset) and no source for that yield is available: the pool's supply APY alone would understate the leg by percentage points and can invert the sign of net_apy, so it is withheld rather than reported as the whole yield.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.collateral_apy.oneOf.0","typeLabel":"string"},{"type":"null","title":"Collateral Apy","description":"What the collateral leg currently earns, in percentage (e.g. 6.12 = 6.12%) — the sum of collateral_lending_apy and collateral_intrinsic_apy where both apply. Null when the token earns a yield outside the lending pool (a staked or wrapped asset) and no source for that yield is available: the pool's supply APY alone would understate the leg by percentage points and can invert the sign of net_apy, so it is withheld rather than reported as the whole yield.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.collateral_apy.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].current.oneOf.0.collateral_apy","typeLabel":"string | null"},"collateral_lending_apy":{"oneOf":[{"type":"string","title":"Collateral Lending Apy","description":"The supply half of the collateral leg, in percentage: interest paid by borrowers of the collateral asset (Aave supply APY). Near zero for staked assets, which almost nobody borrows. Exactly 0 on Morpho, whose collateral is held rather than lent — which is why a Morpho position's whole collateral leg is its vault yield.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.collateral_lending_apy.oneOf.0","typeLabel":"string"},{"type":"null","title":"Collateral Lending Apy","description":"The supply half of the collateral leg, in percentage: interest paid by borrowers of the collateral asset (Aave supply APY). Near zero for staked assets, which almost nobody borrows. Exactly 0 on Morpho, whose collateral is held rather than lent — which is why a Morpho position's whole collateral leg is its vault yield.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.collateral_lending_apy.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].current.oneOf.0.collateral_lending_apy","typeLabel":"string | null"},"collateral_intrinsic_apy":{"oneOf":[{"type":"string","title":"Collateral Intrinsic Apy","description":"The yield the collateral token earns inside its own price, in percentage, independent of the lending pool — a liquid-staking token's staking rewards (wstHYPE against HYPE) or an ERC-4626 share's vault yield — which of the two follows from the position's protocol. Null when the token has none or none is indexed.\n\nA TRAILING 7-DAY measurement, not a forward rate: a week is a short sample of a staking rate, so consecutive readings move around the longer-run average by a few tenths of a percent.\n\nA null here alongside a null collateral_apy and a NON-null collateral_lending_apy is the meaningful case: the token does earn outside the pool, but no source for that yield is available, so the total is withheld rather than understated.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.collateral_intrinsic_apy.oneOf.0","typeLabel":"string"},{"type":"null","title":"Collateral Intrinsic Apy","description":"The yield the collateral token earns inside its own price, in percentage, independent of the lending pool — a liquid-staking token's staking rewards (wstHYPE against HYPE) or an ERC-4626 share's vault yield — which of the two follows from the position's protocol. Null when the token has none or none is indexed.\n\nA TRAILING 7-DAY measurement, not a forward rate: a week is a short sample of a staking rate, so consecutive readings move around the longer-run average by a few tenths of a percent.\n\nA null here alongside a null collateral_apy and a NON-null collateral_lending_apy is the meaningful case: the token does earn outside the pool, but no source for that yield is available, so the total is withheld rather than understated.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.collateral_intrinsic_apy.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].current.oneOf.0.collateral_intrinsic_apy","typeLabel":"string | null"},"borrow_apy":{"oneOf":[{"type":"string","title":"Borrow Apy","description":"What the debt leg currently costs, in percentage — the sum of borrow_lending_apy and borrow_intrinsic_apy where both apply. Debt owed in a token that appreciates inside its own price (a staked or wrapped asset) grows by that appreciation on top of the pool's interest, so the pool rate alone would understate the cost and overstate net_apy; for such a token with no yield source available this is null (withheld) rather than the pool rate. For ordinary debt assets it equals the market's spot borrow APY. Null also when the rate read was unavailable.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.borrow_apy.oneOf.0","typeLabel":"string"},{"type":"null","title":"Borrow Apy","description":"What the debt leg currently costs, in percentage — the sum of borrow_lending_apy and borrow_intrinsic_apy where both apply. Debt owed in a token that appreciates inside its own price (a staked or wrapped asset) grows by that appreciation on top of the pool's interest, so the pool rate alone would understate the cost and overstate net_apy; for such a token with no yield source available this is null (withheld) rather than the pool rate. For ordinary debt assets it equals the market's spot borrow APY. Null also when the rate read was unavailable.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.borrow_apy.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].current.oneOf.0.borrow_apy","typeLabel":"string | null"},"borrow_lending_apy":{"oneOf":[{"type":"string","title":"Borrow Lending Apy","description":"The pool half of the debt leg, in percentage: the market's spot borrow APY (Morpho IRM rate / Aave variable borrow rate) — interest charged on the debt by the lending market itself.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.borrow_lending_apy.oneOf.0","typeLabel":"string"},{"type":"null","title":"Borrow Lending Apy","description":"The pool half of the debt leg, in percentage: the market's spot borrow APY (Morpho IRM rate / Aave variable borrow rate) — interest charged on the debt by the lending market itself.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.borrow_lending_apy.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].current.oneOf.0.borrow_lending_apy","typeLabel":"string | null"},"borrow_intrinsic_apy":{"oneOf":[{"type":"string","title":"Borrow Intrinsic Apy","description":"The yield the DEBT token earns inside its own price, in percentage — which the borrower owes on top of pool interest, since the debt is denominated in an appreciating token. Same source and trailing 7-day window as collateral_intrinsic_apy. Null when the token has none or none is indexed; null alongside a null borrow_apy and a NON-null borrow_lending_apy means the debt token does earn outside the pool but no source is available, so the total cost is withheld rather than understated.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.borrow_intrinsic_apy.oneOf.0","typeLabel":"string"},{"type":"null","title":"Borrow Intrinsic Apy","description":"The yield the DEBT token earns inside its own price, in percentage — which the borrower owes on top of pool interest, since the debt is denominated in an appreciating token. Same source and trailing 7-day window as collateral_intrinsic_apy. Null when the token has none or none is indexed; null alongside a null borrow_apy and a NON-null borrow_lending_apy means the debt token does earn outside the pool but no source is available, so the total cost is withheld rather than understated.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.borrow_intrinsic_apy.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].current.oneOf.0.borrow_intrinsic_apy","typeLabel":"string | null"},"net_apy":{"oneOf":[{"type":"string","title":"Net Apy","description":"Levered net yield on the position's equity, in percentage: leverage x collateral_apy - (leverage - 1) x borrow_apy. Negative means the carry is upside down (borrowing costs more than the collateral earns). Null when leverage or either leg is unknown. This is a SNAPSHOT at today's rates, not a forecast, and it mixes a trailing collateral measurement with a spot borrow rate. It is also denominated in the debt asset, not USD: a wstHYPE/WHYPE loop earning a positive net_apy still loses USD value if HYPE falls. The borrow leg floats with the debt reserve's utilisation, so this figure can move without the position changing at all.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.net_apy.oneOf.0","typeLabel":"string"},{"type":"null","title":"Net Apy","description":"Levered net yield on the position's equity, in percentage: leverage x collateral_apy - (leverage - 1) x borrow_apy. Negative means the carry is upside down (borrowing costs more than the collateral earns). Null when leverage or either leg is unknown. This is a SNAPSHOT at today's rates, not a forecast, and it mixes a trailing collateral measurement with a spot borrow rate. It is also denominated in the debt asset, not USD: a wstHYPE/WHYPE loop earning a positive net_apy still loses USD value if HYPE falls. The borrow leg floats with the debt reserve's utilisation, so this figure can move without the position changing at all.","uniqueKey":"positions.items.[INDEX].current.oneOf.0.net_apy.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].current.oneOf.0.net_apy","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"positions.items.[INDEX].current.oneOf.0","typeLabel":"LoopedPositionCurrentState · object"},{"type":"null","description":"Live on-chain state; null for CLOSED positions.","uniqueKey":"positions.items.[INDEX].current.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].current","typeLabel":"LoopedPositionCurrentState · object | null"},"pnl":{"oneOf":[{"type":"object","title":"LoopedPositionPnl","description":"Profit or loss since the position opened, for OPEN and CLOSED positions alike. Null when it cannot be stated honestly: the position's recorded history is incomplete (it starts after the opening, or does not add up to what the position holds now), a transaction could not be priced, the position's current value could not be read or separated from another position's, or a transaction's legs cannot be told apart from another position's.","required":["total_pnl_quote"],"properties":{"total_pnl_quote":{"oneOf":[{"type":"string","title":"Total Pnl Quote","description":"Profit or loss since the position opened, in the position's debt token: what the position is worth now, plus everything taken out, minus everything put in, each valued when it happened. It includes the entry and exit swap costs, the carry (what the collateral earned minus the interest paid) and the collateral's price move against the debt token. Realized once the position is closed, unrealized while it is open. Where a loop or unwind's own swap could not be used (its history entry has flow_basis 'oracle'), that swap's cost is not counted and the figure reads higher by roughly that amount.\n\nMeasured in the debt token, not USD: on a correlated loop (wstHYPE against WHYPE, wstETH against WETH) a positive figure here can still be a USD loss when the debt token itself falls. total_pnl_usd carries that.","isRequired":true,"uniqueKey":"positions.items.[INDEX].pnl.oneOf.0.total_pnl_quote.oneOf.0","typeLabel":"string"},{"type":"null","title":"Total Pnl Quote","description":"Profit or loss since the position opened, in the position's debt token: what the position is worth now, plus everything taken out, minus everything put in, each valued when it happened. It includes the entry and exit swap costs, the carry (what the collateral earned minus the interest paid) and the collateral's price move against the debt token. Realized once the position is closed, unrealized while it is open. Where a loop or unwind's own swap could not be used (its history entry has flow_basis 'oracle'), that swap's cost is not counted and the figure reads higher by roughly that amount.\n\nMeasured in the debt token, not USD: on a correlated loop (wstHYPE against WHYPE, wstETH against WETH) a positive figure here can still be a USD loss when the debt token itself falls. total_pnl_usd carries that.","isRequired":true,"uniqueKey":"positions.items.[INDEX].pnl.oneOf.0.total_pnl_quote.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"positions.items.[INDEX].pnl.oneOf.0.total_pnl_quote","typeLabel":"string | null"},"total_pnl_percent":{"oneOf":[{"type":"string","title":"Total Pnl Percent","description":"total_pnl_quote as a percentage of the equity put in (e.g. 4.2 = 4.2%): the return on the capital contributed, not annualized.","uniqueKey":"positions.items.[INDEX].pnl.oneOf.0.total_pnl_percent.oneOf.0","typeLabel":"string"},{"type":"null","title":"Total Pnl Percent","description":"total_pnl_quote as a percentage of the equity put in (e.g. 4.2 = 4.2%): the return on the capital contributed, not annualized.","uniqueKey":"positions.items.[INDEX].pnl.oneOf.0.total_pnl_percent.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].pnl.oneOf.0.total_pnl_percent","typeLabel":"string | null"},"total_pnl_usd":{"oneOf":[{"type":"string","title":"Total Pnl Usd","description":"Profit or loss since the position opened, in USD: each flow at the debt token's USD price when it happened, the position's current value at its price now. Unlike total_pnl_quote it includes the debt token's own USD move. Null when any of those prices is unavailable.","uniqueKey":"positions.items.[INDEX].pnl.oneOf.0.total_pnl_usd.oneOf.0","typeLabel":"string"},{"type":"null","title":"Total Pnl Usd","description":"Profit or loss since the position opened, in USD: each flow at the debt token's USD price when it happened, the position's current value at its price now. Unlike total_pnl_quote it includes the debt token's own USD move. Null when any of those prices is unavailable.","uniqueKey":"positions.items.[INDEX].pnl.oneOf.0.total_pnl_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].pnl.oneOf.0.total_pnl_usd","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"positions.items.[INDEX].pnl.oneOf.0","typeLabel":"LoopedPositionPnl · object"},{"type":"null","description":"Profit or loss since the position opened, for OPEN and CLOSED positions alike. Null when it cannot be stated honestly: the position's recorded history is incomplete (it starts after the opening, or does not add up to what the position holds now), a transaction could not be priced, the position's current value could not be read or separated from another position's, or a transaction's legs cannot be told apart from another position's.","uniqueKey":"positions.items.[INDEX].pnl.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].pnl","typeLabel":"LoopedPositionPnl · object | null"},"history":{"items":{"properties":{"transaction_hash":{"type":"string","title":"Transaction Hash","description":"Transaction hash.","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].transaction_hash","typeLabel":"string"},"block_number":{"type":"integer","title":"Block Number","description":"Block number of the transaction.","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].block_number","typeLabel":"integer"},"block_timestamp":{"type":"string","format":"date-time","title":"Block Timestamp","description":"Timestamp of the transaction.","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].block_timestamp","typeLabel":"string\u003cdate-time>"},"classification":{"type":"string","enum":["loop_open","loop_increase","unwind","supply","withdraw","borrow","repay","liquidation","mixed"],"title":"Classification","description":"What this transaction did to the position: loop_open / loop_increase (lever up with a swap), unwind (delever), single-sided supply/withdraw/borrow/repay, liquidation, or mixed.","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].classification","typeLabel":"enum\u003cstring>"},"collateral_delta":{"type":"string","title":"Collateral Delta","description":"Signed change in collateral in this transaction (positive = added).","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].collateral_delta","typeLabel":"string"},"debt_delta":{"type":"string","title":"Debt Delta","description":"Signed change in debt in this transaction (positive = borrowed).","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].debt_delta","typeLabel":"string"},"iterations":{"oneOf":[{"type":"integer","title":"Iterations","description":"Loop transactions only: number of borrow legs in this transaction (one per loop iteration). Null for non-loop transactions.","uniqueKey":"positions.items.[INDEX].history.items.[INDEX].iterations.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Iterations","description":"Loop transactions only: number of borrow legs in this transaction (one per loop iteration). Null for non-loop transactions.","uniqueKey":"positions.items.[INDEX].history.items.[INDEX].iterations.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].iterations","typeLabel":"integer | null"},"swap":{"oneOf":[{"type":"object","title":"SwapInfo","description":"The swap leg of a loop (debt sold for collateral) or an unwind (collateral sold for debt), when the transaction shows one.","required":["sold_token","sold_symbol","sold_amount","bought_token","bought_symbol","bought_amount"],"properties":{"sold_token":{"type":"string","title":"Sold Token","description":"The token leaving the account: the debt token on a loop, the collateral token on an unwind.","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].swap.oneOf.0.sold_token","typeLabel":"string"},"sold_symbol":{"type":"string","title":"Sold Symbol","description":"Symbol of the sold token.","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].swap.oneOf.0.sold_symbol","typeLabel":"string"},"sold_amount":{"type":"string","title":"Sold Amount","description":"Amount of the sold token.","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].swap.oneOf.0.sold_amount","typeLabel":"string"},"bought_token":{"type":"string","title":"Bought Token","description":"The token arriving in the account: the collateral token on a loop, the debt token on an unwind.","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].swap.oneOf.0.bought_token","typeLabel":"string"},"bought_symbol":{"type":"string","title":"Bought Symbol","description":"Symbol of the bought token.","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].swap.oneOf.0.bought_symbol","typeLabel":"string"},"bought_amount":{"type":"string","title":"Bought Amount","description":"Amount of the bought token.","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].swap.oneOf.0.bought_amount","typeLabel":"string"},"router":{"oneOf":[{"type":"string","title":"Router","description":"The outbound counterparty when it is the swap router itself. Null when the swap settled from an executor contract (informational only — never required to detect the swap).","uniqueKey":"positions.items.[INDEX].history.items.[INDEX].swap.oneOf.0.router.oneOf.0","typeLabel":"string"},{"type":"null","title":"Router","description":"The outbound counterparty when it is the swap router itself. Null when the swap settled from an executor contract (informational only — never required to detect the swap).","uniqueKey":"positions.items.[INDEX].history.items.[INDEX].swap.oneOf.0.router.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].swap.oneOf.0.router","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].swap.oneOf.0","typeLabel":"SwapInfo · object"},{"type":"null","description":"The swap leg of a loop (debt sold for collateral) or an unwind (collateral sold for debt), when the transaction shows one.","uniqueKey":"positions.items.[INDEX].history.items.[INDEX].swap.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].swap","typeLabel":"SwapInfo · object | null"},"events":{"items":{"properties":{"event_type":{"type":"string","enum":["supply","withdraw","borrow","repay","liquidation","transfer_in","transfer_out"],"title":"Event Type","description":"Type of credit event.","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].events.items.[INDEX].event_type","typeLabel":"enum\u003cstring>"},"block_number":{"type":"integer","title":"Block Number","description":"Block number when the event occurred","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].events.items.[INDEX].block_number","typeLabel":"integer"},"block_timestamp":{"type":"string","format":"date-time","title":"Block Timestamp","description":"Timestamp when the event occurred","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].events.items.[INDEX].block_timestamp","typeLabel":"string\u003cdate-time>"},"transaction_hash":{"type":"string","title":"Transaction Hash","description":"Transaction hash of the event","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].events.items.[INDEX].transaction_hash","typeLabel":"string"},"amount":{"type":"string","title":"Amount","description":"Amount involved in the event","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].events.items.[INDEX].amount","typeLabel":"string"},"symbol":{"type":"string","title":"Symbol","description":"Symbol of the token","isRequired":true,"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].events.items.[INDEX].symbol","typeLabel":"string"}},"type":"object","required":["event_type","block_number","block_timestamp","transaction_hash","amount","symbol"],"title":"CreditEvent","description":"A single historical event in a credit position.","uniqueKey":"positions.items.[INDEX].history.items.[INDEX].events.items.[INDEX]","typeLabel":"CreditEvent · object"},"type":"array","title":"Events","description":"The raw lending events that make up this transaction (Morpho supply_collateral maps to 'supply', withdraw_collateral to 'withdraw').","default":[],"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].events","typeLabel":"CreditEvent · object[]"},"equity_flow_quote":{"oneOf":[{"type":"string","title":"Equity Flow Quote","description":"Equity this transaction put into the position (positive) or took out of it (negative), in the debt token, valued when it landed. 0 for a liquidation, whose loss stays in the position's equity. Null when the transaction could not be valued.","uniqueKey":"positions.items.[INDEX].history.items.[INDEX].equity_flow_quote.oneOf.0","typeLabel":"string"},{"type":"null","title":"Equity Flow Quote","description":"Equity this transaction put into the position (positive) or took out of it (negative), in the debt token, valued when it landed. 0 for a liquidation, whose loss stays in the position's equity. Null when the transaction could not be valued.","uniqueKey":"positions.items.[INDEX].history.items.[INDEX].equity_flow_quote.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].equity_flow_quote","typeLabel":"string | null"},"flow_basis":{"oneOf":[{"type":"string","title":"Flow Basis","description":"How equity_flow_quote was measured. 'swap': from this transaction's own swap, so the swap's cost shows up in PnL. 'oracle': from the net amounts at the market price; on a loop or unwind that folds the swap's cost into the flow instead. Null for a liquidation and for a transaction that could not be valued.","enum":["swap","oracle"],"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].flow_basis.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Flow Basis","description":"How equity_flow_quote was measured. 'swap': from this transaction's own swap, so the swap's cost shows up in PnL. 'oracle': from the net amounts at the market price; on a loop or unwind that folds the swap's cost into the flow instead. Null for a liquidation and for a transaction that could not be valued.","uniqueKey":"positions.items.[INDEX].history.items.[INDEX].flow_basis.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].history.items.[INDEX].flow_basis","typeLabel":"enum\u003cstring> | null"}},"additionalProperties":false,"type":"object","required":["transaction_hash","block_number","block_timestamp","classification","collateral_delta","debt_delta"],"title":"LoopedPositionHistoryEntry","description":"One transaction in a looped position's lifetime.","uniqueKey":"positions.items.[INDEX].history.items.[INDEX]","typeLabel":"LoopedPositionHistoryEntry · object"},"type":"array","title":"History","description":"All transactions for this position, chronological.","default":[],"uniqueKey":"positions.items.[INDEX].history","typeLabel":"LoopedPositionHistoryEntry · object[]"}},"additionalProperties":false,"type":"object","required":["protocol","collateral_token","collateral_symbol","debt_token","debt_symbol","status","opened_at","totals"],"title":"LoopedPosition","description":"A single looped (leveraged) position with its full history.","uniqueKey":"positions.items.[INDEX]","typeLabel":"LoopedPosition · object"},"type":"array","title":"Positions","description":"Every leveraged position the account holds, across Aave, Morpho and Euler — each with its live state, lifetime totals and full transaction history, whether it is still open or already closed.","default":[],"example":[{"collateral_symbol":"WETH","collateral_token":"0x4200000000000000000000000000000000000006","current":{"borrow_apy":"3.8400000000","collateral_amount":"3.0000000000","collateral_lending_apy":"0.0000000000","collateral_usd":"9000.0000000000","debt_amount":"5000.0000000000","debt_usd":"5000.0000000000","health_factor":"1.5480000000","health_factor_scope":"market","leverage":"2.2500000000","net_usd_value":"4000.0000000000"},"debt_symbol":"USDC","debt_token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","history":[{"block_number":25000000,"block_timestamp":"2025-01-15T10:30:00Z","classification":"loop_open","collateral_delta":"3.0000000000","debt_delta":"5000.0000000000","equity_flow_quote":"4033.4000000000","events":[],"flow_basis":"swap","iterations":2,"swap":{"bought_amount":"1.6600000000","bought_symbol":"WETH","bought_token":"0x4200000000000000000000000000000000000006","sold_amount":"5000.0000000000","sold_symbol":"USDC","sold_token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"transaction_hash":"0x1a2b3c4d5e6f7890abcdef1234567890abcdef1234567890abcdef1234567890"}],"market_id":"0x8793cf302b8ffd655ab97bd1c695dbd967807e8367a65cb2f4edaf1380ba1bda","opened_at":"2025-01-15T10:30:00Z","pnl":{"total_pnl_percent":"-0.8280854862","total_pnl_quote":"-33.4000000000","total_pnl_usd":"-33.4000000000"},"protocol":"MORPHO","status":"OPEN","totals":{"liquidation_count":0,"loop_tx_count":1,"total_collateral_added":"3.0000000000","total_collateral_removed":"0.0000000000","total_debt_added":"5000.0000000000","total_debt_removed":"0.0000000000","unwind_tx_count":0}}],"uniqueKey":"positions","typeLabel":"LoopedPosition · object[]"},"aave_account_summary":{"oneOf":[{"type":"object","title":"AccountSummary","description":"Aave account-level summary (health factor, LTV, borrow capacity). Present when the account holds any open Aave looped position, since Aave collateral is pooled and health is account-level. Null for accounts with no open Aave loop — Morpho and Euler positions carry their own isolated health factor on each position instead.","required":["health_factor","total_collateral_usd","total_debt_usd","available_borrows_usd","ltv"],"properties":{"health_factor":{"type":"string","title":"Health Factor","description":"Health factor. Above 1 is safe; below 1 risks liquidation.","isRequired":true,"uniqueKey":"aave_account_summary.oneOf.0.health_factor","typeLabel":"string"},"total_collateral_usd":{"type":"string","title":"Total Collateral Usd","description":"Total collateral value in USD.","isRequired":true,"uniqueKey":"aave_account_summary.oneOf.0.total_collateral_usd","typeLabel":"string"},"total_debt_usd":{"type":"string","title":"Total Debt Usd","description":"Total debt value in USD.","isRequired":true,"uniqueKey":"aave_account_summary.oneOf.0.total_debt_usd","typeLabel":"string"},"available_borrows_usd":{"type":"string","title":"Available Borrows Usd","description":"Available borrow capacity in USD.","isRequired":true,"uniqueKey":"aave_account_summary.oneOf.0.available_borrows_usd","typeLabel":"string"},"ltv":{"type":"string","title":"Ltv","description":"Current loan-to-value ratio.","isRequired":true,"uniqueKey":"aave_account_summary.oneOf.0.ltv","typeLabel":"string"},"protocol":{"type":"string","enum":["AAVE","EULER","MORPHO"],"title":"CreditProtocol","description":"Lending protocol this summary describes.","default":"AAVE","uniqueKey":"aave_account_summary.oneOf.0.protocol","typeLabel":"enum\u003cstring>"},"sub_account_id":{"oneOf":[{"type":"integer","title":"Sub Account Id","description":"Euler only: the EVC sub-account (0–255) this summary describes. Euler health is per-sub-account. Null for Aave/Morpho.","uniqueKey":"aave_account_summary.oneOf.0.sub_account_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Sub Account Id","description":"Euler only: the EVC sub-account (0–255) this summary describes. Euler health is per-sub-account. Null for Aave/Morpho.","uniqueKey":"aave_account_summary.oneOf.0.sub_account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"aave_account_summary.oneOf.0.sub_account_id","typeLabel":"integer | null"},"emode_category_id":{"type":"integer","title":"Emode Category Id","description":"E-Mode category ID. 0 = disabled. E-Mode gives higher LTV when collateral and debt are price-correlated (e.g. stablecoin-to-stablecoin or ETH-to-ETH-derivative).","default":0,"uniqueKey":"aave_account_summary.oneOf.0.emode_category_id","typeLabel":"integer"},"emode_label":{"oneOf":[{"type":"string","title":"Emode Label","description":"Human-readable E-Mode category name (e.g. 'Stablecoins', 'ETH correlated'). Null when E-Mode is disabled (category 0).","uniqueKey":"aave_account_summary.oneOf.0.emode_label.oneOf.0","typeLabel":"string"},{"type":"null","title":"Emode Label","description":"Human-readable E-Mode category name (e.g. 'Stablecoins', 'ETH correlated'). Null when E-Mode is disabled (category 0).","uniqueKey":"aave_account_summary.oneOf.0.emode_label.oneOf.1","typeLabel":"null"}],"uniqueKey":"aave_account_summary.oneOf.0.emode_label","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"aave_account_summary.oneOf.0","typeLabel":"AccountSummary · object"},{"type":"null","description":"Aave account-level summary (health factor, LTV, borrow capacity). Present when the account holds any open Aave looped position, since Aave collateral is pooled and health is account-level. Null for accounts with no open Aave loop — Morpho and Euler positions carry their own isolated health factor on each position instead.","uniqueKey":"aave_account_summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"aave_account_summary","typeLabel":"AccountSummary · object | null"}},"type":"object","required":["credit_account_address"],"title":"CreditLoopedPositionsResponse","description":"Looped positions across Aave V3, Morpho Blue and Euler V2 for a credit account.","uniqueKey":"","typeLabel":"CreditLoopedPositionsResponse · object"},"examples":{"Example":{"title":"Example","value":{"credit_account_address":"\u003cstring>","positions":[{"collateral_symbol":"WETH","collateral_token":"0x4200000000000000000000000000000000000006","current":{"borrow_apy":"3.8400000000","collateral_amount":"3.0000000000","collateral_lending_apy":"0.0000000000","collateral_usd":"9000.0000000000","debt_amount":"5000.0000000000","debt_usd":"5000.0000000000","health_factor":"1.5480000000","health_factor_scope":"market","leverage":"2.2500000000","net_usd_value":"4000.0000000000"},"debt_symbol":"USDC","debt_token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","history":[{"block_number":25000000,"block_timestamp":"2025-01-15T10:30:00Z","classification":"loop_open","collateral_delta":"3.0000000000","debt_delta":"5000.0000000000","equity_flow_quote":"4033.4000000000","events":[],"flow_basis":"swap","iterations":2,"swap":{"bought_amount":"1.6600000000","bought_symbol":"WETH","bought_token":"0x4200000000000000000000000000000000000006","sold_amount":"5000.0000000000","sold_symbol":"USDC","sold_token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"transaction_hash":"0x1a2b3c4d5e6f7890abcdef1234567890abcdef1234567890abcdef1234567890"}],"market_id":"0x8793cf302b8ffd655ab97bd1c695dbd967807e8367a65cb2f4edaf1380ba1bda","opened_at":"2025-01-15T10:30:00Z","pnl":{"total_pnl_percent":"-0.8280854862","total_pnl_quote":"-33.4000000000","total_pnl_usd":"-33.4000000000"},"protocol":"MORPHO","status":"OPEN","totals":{"liquidation_count":0,"loop_tx_count":1,"total_collateral_added":"3.0000000000","total_collateral_removed":"0.0000000000","total_debt_added":"5000.0000000000","total_debt_removed":"0.0000000000","unwind_tx_count":0}}],"aave_account_summary":{"health_factor":"\u003cstring>","total_collateral_usd":"\u003cstring>","total_debt_usd":"\u003cstring>","available_borrows_usd":"\u003cstring>","ltv":"\u003cstring>","protocol":"AAVE","sub_account_id":123,"emode_category_id":0,"emode_label":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"7e01c0a7-548c-4a90-b26e-4b530aee5f86":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"e89f6d8c-9ae7-44f6-91ab-c06b98b98bae":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your Compass API Key. Get your key [here](https://www.compasslabs.ai/dashboard).","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"5cc70962-0013-441d-bd6f-5cb484ceb892":{"url":"https://api.compasslabs.ai","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your Compass API Key. Get your key [here](https://www.compasslabs.ai/dashboard).","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"Your Compass API Key. Get your key [here](https://www.compasslabs.ai/dashboard).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"v2/combined_spec.json"},"subdomain":"compasslabs-f07467e0","siteName":"Compass API Docs","title":"List looped (leveraged) credit positions - Compass API Docs","navMaps":{"firstHrefInVersion":{"V2":{"href":"/v2/api-reference/credit/list-looped-leveraged-credit-positions","matchLevel":0},"V1":{"href":"/v1/api-reference/aave-v3/aave-supported-tokens","matchLevel":2}},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T13:11:30.395Z","originalFileLocation":"v2/api-reference/credit/list-looped-leveraged-credit-positions.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"List the leveraged positions held by an owner\u0026#x27;s Credit Account. Positions are reconstructed from on-chain history rather than from API calls, so a loop assembled by hand through /v2/credit/bundle is recognised the same way as one opened through /v2/credit/loop. Only activity inside the Credit Account is visible — leverage the owner holds directly in their wallet is not. See the Leveraged Looping guide for protocol coverage and how to read leverage, health factor and net APY.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Compass API Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/compasslabs-f07467e0/CejAEahS9T_GZmf_/_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/compasslabs-f07467e0/CejAEahS9T_GZmf_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/compasslabs-f07467e0/CejAEahS9T_GZmf_/_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/compasslabs-f07467e0/CejAEahS9T_GZmf_/_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/compasslabs-f07467e0/CejAEahS9T_GZmf_/_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/compasslabs-f07467e0/CejAEahS9T_GZmf_/_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/compasslabs-f07467e0/CejAEahS9T_GZmf_/_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/compasslabs-f07467e0/CejAEahS9T_GZmf_/_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/compasslabs-f07467e0/CejAEahS9T_GZmf_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List looped (leveraged) credit positions - Compass API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"List the leveraged positions held by an owner\u0026#x27;s Credit Account. Positions are reconstructed from on-chain history rather than from API calls, so a loop assembled by hand through /v2/credit/bundle is recognised the same way as one opened through /v2/credit/loop. Only activity inside the Credit Account is visible — leverage the owner holds directly in their wallet is not. See the Leveraged Looping guide for protocol coverage and how to read leverage, health factor and net APY.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Compass API Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.compasslabs.ai/v2/api-reference/credit/list-looped-leveraged-credit-positions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://compasslabs-f07467e0.mintlify.site/_mintlify/api/og/v2?division=Credit\u0026amp;title=List+looped+%28leveraged%29+credit+positions\u0026amp;description=List+the+leveraged+positions+held+by+an+owner%27s+Credit+Account.%0A%0APositions+are+reconstructed+from+on-chain+history+rather+than+from+API+calls%2C%0Aso+a+loop+assembl\u0026amp;theme=3dbf73b4b3dd364abd493b9c\u0026amp;signature=14b728d37f2729505d9d1ee8447b656e279b8fcaf9f0d9bdba4d0853c2b2c575\">\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=\"List looped (leveraged) credit positions - Compass API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"List the leveraged positions held by an owner\u0026#x27;s Credit Account. Positions are reconstructed from on-chain history rather than from API calls, so a loop assembled by hand through /v2/credit/bundle is recognised the same way as one opened through /v2/credit/loop. Only activity inside the Credit Account is visible — leverage the owner holds directly in their wallet is not. See the Leveraged Looping guide for protocol coverage and how to read leverage, health factor and net APY.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://compasslabs-f07467e0.mintlify.site/_mintlify/api/og/v2?division=Credit\u0026amp;title=List+looped+%28leveraged%29+credit+positions\u0026amp;description=List+the+leveraged+positions+held+by+an+owner%27s+Credit+Account.%0A%0APositions+are+reconstructed+from+on-chain+history+rather+than+from+API+calls%2C%0Aso+a+loop+assembl\u0026amp;theme=3dbf73b4b3dd364abd493b9c\u0026amp;signature=14b728d37f2729505d9d1ee8447b656e279b8fcaf9f0d9bdba4d0853c2b2c575\">\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/compasslabs-f07467e0/CejAEahS9T_GZmf_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Compass API Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0284c7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.compasslabs.ai/v2/api-reference/credit/list-looped-leveraged-credit-positions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v2/api-reference/credit/list-looped-leveraged-credit-positions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.compasslabs.ai/#organization\",\"name\":\"Compass API Docs\",\"url\":\"https://docs.compasslabs.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/compasslabs-f07467e0/x2NrFgZ7soJbH6sc/logo/light.svg?fit=max\u0026auto=format\u0026n=x2NrFgZ7soJbH6sc\u0026q=85\u0026s=80a04b06674000990914306c6a833cb9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.compasslabs.ai#website\",\"name\":\"Compass API Docs\",\"url\":\"https://docs.compasslabs.ai\",\"publisher\":{\"@id\":\"https://docs.compasslabs.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.compasslabs.ai/v2/api-reference/credit/list-looped-leveraged-credit-positions#webpage\",\"url\":\"https://docs.compasslabs.ai/v2/api-reference/credit/list-looped-leveraged-credit-positions\",\"name\":\"List looped (leveraged) credit positions\",\"description\":\"List the leveraged positions held by an owner's Credit Account. Positions are reconstructed from on-chain history rather than from API calls, so a loop assembled by hand through /v2/credit/bundle is recognised the same way as one opened through /v2/credit/loop. Only activity inside the Credit Account is visible — leverage the owner holds directly in their wallet is not. See the Leveraged Looping guide for protocol coverage and how to read leverage, health factor and net APY.\",\"dateModified\":\"2026-11-05T13:11:30.395Z\",\"isPartOf\":{\"@id\":\"https://docs.compasslabs.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.compasslabs.ai/v2/api-reference/credit/list-looped-leveraged-credit-positions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.compasslabs.ai/v2/api-reference/credit/list-looped-leveraged-credit-positions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.compasslabs.ai/v2/api-reference/gas-sponsorship/prepare-gas-sponsored-transaction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Credit\",\"item\":\"https://docs.compasslabs.ai/v2/api-reference/credit/list-credit-positions\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"List looped (leveraged) credit positions\",\"item\":\"https://docs.compasslabs.ai/v2/api-reference/credit/list-looped-leveraged-credit-positions\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.compasslabs.ai/v2/api-reference/credit/list-looped-leveraged-credit-positions#apireference\",\"headline\":\"List looped (leveraged) credit positions\",\"name\":\"List looped (leveraged) credit positions\",\"description\":\"List the leveraged positions held by an owner's Credit Account. Positions are reconstructed from on-chain history rather than from API calls, so a loop assembled by hand through /v2/credit/bundle is recognised the same way as one opened through /v2/credit/loop. Only activity inside the Credit Account is visible — leverage the owner holds directly in their wallet is not. See the Leveraged Looping guide for protocol coverage and how to read leverage, health factor and net APY.\",\"url\":\"https://docs.compasslabs.ai/v2/api-reference/credit/list-looped-leveraged-credit-positions\",\"mainEntityOfPage\":{\"@id\":\"https://docs.compasslabs.ai/v2/api-reference/credit/list-looped-leveraged-credit-positions#webpage\"},\"dateModified\":\"2026-11-05T13:11:30.395Z\",\"publisher\":{\"@id\":\"https://docs.compasslabs.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.compasslabs.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Compass API Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Compass API Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/v2/api-reference/credit/list-looped-leveraged-credit-positions.md","siteName":"Compass API Docs","nav":{"global":{"tabs":[],"anchors":[]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/v2/get_started/overview"}]},{"tab":"API Reference","versions":[{"version":"V2","groups":[{"group":"API Reference","pages":[{"group":"Gas Sponsorship","pages":[{"title":"Prepare gas-sponsored transaction","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/gas_sponsorship/prepare","href":"/v2/api-reference/gas-sponsorship/prepare-gas-sponsored-transaction"},{"title":"Approve token transfer","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/gas_sponsorship/approve_transfer","href":"/v2/api-reference/gas-sponsorship/approve-token-transfer"}]},{"group":"Earn","pages":[{"title":"List earn positions","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/earn/positions","href":"/v2/api-reference/earn/list-earn-positions"},{"title":"List earn positions across all chains","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/earn/positions_all","href":"/v2/api-reference/earn/list-earn-positions-across-all-chains"},{"title":"List vaults","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/earn/vaults","href":"/v2/api-reference/earn/list-vaults"},{"title":"List aave markets","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/earn/aave_markets","href":"/v2/api-reference/earn/list-aave-markets"},{"title":"List pendle markets","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/earn/pendle_markets","href":"/v2/api-reference/earn/list-pendle-markets"},{"title":"List maple pools","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/earn/maple_pools","href":"/v2/api-reference/earn/list-maple-pools"},{"title":"Quote a swap","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/earn/swap_quote","href":"/v2/api-reference/earn/quote-a-swap"},{"title":"Get token balances","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/earn/balances","href":"/v2/api-reference/earn/get-token-balances"},{"title":"Create earn account","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/earn/create_account","href":"/v2/api-reference/earn/create-earn-account"},{"title":"Transfer tokens to/from account","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/earn/transfer","href":"/v2/api-reference/earn/transfer-tokens-tofrom-account"},{"title":"Manage earn position","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/earn/manage","href":"/v2/api-reference/earn/manage-earn-position"},{"title":"Swap tokens","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/earn/swap","href":"/v2/api-reference/earn/swap-tokens"},{"title":"Execute multiple earn actions","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/earn/bundle","href":"/v2/api-reference/earn/execute-multiple-earn-actions"}]},{"group":"Bridge","pages":[{"title":"Initiate USDC bridging","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/cctp/burn","href":"/v2/api-reference/bridge/initiate-usdc-bridging"},{"title":"Complete USDC bridging","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/cctp/mint","href":"/v2/api-reference/bridge/complete-usdc-bridging"}]},{"group":"Credit","pages":[{"title":"List credit positions","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/credit/positions","href":"/v2/api-reference/credit/list-credit-positions"},{"title":"Get credit account token balances","description":"Get token balances and transfer history for a credit account.\n\nReturns all token balances held by the credit account derived from the owner address,\nalong with complete transfer history and USD valuations.","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/credit/balances","href":"/v2/api-reference/credit/get-credit-account-token-balances"},{"title":"List looped (leveraged) credit positions","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/credit/looped_positions","href":"/v2/api-reference/credit/list-looped-leveraged-credit-positions"},{"title":"List Euler markets","description":"List curated Euler V2 credit markets for a chain.\n\nEuler is permissionless, so credit borrow/repay identify a market by EVK vault\naddress. This returns the borrow markets from Euler's Governed Perspective (the\nDAO-vetted vault set) -- each with the collateral vaults it accepts and their\nLTVs -- so callers know which borrow_vault / collateral_vault to use.","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/credit/euler_markets","href":"/v2/api-reference/credit/list-euler-markets"},{"title":"List Morpho markets","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/credit/morpho_markets","href":"/v2/api-reference/credit/list-morpho-markets"},{"title":"List Aave markets","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/credit/aave_markets","href":"/v2/api-reference/credit/list-aave-markets"},{"title":"Create credit account","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/credit/create_account","href":"/v2/api-reference/credit/create-credit-account"},{"title":"Borrow against collateral","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/credit/borrow","href":"/v2/api-reference/credit/borrow-against-collateral"},{"title":"Open a leveraged loop","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/credit/loop","href":"/v2/api-reference/credit/open-a-leveraged-loop"},{"title":"Unwind a leveraged loop","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/credit/unloop","href":"/v2/api-reference/credit/unwind-a-leveraged-loop"},{"title":"Rebalance the leveraged credit book","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/credit/rebalance","href":"/v2/api-reference/credit/rebalance-the-leveraged-credit-book"},{"title":"Transfer tokens to/from Credit Account","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/credit/transfer","href":"/v2/api-reference/credit/transfer-tokens-tofrom-credit-account"},{"title":"Swap tokens","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/credit/swap","href":"/v2/api-reference/credit/swap-tokens"},{"title":"Repay debt and withdraw collateral","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/credit/repay","href":"/v2/api-reference/credit/repay-debt-and-withdraw-collateral"},{"title":"Execute multiple credit actions","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/credit/bundle","href":"/v2/api-reference/credit/execute-multiple-credit-actions"}]},{"group":"Perpetual Trading","pages":[{"title":"List perpetual trading markets","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/perpetual_trading/opportunities","href":"/v2/api-reference/perpetual-trading/list-perpetual-trading-markets"},{"title":"List perpetual trading positions","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/perpetual_trading/positions","href":"/v2/api-reference/perpetual-trading/list-perpetual-trading-positions"},{"title":"Get OHLCV candles","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/perpetual_trading/candles","href":"/v2/api-reference/perpetual-trading/get-ohlcv-candles"},{"title":"Aggregated Hyperliquid activity for a user","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/perpetual_trading/activity","href":"/v2/api-reference/perpetual-trading/aggregated-hyperliquid-activity-for-a-user"},{"title":"Deposit USDC to perpetual trading account","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/perpetual_trading/deposit","href":"/v2/api-reference/perpetual-trading/deposit-usdc-to-perpetual-trading-account"},{"title":"Build the Bridge2 deposit tx from a signed permit","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/perpetual_trading/deposit/sponsor_prepare","href":"/v2/api-reference/perpetual-trading/build-the-bridge2-deposit-tx-from-a-signed-permit"},{"title":"Withdraw USDC from perpetual trading account","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/perpetual_trading/withdraw","href":"/v2/api-reference/perpetual-trading/withdraw-usdc-from-perpetual-trading-account"},{"title":"Place market order","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/perpetual_trading/market_order","href":"/v2/api-reference/perpetual-trading/place-market-order"},{"title":"Place limit order","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/perpetual_trading/limit_order","href":"/v2/api-reference/perpetual-trading/place-limit-order"},{"title":"Cancel order","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/perpetual_trading/cancel_order","href":"/v2/api-reference/perpetual-trading/cancel-order"},{"title":"Execute signed action","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/perpetual_trading/execute","href":"/v2/api-reference/perpetual-trading/execute-signed-action"},{"title":"Approve builder fee","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/perpetual_trading/approve_builder_fee","href":"/v2/api-reference/perpetual-trading/approve-builder-fee"},{"title":"Enable unified account mode","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/perpetual_trading/enable_unified_account","href":"/v2/api-reference/perpetual-trading/enable-unified-account-mode"},{"title":"Ensure 1x cross leverage","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/perpetual_trading/ensure_leverage","href":"/v2/api-reference/perpetual-trading/ensure-1x-cross-leverage"},{"title":"Set leverage (defaults to market maximum)","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/perpetual_trading/set_leverage","href":"/v2/api-reference/perpetual-trading/set-leverage-defaults-to-market-maximum"}]},{"group":"Tokenized Assets","pages":[{"title":"List markets","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/tokenized_assets/markets","href":"/v2/api-reference/tokenized-assets/list-markets"},{"title":"Get a market","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/tokenized_assets/markets/{symbol}","href":"/v2/api-reference/tokenized-assets/get-a-market"},{"title":"List positions","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/tokenized_assets/positions","href":"/v2/api-reference/tokenized-assets/list-positions"},{"title":"Get token balances","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/tokenized_assets/balances","href":"/v2/api-reference/tokenized-assets/get-token-balances"},{"title":"Get order status","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/tokenized_assets/order/{order_hash}","href":"/v2/api-reference/tokenized-assets/get-order-status"},{"title":"List redemption requests","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json get /v2/tokenized_assets/redemptions","href":"/v2/api-reference/tokenized-assets/list-redemption-requests"},{"title":"Create account","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/tokenized_assets/create_account","href":"/v2/api-reference/tokenized-assets/create-account"},{"title":"Transfer tokens to/from account","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/tokenized_assets/transfer","href":"/v2/api-reference/tokenized-assets/transfer-tokens-tofrom-account"},{"title":"Quote an order","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/tokenized_assets/quote","href":"/v2/api-reference/tokenized-assets/quote-an-order"},{"title":"Build an order","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/tokenized_assets/order","href":"/v2/api-reference/tokenized-assets/build-an-order"},{"title":"Submit a signed order","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/tokenized_assets/order/submit","href":"/v2/api-reference/tokenized-assets/submit-a-signed-order"},{"title":"Cancel an order","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/tokenized_assets/order/{order_hash}/cancel","href":"/v2/api-reference/tokenized-assets/cancel-an-order"},{"title":"Charge a partner fee","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/tokenized_assets/order/{order_hash}/charge_fee","href":"/v2/api-reference/tokenized-assets/charge-a-partner-fee"},{"title":"Buy an RWA yield token","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/tokenized_assets/transact/buy","href":"/v2/api-reference/tokenized-assets/buy-an-rwa-yield-token"},{"title":"Sell an RWA yield token","deprecated":null,"version":null,"openapi":"/v2/combined_spec.json post /v2/tokenized_assets/transact/sell","href":"/v2/api-reference/tokenized-assets/sell-an-rwa-yield-token"}]}]}]},{"version":"V1","pages":[{"title":"V1","href":"/v1/api-reference/aave-v3/aave-supported-tokens"}]}]}]},"basePath":"","title":"List looped (leveraged) credit positions - Compass API Docs","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}