Credit market quote (Morpho Midnight)
credit_market_quoteOne fixed-rate credit market (Morpho Midnight): what a lender and a borrower would get now at 1k, 10k and 100k and for the whole posted side, each quote with its state (live, expired when its offer passed its validity or left the book, stale, insufficient_liquidity, no_offers, not_asked), APR and period return, available amount, offers and shared budgets; both sides’ price levels; collateral, LLTV, oracle, gates and fees. Read-only: nothing is taken or signed. FREE.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>",
"marketId": "<marketId>"
},
"name": "credit_market_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | ethereum | base | robinhood | tempo | arc | arbitrum. | |
| marketId | Yes | The 32-byte 0x market id, as credit_markets lists it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | When Morpho’s API was read. | |
| meta | No | How current this answer is and what it was read from: `freshness` and the ages behind it. Present on every answer from this server, whatever the tool. | |
| says | Yes | One line on the market. | |
| means | Yes | How to read the quote states and posted amounts. | |
| limits | Yes | What the reading cannot see. | |
| market | Yes | Terms, collateral, positions where read, book levels as APR, lender and borrower quotes with their state now. | |
| warnings | No | Anything the server wants a caller to know about THIS answer before acting on it. Empty is the normal case and is not a guarantee. | |
| vaultAdapters | Yes | Morpho vault adapters lending in this market; empty where none. | |
| rateConvention | Yes | APR, not APY. |