Collateralized DeFi loan (Aave/Compound style): health factor, current LTV, collateral…
Collateralized DeFi loan (Aave/Compound style): health factor, current LTV, collateral liquidation price, drop it can withstand, extra borrowing room and how much to repay or add to reach a 1.5 health factor.
by api.vextorium.com · discovered, not yet claimed by its owner · updated 2026-10-06
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Collateralized DeFi loan (Aave/Compound style): health factor, current LTV, collateral liquidation price, drop it can withstand, extra borrowing room and how much to repay or add to reach a 1.5 health factor.
Tags: defi · liquidation · health-factor · lending · risk · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-06
{
"collateral_amount": 2,
"collateral_price": 2700,
"debt_usd": 3000
}{
"can_borrow_more_usd": 1320,
"collateral_value_usd": 5400,
"current_ltv_pct": 55.56,
"debt_usd": 3000,
"for_factor_1_5": {
"or_add_collateral": 0.02020202,
"return_usd": 30
},
"health_factor": 1.485,
"liquidation_price": 1818.18181818,
"note": "Calculation with a single collateral and stable debt. Each protocol and asset has its own liquidation threshold.",
"status": "watch",
"tolerable_drop_pct": 32.66
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/37270.jsonfor the price and payment options. - Pay. Call
GET https://api.vextorium.com/v1/loan-liquidation-price. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, Polygon, Optimism, eip155:5042, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.003 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana, Polygon, Optimism, eip155:5042
- Demand
- 2 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.003 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.003 | HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2 | 300s |
| exact | Polygon eip155:137 | USDC | $0.003 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 300s |
| exact | Optimism eip155:10 | 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85 | 3000 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 604900s |
| exact | eip155:5042 eip155:5042 | 0x3600000000000000000000000000000000000000 | 3000 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 604900s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3000",
"amountUsd": 0.003,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "3000",
"amountUsd": 0.003,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "3000",
"amountUsd": 0.003,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:10",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
"amount": "3000",
"maxTimeoutSeconds": 604900
},
{
"scheme": "exact",
"network": "eip155:5042",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x3600000000000000000000000000000000000000",
"amount": "3000",
"maxTimeoutSeconds": 604900
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"can_borrow_more_usd": {
"type": [
"number",
"null"
]
},
"collateral_value_usd": {
"type": [
"number",
"null"
]
},
"current_ltv_pct": {
"type": [
"number",
"null"
]
},
"debt_usd": {
"type": [
"number",
"null"
]
},
"for_factor_1_5": {
"properties": {
"or_add_collateral": {
"type": [
"number",
"null"
]
},
"return_usd": {
"type": [
"number",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"health_factor": {
"type": [
"number",
"null"
]
},
"liquidation_price": {
"type": [
"number",
"null"
]
},
"note": {
"type": [
"string",
"null"
]
},
"status": {
"type": [
"string",
"null"
]
},
"tolerable_drop_pct": {
"type": [
"number",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"can_borrow_more_usd": 0,
"collateral_value_usd": 0,
"current_ltv_pct": 0,
"debt_usd": 0,
"for_factor_1_5": {
"or_add_collateral": 0,
"return_usd": 0
},
"health_factor": 0,
"liquidation_price": 0,
"note": "string",
"status": "string",
"tolerable_drop_pct": 0
},
"type": "string"
}Examples
curl "https://api.vextorium.com/v1/loan-liquidation-price"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.vextorium.com/v1/loan-liquidation-price");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.vextorium.com/v1/loan-liquidation-price")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.vextorium.com
- Endpoint
- https://api.vextorium.com/v1/loan-liquidation-price
- Machine-readable
/resources/37270.json