Euler Finance · Schema

SerializedPortfolioAccountPosition

DeFiLendingBorrowingFinanceEthereumBlockchainVaultLiquidationInterest RatesPermissionless

Properties

Name Type Description
account string
vaultAddress string
vault object
asset string
shares string Raw vault share amount as a bigint string.
assets string Raw underlying asset amount as a bigint string.
borrowed string Raw borrowed asset amount as a bigint string.
isController boolean
isCollateral boolean
balanceForwarderEnabled boolean
marketPriceUsd number Market USD price number for this position's asset.
suppliedValueUsd number Market USD value number for this supplied position.
borrowedValueUsd number Market USD value number for this borrowed position.
liquidity object
borrowLiquidationPriceUsd number Borrow liquidation price in USD.
collateralLiquidationPricesUsd object Liquidation prices in USD keyed by collateral address.
View JSON Schema on GitHub

JSON Schema

serialized-portfolio-account-position.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SerializedPortfolioAccountPosition",
  "type": "object",
  "properties": {
    "account": {
      "type": "string"
    },
    "vaultAddress": {
      "type": "string"
    },
    "vault": {
      "$ref": "#/components/schemas/SerializedPortfolioVault"
    },
    "asset": {
      "type": "string"
    },
    "shares": {
      "type": "string",
      "description": "Raw vault share amount as a bigint string."
    },
    "assets": {
      "type": "string",
      "description": "Raw underlying asset amount as a bigint string."
    },
    "borrowed": {
      "type": "string",
      "description": "Raw borrowed asset amount as a bigint string."
    },
    "isController": {
      "type": "boolean"
    },
    "isCollateral": {
      "type": "boolean"
    },
    "balanceForwarderEnabled": {
      "type": "boolean"
    },
    "marketPriceUsd": {
      "type": "number",
      "description": "Market USD price number for this position's asset."
    },
    "suppliedValueUsd": {
      "type": "number",
      "description": "Market USD value number for this supplied position."
    },
    "borrowedValueUsd": {
      "type": "number",
      "description": "Market USD value number for this borrowed position."
    },
    "liquidity": {
      "$ref": "#/components/schemas/AccountPositionLiquidity"
    },
    "borrowLiquidationPriceUsd": {
      "type": "number",
      "description": "Borrow liquidation price in USD."
    },
    "collateralLiquidationPricesUsd": {
      "type": "object",
      "description": "Liquidation prices in USD keyed by collateral address.",
      "additionalProperties": {
        "type": "number"
      }
    }
  }
}

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/serialized-portfolio-account-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.