{
  "x402Version": 2,
  "id": 30781,
  "slug": "30781",
  "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",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x82B17D0bb4De9ae6c3491257B60E8245e70acd7B",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "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-10-11T06:46:05.594Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-11T06:46:05.185Z"
  },
  "metadata": {
    "extensions": {
      "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "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-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "binding_constraint": "string",
      "math_max_ltv": 0,
      "max_ltv": 0,
      "ok": true,
      "regime": "string",
      "regime_cap_ltv": 0,
      "sigma_T": 0
    },
    "type": "string"
  }
}