SDK, API and MCP.
Everything below is served by this site and needs no key.
Public API
| Route | Returns |
|---|---|
/api/rates | per term: the last clearing rate, the history, tonight's indicative rate |
/api/auctions?term=30d | tonight's aggregated book, the close, the maturity, the rate it would clear at now |
/api/feed | the HyperCore mid, the Elysium pool, the guarded feed and its rules |
/api/depth | the pool's room to the liquidation floor, the Hyperliquid bids above it, the largest loan, the desk cap, the debt open, the room left in each of tonight's auctions |
/api/quote?amount=1000&term=30d&rate=6 | collateral needed, fee, owed at the maximum rate, liquidation price, and the depth limit for that bid; side=lend for notes at a given rate |
/api/loan?term=30d&id=12 | one loan: debt, collateral, value, loan-to-value, liquidatable |
/api/state | everything above in one read |
SDK
import * as Ceos from "https://<this site>/sdk/ceos.js"
await Ceos.rates() // clearing rates per term
await Ceos.auction("30d") // tonight's book
await Ceos.depth() // tonight's depth limits
await Ceos.quoteBorrow({ amount: 1000, term: "30d", maxRate: 6 }) // q.depth.fits
await Ceos.bidWithinDepth({ market, term: "30d", amount: 1000, maxRate: 6, hype: 40 }) // { to, data, value }
Ceos.clear(offers, bids) // the clearing rule, locallyMCP server
Streamable HTTP at /mcp, JSON responses, no key. Tools: rates, auction, feed, depth, quote_borrow, quote_lend, loan, offer_calldata, bid_calldata, repay_calldata, redeem_calldata, clear. It never signs: calldata comes back for the agent's own wallet.
claude mcp add --transport http ceos https://<this site>/mcpskill.md
/skill.md is one file an agent reads to use Céos end to end.
Run your own keeper or guardian
curl -sO https://<this site>/guard/ceos-guardian.mjs
node ceos-guardian.mjs # read-only check of the pending price
node ceos-guardian.mjs --loop # every 15 seconds