SBOR

v1.4.1
xyz.sbor/sbor Checked 20 hours ago Published 15 days ago

Check a lending rate before your agent borrows.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_rate Get the current SBOR fixing

SBOR's benchmark borrow and supply rates, read from lending contract state: BTC-COLLATERAL-USD, what it costs to borrow dollars against bitcoin, with a rate per stablecoin (from 14 October 2026), and the currency indices for lending on Stacks. Use this to judge whether a lending offer is good: borrowing above the SBOR borrow rate means paying more than the market, supplying below the supply rate means earning less. Returns every currency index unless one is named, with the compounded 30, 90 and 180-day averages once each window is full. Always read the freshness line first. A fixing withdrawn…

ParameterTypeDescription
indexstringBTC-COLLATERAL-USD for borrowing any dollar stablecoin against bitcoin, BTC-COLLATERAL-<stablecoin> for one stablecoin, or a Stacks currency index. Omit for all of them.

compare_rate Compare a rate against the SBOR benchmark

Given a rate you have been offered, say whether it is above or below the market for that currency, and by how much. This is the main reason SBOR exists. Recommended use: if a borrow offer is more than 50 basis points above the benchmark, stop and ask a human. Use SBOR to stop, never to start. For a dollar loan against bitcoin, compare with that stablecoin's rate (for example BTC-COLLATERAL-USDC) where one is published, else with BTC-COLLATERAL-USD; for lending on Stacks against other collateral, with the index for the currency. This tool refuses rather than guesses: an error result means there…

ParameterTypeDescription
index *stringWhich benchmark: BTC-COLLATERAL-USD or BTC-COLLATERAL-<stablecoin> for borrowing dollars against bitcoin, or a Stacks currency index.
rate *numberThe rate offered, as a percentage from 0 to 100. 4.2 means 4.2%, not 0.042.
side *stringWhether you would be borrowing or supplying.

list_markets List the lending markets behind a rate

Every venue and asset in an index, with its borrow rate, supply rate, utilization, depth and weight. Utilization explains why a rate sits where it does.

ParameterTypeDescription
indexstringBTC-COLLATERAL-USD, BTC-COLLATERAL-<stablecoin>, or a Stacks currency index. Omit for the Stacks indices.

get_history Get the SBOR history

Daily fixings since each rate began. Use this to see whether a rate is unusual, or how the cost of capital has moved. Means are given per methodology version, never across a change in how the number is built.

ParameterTypeDescription
index *stringA Stacks currency index, BTC-COLLATERAL-USD (from 14 October 2026), or BTC-COLLATERAL-<stablecoin>.
daysintegerHow many days back, up to 200. Default 30.

compare_chains Compare Stacks rates against the same markets on other chains

The same asset classes on the largest lending markets on Ethereum, Base, Hyperliquid and Solana, plus SOFR, the US repo rate, and what it costs to borrow dollars against bitcoin. Context only: none of these is ever a constituent of an SBOR index. Every rate is read from the venues' contracts (Aave on Ethereum and Base, HyperLend on Hyperliquid, Kamino on Solana, Morpho for the bitcoin-collateral markets); DefiLlama picks the largest market per chain, gives its size, and stands in only if a read fails.

ParameterTypeDescription
indexstringOnly markets comparable to this index. Omit for all.

get_methodology How SBOR is calculated

The full methodology and integration policy: how the fixing is built, what is excluded and why, and what SBOR will and will not do. Read this before quoting a rate in anything that matters.