{
  "x402Version": 2,
  "id": 2957,
  "slug": "2957",
  "resource": "https://regimeshift.xyz/api/v1/risk/max-ltv",
  "description": "Maximum-safe LTV for collateralized agent loans. Computed from (cv + λ·j²)-derived variance over loan horizon + 6-mode regime cap. Lender-specifiable max_default_prob. Returns binding constraint (math vs regime_cap) so agents can see WHY the cap is what it is. Same calibrator as Agent-SOFR rate endpoint.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x82B17D0bb4De9ae6c3491257B60E8245e70acd7B",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "asset": "ETH",
            "duration_sec": 3600,
            "max_default_prob": 0.001
          },
          "type": "http"
        },
        "output": {
          "example": {
            "binding_constraint": "regime_cap",
            "computed_at": 1779380000,
            "math_max_ltv": 0.97,
            "max_ltv": 0.92,
            "ok": true,
            "regime": "NORMAL",
            "regime_cap_ltv": 0.92,
            "sigma_T": 0.0051
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "asset": {
                    "description": "Collateral asset",
                    "enum": [
                      "ETH",
                      "BTC"
                    ],
                    "type": "string"
                  },
                  "duration_sec": {
                    "description": "Loan horizon in seconds",
                    "maximum": 86400,
                    "minimum": 120,
                    "type": "integer"
                  },
                  "max_default_prob": {
                    "description": "Lender's tolerated default probability",
                    "maximum": 0.01,
                    "minimum": 0,
                    "type": "number"
                  }
                },
                "required": [],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "binding_constraint": {
                    "type": "string"
                  },
                  "math_max_ltv": {
                    "type": "number"
                  },
                  "max_ltv": {
                    "type": "number"
                  },
                  "ok": {
                    "type": "boolean"
                  },
                  "regime": {
                    "type": "string"
                  },
                  "regime_cap_ltv": {
                    "type": "number"
                  },
                  "sigma_T": {
                    "type": "number"
                  }
                },
                "required": [
                  "ok",
                  "max_ltv"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "regimeshift.xyz",
  "lastUpdated": "2026-09-16T18:30:21.825Z",
  "quality": {
    "calls30d": 9,
    "uniquePayers30d": 6,
    "lastCalledAt": "2026-09-16T18:30:21.352Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "regimeshift.xyz",
    "manifest_name": "regimeshift.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}