API, MCP, SDK

Everything below is public, needs no key, and is served from this site.

JSON API

EndpointReturns
GET /api/feedsDefault feeds: values, raw bytes, HyperEVM, HyperCore and Elysium blocks, mode (live or preview)
GET /api/read?key=oraclePx&args=0One live read; also id=0x807
GET /api/precompilesThe twenty reads with inputs, outputs and addresses
GET /api/quote?items=4Cost of one canonical update in HYPE at live base fees
GET /api/wishlistProposals
GET /api/statusBlocks and gas on both chains
curl -s https://<this-site>/api/read?key=oraclePx\&args=0

MCP endpoint

POST /api/mcp speaks JSON-RPC (MCP streamable HTTP, stateless). Tools: list_precompiles, read_precompile, get_feeds, quote_update, generate_interface.

curl -s -X POST https://<this-site>/api/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"read_precompile","arguments":{"key":"bbo","args":["0"]}}}'

SDK

One ES module with no dependencies at /sdk/protos.js. It encodes inputs, calls HyperEVM or an Elysium soft precompile with eth_call, decodes outputs and checks freshness.

curl -sO https://<this-site>/sdk/protos.js

import { Protos } from "./protos.js";
const p = new Protos();                       // HyperEVM source by default
const px = await p.read("oraclePx", [0]);     // { value: 589769n, block: ... }
const bbo = await p.read("bbo", [0]);

skill.md

Agents can load /skill.md: what Protos is, the endpoints, the MCP tools and the encodings, in one file. /llms.txt lists the pages.