Base address -> deterministic Morpho borrower position snapshot and collateral-price stres
Base address -> deterministic Morpho borrower position snapshot and collateral-price stress scenarios. Returns LTV, LLTV, health factor, liquidation headroom, source freshness, and scenario outcomes. Read-only indexed observation; direct RPC verification is required before execution.
20000 (raw units)
price
5
calls / 30d
3
unique payers
2026-09-14
updated
Provider
agents.samedaydesk.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x8904dF3DE6DFEe6a7C8cc38619d2f17806213Cee",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"address": "0x4352Cc849b33a936Ad93bB109aFDec1c89653b4f",
"shocks": "-10,-20,-30"
},
"type": "http"
},
"output": {
"example": {
"address": "0x4352Cc849b33a936Ad93bB109aFDec1c89653b4f",
"boundary": "Read-only indexed observation; verify against direct RPC before execution.",
"chain": {
"id": 8453,
"name": "Base mainnet"
},
"ok": true,
"positionCount": 1,
"positions": [
{
"marketId": "0x...",
"risk": {
"currentLtvPct": 72,
"healthFactor": 1.194,
"liquidatableAtIndexedState": false,
"liquidationLtvPct": 86
},
"scenarios": [
{
"collateralPriceShockPct": -10,
"healthFactor": 1.075,
"liquidatable": false
}
]
}
],
"source": {
"directRpc": "required before execution",
"indexed": "Morpho API"
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"address": {
"description": "Borrower EVM address on Base mainnet.",
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"shocks": {
"description": "Optional comma-separated collateral-price shocks in percent.",
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"address": {
"type": "string"
},
"boundary": {
"type": "string"
},
"chain": {
"type": "object"
},
"fetchedAt": {
"type": "string"
},
"latestIndexedAt": {
"nullable": true,
"type": "string"
},
"ok": {
"type": "boolean"
},
"positionCount": {
"type": "integer"
},
"positions": {
"type": "array"
},
"source": {
"type": "object"
}
},
"required": [
"ok",
"address",
"chain",
"positionCount",
"positions",
"source",
"boundary"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"builder-code": {
"info": {
"a": "bc_lqj09bnf"
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"a": {
"description": "App builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"s": {
"description": "Service builder codes",
"items": {
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"type": "array"
},
"w": {
"description": "Wallet builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
}
},
"type": "object"
}
},
"offer-receipt": {
"info": {
"offers": [
{
"acceptIndex": 0,
"format": "eip712",
"payload": {
"amount": "20000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"network": "eip155:8453",
"payTo": "0x8904dF3DE6DFEe6a7C8cc38619d2f17806213Cee",
"resourceUrl": "https://agents.samedaydesk.com/defi/morpho-position",
"scheme": "exact",
"validUntil": 1789411742,
"version": 1
},
"signature": "0x9ab410ebd9d5347372497142258195aea1f953544834a242536562121269a5da6bc58aaaa32150bc6ec94ddcfa1e7bd7f27f0d2b487640dfc497a58c6987d6c31b"
}
]
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"offers": {
"items": {
"properties": {
"acceptIndex": {
"type": "integer"
},
"format": {
"type": "string"
},
"payload": {
"properties": {
"amount": {
"type": "string"
},
"asset": {
"type": "string"
},
"network": {
"type": "string"
},
"payTo": {
"type": "string"
},
"resourceUrl": {
"type": "string"
},
"scheme": {
"type": "string"
},
"validUntil": {
"type": "integer"
},
"version": {
"type": "integer"
}
},
"required": [
"version",
"resourceUrl",
"scheme",
"network",
"asset",
"payTo",
"amount"
],
"type": "object"
},
"signature": {
"type": "string"
}
},
"required": [
"format",
"signature"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"offers"
],
"type": "object"
}
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}
}Use it
curl
curl "https://agents.samedaydesk.com/defi/morpho-position" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://agents.samedaydesk.com/defi/morpho-position");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://agents.samedaydesk.com/defi/morpho-position")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/1059.json, and this resource appears in /discovery/resources and /discovery/search.