Skip to content
onelayer.
All tools

Tool detail

max-ltv

Returns the maximum-safe loan-to-value for a collateralized agent loan, with the binding constraint (variance model vs regime cap) and the reason for it.

Categories: Defi

Use when

  • get the max safe LTV for an ETH or BTC collateralized loan
  • check whether a loan's LTV cap is set by volatility or the regime cap

Not for

  • not a live loan or credit facility - a risk calculation only

Inputs

GET query params (all optional): asset (enum: ETH/BTC), duration_sec (integer 120-86400), max_default_prob (number 0-0.01).

Admitted input schema

{
  "type": "object",
  "properties": {
    "asset": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "ETH",
        "BTC"
      ],
      "description": "Collateral asset"
    },
    "duration_sec": {
      "type": "integer",
      "minimum": 120,
      "maximum": 86400,
      "description": "Loan horizon in seconds"
    },
    "max_default_prob": {
      "type": "number",
      "minimum": 0,
      "maximum": 0.01,
      "description": "Lender's tolerated default probability"
    }
  },
  "required": [],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://regimeshift.xyz/api/v1/risk/max-ltv

Payment

Protocol
x402
Listed price
0.001 USDC per request on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://regimeshift.xyz/api/v1/risk/max-ltv
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z