Euler Finance · Schema

PortfolioBorrowPosition

DeFiLendingBorrowingFinanceEthereumBlockchainVaultLiquidationInterest RatesPermissionless

Properties

Name Type Description
borrow object
collaterals array
collateral object
borrowVault object
collateralVault object
collateralVaults array
subAccount string
healthFactor string
userLTV string Contract-derived account LTV ratio, raw 18-decimal bigint string.
currentLTV string Contract-derived current LTV ratio, raw 18-decimal bigint string.
borrowed string Raw borrowed asset amount as a bigint string.
supplied string Raw supplied asset amount as a bigint string.
price number Borrow liquidation price in USD.
borrowLiquidationPriceUsd number Borrow liquidation price in USD.
collateralLiquidationPricesUsd object Liquidation prices in USD keyed by collateral address.
borrowLTV number Borrow LTV ratio number.
liquidationLTV number Liquidation LTV ratio number.
accountLiquidationLTV number Account liquidation LTV ratio number.
liabilityValueBorrowing string Contract-derived liability value for borrowing, raw 18-decimal bigint string.
liabilityValueLiquidation string Contract-derived liability value for liquidation, raw 18-decimal bigint string.
liabilityValueUsd number Market USD liability value number.
totalCollateralValueUsd number Market USD total collateral value number.
collateralValueLiquidation string Contract-derived collateral liquidation value, raw 18-decimal bigint string.
timeToLiquidation object
multiplier number Leverage multiplier ratio number.
netApy number Public net APY as a percent number.
roe number Return-on-equity ratio number.
apyBreakdown object
roeBreakdown object
View JSON Schema on GitHub

JSON Schema

portfolio-borrow-position.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "PortfolioBorrowPosition",
  "type": "object",
  "properties": {
    "borrow": {
      "$ref": "#/components/schemas/SerializedPortfolioAccountPosition"
    },
    "collaterals": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/SerializedPortfolioAccountPosition"
      }
    },
    "collateral": {
      "$ref": "#/components/schemas/SerializedPortfolioAccountPosition"
    },
    "borrowVault": {
      "$ref": "#/components/schemas/SerializedPortfolioVault"
    },
    "collateralVault": {
      "$ref": "#/components/schemas/SerializedPortfolioVault"
    },
    "collateralVaults": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "subAccount": {
      "type": "string"
    },
    "healthFactor": {
      "type": "string"
    },
    "userLTV": {
      "type": "string",
      "description": "Contract-derived account LTV ratio, raw 18-decimal bigint string."
    },
    "currentLTV": {
      "type": "string",
      "description": "Contract-derived current LTV ratio, raw 18-decimal bigint string."
    },
    "borrowed": {
      "type": "string",
      "description": "Raw borrowed asset amount as a bigint string."
    },
    "supplied": {
      "type": "string",
      "description": "Raw supplied asset amount as a bigint string."
    },
    "price": {
      "type": "number",
      "description": "Borrow liquidation price in USD."
    },
    "borrowLiquidationPriceUsd": {
      "type": "number",
      "description": "Borrow liquidation price in USD."
    },
    "collateralLiquidationPricesUsd": {
      "type": "object",
      "description": "Liquidation prices in USD keyed by collateral address.",
      "additionalProperties": {
        "type": "number"
      }
    },
    "borrowLTV": {
      "type": "number",
      "description": "Borrow LTV ratio number."
    },
    "liquidationLTV": {
      "type": "number",
      "description": "Liquidation LTV ratio number."
    },
    "accountLiquidationLTV": {
      "type": "number",
      "description": "Account liquidation LTV ratio number."
    },
    "liabilityValueBorrowing": {
      "type": "string",
      "description": "Contract-derived liability value for borrowing, raw 18-decimal bigint string."
    },
    "liabilityValueLiquidation": {
      "type": "string",
      "description": "Contract-derived liability value for liquidation, raw 18-decimal bigint string."
    },
    "liabilityValueUsd": {
      "type": "number",
      "description": "Market USD liability value number."
    },
    "totalCollateralValueUsd": {
      "type": "number",
      "description": "Market USD total collateral value number."
    },
    "collateralValueLiquidation": {
      "type": "string",
      "description": "Contract-derived collateral liquidation value, raw 18-decimal bigint string."
    },
    "timeToLiquidation": {
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string",
          "enum": [
            "Infinity",
            "MoreThanAYear"
          ]
        }
      ]
    },
    "multiplier": {
      "type": "number",
      "description": "Leverage multiplier ratio number."
    },
    "netApy": {
      "type": "number",
      "description": "Public net APY as a percent number."
    },
    "roe": {
      "type": "number",
      "description": "Return-on-equity ratio number."
    },
    "apyBreakdown": {
      "$ref": "#/components/schemas/YieldApyBreakdown"
    },
    "roeBreakdown": {
      "$ref": "#/components/schemas/YieldApyBreakdown"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/portfolio-borrow-position"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.