{"uid":"cap_6OZc0A7EY11AQKGK24hcE","slug":"samedaydesk-morpho-protection-quote-1f540233","name":"SameDayDesk Morpho Protection Quote","description":"Deterministic agent APIs for web and company intelligence, repository security, agent-work economics, machine-service discoverability, payment preflight and settlement proof, wallet context, and Morpho decision evidence. Pay per call through Base x402 or native MPP, with a Circle Gateway Nanopayments path for gasless batched USDC.","url":"https://agents.samedaydesk.com/defi/morpho-protection","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Borrower EVM address on Base mainnet."},"executionBufferBps":{"type":"integer","default":25,"maximum":500,"minimum":0},"targetHealthFactor":{"type":"number","default":1.25,"maximum":5,"exclusiveMinimum":1},"protectAgainstShockPct":{"type":"number","default":-10,"maximum":0,"minimum":-99}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","product","address","inputs","positionCount","actionableCount","unverifiedCount","quotes","invariants","boundary"],"properties":{"ok":{"type":"boolean"},"inputs":{"type":"object"},"quotes":{"type":"array"},"address":{"type":"string"},"product":{"type":"string","const":"morpho-protection-quote"},"boundary":{"type":"string"},"invariants":{"type":"object"},"positionCount":{"type":"integer"},"actionableCount":{"type":"integer"},"unverifiedCount":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"inputs":{"executionBufferBps":25,"targetHealthFactor":1.25,"protectAgainstShockPct":-10},"quotes":[{"plans":[{"id":"partial_repay","amount":"125.4","transactions":[{"to":"0x...","data":"0x...","value":"0"}]}],"status":"protection_available"}],"address":"0x4352Cc849b33a936Ad93bB109aFDec1c89653b4f","product":"morpho-protection-quote","boundary":"Unsigned planning output only; re-verify state and simulate before execution.","invariants":{"custody":"none","signing":"none","broadcasting":"none"},"positionCount":1,"actionableCount":1,"unverifiedCount":0}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_38_-C3wgpZp8A4pmR-1sr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns deterministic protection plan quotes for Morpho lending positions, including partial repay transactions and health factor analysis, without signing or broadcasting anything.","exampleAgentPrompt":"Check my Morpho lending position at 0x4352Cc849b33a936Ad93bB109aFDec1c89653b4f and generate a protection quote targeting a health factor of 1.25, with a 25 bps execution buffer and protection against a 10% price shock — I want to see the unsigned repay transactions before I do anything.","exampleUseCases":[{"title":"Pre-liquidation repayment planning","prompt":"My wallet 0x4352Cc849b33a936Ad93bB109aFDec1c89653b4f has Morpho borrows and I'm worried about a market dip — can you get me an unsigned protection plan that targets a health factor of 1.25 and guards against a 10% price drop, with a 25 bps buffer?"},{"title":"Proactive health factor monitoring","prompt":"Before my DeFi agent executes anything, pull a Morpho protection quote for my address 0x4352Cc849b33a936Ad93bB109aFDec1c89653b4f with a target health factor of 1.5 and 30 bps buffer so I can review how many positions are at risk and what partial repay amounts are needed."},{"title":"Risk assessment before market volatility","prompt":"I think the market might drop 15% this week — run a Morpho protection simulation for 0x4352Cc849b33a936Ad93bB109aFDec1c89653b4f assuming a -15% shock, target health factor 1.3, and 20 bps execution buffer, and tell me which positions are actionable and what I'd need to repay."}],"resultDescription":"A JSON object containing the wallet address, product identifier, and an array of protection quotes. Each quote lists available protection plans (e.g. partial_repay) with specific repay amounts and unsigned raw transactions (to, data, value). Also includes position counts (total, actionable, unverified), input parameters echoed back, and a boundary disclaimer confirming no custody, signing, or broadcasting occurs.","failureModes":["Invalid or missing wallet address returns an error with no quotes","No actionable positions returns an empty quotes array with status indicating no protection needed","Network or RPC issues may cause stale on-chain state reads","Positions in unverified state are flagged but not included in actionable plans","Malformed execution buffer or health factor parameters may return a validation error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to plan Morpho lending position protection without executing anything — it produces unsigned, simulation-only repayment transactions safe for human review. Prefer this over generic DeFi aggregators when specifically working with Morpho Protocol positions and needing deterministic, parameterized health factor targeting with shock scenario modeling.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:46:19.715Z","isFirstParty":false}