{"openapi":"3.1.0","info":{"title":"Euler Data API","description":"The Euler Data API provides access to on-chain data from Euler Finance vaults across multiple EVM chains. Query vault metrics, account positions, APY data, oracle prices, and more.","version":"1.0.0","contact":{"name":"Euler Labs","url":"https://euler.finance"},"license":{"name":"MIT","url":"https://opensource.org/licenses/MIT"}},"externalDocs":{"description":"Euler Finance Documentation","url":"https://docs.euler.finance"},"tags":[{"name":"Account","description":"Account positions, balances, and activity"},{"name":"Vault","description":"Vault metrics, totals, and user balances"},{"name":"Chain","description":"Chain-level statistics and data"},{"name":"APY","description":"Interest rates and yield data"},{"name":"Oracle","description":"Price oracle data"},{"name":"Swap","description":"Swap routing and quotes"},{"name":"Earn","description":"Euler Earn vault data"},{"name":"Tokens","description":"Token metadata and lists"},{"name":"Health","description":"Vault health checks and cluster data"}],"paths":{"/v1/account/activity":{"get":{"responses":{"200":{"description":"An object containing vault addresses for each subaccount with corresponding vaults","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"},"description":"Array of vault addresses the account interacts with"},"example":{"0x154d73802a6b3324c017481ac818050afe4a0b0a":["0x797dd80692c3b2dadabce8e30c07fde5307d48a9"],"0x154d73802a6b3324c017481ac818050afe4a0b0b":["0x797dd80692c3b2dadabce8e30c07fde5307d48a9","0xe0a80d35bb6618cba260120b279d357978c42bce"]}}}}}},"operationId":"getV1AccountActivity","tags":["Account"],"parameters":[{"in":"query","name":"address","schema":{"type":"string","example":"0x154D73802a6B3324c017481AC818050afE4a0b0A"},"required":true},{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"blockNumber","schema":{"type":"string"},"required":false}],"description":"Returns a mapping of account addresses to their active vault interactions, including all registered sub-accounts. Use this to discover which vaults an account is currently interacting with."}},"/v1/account/positions":{"get":{"responses":{"200":{"description":"An object containing all account position info","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object","description":"Account position data including EVC info, debt, and collaterals"},"example":{"0x154D73802a6B3324C017481aC818050AfE4A0b0B":{"evcAccountInfo":{"timestamp":"1765551887","evc":"0x0C9a3dd6b8F28529d72d7f9cE918D493519EE383","account":"0x154D73802a6B3324C017481aC818050AfE4A0b0B"},"debt":{"timestamp":"1765551887","account":"0x154D73802a6B3324C017481aC818050AfE4A0b0B","vault":"0xe0a80d35bB6618CBA260120b279d357978c42BCE"},"collaterals":{"0x797DD80692c3b2dAdabCe8e30C07fDE5307D48a9":{"timestamp":"1765551887","account":"0x154D73802a6B3324C017481aC818050AfE4A0b0B","vault":"0x797DD80692c3b2dAdabCe8e30C07fDE5307D48a9"}}},"0x154D73802a6B3324c017481AC818050afE4a0b0A":{"evcAccountInfo":{"timestamp":"1765551887","evc":"0x0C9a3dd6b8F28529d72d7f9cE918D493519EE383","account":"0x154D73802a6B3324c017481AC818050afE4a0b0A"},"savings":{"0x797DD80692c3b2dAdabCe8e30C07fDE5307D48a9":{"timestamp":"1765551887","account":"0x154D73802a6B3324c017481AC818050afE4a0b0A","vault":"0x797DD80692c3b2dAdabCe8e30C07fDE5307D48a9"}}}}}}}}},"operationId":"getV1AccountPositions","tags":["Account"],"parameters":[{"in":"query","name":"address","schema":{"type":"string","example":"0x154D73802a6B3324c017481AC818050afE4a0b0A"},"required":true},{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"blockNumber","schema":{"type":"string"},"required":false}],"description":"Returns detailed position information for an account including shares, assets, borrowed amounts, and collateral for each vault. Includes all sub-accounts for a comprehensive portfolio view."}},"/v1/account/balances":{"get":{"responses":{},"operationId":"getV1AccountBalances","parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"address","schema":{"type":"string","example":"0x154D73802a6B3324c017481AC818050afE4a0b0A"},"required":true},{"in":"query","name":"vaults","schema":{"type":"array","items":{"type":"string","example":"0x154D73802a6B3324c017481AC818050afE4a0b0A"},"example":[]},"required":false},{"in":"query","name":"blockNumber","schema":{"type":"string"},"required":false},{"in":"query","name":"interestBlockNumberFrom","schema":{"type":"string"},"required":false}]}},"/v1/account/vaults-info":{"get":{"responses":{"200":{"description":"An object containing vault info for all vaults with user activity","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}},"operationId":"getV1AccountVaults-info","tags":["Account"],"parameters":[{"in":"query","name":"address","schema":{"type":"string","example":"0x154D73802a6B3324c017481AC818050afE4a0b0A"},"required":true},{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"blockNumber","schema":{"type":"string"},"required":false},{"in":"query","name":"disableIntrinsicApy","schema":{"type":"boolean","default":false},"required":false},{"in":"query","name":"disableRewardsApy","schema":{"type":"boolean","default":false},"required":false}],"description":"Returns enriched vault information for all vaults where an account has activity, including APY calculations and vault metadata. Ideal for displaying a user dashboard with all relevant vault details."}},"/v1/health-check/utilization":{"get":{"responses":{"200":{"description":"Object mapping vault addresses to their utilization","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"number"}},"example":{"0xd8b27cf359b7d15710a5be299af6e7bf904984c2":0.85,"0x5bb7a3a18bb76b442e7e7d790f2e1f83e06fe4c3":0.92}}}}},"operationId":"getV1Health-checkUtilization","tags":["Health"],"parameters":[{"name":"chainId","in":"query","required":true,"schema":{},"description":"The chain ID to query vaults for","example":"1"},{"name":"threshold","in":"query","required":true,"schema":{},"description":"The utilization threshold (0-1)","example":"0.8"}],"description":"Returns DAO vaults exceeding a specified utilization threshold with their current utilization ratios. Use this to monitor high-utilization vaults that may need liquidity adjustments."}},"/v1/health-check/caps":{"get":{"responses":{"200":{"description":"Object mapping vault addresses to their supply cap utilization","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"number"}},"example":{"0xd8b27cf359b7d15710a5be299af6e7bf904984c2":0.95,"0xb93d4928f39fbcd6c89a7dfbf0a867e6344561be":0.91}}}}},"operationId":"getV1Health-checkCaps","tags":["Health"],"parameters":[{"name":"chainId","in":"query","required":true,"schema":{},"description":"The chain ID to query vaults for","example":"1"},{"name":"threshold","in":"query","required":true,"schema":{},"description":"The supply cap utilization threshold (0-1)","example":"0.9"}],"description":"Returns DAO vaults exceeding a specified supply cap utilization threshold. Use this for monitoring vaults approaching their caps and identifying when cap increases may be needed."}},"/v1/vault/totals":{"get":{"responses":{"200":{"description":"Vault totals information","content":{"application/json":{"schema":{"type":"object","example":{"totalBorrows":"1090466732696450337712","totalAssets":"1520405498819811769572"}}}}}},"operationId":"getV1VaultTotals","tags":["Vault"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"vault","schema":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"required":true},{"in":"query","name":"block","schema":{"type":"string"},"required":false}],"description":"Returns comprehensive vault metrics including TVL, total borrows, cash reserves, and interest rates for a specific vault. Optionally query at a specific block for historical data."}},"/v1/vault/balances":{"get":{"responses":{"200":{"description":"User asset balances for the vault","content":{"application/json":{"schema":{"type":"object","example":{"vault":"0xd8b27cf359b7d15710a5be299af6e7bf904984c2","chainId":1,"totalUsers":360}}}}}},"operationId":"getV1VaultBalances","tags":["Vault"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"vault","schema":{"type":"string","example":"0x154D73802a6B3324c017481AC818050afE4a0b0A"},"required":true},{"in":"query","name":"block","schema":{"type":"string"},"required":false},{"in":"query","name":"utilisationAdjusted","schema":{"type":"string","default":"false"},"required":false},{"in":"query","name":"resolveEulerEarn","schema":{"type":"string","default":"true"},"required":false},{"in":"query","name":"resolveSubAccounts","schema":{"type":"string","default":"false"},"required":false}],"description":"Returns all user positions (shares and assets) for a specific vault, with optional utilization adjustments and sub-account resolution. Useful for displaying depositor lists and calculating concentration metrics."}},"/v1/vault/open-interest":{"get":{"responses":{"200":{"description":"Open interest for a specific chain. Returns a nested object mapping vault addresses to their collateral vaults and open interest amounts in USD.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number","description":"Open interest amount in USD"},"description":"Mapping of collateral vault addresses to open interest amounts"},"description":"Mapping of vault addresses to their collateral open interest","example":{"0x01864ae3c7d5f507cc4c24ca67b4cabbdda37ecd":{"0xf1ba8c5ca5ab011d06f31e64dad313d204acb9eb":631676.2028373386,"0x0f080bf8ba818001ecfb2f461708d8484323d0ce":401822.1892529008},"0x038dd0eb275b7de3b07884f1fa106ed6423c45f2":{"0xbbc4bc013f1c9ed674098a6d156c02c0a21a285c":6604694.898353459},"0x056f3a2e41d2778d3a0c0714439c53af2987718e":{"0x07f9a54dc5135b9878d6745e267625bf0e206840":5.92322791544045,"0x797dd80692c3b2dadabce8e30c07fde5307d48a9":9.46435533033394,"0xd8b27cf359b7d15710a5be299af6e7bf904984c2":53188.42391582544,"0x998d761ec1badaceb064624cc3a1d37a46c88ba4":4600.49407101343,"0xbc35161043ee2d74816d421efd6a45fda73b050a":28563.16461302976,"0x0d1b386187be8e96680bbddbf7bc05fc737f81b8":43365.72725086824}}}}}}},"operationId":"getV1VaultOpen-interest","tags":["Vault"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true}],"description":"Returns aggregated open interest metrics across all vaults on a chain, including total supplied and borrowed amounts. Use this to monitor protocol-wide lending activity."}},"/v1/vault/borrowers":{"get":{"responses":{"200":{"description":"List of unique borrower addresses for the vault","content":{"application/json":{"schema":{"type":"object","properties":{"vault":{"type":"string","description":"The vault address"},"chainId":{"type":"number","description":"The chain ID"},"blockNumber":{"type":"string","description":"The block number queried"},"totalBorrowers":{"type":"number","description":"Total number of unique borrowers"},"borrowers":{"type":"array","items":{"type":"string"},"description":"Array of unique borrower addresses"}},"example":{"vault":"0xd8b27cf359b7d15710a5be299af6e7bf904984c2","chainId":1,"blockNumber":"latest","totalBorrowers":828,"borrowers":["0x002d5727ed4243368a90bae8177fbb3f665efe8a","0x002d5727ed4243368a90bae8177fbb3f665efe8b"]}}}}}},"operationId":"getV1VaultBorrowers","tags":["Vault"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"vault","schema":{"type":"string","example":"0x154D73802a6B3324c017481AC818050afE4a0b0A"},"required":true},{"in":"query","name":"block","schema":{"type":"string"},"required":false}],"description":"Returns a complete list of unique borrower addresses for a vault, with total count and optional block filtering. Use this to analyze borrower distribution and track historical borrowing activity."}},"/v1/chain/borrowable-vaults":{"get":{"responses":{"200":{"description":"Array of borrowable vault addresses","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"},"example":["0xb3b36220fa7d12f7055dab5c9fd18e860e9a6bf8","0xd8b27cf359b7d15710a5be299af6e7bf904984c2"]}}}}},"operationId":"getV1ChainBorrowable-vaults","tags":["Chain"],"parameters":[{"name":"chainId","in":"query","required":true,"schema":{},"description":"The chain ID to query borrowable vaults for","example":"1"}],"description":"Returns an array of all vault addresses that support borrowing on a chain. Use this to filter vaults that allow debt positions versus deposit-only vaults."}},"/v1/chain/stats":{"get":{"responses":{"200":{"description":"Chain statistics","content":{"application/json":{"schema":{"type":"object","properties":{"totalSupplied":{"type":"number"},"totalBorrowed":{"type":"number"},"earnTotalAssets":{"type":"number"}},"example":{"totalSupplied":1472046467.2455397,"totalBorrowed":671420564.8220866,"earnTotalAssets":19537895.355236676}}}}}},"operationId":"getV1ChainStats","tags":["Chain"],"parameters":[{"name":"chainId","in":"query","required":true,"schema":{},"description":"The chain ID to query stats for","example":"1"}],"description":"Returns aggregated statistics across all vaults on a chain including total supplied, borrowed, and earn assets denominated in USD. Cached for 1 hour for optimal performance."}},"/v1/earn/vault":{"get":{"responses":{"200":{"description":"Detailed information about the earn vault","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"chainId":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"createdAt":{"type":"string"},"createdBlock":{"type":"string"},"vault":{"type":"string"},"timestamp":{"type":"string"},"vaultName":{"type":["string","null"]},"vaultSymbol":{"type":["string","null"]},"vaultDecimals":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647},"asset":{"type":["string","null"]},"assetName":{"type":["string","null"]},"assetSymbol":{"type":["string","null"]},"assetDecimals":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647},"totalShares":{"type":"string"},"totalAssets":{"type":"string"},"lostAssets":{"type":"string"},"performanceFee":{"type":"string"},"feeReceiver":{"type":["string","null"]},"creator":{"type":["string","null"]},"curator":{"type":["string","null"]},"owner":{"type":["string","null"]},"guardian":{"type":["string","null"]},"evc":{"type":["string","null"]},"permit2":{"type":["string","null"]},"lastBlockOfUpdate":{"type":["integer","null"],"format":"int64"},"lastUpdated":{"type":"string"},"supplyQueue":{"type":["array","null"],"items":{"type":"string"}},"availableAssets":{"type":"string"},"timelock":{"type":"string"},"totalAssetsUSDBigInt":{"type":"string"},"totalAssetsUSD":{"type":"number"},"availableAssetsUSDBigInt":{"type":"string"},"availableAssetsUSD":{"type":"number"},"assetPrice":{"type":["number","null"]},"strategies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"chainId":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"vault":{"type":"string"},"strategy":{"type":"string"},"timestamp":{"type":"string"},"lastBlockOfUpdate":{"type":"string"},"allocatedAssets":{"type":"string"},"sharesAllocated":{"type":"string"},"currentAllocationCap":{"type":"string"},"pendingAllocationCap":{"type":"string"},"pendingAllocationCapValidAt":{"type":"string"},"removableAt":{"type":"string"},"deleted":{"type":"boolean"},"lastUpdated":{"type":"string"},"allocatedAssetsUSD":{"type":"number"},"allocatedAssetsUSDBigInt":{"type":"string"},"strategyVaultName":{"type":["string","null"]},"strategyVaultSymbol":{"type":["string","null"]},"strategyVaultDecimals":{"type":["number","null"]},"strategyAsset":{"type":["string","null"],"pattern":"^0x[a-fA-F0-9]{40}$"},"strategyAssetLogo":{"type":"string"},"status":{"type":"string","enum":["active","inactive","pendingRemoval"]}},"required":["id","chainId","vault","strategy","timestamp","lastBlockOfUpdate","allocatedAssets","sharesAllocated","currentAllocationCap","pendingAllocationCap","pendingAllocationCapValidAt","removableAt","deleted","lastUpdated","allocatedAssetsUSD","allocatedAssetsUSDBigInt","strategyVaultName","strategyVaultSymbol","strategyVaultDecimals","strategyAsset","strategyAssetLogo","status"]}},"apyCurrent":{"type":["number","null"]},"apy7d":{"type":"number"},"apy30d":{"type":"number"},"apy90d":{"type":"number"},"supplyApy":{"type":"object","properties":{"baseApy":{"type":"number"},"rewardApy":{"type":["number","null"]},"rewardsMetadata":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"value":{"type":"number"},"logo":{"type":"string"},"symbol":{"type":"string"},"lastEpochEnd":{"type":"number"},"chainId":{"type":"number"},"requiresCB1Verification":{"type":"boolean"},"campaignId":{"type":"string"},"campaignType":{"type":"string"},"provider":{"type":"string"}},"required":["asset","value","logo","symbol","lastEpochEnd","chainId"]}},"totalApy":{"type":"number"},"intrinsicWithBase":{"type":"number"},"intrinsicApy":{"type":["object","null"],"properties":{"apy":{"type":"number"},"timestamp":{"type":["string","null"]},"provider":{"type":["string","null"]},"source":{"type":["string","null"]},"description":{"type":["string","null"]},"claimUrl":{"type":["string","null"]},"uniquifier":{"type":["string","null"]},"apyDuration":{"type":["number","null"]}},"required":["apy","timestamp","provider","source","description","claimUrl","uniquifier","apyDuration"]},"propagatedRewardsApy":{"type":"number"},"propagatedRewardsMetadata":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"value":{"type":"number"},"logo":{"type":"string"},"symbol":{"type":"string"},"lastEpochEnd":{"type":"number"},"chainId":{"type":"number"},"requiresCB1Verification":{"type":"boolean"},"campaignId":{"type":"string"},"campaignType":{"type":"string"},"provider":{"type":"string"}},"required":["asset","value","logo","symbol","lastEpochEnd","chainId"]}}},"required":["baseApy","rewardApy","totalApy","intrinsicWithBase"]},"products":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"entity":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}},{"type":"null"}]},"description":{"type":["string","null"]}},"required":["name","entity","description"]}},"entities":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"string"},"name":{"type":"string"},"logo":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"},"addresses":{"type":"object","additionalProperties":{"type":"string"}},"social":{"type":"object","additionalProperties":{"type":"string"}}},"required":["entity"]}},"points":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"entity":{"type":"array","items":{"type":"string"}},"logo":{"type":"string"},"name":{"type":"string"},"skipTooltipPrefix":{"type":"boolean"},"token":{"type":"string"},"url":{"type":"string"}},"required":["logo","name"]}},"governorType":{"type":"string","enum":["UNKNOWN","KNOWN","UNGOVERNED"]},"transactions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"chainId":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"vault":{"type":"string"},"timestamp":{"type":"string"},"txHash":{"type":"string"},"type":{"type":"string"},"sender":{"type":"string"},"owner":{"type":"string"},"assets":{"type":"string"},"shares":{"type":"string"},"assetsUSD":{"type":"number"},"assetsUSDBigInt":{"type":"string"}},"required":["id","chainId","vault","timestamp","txHash","type","sender","owner","assets","shares","assetsUSD","assetsUSDBigInt"]}},"erc4626Info":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"chainId":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"vault":{"type":"string"},"strategy":{"type":"string"},"timestamp":{"type":"string"},"strategyVaultName":{"type":["string","null"]},"strategyVaultSymbol":{"type":["string","null"]},"strategyVaultDecimals":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"strategyAsset":{"type":"string"},"strategyAssetName":{"type":["string","null"]},"strategyAssetSymbol":{"type":["string","null"]},"strategyAssetDecimals":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"strategyTotalShares":{"type":"string"},"strategyTotalAssets":{"type":"string"},"isEVault":{"type":"boolean"},"lastUpdated":{"type":"string"}},"required":["id","chainId","vault","strategy","timestamp","strategyVaultName","strategyVaultSymbol","strategyVaultDecimals","strategyAsset","strategyAssetName","strategyAssetSymbol","strategyAssetDecimals","strategyTotalShares","strategyTotalAssets","isEVault","lastUpdated"]}},"deposits":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"chainId":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"vault":{"type":"string"},"timestamp":{"type":"string"},"txHash":{"type":"string"},"type":{"type":"string"},"sender":{"type":"string"},"owner":{"type":"string"},"assets":{"type":"string"},"shares":{"type":"string"},"assetsUSD":{"type":"number"},"assetsUSDBigInt":{"type":"string"}},"required":["id","chainId","vault","timestamp","txHash","type","sender","owner","assets","shares","assetsUSD","assetsUSDBigInt"]}},"withdrawals":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"chainId":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"vault":{"type":"string"},"timestamp":{"type":"string"},"txHash":{"type":"string"},"type":{"type":"string"},"sender":{"type":"string"},"owner":{"type":"string"},"assets":{"type":"string"},"shares":{"type":"string"},"assetsUSD":{"type":"number"},"assetsUSDBigInt":{"type":"string"}},"required":["id","chainId","vault","timestamp","txHash","type","sender","owner","assets","shares","assetsUSD","assetsUSDBigInt"]}},"interestAccruals":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"chainId":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"vault":{"type":"string"},"timestamp":{"type":"string"},"newTotalAssets":{"type":"string"},"feeShares":{"type":"string"}},"required":["id","chainId","vault","timestamp","newTotalAssets","feeShares"]}},"publicWithdrawals":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"chainId":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"vault":{"type":"string"},"sender":{"type":"string"},"strategy":{"type":"string"},"timestamp":{"type":"string"},"withdrawnAssets":{"type":"string"}},"required":["id","chainId","vault","sender","strategy","timestamp","withdrawnAssets"]}},"publicReallocations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"chainId":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"vault":{"type":"string"},"sender":{"type":"string"},"strategy":{"type":"string"},"timestamp":{"type":"string"},"suppliedAssets":{"type":"string"}},"required":["id","chainId","vault","sender","strategy","timestamp","suppliedAssets"]}},"reallocateWithdrawals":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"chainId":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"vault":{"type":"string"},"strategy":{"type":"string"},"timestamp":{"type":"string"},"withdrawnAssets":{"type":"string"},"withdrawnShares":{"type":"string"},"lastUpdated":{"type":"string"},"caller":{"type":"string"},"txHash":{"type":"string"},"withdrawnAssetsUSD":{"type":"number"},"withdrawnAssetsUSDBigInt":{"type":"string"}},"required":["id","chainId","vault","strategy","timestamp","withdrawnAssets","withdrawnShares","lastUpdated","caller","txHash","withdrawnAssetsUSD","withdrawnAssetsUSDBigInt"]}},"reallocateDeposits":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"chainId":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"vault":{"type":"string"},"strategy":{"type":"string"},"timestamp":{"type":"string"},"suppliedAssets":{"type":"string"},"suppliedShares":{"type":"string"},"lastUpdated":{"type":"string"},"caller":{"type":"string"},"txHash":{"type":"string"},"suppliedAssetsUSD":{"type":"number"},"suppliedAssetsUSDBigInt":{"type":"string"}},"required":["id","chainId","vault","strategy","timestamp","suppliedAssets","suppliedShares","lastUpdated","caller","txHash","suppliedAssetsUSD","suppliedAssetsUSDBigInt"]}},"allocators":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"chainId":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"vault":{"type":"string"},"timestamp":{"type":"string"},"allocator":{"type":"string"}},"required":["id","chainId","vault","timestamp","allocator"]}}},"required":["id","chainId","createdAt","createdBlock","vault","timestamp","vaultName","vaultSymbol","vaultDecimals","asset","assetName","assetSymbol","assetDecimals","totalShares","totalAssets","lostAssets","performanceFee","feeReceiver","creator","curator","owner","guardian","evc","permit2","lastBlockOfUpdate","lastUpdated","supplyQueue","availableAssets","timelock","totalAssetsUSDBigInt","totalAssetsUSD","availableAssetsUSDBigInt","availableAssetsUSD","assetPrice","strategies","apyCurrent","apy7d","apy30d","apy90d","transactions","erc4626Info","deposits","withdrawals","interestAccruals","publicWithdrawals","publicReallocations","reallocateWithdrawals","reallocateDeposits","allocators"]}}}},"404":{"description":"Vault not found","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","const":false},"error":{"type":"object","properties":{"issues":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"expected":{"type":"string"},"received":{"type":"string"},"path":{"type":"array","items":{"type":"string"}},"message":{"type":"string"}},"required":["code","expected","received","path","message"]}},"name":{"type":"string"}},"required":["issues","name"]}},"required":["success","error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","const":false},"error":{"type":"object","properties":{"issues":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"expected":{"type":"string"},"received":{"type":"string"},"path":{"type":"array","items":{"type":"string"}},"message":{"type":"string"}},"required":["code","expected","received","path","message"]}},"name":{"type":"string"}},"required":["issues","name"]}},"required":["success","error"]}}}}},"operationId":"getV1EarnVault","tags":["Earn"],"parameters":[{"in":"query","name":"vaultAddress","schema":{"type":"string","example":"0xb072b2779F1EF1A6A9D2d5fAa1766F341B92aB3a"},"required":true},{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"disableRewardsApy","schema":{"anyOf":[{"type":"string"},{"type":"boolean"}],"default":false},"required":false},{"in":"query","name":"disableIntrinsicApy","schema":{"anyOf":[{"type":"string"},{"type":"boolean"}],"default":false},"required":false}],"description":"Returns comprehensive earn vault data including active strategies, deposit/withdrawal history, and interest accruals. Use this for detailed vault analysis and strategy performance tracking."}},"/v1/earn/vaults":{"get":{"responses":{"200":{"description":"List of earn vaults with pagination","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"chainId":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"createdAt":{"type":"string"},"createdBlock":{"type":"string"},"vault":{"type":"string"},"timestamp":{"type":"string"},"vaultName":{"type":["string","null"]},"vaultSymbol":{"type":["string","null"]},"vaultDecimals":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647},"asset":{"type":["string","null"]},"assetName":{"type":["string","null"]},"assetSymbol":{"type":["string","null"]},"assetDecimals":{"type":["integer","null"],"minimum":-2147483648,"maximum":2147483647},"totalShares":{"type":"string"},"totalAssets":{"type":"string"},"lostAssets":{"type":"string"},"performanceFee":{"type":"string"},"feeReceiver":{"type":["string","null"]},"creator":{"type":["string","null"]},"curator":{"type":["string","null"]},"owner":{"type":["string","null"]},"guardian":{"type":["string","null"]},"evc":{"type":["string","null"]},"permit2":{"type":["string","null"]},"lastBlockOfUpdate":{"type":["integer","null"],"format":"int64"},"lastUpdated":{"type":"string"},"supplyQueue":{"type":["array","null"],"items":{"type":"string"}},"availableAssets":{"type":"string"},"timelock":{"type":"string"},"totalAssetsUSDBigInt":{"type":"string"},"totalAssetsUSD":{"type":"number"},"availableAssetsUSDBigInt":{"type":"string"},"availableAssetsUSD":{"type":"number"},"assetPrice":{"type":["number","null"]},"strategies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"chainId":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"vault":{"type":"string"},"strategy":{"type":"string"},"timestamp":{"type":"string"},"lastBlockOfUpdate":{"type":"string"},"allocatedAssets":{"type":"string"},"sharesAllocated":{"type":"string"},"currentAllocationCap":{"type":"string"},"pendingAllocationCap":{"type":"string"},"pendingAllocationCapValidAt":{"type":"string"},"removableAt":{"type":"string"},"deleted":{"type":"boolean"},"lastUpdated":{"type":"string"},"allocatedAssetsUSD":{"type":"number"},"allocatedAssetsUSDBigInt":{"type":"string"},"strategyVaultName":{"type":["string","null"]},"strategyVaultSymbol":{"type":["string","null"]},"strategyVaultDecimals":{"type":["number","null"]},"strategyAsset":{"type":["string","null"],"pattern":"^0x[a-fA-F0-9]{40}$"},"strategyAssetLogo":{"type":"string"},"status":{"type":"string","enum":["active","inactive","pendingRemoval"]}},"required":["id","chainId","vault","strategy","timestamp","lastBlockOfUpdate","allocatedAssets","sharesAllocated","currentAllocationCap","pendingAllocationCap","pendingAllocationCapValidAt","removableAt","deleted","lastUpdated","allocatedAssetsUSD","allocatedAssetsUSDBigInt","strategyVaultName","strategyVaultSymbol","strategyVaultDecimals","strategyAsset","strategyAssetLogo","status"]}},"apyCurrent":{"type":["number","null"]},"apy7d":{"type":"number"},"apy30d":{"type":"number"},"apy90d":{"type":"number"},"supplyApy":{"type":"object","properties":{"baseApy":{"type":"number"},"rewardApy":{"type":["number","null"]},"rewardsMetadata":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"value":{"type":"number"},"logo":{"type":"string"},"symbol":{"type":"string"},"lastEpochEnd":{"type":"number"},"chainId":{"type":"number"},"requiresCB1Verification":{"type":"boolean"},"campaignId":{"type":"string"},"campaignType":{"type":"string"},"provider":{"type":"string"}},"required":["asset","value","logo","symbol","lastEpochEnd","chainId"]}},"totalApy":{"type":"number"},"intrinsicWithBase":{"type":"number"},"intrinsicApy":{"type":["object","null"],"properties":{"apy":{"type":"number"},"timestamp":{"type":["string","null"]},"provider":{"type":["string","null"]},"source":{"type":["string","null"]},"description":{"type":["string","null"]},"claimUrl":{"type":["string","null"]},"uniquifier":{"type":["string","null"]},"apyDuration":{"type":["number","null"]}},"required":["apy","timestamp","provider","source","description","claimUrl","uniquifier","apyDuration"]},"propagatedRewardsApy":{"type":"number"},"propagatedRewardsMetadata":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"value":{"type":"number"},"logo":{"type":"string"},"symbol":{"type":"string"},"lastEpochEnd":{"type":"number"},"chainId":{"type":"number"},"requiresCB1Verification":{"type":"boolean"},"campaignId":{"type":"string"},"campaignType":{"type":"string"},"provider":{"type":"string"}},"required":["asset","value","logo","symbol","lastEpochEnd","chainId"]}}},"required":["baseApy","rewardApy","totalApy","intrinsicWithBase"]},"products":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"entity":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}},{"type":"null"}]},"description":{"type":["string","null"]}},"required":["name","entity","description"]}},"entities":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"string"},"name":{"type":"string"},"logo":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"},"addresses":{"type":"object","additionalProperties":{"type":"string"}},"social":{"type":"object","additionalProperties":{"type":"string"}}},"required":["entity"]}},"points":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"entity":{"type":"array","items":{"type":"string"}},"logo":{"type":"string"},"name":{"type":"string"},"skipTooltipPrefix":{"type":"boolean"},"token":{"type":"string"},"url":{"type":"string"}},"required":["logo","name"]}},"governorType":{"type":"string","enum":["UNKNOWN","KNOWN","UNGOVERNED"]}},"required":["id","chainId","createdAt","createdBlock","vault","timestamp","vaultName","vaultSymbol","vaultDecimals","asset","assetName","assetSymbol","assetDecimals","totalShares","totalAssets","lostAssets","performanceFee","feeReceiver","creator","curator","owner","guardian","evc","permit2","lastBlockOfUpdate","lastUpdated","supplyQueue","availableAssets","timelock","totalAssetsUSDBigInt","totalAssetsUSD","availableAssetsUSDBigInt","availableAssetsUSD","assetPrice","strategies","apyCurrent","apy7d","apy30d","apy90d"]}},"pagination":{"type":"object","properties":{"skip":{"type":"number"},"take":{"type":"number"},"total":{"type":"number"}},"required":["skip","take","total"]}},"required":["items","pagination"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","const":false},"error":{"type":"object","properties":{"issues":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"expected":{"type":"string"},"received":{"type":"string"},"path":{"type":"array","items":{"type":"string"}},"message":{"type":"string"}},"required":["code","expected","received","path","message"]}},"name":{"type":"string"}},"required":["issues","name"]}},"required":["success","error"]}}}}},"operationId":"getV1EarnVaults","tags":["Earn"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"orderBy","schema":{"type":"string","enum":["apy7d","totalAssetsUsd"],"default":"totalAssetsUsd"},"required":false},{"in":"query","name":"orderDirection","schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"required":false},{"in":"query","name":"skip","schema":{"type":"string","default":"0"},"required":false},{"in":"query","name":"take","schema":{"type":"string","default":"10"},"required":false},{"in":"query","name":"assets","schema":{"type":"string"},"required":false},{"in":"query","name":"vaults","schema":{"type":"string"},"required":false},{"in":"query","name":"totalSupplyMin","schema":{"type":"string"},"required":false},{"in":"query","name":"totalSupplyMax","schema":{"type":"string"},"required":false},{"in":"query","name":"disableRewardsApy","schema":{"anyOf":[{"type":"string"},{"type":"boolean"}],"default":false},"required":false},{"in":"query","name":"disableIntrinsicApy","schema":{"anyOf":[{"type":"string"},{"type":"boolean"}],"default":false},"required":false}],"description":"Returns paginated earn vault listings with sorting by APY or TVL. Supports filtering by asset, vault address, and total supply ranges for customized vault discovery."}},"/v1/intrinsic-apy/latest":{"get":{"responses":{"200":{"description":"Latest intrinsic APY snapshots for all assets","content":{"application/json":{"schema":{"type":"object","propertyNames":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"additionalProperties":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"timestamp":{"type":"number"},"apy":{"type":"number"},"provider":{"type":"string"},"source":{"type":["string","null"]},"description":{"type":["string","null"]},"claimUrl":{"type":"string"},"uniquifier":{"type":"string"},"apyDuration":{"type":"string"},"apyDurationSeconds":{"type":"number"},"name":{"type":["string","null"]}},"required":["asset","timestamp","apy","provider"]}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"operationId":"getV1Intrinsic-apyLatest","tags":["APY"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"debug","schema":{"type":"boolean"},"required":false}],"description":"Returns the latest intrinsic APY snapshots for all assets on a given chain."}},"/v1/intrinsic-apy/history":{"get":{"responses":{"200":{"description":"Averaged intrinsic APY data","content":{"application/json":{"schema":{"type":"object","properties":{"metadata":{"type":"object","properties":{"chainId":{"type":"number"},"asset":{"type":"string"},"symbol":{"type":["string","null"]},"resolution":{"type":"string","enum":["1h","1d"],"example":"1d"},"startTimestamp":{"type":"number"},"endTimestamp":{"type":"number"}},"required":["chainId","asset","symbol","resolution","startTimestamp","endTimestamp"]},"data":{"type":"array","items":{"type":"object","properties":{"timestamp":{"type":"number"},"apy":{"type":"number"},"provider":{"type":"string"},"apyDuration":{"type":"number"}},"required":["timestamp","apy","provider","apyDuration"]}}},"required":["metadata","data"]}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}},"operationId":"getV1Intrinsic-apyHistory","tags":["APY"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"asset","schema":{"type":"string","example":"0x154D73802a6B3324c017481AC818050afE4a0b0A"},"required":true},{"in":"query","name":"resolution","schema":{"type":"string","enum":["1h","1d"],"example":"1d"},"required":true},{"in":"query","name":"startTimestamp","schema":{"type":"string","example":"1733097600"},"required":true},{"in":"query","name":"endTimestamp","schema":{"type":"string","example":"1733097600"},"required":true}],"description":"Returns averaged intrinsic APY history for a given asset and chain."}},"/v1/vault-apy/latest":{"get":{"responses":{"200":{"description":"Latest vault APY snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"metadata":{"type":"object","properties":{"chainId":{"type":"number"},"vault":{"type":"string"}},"required":["chainId","vault"]},"data":{"type":["object","null"],"properties":{"timestamp":{"type":"number"},"borrowingAPY":{"type":"number"},"lendingAPY":{"type":"number"},"borrowingAmount":{"type":"number"},"lendingAmount":{"type":"number"}},"required":["timestamp","borrowingAPY","lendingAPY","borrowingAmount","lendingAmount"]}},"required":["metadata","data"]},"example":{"metadata":{"chainId":1,"vault":"0xd8b27cf359b7d15710a5be299af6e7bf904984c2"},"data":{"supplyApy":0.0425,"borrowApy":0.0512,"utilization":0.78,"timestamp":1733838000}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]},"example":{"error":"Internal server error"}}}}},"operationId":"getV1Vault-apyLatest","tags":["APY"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"vault","schema":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"required":true}],"description":"Returns the latest borrow/lend APY snapshot for a given vault and chain."}},"/v1/vault-apy/history":{"get":{"responses":{"200":{"description":"Historical vault APY data","content":{"application/json":{"schema":{"type":"object","properties":{"metadata":{"type":"object","properties":{"chainId":{"type":"number"},"vault":{"type":"string"},"resolution":{"type":"string","enum":["1h","1d"],"example":"1d"},"startTimestamp":{"type":"number"},"endTimestamp":{"type":"number"}},"required":["chainId","vault","resolution","startTimestamp","endTimestamp"]},"data":{"type":"array","items":{"type":"object","properties":{"timestamp":{"type":"number"},"borrowingAPY":{"type":"number"},"lendingAPY":{"type":"number"},"borrowingAmount":{"type":"number"},"lendingAmount":{"type":"number"}},"required":["timestamp","borrowingAPY","lendingAPY","borrowingAmount","lendingAmount"]}}},"required":["metadata","data"]},"example":{"metadata":{"chainId":1,"vault":"0xd8b27cf359b7d15710a5be299af6e7bf904984c2","resolution":"1d"},"data":[{"timestamp":1733097600,"supplyApy":0.0418,"borrowApy":0.0505,"utilization":0.76},{"timestamp":1733184000,"supplyApy":0.0425,"borrowApy":0.0512,"utilization":0.78}]}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]},"example":{"error":"Invalid time range: startTimestamp must be before endTimestamp"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]},"example":{"error":"Internal server error"}}}}},"operationId":"getV1Vault-apyHistory","tags":["APY"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"vault","schema":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"required":true},{"in":"query","name":"resolution","schema":{"type":"string","enum":["1h","1d"],"example":"1d"},"required":true},{"in":"query","name":"startTimestamp","schema":{"type":"string","example":"1733097600"},"required":true},{"in":"query","name":"endTimestamp","schema":{"type":"string","example":"1733097600"},"required":true}],"description":"Returns averaged borrow/lend APY history for a given vault and chain."}},"/v1/rewards-apy/latest":{"get":{"responses":{"200":{"description":"Latest rewards APY snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"metadata":{"type":"object","properties":{"chainId":{"type":"number"},"vault":{"type":"string"}},"required":["chainId","vault"]},"data":{"type":["object","null"],"properties":{"timestamp":{"type":"number"},"apy":{"type":"number"},"provider":{"type":"string"},"source":{"type":["string","null"]},"description":{"type":["string","null"]},"rewardTokens":{"type":"array","items":{"type":"string"}},"uniquifier":{"type":["string","null"]}},"required":["timestamp","apy","provider"]}},"required":["metadata","data"]},"example":{"metadata":{"chainId":1,"vault":"0xd8b27cf359b7d15710a5be299af6e7bf904984c2"},"data":{"rewardsApy":0.0125,"rewardToken":"0xd9Fcd98c322942075A5C3860693e9f4f03AAE07b","timestamp":1733838000}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]},"example":{"error":"Internal server error"}}}}},"operationId":"getV1Rewards-apyLatest","tags":["APY"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"vault","schema":{"type":"string","example":"0x154D73802a6B3324c017481AC818050afE4a0b0A"},"required":true}],"description":"Returns the latest rewards APY snapshot for a given vault and chain."}},"/v1/rewards-apy/history":{"get":{"responses":{"200":{"description":"Averaged rewards APY data","content":{"application/json":{"schema":{"type":"object","properties":{"metadata":{"type":"object","properties":{"chainId":{"type":"number"},"vault":{"type":"string"},"resolution":{"type":"string","enum":["1h","1d"],"example":"1d"},"startTimestamp":{"type":"number"},"endTimestamp":{"type":"number"}},"required":["chainId","vault","resolution","startTimestamp","endTimestamp"]},"data":{"type":"array","items":{"type":"object","properties":{"timestamp":{"type":"number"},"apy":{"type":"number"},"provider":{"type":"string"},"rewardTokens":{"type":"array","items":{"type":"string"}}},"required":["timestamp","apy","provider"]}}},"required":["metadata","data"]},"example":{"metadata":{"chainId":1,"vault":"0xd8b27cf359b7d15710a5be299af6e7bf904984c2","resolution":"1d"},"data":[{"timestamp":1733097600,"rewardsApy":0.0118,"rewardToken":"0xd9Fcd98c322942075A5C3860693e9f4f03AAE07b"},{"timestamp":1733184000,"rewardsApy":0.0125,"rewardToken":"0xd9Fcd98c322942075A5C3860693e9f4f03AAE07b"}]}}}},"400":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]},"example":{"error":"Invalid time range: startTimestamp must be before endTimestamp"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]},"example":{"error":"Internal server error"}}}}},"operationId":"getV1Rewards-apyHistory","tags":["APY"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"vault","schema":{"type":"string","example":"0x154D73802a6B3324c017481AC818050afE4a0b0A"},"required":true},{"in":"query","name":"resolution","schema":{"type":"string","enum":["1h","1d"],"example":"1d"},"required":true},{"in":"query","name":"startTimestamp","schema":{"type":"string","example":"1733097600"},"required":true},{"in":"query","name":"endTimestamp","schema":{"type":"string","example":"1733097600"},"required":true}],"description":"Returns averaged rewards APY history for a given vault and chain."}},"/v1/swap/pools":{"get":{"responses":{"200":{"description":"List of all pools","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"},"example":[{"pool":"0x29bE2d4b843DA604665C2c5C46D596890303E8a8","factory":"0xb013be1D0D380C13B58e889f412895970A2Cf228","reserves0":"5162775513","reserves1":"1163368966","equilibriumReserves0":"3114666628","equilibriumReserves1":"3211379507","totalReserves":"6324642638","price":"999709102125387007","apy":"21951870158020603","limit01In":"293279193360845","limit01Out":"1163368966","limit10In":"95584183682299","limit10Out":"5162775513","fee":"10000000000000","active":true,"volume":"3818924373680","volume1d":"84749105605","volume7d":"3818924373680","conc0":"999950000000000000","conc1":"999950000000000000","account":"0xEF585193C26851aae17aF6bF9Ce7387e755813ce","owner":"0xef585193c26851AAE17AF6Bf9Ce7387e755813cb","blockNumber":"23997316","blockTimestamp":"1765551899","createdAt":"1753974563","vault0":{"asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","address":"0xe0a80d35bB6618CBA260120b279d357978c42BCE","decimals":6,"availableLiquidity":"5162775513","cash":"2946048794409","totalFees":"1761079","accountNav":{"shares":"2333399798","assets":"2502785812","borrowed":"0","interestAccrued":"8094625","interestEarned":"44510995"}},"vault1":{"asset":"0xdAC17F958D2ee523a2206206994597C13D831ec7","address":"0x7c280DBDEf569e96c7919251bD2B0edF0734C5A8","decimals":6,"availableLiquidity":"1163368966","totalFees":"1739732","cash":"492463515355","accountNav":{"shares":"0","assets":"0","borrowed":"1595057644","interestAccrued":"33625200","interestEarned":"14071606"}}},{"pool":"0x2DbcCCE7cB1AD39F7A1369856F78EE39bd15E8a8","factory":"0xb013be1D0D380C13B58e889f412895970A2Cf228","reserves0":"529095813609053271152172","reserves1":"46381653184","equilibriumReserves0":"100000000000000000000000","equilibriumReserves1":"474783158858","totalReserves":"573157381650","price":"995615000000000000","apy":"530312012083240","limit01In":"19419422247994412794993135","limit01Out":"46381653184","limit10In":"49077199284444","limit10Out":"481035676870693444917382","fee":"72000000000000","active":true,"volume":"3497753309665","volume1d":"0","volume7d":"3497753309665","conc0":"999939408228534900","conc1":"999970609005089300","account":"0xF06016D822943c42e3cB7fc3a6a3b1889c1045f9","owner":"0xF06016D822943C42e3Cb7FC3a6A3B1889C1045f8","blockNumber":"23997316","blockTimestamp":"1765551899","createdAt":"1758098123","vault0":{"asset":"0x6440f144b7e50D6a8439336510312d2F54beB01D","address":"0xC1C51C5c9EfaF0c485Aa1097AE9690B5e102975A","decimals":18,"availableLiquidity":"481035676870693444917382","cash":"481035676870693444917382","totalFees":"191260875420191745339","accountNav":{"shares":"525917240674257147857258","assets":"529606707455980905062352","borrowed":"0","interestAccrued":"0","interestEarned":"316403838766817711034"}},"vault1":{"asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","address":"0xc6137BC1378c2396051e06417704d31615F77Cb9","decimals":6,"availableLiquidity":"46381653184","totalFees":"160283381","cash":"130546360805","accountNav":{"shares":"0","assets":"0","borrowed":"279935255502","interestAccrued":"2818343966","interestEarned":"1124299406"}}}]}}}}},"operationId":"getV1SwapPools","tags":["Swap"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"status","schema":{"type":"string","enum":["active","inactive","all"],"default":"active"},"required":false},{"in":"query","name":"page","schema":{"type":"string","example":"1"},"required":false},{"in":"query","name":"limit","schema":{"type":"string","example":"50"},"required":false},{"in":"query","name":"blockNumber","schema":{"type":"string"},"required":false},{"in":"query","name":"pools","schema":{"type":"string"},"required":false},{"in":"query","name":"account","schema":{"type":"string"},"required":false},{"in":"query","name":"filterByTokenlist","schema":{"type":"string"},"required":false}],"description":"Returns liquidity pool data including reserves, TVL, and 24h volume with pagination support. Filter by status, specific pools, or account to view relevant trading pairs."}},"/v1/swap/total-volume":{"get":{"responses":{"200":{"description":"Total volume for a range of blocks","content":{"application/json":{"schema":{"type":"object","properties":{"totalVolume":{"type":"number"}},"required":["totalVolume"]}}}}},"operationId":"getV1SwapTotal-volume","tags":["Swap"],"parameters":[{"in":"query","name":"from","schema":{"type":"string","example":"21000000"},"required":true},{"in":"query","name":"to","schema":{"type":"string","example":"21000000"},"required":true},{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":false}],"description":"Returns aggregated trading volume in USD across all pools within a specified block range. Use this for analytics dashboards and historical volume tracking."}},"/v1/swap/pair-tvl":{"get":{"responses":{"200":{"description":"List of all pair TVL","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"example":[{"pair":"WETH/USDC","asset0":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","asset1":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","tvlUsd":25000000.5},{"pair":"wstETH/WETH","asset0":"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0","asset1":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","tvlUsd":18500000.25}]}}}},"operationId":"getV1SwapPair-tvl","tags":["Swap"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true}],"description":"Returns TVL aggregated by asset pairs across all pools on a chain. Useful for identifying the most liquid trading pairs and market depth analysis."}},"/v1/tokens":{"get":{"responses":{"200":{"description":"List of all tokens","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number"},"address":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"name":{"type":"string"},"symbol":{"type":"string"},"decimals":{"type":"number"},"logoURI":{"type":"string"},"groups":{"type":"array","items":{"type":"string"}},"metadata":{"type":"object","properties":{"provider":{"type":"string"},"poolId":{"type":"string"},"claimUrl":{"type":"string"},"isPendlePT":{"type":"boolean"},"pendleMarket":{"type":"string"},"isPendleCrossChainPT":{"type":"boolean"},"pendleCrossChainPTPaired":{"type":"string"},"isPendleLP":{"type":"boolean"},"isPendleWrappedLP":{"type":"boolean"},"isSpectraMarket":{"type":"boolean"},"spectraPool":{"type":"string"},"cmcId":{"type":"number"}}},"coingeckoId":{"type":"string"}},"required":["chainId","address","name","symbol","decimals","logoURI","groups"]}}}}}},"operationId":"getV1Tokens","tags":["Tokens"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"logoURI","schema":{"type":"string"},"required":false}],"description":"Gets information about all tokens for a specific chain"}},"/v1/oracle/whitelisted-adapters":{"get":{"responses":{"200":{"description":"Object mapping chainIds to arrays of adapter objects","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"asset0":{"type":"string","description":"First asset address"},"asset1":{"type":"string","description":"Second asset address"},"element":{"type":"string","description":"Adapter address"},"addedAt":{"type":"string","description":"Timestamp when adapter was added"}}}},"example":{"1":[{"asset0":"0x0000000000000000000000000000000000000348","asset1":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","element":"0x10674c8c1ae2072d4a75fe83f1e159425fd84e1d","addedAt":"1725380927"},{"asset0":"0x0000000000000000000000000000000000000348","asset1":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","element":"0x6213f24332d35519039f2afa7e3bffe105a37d3f","addedAt":"1725380927"}]}}}}}},"operationId":"getV1OracleWhitelisted-adapters","tags":["Oracle"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1}}],"description":"Returns all whitelisted oracle adapters with asset pairs and registration timestamps. Optionally filter by chain to view adapters available for specific networks."}},"/v1/oracle/routers":{"get":{"responses":{"200":{"description":"Array of router states with their configurations and vaults","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"router":{"type":"string","description":"Router address"},"chainId":{"type":"number","description":"Chain ID"},"deployer":{"type":"string","description":"Deployer address"},"deployedAt":{"type":"string","description":"Deployment timestamp"},"configs":{"type":"array","items":{"type":"object","properties":{"asset0":{"type":"string"},"asset1":{"type":"string"},"oracle":{"type":"string"},"timestamp":{"type":"string"},"logIndex":{"type":"number"}}}},"vaults":{"type":"array","items":{"type":"object","properties":{"vault":{"type":"string"},"asset":{"type":"string"},"timestamp":{"type":"string"},"logIndex":{"type":"number"}}}}}},"example":[{"router":"0x83b3b76873d36a28440cf53371df404c42497136","chainId":1,"deployer":"0xee009faf00cf54c1b4387829af7a8dc5f0c8c8c5","deployedAt":"1724016803","configs":[{"asset0":"0x0000000000000000000000000000000000000348","asset1":"0xdac17f958d2ee523a2206206994597c13d831ec7","oracle":"0x587cabe0521f5065b561a6e68c25f338ed037ff9","timestamp":"1724017091","logIndex":352},{"asset0":"0x0000000000000000000000000000000000000348","asset1":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","oracle":"0x6213f24332d35519039f2afa7e3bffe105a37d3f","timestamp":"1724017043","logIndex":1287},{"asset0":"0x0000000000000000000000000000000000000348","asset1":"0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0","oracle":"0x02dd5b7ab536629d2235276abcdf8eb3af9528d7","timestamp":"1724017007","logIndex":219},{"asset0":"0x0000000000000000000000000000000000000348","asset1":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","oracle":"0x10674c8c1ae2072d4a75fe83f1e159425fd84e1d","timestamp":"1724016971","logIndex":348}],"vaults":[{"vault":"0x313603fa690301b0caeef8069c065862f9162162","asset":"0xdac17f958d2ee523a2206206994597c13d831ec7","timestamp":"1724017115","logIndex":478},{"vault":"0x797dd80692c3b2dadabce8e30c07fde5307d48a9","asset":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","timestamp":"1724017067","logIndex":364},{"vault":"0xbc4b4ac47582c3e38ce5940b80da65401f4628f1","asset":"0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0","timestamp":"1724017031","logIndex":336},{"vault":"0xd8b27cf359b7d15710a5be299af6e7bf904984c2","asset":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","timestamp":"1724016995","logIndex":500}]},{"router":"0x63e3bcb7cfad5f07bc0321d25003a7e08188ef22","chainId":1,"deployer":"0x0996aed0a897826ce5b92c70fa8a2233254cb8d1","deployedAt":"1724828747","configs":[],"vaults":[{"vault":"0x44b1f5445f8c305015549b1d45b3d83b880680a0","asset":"0x912ce59144191c1204e64559fe8253a0e49e6548","timestamp":"1724830919","logIndex":387}]}]}}}}},"operationId":"getV1OracleRouters","tags":["Oracle"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1}},{"in":"query","name":"vault","schema":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}},{"in":"query","name":"adapter","schema":{"type":"string"}}],"description":"Returns oracle router configurations including asset pair mappings and associated vaults. Supports filtering by chain, vault, or adapter to view specific routing paths."}},"/v1/oracle/historical-adapters":{"get":{"responses":{"200":{"description":"Object mapping chainIds to arrays of unique adapter addresses","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","description":"Adapter address"}}},"example":{"1":["0x10674c8c1ae2072d4a75fe83f1e159425fd84e1d","0x6213f24332d35519039f2afa7e3bffe105a37d3f","0x587cabe0521f5065b561a6e68c25f338ed037ff9"]}}}}},"operationId":"getV1OracleHistorical-adapters","tags":["Oracle"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1}}],"description":"Returns all adapter addresses that have ever been configured in routers, including deprecated ones. Useful for tracking oracle infrastructure evolution and historical configurations."}},"/v1/oracle/prices":{"get":{"responses":{"200":{"description":"Oracle price data. Returns single object if all parameters specified, array otherwise.","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"chainId":{"type":"number"},"vault":{"type":"string"},"router":{"type":"string"},"asset":{"type":"string"},"assetDecimals":{"type":"number"},"unitOfAccount":{"type":"string"},"unitOfAccountDecimals":{"type":"number"},"price":{"type":"number"},"timestamp":{"type":"string"}},"required":["chainId","vault","router","asset","assetDecimals","unitOfAccount","unitOfAccountDecimals","price","timestamp"]},{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number"},"vault":{"type":"string"},"router":{"type":"string"},"asset":{"type":"string"},"assetDecimals":{"type":"number"},"unitOfAccount":{"type":"string"},"unitOfAccountDecimals":{"type":"number"},"price":{"type":"number"},"timestamp":{"type":"string"}},"required":["chainId","vault","router","asset","assetDecimals","unitOfAccount","unitOfAccountDecimals","price","timestamp"]}}]}}}},"400":{"description":"Missing required parameters","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"example":{"error":"Missing required parameter: vault"}}}}},"404":{"description":"Price data not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"example":{"error":"Price data not found for the given vault/asset combination"}}}}}},"operationId":"getV1OraclePrices","tags":["Oracle"],"parameters":[{"in":"query","name":"vault","schema":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"required":true},{"in":"query","name":"asset","schema":{"type":"string","example":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"},"required":true},{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true}],"description":"Returns the oracle price for a specific asset in a vault with unit of account details and timestamp. Use this to get current price feeds for valuation and liquidation calculations."}},"/v1/oracle/collateral/prices":{"get":{"responses":{"200":{"description":"Collateral price data with bid/ask spreads. Returns single object if collateral is specified, array otherwise.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"number"},"vault":{"type":"string"},"router":{"type":"string"},"collateral":{"type":"string"},"collateralAsset":{"type":"string"},"unitOfAccount":{"type":"string"},"unitOfAccountDecimals":{"type":"number"},"priceCollateralAsset":{"type":"number"},"priceCollateralAssetBigInt":{"type":"integer","format":"int64"},"priceCollateral":{"type":"number"},"priceCollateralBigInt":{"type":"integer","format":"int64"},"timestamp":{"type":"string"}},"required":["chainId","vault","router","collateral","collateralAsset","unitOfAccount","unitOfAccountDecimals","priceCollateralAsset","priceCollateralAssetBigInt","priceCollateral","priceCollateralBigInt","timestamp"]}}}}},"400":{"description":"Missing required parameters","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"example":{"error":"Missing required parameter: vault"}}}}},"404":{"description":"Collateral price data not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"example":{"error":"Collateral price data not found for the given vault/collateral combination"}}}}}},"operationId":"getV1OracleCollateralPrices","tags":["Oracle"],"parameters":[{"in":"query","name":"vault","schema":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"required":true},{"in":"query","name":"collateral","schema":{"type":"string","example":"0xbC4B4AC47582c3E38Ce5940B80Da65401F4628f1"},"required":false},{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true}],"description":"Returns collateral pricing with bid/ask spreads for a vault. Query a specific collateral for single result, or omit to get all collaterals. Essential for risk calculations and liquidation monitoring."}},"/v1/prices":{"get":{"responses":{"200":{"description":"List of prices for the assets","content":{"application/json":{"schema":{"type":"object","propertyNames":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"additionalProperties":{"type":"object","properties":{"address":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"price":{"type":"number"},"source":{"type":"string"},"symbol":{"type":"string"},"timestamp":{"type":"number"}},"required":["address","price","source","symbol","timestamp"]}},"example":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":{"address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","price":3328.45,"source":"pyth","symbol":"WETH","timestamp":1765379699},"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48":{"address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","price":0.99985,"source":"pyth","symbol":"USDC","timestamp":1765379699},"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599":{"address":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","price":91810.84,"source":"defillama","symbol":"WBTC","timestamp":1765379387}}}}}},"operationId":"getV1Prices","tags":["Oracle"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"assets","schema":{"type":"string"},"required":false}],"description":"Gets the prices for a list of assets for a specific chain"}},"/v2/account/positions":{"get":{"responses":{"200":{"description":"An object containing all account position info","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object","description":"Account position data including EVC info, debt, and collaterals"},"example":{"0x154D73802a6B3324C017481aC818050AfE4A0b0B":{"evcAccountInfo":{"timestamp":"1765551887","evc":"0x0C9a3dd6b8F28529d72d7f9cE918D493519EE383","account":"0x154D73802a6B3324C017481aC818050AfE4A0b0B"},"debt":{"timestamp":"1765551887","account":"0x154D73802a6B3324C017481aC818050AfE4A0b0B","vault":"0xe0a80d35bB6618CBA260120b279d357978c42BCE"},"collaterals":{"0x797DD80692c3b2dAdabCe8e30C07fDE5307D48a9":{"timestamp":"1765551887","account":"0x154D73802a6B3324C017481aC818050AfE4A0b0B","vault":"0x797DD80692c3b2dAdabCe8e30C07fDE5307D48a9"}}},"0x154D73802a6B3324c017481AC818050afE4a0b0A":{"evcAccountInfo":{"timestamp":"1765551887","evc":"0x0C9a3dd6b8F28529d72d7f9cE918D493519EE383","account":"0x154D73802a6B3324c017481AC818050afE4a0b0A"},"savings":{"0x797DD80692c3b2dAdabCe8e30C07fDE5307D48a9":{"timestamp":"1765551887","account":"0x154D73802a6B3324c017481AC818050afE4a0b0A","vault":"0x797DD80692c3b2dAdabCe8e30C07fDE5307D48a9"}}}}}}}}},"operationId":"getV2AccountPositions","tags":["Account"],"parameters":[{"in":"query","name":"address","schema":{"type":"string","example":"0x154D73802a6B3324c017481AC818050afE4a0b0A"},"required":true},{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"blockNumber","schema":{"type":"string"},"required":false}],"description":"Returns detailed position information for an account including shares, assets, borrowed amounts, and collateral for each vault. Includes all sub-accounts for a comprehensive portfolio view."}},"/v2/account/earn-vaults-info":{"get":{"responses":{"200":{"description":"An array of balance objects containing vault, shares, assets, and interest earned","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"vault":{"type":"string","description":"Vault address"},"shares":{"type":"string","description":"Share balance as string"},"assets":{"type":"string","description":"Asset balance as string"},"interestEarned":{"type":"string","description":"Interest earned as string"}}},"example":{}}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}},"operationId":"getV2AccountEarn-vaults-info","parameters":[{"in":"query","name":"address","schema":{"type":"string","example":"0x154D73802a6B3324c017481AC818050afE4a0b0A"},"required":true},{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"name":"vaults","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"description":"Optional array of vault addresses to filter balances by"},{"name":"blockNumber","in":"query","required":false,"schema":{},"description":"Optional block number to fetch the latest balance update before it"},{"name":"interestBlockNumberFrom","in":"query","required":false,"schema":{},"description":"Optional block number to start count of interest accrued and paid. The range will start from the first account update after the block"},{"in":"query","name":"disableIntrinsicApy","schema":{"type":"boolean","default":false},"required":false},{"in":"query","name":"disableRewardsApy","schema":{"type":"boolean","default":false},"required":false}],"description":"Gets detailed information for all Euler Earn vaults that a user has deposited to. Returns a record keyed by vault address."}},"/v2/vault/detail":{"get":{"responses":{"200":{"description":"Detailed information about the vault","content":{"application/json":{"schema":{"type":"object","properties":{"evc":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"protocolConfig":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"vault":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"vaultName":{"type":["string","null"]},"vaultSymbol":{"type":["string","null"]},"vaultDecimals":{"type":["number","null"]},"creator":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"oracle":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"dToken":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"governonAdmin":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"permit2Address":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"feeReceiver":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"hookTarget":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"configFlags":{"type":"number"},"borrowCap":{"type":"string","example":"21000000"},"supplyCap":{"type":"string","example":"21000000"},"supplyCapPercentage":{"type":"number"},"unitOfAccount":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"unitOfAccountName":{"type":"string"},"unitOfAccountSymbol":{"type":"string"},"unitOfAccountDecimals":{"type":"number"},"baseOracle":{"type":"object","properties":{"names":{"type":"array","items":{"type":"string"}},"oracles":{"type":"array","items":{"type":"object","properties":{"base":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"quote":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"oracle":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"name":{"type":"string"},"asset":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}}},"required":["base","quote","oracle","name","asset"]}}},"required":["names","oracles"]},"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"assetSymbol":{"type":"string"},"assetDecimals":{"type":"number"},"assetPriceUSD":{"type":"number"},"assetPriceUSDBigInt":{"type":"string","example":"21000000"},"assetPriceTimestamp":{"type":["string","null"]},"oraclePrices":{"type":["object","null"],"properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"assetDecimals":{"type":"number"},"price":{"type":"number"},"priceBigInt":{"type":"string","example":"21000000"},"unitOfAccount":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"unitOfAccountDecimals":{"type":"number"},"router":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"timestamp":{"type":"string"}},"required":["asset","assetDecimals","price","priceBigInt","unitOfAccount","unitOfAccountDecimals","router","timestamp"]},"collateralPrices":{"type":"array","items":{"type":"object","properties":{"collateral":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"collateralAsset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"router":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"unitOfAccount":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"unitOfAccountDecimals":{"type":"number"},"priceCollateralAsset":{"type":"number"},"priceCollateralAssetBigInt":{"type":"string","example":"21000000"},"priceCollateral":{"type":"number"},"priceCollateralBigInt":{"type":"string","example":"21000000"},"timestamp":{"type":"string"}},"required":["collateral","collateralAsset","router","unitOfAccount","unitOfAccountDecimals","priceCollateralAsset","priceCollateralAssetBigInt","priceCollateral","priceCollateralBigInt","timestamp"]}},"interestRateModel":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"interestFee":{"type":"number"},"supplyApy":{"type":"object","properties":{"baseApy":{"type":"number"},"totalApy":{"type":"number"},"rewardApy":{"type":["number","null"]},"rewardsMetadata":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"value":{"type":"number"},"logo":{"type":"string"},"symbol":{"type":"string"},"lastEpochEnd":{"type":"number"},"chainId":{"type":"number"},"requiresCB1Verification":{"type":"boolean"},"campaignId":{"type":"string"},"campaignType":{"type":"string"},"provider":{"type":"string"}},"required":["asset","value","logo","symbol","lastEpochEnd","chainId"]}},"intrinsicWithBase":{"type":"number"}},"required":["baseApy","totalApy","rewardApy","intrinsicWithBase"]},"borrowApy":{"type":"object","properties":{"baseApy":{"type":"number"},"totalApy":{"type":"number"},"rewardApy":{"type":["number","null"]},"rewardsMetadata":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"value":{"type":"number"},"logo":{"type":"string"},"symbol":{"type":"string"},"lastEpochEnd":{"type":"number"},"chainId":{"type":"number"},"requiresCB1Verification":{"type":"boolean"},"campaignId":{"type":"string"},"campaignType":{"type":"string"},"provider":{"type":"string"}},"required":["asset","value","logo","symbol","lastEpochEnd","chainId"]}},"intrinsicWithBase":{"type":"number"}},"required":["baseApy","totalApy","rewardApy","intrinsicWithBase"]},"intrinsicApy":{"type":["object","null"],"properties":{"apy":{"type":"number"},"timestamp":{"type":["string","null"]},"provider":{"type":["string","null"]},"source":{"type":["string","null"]},"description":{"type":["string","null"]},"claimUrl":{"type":["string","null"]},"uniquifier":{"type":["string","null"]},"apyDuration":{"type":["number","null"]}},"required":["apy","timestamp","provider","source","description","claimUrl","uniquifier","apyDuration"]},"totalAssets":{"type":["string","null"],"example":"21000000"},"totalShares":{"type":["string","null"],"example":"21000000"},"totalBorrows":{"type":["string","null"],"example":"21000000"},"cash":{"type":["string","null"],"example":"21000000"},"cashUSD":{"type":["number","null"]},"cashUSDBigInt":{"type":["string","null"],"example":"21000000"},"totalAssetsUSD":{"type":["number","null"]},"totalAssetsUSDBigInt":{"type":["string","null"],"example":"21000000"},"interestAccumulator":{"type":["string","null"],"example":"21000000"},"interestRate":{"type":["string","null"],"example":"21000000"},"accumulatedFees":{"type":["string","null"],"example":"21000000"},"utilization":{"type":"number"},"exposure":{"type":"array","items":{"type":"object","properties":{"vault":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"vaultAsset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"vaultName":{"type":["string","null"]},"collateral":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"borrowLTV":{"type":"integer","format":"int64"},"liquidationLTV":{"type":"integer","format":"int64"},"initialLiquidationLTV":{"type":"integer","format":"int64"},"targetTimestamp":{"type":"integer","format":"int64"},"rampDuration":{"type":"integer","format":"int64"}},"required":["vault","vaultAsset","vaultName","collateral","borrowLTV","liquidationLTV","initialLiquidationLTV","targetTimestamp","rampDuration"]}},"products":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"entity":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}},{"type":"null"}]},"description":{"type":["string","null"]}},"required":["name","entity","description"]}},"entities":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"string"},"name":{"type":"string"},"logo":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"},"addresses":{"type":"object","additionalProperties":{"type":"string"}},"social":{"type":"object","additionalProperties":{"type":"string"}}},"required":["entity"]}},"points":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"entity":{"type":"array","items":{"type":"string"}},"logo":{"type":"string"},"name":{"type":"string"},"skipTooltipPrefix":{"type":"boolean"},"token":{"type":"string"},"url":{"type":"string"}},"required":["logo","name"]}},"rewardsMetadata":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"value":{"type":"number"},"logo":{"type":"string"},"symbol":{"type":"string"},"lastEpochEnd":{"type":"number"},"chainId":{"type":"number"},"requiresCB1Verification":{"type":"boolean"}},"required":["asset","value","logo","symbol","lastEpochEnd","chainId"]}},"perspectives":{"type":"array","items":{"type":"string"}},"blockedCountries":{"type":"array","items":{"type":"string"}},"restrictedCountries":{"type":"array","items":{"type":"string"}}},"required":["evc","protocolConfig","vault","vaultName","vaultSymbol","vaultDecimals","creator","oracle","dToken","governonAdmin","permit2Address","feeReceiver","hookTarget","configFlags","borrowCap","supplyCap","supplyCapPercentage","unitOfAccount","unitOfAccountName","unitOfAccountSymbol","unitOfAccountDecimals","baseOracle","asset","assetSymbol","assetDecimals","assetPriceUSD","assetPriceUSDBigInt","assetPriceTimestamp","oraclePrices","collateralPrices","interestRateModel","interestFee","supplyApy","borrowApy","totalAssets","totalShares","totalBorrows","cash","cashUSD","cashUSDBigInt","totalAssetsUSD","totalAssetsUSDBigInt","interestAccumulator","interestRate","accumulatedFees","utilization","exposure","perspectives"]}}}}},"operationId":"getV2VaultDetail","tags":["Vault"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"vaultAddress","schema":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"required":true},{"in":"query","name":"settings","schema":{"type":"object","properties":{"disableIntrinsicApy":{"type":"boolean","default":false},"disableRewardsApy":{"type":"boolean","default":false},"includeOraclePrices":{"type":"boolean","default":false},"includeCollateralPrices":{"type":"boolean","default":false},"disabledPerspectives":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}},"enabledPerspectives":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}}},"default":{}},"required":false}],"description":"Gets detailed information about a vault"}},"/v2/vault/list":{"get":{"responses":{"200":{"description":"List of vaults and metrics","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"assetSymbol":{"type":["string","null"]},"assetDecimals":{"type":["number","null"]},"assetPrice":{"type":["number","null"]},"assetPriceTimestamp":{"type":["string","null"]},"vault":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"vaultName":{"type":["string","null"]},"vaultSymbol":{"type":["string","null"]},"vaultDecimals":{"type":["number","null"]},"supplyApy":{"type":"object","properties":{"baseApy":{"type":"number"},"totalApy":{"type":"number"},"rewardApy":{"type":["number","null"]},"rewardsMetadata":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"value":{"type":"number"},"logo":{"type":"string"},"symbol":{"type":"string"},"lastEpochEnd":{"type":"number"},"chainId":{"type":"number"},"requiresCB1Verification":{"type":"boolean"},"campaignId":{"type":"string"},"campaignType":{"type":"string"},"provider":{"type":"string"}},"required":["asset","value","logo","symbol","lastEpochEnd","chainId"]}},"intrinsicWithBase":{"type":"number"}},"required":["baseApy","totalApy","rewardApy","intrinsicWithBase"]},"borrowApy":{"type":"object","properties":{"baseApy":{"type":"number"},"totalApy":{"type":"number"},"rewardApy":{"type":["number","null"]},"rewardsMetadata":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"value":{"type":"number"},"logo":{"type":"string"},"symbol":{"type":"string"},"lastEpochEnd":{"type":"number"},"chainId":{"type":"number"},"requiresCB1Verification":{"type":"boolean"},"campaignId":{"type":"string"},"campaignType":{"type":"string"},"provider":{"type":"string"}},"required":["asset","value","logo","symbol","lastEpochEnd","chainId"]}},"intrinsicWithBase":{"type":"number"}},"required":["baseApy","totalApy","rewardApy","intrinsicWithBase"]},"intrinsicApy":{"type":["object","null"],"properties":{"apy":{"type":"number"},"timestamp":{"type":["string","null"]},"provider":{"type":["string","null"]},"source":{"type":["string","null"]},"description":{"type":["string","null"]},"claimUrl":{"type":["string","null"]},"uniquifier":{"type":["string","null"]},"apyDuration":{"type":["number","null"]}},"required":["apy","timestamp","provider","source","description","claimUrl","uniquifier","apyDuration"]},"intrinsicWithBase":{"type":"number"},"rewardApy":{"type":["object","null"],"properties":{"apy":{"type":"number"},"timestamp":{"type":["string","null"]},"provider":{"type":["string","null"]},"source":{"type":["string","null"]},"description":{"type":["string","null"]},"rewardTokens":{"type":["array","null"],"items":{"type":"string"}}},"required":["apy","timestamp","provider","source","description","rewardTokens"]},"totalShares":{"type":["string","null"],"example":"21000000"},"totalBorrows":{"type":["string","null"],"example":"21000000"},"cash":{"type":["string","null"],"example":"21000000"},"totalAssets":{"type":["string","null"],"example":"21000000"},"cashUSD":{"type":["number","null"]},"cashUSDBigInt":{"type":["string","null"],"example":"21000000"},"totalAssetsUSD":{"type":["number","null"]},"totalAssetsUSDBigInt":{"type":["string","null"],"example":"21000000"},"utilization":{"type":"number"},"exposure":{"type":"array","items":{"type":"object","properties":{"vault":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"vaultAsset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"vaultName":{"type":["string","null"]},"collateral":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"borrowLTV":{"type":"integer","format":"int64"},"liquidationLTV":{"type":"integer","format":"int64"},"initialLiquidationLTV":{"type":"integer","format":"int64"},"targetTimestamp":{"type":"integer","format":"int64"},"rampDuration":{"type":"integer","format":"int64"}},"required":["vault","vaultAsset","vaultName","collateral","borrowLTV","liquidationLTV","initialLiquidationLTV","targetTimestamp","rampDuration"]}},"products":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"entity":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}},{"type":"null"}]},"description":{"type":["string","null"]}},"required":["name","entity","description"]}},"entities":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"string"},"name":{"type":"string"},"logo":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"},"addresses":{"type":"object","additionalProperties":{"type":"string"}},"social":{"type":"object","additionalProperties":{"type":"string"}}},"required":["entity"]}},"points":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"entity":{"type":"array","items":{"type":"string"}},"logo":{"type":"string"},"name":{"type":"string"},"skipTooltipPrefix":{"type":"boolean"},"token":{"type":"string"},"url":{"type":"string"}},"required":["logo","name"]}},"perspectives":{"type":"array","items":{"type":"string"}},"supplyCap":{"type":["string","null"]},"supplyCapPercentage":{"type":"number"},"borrowCap":{"type":["string","null"]},"borrowCapPercentage":{"type":"number"},"governorType":{"type":["string","null"],"enum":["UNKNOWN","KNOWN","UNGOVERNED",null]},"oraclePrices":{"type":["object","null"],"properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"assetDecimals":{"type":"number"},"price":{"type":"number"},"priceBigInt":{"type":"string","example":"21000000"},"unitOfAccount":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"unitOfAccountDecimals":{"type":"number"},"router":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"timestamp":{"type":"string"}},"required":["asset","assetDecimals","price","priceBigInt","unitOfAccount","unitOfAccountDecimals","router","timestamp"]},"collateralPrices":{"type":"array","items":{"type":"object","properties":{"collateral":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"collateralAsset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"router":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"unitOfAccount":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"unitOfAccountDecimals":{"type":"number"},"priceCollateralAsset":{"type":"number"},"priceCollateralAssetBigInt":{"type":"string","example":"21000000"},"priceCollateral":{"type":"number"},"priceCollateralBigInt":{"type":"string","example":"21000000"},"timestamp":{"type":"string"}},"required":["collateral","collateralAsset","router","unitOfAccount","unitOfAccountDecimals","priceCollateralAsset","priceCollateralAssetBigInt","priceCollateral","priceCollateralBigInt","timestamp"]}},"walletAmount":{"type":["string","null"],"example":"21000000"},"walletAmountUSD":{"type":["number","null"]},"governorAdmin":{"type":["string","null"],"example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"blockedCountries":{"type":"array","items":{"type":"string"}},"restrictedCountries":{"type":"array","items":{"type":"string"}},"featured":{"type":"boolean"}},"required":["asset","assetSymbol","assetDecimals","assetPrice","assetPriceTimestamp","vault","vaultName","vaultSymbol","vaultDecimals","supplyApy","borrowApy","totalShares","totalBorrows","cash","totalAssets","cashUSD","cashUSDBigInt","totalAssetsUSD","totalAssetsUSDBigInt","utilization","exposure","perspectives","supplyCap","supplyCapPercentage","borrowCap","borrowCapPercentage","governorType","walletAmount","walletAmountUSD","governorAdmin"]}},"pagination":{"type":"object","properties":{"skip":{"type":"number"},"take":{"type":"number"},"total":{"type":"number"}},"required":["skip","take","total"]},"assets":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}}},"required":["items","pagination","assets"]}}}}},"operationId":"getV2VaultList","tags":["Vault"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"search","schema":{"type":"string","example":"USDC"},"required":false},{"in":"query","name":"assets","schema":{"type":"array","items":{"type":"string","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}},"required":false},{"in":"query","name":"vaults","schema":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"example":[]},"required":false},{"in":"query","name":"products","schema":{"type":"array","items":{"type":"string"},"example":["sentora-rlusd","sentora-pyusd","euler-yield"]},"required":false},{"in":"query","name":"entities","schema":{"type":"array","items":{"type":"string"},"example":["9summits","gauntlet","euler-dao","sentora","usual","k3"]},"required":false},{"in":"query","name":"inWallet","schema":{"type":"object","propertyNames":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"additionalProperties":{"type":"string"},"example":{"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48":"9171764","0xdAC17F958D2ee523a2206206994597C13D831ec7":"1097807","0xE00bd3Df25fb187d6ABBB620b3dfd19839947b81":"10082438695656685061","0xfAbA6f8e4a5E8Ab82F62fe7C39859FA577269BE3":"1353155437507298246","0x66a1E37c9b0eAddca17d3662D6c05F4DECf3e110":"1704984500150916138","0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2":"18945210138072542"}},"required":false},{"in":"query","name":"utilizationMin","schema":{"type":"string","example":"0.1"},"required":false},{"in":"query","name":"utilizationMax","schema":{"type":"string","example":"0.9"},"required":false},{"in":"query","name":"orderBy","schema":{"type":"string","enum":["vault","asset","assetSymbol","apy","utilization","inWallet","totalSupply"],"default":"apy"},"required":false},{"in":"query","name":"orderDirection","schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"required":false},{"in":"query","name":"page","schema":{"type":"string","example":"1","default":"1"},"required":false},{"in":"query","name":"limit","schema":{"type":"string","example":"50","default":"50"},"required":false},{"in":"query","name":"settings","schema":{"type":"object","properties":{"disableIntrinsicApy":{"type":"boolean","default":false},"disableRewardsApy":{"type":"boolean","default":false},"includeOraclePrices":{"type":"boolean","default":false},"includeCollateralPrices":{"type":"boolean","default":false},"disabledPerspectives":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}},"enabledPerspectives":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}}},"default":{}},"required":false},{"in":"query","name":"onlyInWallet","schema":{"type":"boolean","default":false},"required":false},{"in":"query","name":"featuredOnly","schema":{"type":"boolean","default":false},"required":false}],"description":"Gets all vaults with basic metrics for a specific chain"},"post":{"responses":{"200":{"description":"List of vaults and metrics","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"assetSymbol":{"type":["string","null"]},"assetDecimals":{"type":["number","null"]},"assetPrice":{"type":["number","null"]},"assetPriceTimestamp":{"type":["string","null"]},"vault":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"vaultName":{"type":["string","null"]},"vaultSymbol":{"type":["string","null"]},"vaultDecimals":{"type":["number","null"]},"supplyApy":{"type":"object","properties":{"baseApy":{"type":"number"},"totalApy":{"type":"number"},"rewardApy":{"type":["number","null"]},"rewardsMetadata":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"value":{"type":"number"},"logo":{"type":"string"},"symbol":{"type":"string"},"lastEpochEnd":{"type":"number"},"chainId":{"type":"number"},"requiresCB1Verification":{"type":"boolean"},"campaignId":{"type":"string"},"campaignType":{"type":"string"},"provider":{"type":"string"}},"required":["asset","value","logo","symbol","lastEpochEnd","chainId"]}},"intrinsicWithBase":{"type":"number"}},"required":["baseApy","totalApy","rewardApy","intrinsicWithBase"]},"borrowApy":{"type":"object","properties":{"baseApy":{"type":"number"},"totalApy":{"type":"number"},"rewardApy":{"type":["number","null"]},"rewardsMetadata":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"value":{"type":"number"},"logo":{"type":"string"},"symbol":{"type":"string"},"lastEpochEnd":{"type":"number"},"chainId":{"type":"number"},"requiresCB1Verification":{"type":"boolean"},"campaignId":{"type":"string"},"campaignType":{"type":"string"},"provider":{"type":"string"}},"required":["asset","value","logo","symbol","lastEpochEnd","chainId"]}},"intrinsicWithBase":{"type":"number"}},"required":["baseApy","totalApy","rewardApy","intrinsicWithBase"]},"intrinsicApy":{"type":["object","null"],"properties":{"apy":{"type":"number"},"timestamp":{"type":["string","null"]},"provider":{"type":["string","null"]},"source":{"type":["string","null"]},"description":{"type":["string","null"]},"claimUrl":{"type":["string","null"]},"uniquifier":{"type":["string","null"]},"apyDuration":{"type":["number","null"]}},"required":["apy","timestamp","provider","source","description","claimUrl","uniquifier","apyDuration"]},"intrinsicWithBase":{"type":"number"},"rewardApy":{"type":["object","null"],"properties":{"apy":{"type":"number"},"timestamp":{"type":["string","null"]},"provider":{"type":["string","null"]},"source":{"type":["string","null"]},"description":{"type":["string","null"]},"rewardTokens":{"type":["array","null"],"items":{"type":"string"}}},"required":["apy","timestamp","provider","source","description","rewardTokens"]},"totalShares":{"type":["string","null"],"example":"21000000"},"totalBorrows":{"type":["string","null"],"example":"21000000"},"cash":{"type":["string","null"],"example":"21000000"},"totalAssets":{"type":["string","null"],"example":"21000000"},"cashUSD":{"type":["number","null"]},"cashUSDBigInt":{"type":["string","null"],"example":"21000000"},"totalAssetsUSD":{"type":["number","null"]},"totalAssetsUSDBigInt":{"type":["string","null"],"example":"21000000"},"utilization":{"type":"number"},"exposure":{"type":"array","items":{"type":"object","properties":{"vault":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"vaultAsset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"vaultName":{"type":["string","null"]},"collateral":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"borrowLTV":{"type":"integer","format":"int64"},"liquidationLTV":{"type":"integer","format":"int64"},"initialLiquidationLTV":{"type":"integer","format":"int64"},"targetTimestamp":{"type":"integer","format":"int64"},"rampDuration":{"type":"integer","format":"int64"}},"required":["vault","vaultAsset","vaultName","collateral","borrowLTV","liquidationLTV","initialLiquidationLTV","targetTimestamp","rampDuration"]}},"products":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"entity":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}},{"type":"null"}]},"description":{"type":["string","null"]}},"required":["name","entity","description"]}},"entities":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"string"},"name":{"type":"string"},"logo":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"},"addresses":{"type":"object","additionalProperties":{"type":"string"}},"social":{"type":"object","additionalProperties":{"type":"string"}}},"required":["entity"]}},"points":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"entity":{"type":"array","items":{"type":"string"}},"logo":{"type":"string"},"name":{"type":"string"},"skipTooltipPrefix":{"type":"boolean"},"token":{"type":"string"},"url":{"type":"string"}},"required":["logo","name"]}},"perspectives":{"type":"array","items":{"type":"string"}},"supplyCap":{"type":["string","null"]},"supplyCapPercentage":{"type":"number"},"borrowCap":{"type":["string","null"]},"borrowCapPercentage":{"type":"number"},"governorType":{"type":["string","null"],"enum":["UNKNOWN","KNOWN","UNGOVERNED",null]},"oraclePrices":{"type":["object","null"],"properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"assetDecimals":{"type":"number"},"price":{"type":"number"},"priceBigInt":{"type":"string","example":"21000000"},"unitOfAccount":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"unitOfAccountDecimals":{"type":"number"},"router":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"timestamp":{"type":"string"}},"required":["asset","assetDecimals","price","priceBigInt","unitOfAccount","unitOfAccountDecimals","router","timestamp"]},"collateralPrices":{"type":"array","items":{"type":"object","properties":{"collateral":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"collateralAsset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"router":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"unitOfAccount":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"unitOfAccountDecimals":{"type":"number"},"priceCollateralAsset":{"type":"number"},"priceCollateralAssetBigInt":{"type":"string","example":"21000000"},"priceCollateral":{"type":"number"},"priceCollateralBigInt":{"type":"string","example":"21000000"},"timestamp":{"type":"string"}},"required":["collateral","collateralAsset","router","unitOfAccount","unitOfAccountDecimals","priceCollateralAsset","priceCollateralAssetBigInt","priceCollateral","priceCollateralBigInt","timestamp"]}},"walletAmount":{"type":["string","null"],"example":"21000000"},"walletAmountUSD":{"type":["number","null"]},"governorAdmin":{"type":["string","null"],"example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"blockedCountries":{"type":"array","items":{"type":"string"}},"restrictedCountries":{"type":"array","items":{"type":"string"}},"featured":{"type":"boolean"}},"required":["asset","assetSymbol","assetDecimals","assetPrice","assetPriceTimestamp","vault","vaultName","vaultSymbol","vaultDecimals","supplyApy","borrowApy","totalShares","totalBorrows","cash","totalAssets","cashUSD","cashUSDBigInt","totalAssetsUSD","totalAssetsUSDBigInt","utilization","exposure","perspectives","supplyCap","supplyCapPercentage","borrowCap","borrowCapPercentage","governorType","walletAmount","walletAmountUSD","governorAdmin"]}},"pagination":{"type":"object","properties":{"skip":{"type":"number"},"take":{"type":"number"},"total":{"type":"number"}},"required":["skip","take","total"]},"assets":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}}},"required":["items","pagination","assets"]}}}}},"operationId":"postV2VaultList","tags":["Vault"],"parameters":[],"description":"Gets all vaults with metrics (POST body supports large filters)","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"chainId":{"type":"integer","example":1},"search":{"type":"string","example":"USDC"},"assets":{"type":"array","items":{"type":"string","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}},"inWallet":{"type":"object","propertyNames":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"additionalProperties":{"type":"string"},"example":{"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48":"9171764","0xdAC17F958D2ee523a2206206994597C13D831ec7":"1097807","0xE00bd3Df25fb187d6ABBB620b3dfd19839947b81":"10082438695656685061","0xfAbA6f8e4a5E8Ab82F62fe7C39859FA577269BE3":"1353155437507298246","0x66a1E37c9b0eAddca17d3662D6c05F4DECf3e110":"1704984500150916138","0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2":"18945210138072542"}},"vaults":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"example":[]},"products":{"type":"array","items":{"type":"string"},"example":["sentora-rlusd","sentora-pyusd","euler-yield"]},"entities":{"type":"array","items":{"type":"string"},"example":["9summits","gauntlet","euler-dao","sentora","usual","k3"]},"settings":{"type":"object","properties":{"disableIntrinsicApy":{"type":"boolean","default":false},"disableRewardsApy":{"type":"boolean","default":false},"includeOraclePrices":{"type":"boolean","default":false},"includeCollateralPrices":{"type":"boolean","default":false},"disabledPerspectives":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}},"enabledPerspectives":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}}},"default":{}},"utilizationMin":{"type":"string","example":"0.1"},"utilizationMax":{"type":"string","example":"0.9"},"orderBy":{"type":"string","enum":["vault","asset","assetSymbol","apy","utilization","inWallet","totalSupply"],"default":"apy"},"orderDirection":{"type":"string","enum":["asc","desc"],"default":"desc"},"onlyInWallet":{"type":"boolean","default":false},"featuredOnly":{"type":"boolean","default":false},"page":{"type":"string","example":"1","default":"1"},"limit":{"type":"string","example":"50","default":"50"}},"required":["chainId"]}}}}}},"/v2/vault/assets":{"post":{"responses":{"200":{"description":"List of unique asset addresses","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"symbol":{"type":["string","null"]},"decimals":{"type":["number","null"]},"vaultCount":{"type":"number"}},"required":["asset","symbol","decimals","vaultCount"]}},"example":["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"]}}}},"operationId":"postV2VaultAssets","tags":["Vault"],"parameters":[],"description":"Gets all unique asset addresses for all vaults on a chain (POST body supports large perspective arrays)","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"chainId":{"type":"integer","example":1},"disabledPerspectives":{"type":"array","items":{"type":"string"},"example":["0x4e58BBEa423c4B9A2Fc7b8E58F5499f9927fADdE"]},"enabledPerspectives":{"type":"array","items":{"type":"string"},"example":["0xC0121817FF224a018840e4D15a864747d36e6Eb2","0x8c7543f83D3d295F68447792581F73d7d5D4d788","0xB30f23bc5F93F097B3A699f71B0b1718Fc82e182","0xA45895144F2b6E7E6D2fCAFfe6eA19E86aa1667E","0x492e9FE1289d43F8bB6275237BF16c9248C74D44"]}},"required":["chainId"]}}}}}},"/v2/vault/strategies":{"post":{"responses":{"200":{"description":"List of collateral → debt vault strategies","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"collateralVault":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"collateralVaultName":{"type":["string","null"]},"collateralVaultSymbol":{"type":["string","null"]},"collateralVaultDecimals":{"type":["number","null"]},"collateralAsset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"collateralAssetSymbol":{"type":["string","null"]},"collateralProducts":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"entity":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}},{"type":"null"}]},"description":{"type":["string","null"]}},"required":["name","entity","description"]}},"collateralEntities":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"string"},"name":{"type":"string"},"logo":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"},"addresses":{"type":"object","additionalProperties":{"type":"string"}},"social":{"type":"object","additionalProperties":{"type":"string"}}},"required":["entity"]}},"collateralPoints":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"entity":{"type":"array","items":{"type":"string"}},"logo":{"type":"string"},"name":{"type":"string"},"skipTooltipPrefix":{"type":"boolean"},"token":{"type":"string"},"url":{"type":"string"}},"required":["logo","name"]}},"collateralBlockedCountries":{"type":"array","items":{"type":"string"}},"collateralRestrictedCountries":{"type":"array","items":{"type":"string"}},"collateralPerspectives":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}},"debtVault":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"debtVaultName":{"type":["string","null"]},"debtVaultSymbol":{"type":["string","null"]},"debtVaultDecimals":{"type":["number","null"]},"debtAsset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"debtAssetSymbol":{"type":["string","null"]},"debtProducts":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"entity":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}},{"type":"null"}]},"description":{"type":["string","null"]}},"required":["name","entity","description"]}},"debtEntities":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"string"},"name":{"type":"string"},"logo":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"},"addresses":{"type":"object","additionalProperties":{"type":"string"}},"social":{"type":"object","additionalProperties":{"type":"string"}}},"required":["entity"]}},"debtPoints":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"entity":{"type":"array","items":{"type":"string"}},"logo":{"type":"string"},"name":{"type":"string"},"skipTooltipPrefix":{"type":"boolean"},"token":{"type":"string"},"url":{"type":"string"}},"required":["logo","name"]}},"debtBlockedCountries":{"type":"array","items":{"type":"string"}},"debtRestrictedCountries":{"type":"array","items":{"type":"string"}},"borrowLTV":{"type":"string","example":"21000000"},"liquidationLTV":{"type":"string","example":"21000000"},"initialLiquidationLTV":{"type":"string","example":"21000000"},"targetTimestamp":{"type":"string","example":"21000000"},"rampDuration":{"type":"string","example":"21000000"},"supplyApy":{"type":"object","properties":{"baseApy":{"type":"number"},"totalApy":{"type":"number"},"rewardApy":{"type":"number"},"rewardsMetadata":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"value":{"type":"number"},"logo":{"type":"string"},"symbol":{"type":"string"},"lastEpochEnd":{"type":"number"},"chainId":{"type":"number"},"requiresCB1Verification":{"type":"boolean"},"campaignId":{"type":"string"},"campaignType":{"type":"string"},"provider":{"type":"string"}},"required":["asset","value","logo","symbol","lastEpochEnd","chainId"]}},"intrinsicApy":{"type":["object","null"],"properties":{"apy":{"type":"number"},"timestamp":{"type":["string","null"]},"provider":{"type":["string","null"]},"source":{"type":["string","null"]},"description":{"type":["string","null"]},"claimUrl":{"type":["string","null"]},"uniquifier":{"type":["string","null"]},"apyDuration":{"type":["number","null"]}},"required":["apy","timestamp","provider","source","description","claimUrl","uniquifier","apyDuration"]},"intrinsicWithBase":{"type":"number"}},"required":["baseApy","totalApy","rewardApy"]},"borrowApy":{"type":"object","properties":{"baseApy":{"type":"number"},"totalApy":{"type":"number"},"rewardApy":{"type":"number"},"rewardsMetadata":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"value":{"type":"number"},"logo":{"type":"string"},"symbol":{"type":"string"},"lastEpochEnd":{"type":"number"},"chainId":{"type":"number"},"requiresCB1Verification":{"type":"boolean"},"campaignId":{"type":"string"},"campaignType":{"type":"string"},"provider":{"type":"string"}},"required":["asset","value","logo","symbol","lastEpochEnd","chainId"]}},"intrinsicApy":{"type":["object","null"],"properties":{"apy":{"type":"number"},"timestamp":{"type":["string","null"]},"provider":{"type":["string","null"]},"source":{"type":["string","null"]},"description":{"type":["string","null"]},"claimUrl":{"type":["string","null"]},"uniquifier":{"type":["string","null"]},"apyDuration":{"type":["number","null"]}},"required":["apy","timestamp","provider","source","description","claimUrl","uniquifier","apyDuration"]},"intrinsicWithBase":{"type":"number"}},"required":["baseApy","totalApy","rewardApy"]},"maxRoe":{"type":"number"},"maxMultiplier":{"type":"number"},"lltv":{"type":"number"},"liquidityUSD":{"type":"number"},"liquidityAmount":{"type":"string"},"strategyScore":{"type":"number"},"warnings":{"type":"array","items":{"type":"string","enum":["collateralUtilization","collateralSupplyCap","collateralBorrowCap","debtUtilization","debtSupplyCap","debtBorrowCap","bothUtilization","bothSupplyCap","bothBorrowCap","genericUtilization","genericSupplyCap","genericBorrowCap"]}},"warningsData":{"type":"object","properties":{"collateralUtilization":{"type":"number"},"collateralSupplyCapPercentage":{"type":"number"},"collateralBorrowCapPercentage":{"type":"number"},"debtUtilization":{"type":"number"},"debtSupplyCapPercentage":{"type":"number"},"debtBorrowCapPercentage":{"type":"number"}},"required":["collateralUtilization","collateralSupplyCapPercentage","collateralBorrowCapPercentage","debtUtilization","debtSupplyCapPercentage","debtBorrowCapPercentage"]},"featured":{"type":"boolean"}},"required":["collateralVault","collateralVaultName","collateralVaultSymbol","collateralVaultDecimals","collateralAsset","collateralAssetSymbol","collateralProducts","collateralEntities","collateralPoints","debtVault","debtVaultName","debtVaultSymbol","debtVaultDecimals","debtAsset","debtAssetSymbol","debtProducts","debtEntities","debtPoints","borrowLTV","liquidationLTV","initialLiquidationLTV","targetTimestamp","rampDuration","supplyApy","borrowApy","maxRoe","maxMultiplier","lltv","liquidityUSD","liquidityAmount","warnings","warningsData"]}},"pagination":{"type":"object","properties":{"skip":{"type":"number"},"take":{"type":"number"},"total":{"type":"number"}},"required":["skip","take","total"]}},"required":["items","pagination"]}}}}},"operationId":"postV2VaultStrategies","tags":["Vault"],"parameters":[],"description":"Gets all collateral → debt vault combinations based on LTV settings (strategies/trades)","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"chainId":{"type":"integer","example":1},"search":{"type":"string"},"collateralAssets":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}},"debtAssets":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}},"assets":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}},"inWallet":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}},"inSavings":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}},"onlyInWallet":{"type":"boolean"},"onlyInSavings":{"type":"boolean"},"collateralVaults":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}},"debtVaults":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}},"vaults":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}},"products":{"type":"array","items":{"type":"string"}},"entities":{"type":"array","items":{"type":"string"}},"settings":{"type":"object","properties":{"disableIntrinsicApy":{"type":"boolean","default":false},"disableRewardsApy":{"type":"boolean","default":false},"includeOraclePrices":{"type":"boolean","default":false},"includeCollateralPrices":{"type":"boolean","default":false},"disabledPerspectives":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}},"enabledPerspectives":{"type":"array","items":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"}}},"default":{}},"minLLTV":{"type":"string","example":"0.8"},"maxLLTV":{"type":"string","example":"0.8"},"minLiquidityUSD":{"type":"number"},"maxLiquidityUSD":{"type":"number"},"minSupplyApy":{"type":"number"},"maxSupplyApy":{"type":"number"},"minBorrowApy":{"type":"number"},"maxBorrowApy":{"type":"number"},"minMaxRoe":{"type":"number"},"maxMaxRoe":{"type":"number"},"minMaxMultiplier":{"type":"number"},"maxMaxMultiplier":{"type":"number"},"orderBy":{"type":"string","enum":["lltv","collateralVault","debtVault","supplyApy","borrowApy","liquidityUSD","maxMultiplier","maxRoe","strategyScore"],"default":"liquidityUSD"},"orderDirection":{"type":"string","enum":["asc","desc"],"default":"desc"},"page":{"type":"string","example":"1","default":"1"},"limit":{"type":"string","example":"50","default":"50"},"featuredOnly":{"type":"boolean","default":false},"explain":{"type":"boolean"}},"required":["chainId"]}}}}}},"/v2/vault/products/summary":{"get":{"responses":{"200":{"description":"List of products with total cashUSD","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"totalAssetsUSD":{"type":"number"},"vaultCount":{"type":"number"}},"required":["id","name","totalAssetsUSD","vaultCount"]}}}}}},"operationId":"getV2VaultProductsSummary","tags":["Vault"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true}],"description":"Gets all products and total cashUSD across their vaults"}},"/v2/vault/entities/summary":{"get":{"responses":{"200":{"description":"List of entities with total cashUSD","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"totalAssetsUSD":{"type":"number"},"vaultCount":{"type":"number"}},"required":["id","name","totalAssetsUSD","vaultCount"]}}}}}},"operationId":"getV2VaultEntitiesSummary","tags":["Vault"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true}],"description":"Gets all entities and total cashUSD across their product vaults"}},"/v2/vault/strategies/collateral-assets":{"post":{"responses":{"200":{"description":"List of unique collateral asset addresses available in valid strategies","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"symbol":{"type":["string","null"]},"decimals":{"type":["number","null"]},"vaultCount":{"type":"number"}},"required":["asset","symbol","decimals","vaultCount"]}},"example":["0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0","0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee","0xbf5495Efe5DB9ce00f80364C8B423567e58d2110"]}}}},"operationId":"postV2VaultStrategiesCollateral-assets","tags":["Vault"],"parameters":[],"description":"Gets all unique collateral asset addresses available in strategies (POST body supports settings)","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"chainId":{"type":"integer","example":1},"disabledPerspectives":{"type":"array","items":{"type":"string"},"example":["0x4e58BBEa423c4B9A2Fc7b8E58F5499f9927fADdE"]},"enabledPerspectives":{"type":"array","items":{"type":"string"},"example":["0xC0121817FF224a018840e4D15a864747d36e6Eb2","0x8c7543f83D3d295F68447792581F73d7d5D4d788","0xB30f23bc5F93F097B3A699f71B0b1718Fc82e182","0xA45895144F2b6E7E6D2fCAFfe6eA19E86aa1667E","0x492e9FE1289d43F8bB6275237BF16c9248C74D44"]}},"required":["chainId"]}}}}}},"/v2/vault/strategies/debt-assets":{"post":{"responses":{"200":{"description":"List of unique debt asset addresses available in valid strategies","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"symbol":{"type":["string","null"]},"decimals":{"type":["number","null"]},"vaultCount":{"type":"number"}},"required":["asset","symbol","decimals","vaultCount"]}},"example":["0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","0xdAC17F958D2ee523a2206206994597C13D831ec7"]}}}},"operationId":"postV2VaultStrategiesDebt-assets","tags":["Vault"],"parameters":[],"description":"Gets all unique debt asset addresses available in strategies (POST body supports settings)","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"chainId":{"type":"integer","example":1},"disabledPerspectives":{"type":"array","items":{"type":"string"},"example":["0x4e58BBEa423c4B9A2Fc7b8E58F5499f9927fADdE"]},"enabledPerspectives":{"type":"array","items":{"type":"string"},"example":["0xC0121817FF224a018840e4D15a864747d36e6Eb2","0x8c7543f83D3d295F68447792581F73d7d5D4d788","0xB30f23bc5F93F097B3A699f71B0b1718Fc82e182","0xA45895144F2b6E7E6D2fCAFfe6eA19E86aa1667E","0x492e9FE1289d43F8bB6275237BF16c9248C74D44"]}},"required":["chainId"]}}}}}},"/v2/swap/pools":{"get":{"responses":{"200":{"description":"List of all pools","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"pool":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"account":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"owner":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"vault0":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"address":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"decimals":{"type":"number"},"availableLiquidity":{"type":"string","example":"21000000"},"cash":{"type":"string","example":"21000000"},"reserves":{"type":"string","example":"21000000"},"fees":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total","total1d","total7d","total30d","total180d"]},"volume":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total","total1d","total7d","total30d","total180d"]},"volumeUsd":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total","total1d","total7d","total30d","total180d"]}},"required":["asset","address","decimals","availableLiquidity","cash","reserves","fees","volume","volumeUsd"]},"vault1":{"type":"object","properties":{"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"address":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"decimals":{"type":"number"},"availableLiquidity":{"type":"string","example":"21000000"},"cash":{"type":"string","example":"21000000"},"reserves":{"type":"string","example":"21000000"},"fees":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total","total1d","total7d","total30d","total180d"]},"volume":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total","total1d","total7d","total30d","total180d"]},"volumeUsd":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total","total1d","total7d","total30d","total180d"]}},"required":["asset","address","decimals","availableLiquidity","cash","reserves","fees","volume","volumeUsd"]},"availableLiquidity":{"type":"string","example":"21000000"},"totalReserves":{"type":"string","example":"21000000"},"equilibriumReserves0":{"type":"string","example":"21000000"},"equilibriumReserves1":{"type":"string","example":"21000000"},"limit01In":{"type":"string","example":"21000000"},"limit01Out":{"type":"string","example":"21000000"},"limit10In":{"type":"string","example":"21000000"},"limit10Out":{"type":"string","example":"21000000"},"blockNumber":{"type":"string","example":"21000000"},"blockTimestamp":{"type":"string","example":"21000000"},"createdAt":{"type":"string","example":"21000000"},"active":{"type":"boolean"},"price":{"type":"string","example":"21000000"},"fee":{"type":"string","example":"21000000"},"concentrationX":{"type":"string","example":"21000000"},"concentrationY":{"type":"string","example":"21000000"},"volume":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total","total1d","total7d","total30d","total180d"]},"fees":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total","total1d","total7d","total30d","total180d"]},"accountNav":{"type":"object","properties":{"nav":{"type":"string","example":"21000000"},"navAtCreation":{"type":"string","example":"21000000"},"totalAssets":{"type":"string","example":"21000000"},"totalBorrowed":{"type":"string","example":"21000000"},"breakdown":{"type":"object","propertyNames":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"additionalProperties":{"type":"object","properties":{"shares":{"type":"string","example":"21000000"},"assets":{"type":"string","example":"21000000"},"borrowed":{"type":"string","example":"21000000"},"accumlatedBorrow":{"type":"string","example":"21000000"},"price":{"type":"string","example":"21000000"},"asset":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"latestTransferTimestamp":{"type":"string","example":"21000000"},"latestBorrowingActivityTimestamp":{"type":"string","example":"21000000"}},"required":["shares","assets","borrowed","accumlatedBorrow","price","asset","latestTransferTimestamp","latestBorrowingActivityTimestamp"]}}},"required":["nav","navAtCreation","totalAssets","totalBorrowed","breakdown"]},"interestPaid":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"},"breakdown":{"type":"object","propertyNames":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"additionalProperties":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total","total1d","total7d","total30d","total180d"]}}},"required":["total","total1d","total7d","total30d","total180d","breakdown"]},"interestEarned":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"},"breakdown":{"type":"object","propertyNames":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"additionalProperties":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total","total1d","total7d","total30d","total180d"]}}},"required":["total","total1d","total7d","total30d","total180d","breakdown"]},"interestEarnedStarting":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"},"breakdown":{"type":"object","propertyNames":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"additionalProperties":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total","total1d","total7d","total30d","total180d"]}}},"required":["total","total1d","total7d","total30d","total180d","breakdown"]},"interestPaidStarting":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"},"breakdown":{"type":"object","propertyNames":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"additionalProperties":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total","total1d","total7d","total30d","total180d"]}}},"required":["total","total1d","total7d","total30d","total180d","breakdown"]},"interestEarnedEnding":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"},"breakdown":{"type":"object","propertyNames":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"additionalProperties":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total","total1d","total7d","total30d","total180d"]}}},"required":["total","total1d","total7d","total30d","total180d","breakdown"]},"interestPaidEnding":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"},"breakdown":{"type":"object","propertyNames":{"type":"string","example":"0xD8b27CF359b7D15710a5BE299AF6e7Bf904984C2"},"additionalProperties":{"type":"object","properties":{"total":{"type":"string","example":"21000000"},"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total","total1d","total7d","total30d","total180d"]}}},"required":["total","total1d","total7d","total30d","total180d","breakdown"]},"apr":{"type":"object","properties":{"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total1d","total7d","total30d","total180d"]},"swapFeesAPR":{"type":"object","properties":{"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total1d","total7d","total30d","total180d"]},"interestApr":{"type":"object","properties":{"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total1d","total7d","total30d","total180d"]},"interestAprAnnualized":{"type":"object","properties":{"total1d":{"type":"string","example":"21000000"},"total7d":{"type":"string","example":"21000000"},"total30d":{"type":"string","example":"21000000"},"total180d":{"type":"string","example":"21000000"}},"required":["total1d","total7d","total30d","total180d"]}},"required":["pool","account","owner","vault0","vault1","availableLiquidity","totalReserves","equilibriumReserves0","equilibriumReserves1","limit01In","limit01Out","limit10In","limit10Out","blockNumber","blockTimestamp","createdAt","active","price","fee","concentrationX","concentrationY","volume","fees","accountNav","interestPaid","interestEarned","interestEarnedStarting","interestPaidStarting","interestEarnedEnding","interestPaidEnding","apr","swapFeesAPR","interestApr","interestAprAnnualized"]}}}}}},"operationId":"getV2SwapPools","tags":["Swap"],"parameters":[{"in":"query","name":"chainId","schema":{"type":"integer","example":1},"required":true},{"in":"query","name":"status","schema":{"type":"string","enum":["active","inactive","all"],"default":"active"},"required":false},{"in":"query","name":"blockNumber","schema":{"type":"string"},"required":false},{"in":"query","name":"pools","schema":{"type":"string"},"required":false},{"in":"query","name":"account","schema":{"type":"string"},"required":false}],"description":"Gets information about all pools for a specific chain"}}},"components":{"schemas":{}}}