Tokos Rates

Builders: API, MCP, SDK

Keyless reads and calldata.

Public API

JSON, CORS open, no key. Rates per hour in two forms: the decimal string Hyperliquid published and an integer scaled 10^18 (*Wad). USDC in base units.

GET /api/markets                     every market: live funding, last print, averages, anchor, 7D/30D quotes, index and pool once deployed
GET /api/funding?coin=HYPE&hours=168  settled prints, with the posted value and a match flag once deployed
GET /api/quote?coin=BTC&side=short&notional=5000&tenor=7d   fixed rate, fee, margins, example hour
GET /api/keeper                       posted hour vs Hyperliquid's latest, per feed

MCP server

Keyless, Streamable HTTP at /mcp. Tools: markets, funding, quote_open, position, pool, keeper_status, open_calldata, close_calldata, deposit_calldata. It returns reads and calldata. It holds no key and never signs.

claude mcp add --transport http tokos <this site>/mcp

SDK

One ES module served by the site, no dependencies: /sdk/tokos.js.

import * as T from "<this site>/sdk/tokos.js"
const m = await T.markets()
const q = await T.quote({ coin: "HYPE", side: "long", notional: 1000, tenor: "30d" })
const steps = await T.openCalldata({ coin: "HYPE", side: "long", notional: "1000", tenor: "30d" })
// send steps[0] (USDC approve) and steps[1] (open) with your own wallet

skill.md

/skill.md is one file an agent reads to use Tokos: the mechanism, the rules and every endpoint.