{"uid":"cap_oyZB1Xn317AzYHWEXtOof","slug":"ozmium-morpho-blue-borrow-352d0d2c","name":"Ozmium Morpho Blue Borrow","description":"Morpho Blue borrow calldata (draw the loan asset against posted collateral) with verified MarketParams. POST /v1/tx/loan/borrow { marketId, assets (atomic), owner }.","url":"https://ozmium.org/v1/tx/loan/borrow","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"owner":{"type":"string"},"assets":{"type":"string"},"marketId":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3glzoNYJWhPFwzvLrZqns","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates verified Morpho Blue borrow calldata to draw loan assets against posted collateral for a given market","exampleAgentPrompt":"Generate Morpho Blue borrow calldata to draw 500000000 units (atomic) of the loan asset from market 0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc9b9b96f9f69989...3 for my wallet 0xAbC...123.","exampleUseCases":null,"resultDescription":"Returns verified Morpho Blue borrow calldata (unsigned transaction data) with confirmed MarketParams, ready to be signed and submitted on-chain to draw the requested loan asset amount against the caller's posted collateral.","failureModes":["Invalid or unknown marketId returns error with message about unresolvable market","Insufficient posted collateral for the requested borrow amount causes simulation failure","Malformed owner address (not a valid EVM address) returns validation error","assets value of zero or negative rejected with validation error","Payment of 0.02 USDC not included causes 402 response before processing"],"whenToPreferThis":"Use this endpoint when you need to programmatically generate Morpho Blue borrow transaction calldata on Base mainnet with verified MarketParams; prefer over manual ABI encoding when you want the market parameters auto-fetched and re-derived by marketId, reducing the risk of incorrect params.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:35:03.023Z","isFirstParty":false}