API
Plain JSON over HTTPS, CORS open.
| Route | Returns |
|---|---|
GET /api/markets |
Every listed coin: token, symbol, poolId, fee, price in USD and HYPE, 24h volume, holders, 2% depth in HYPE and USD, caps (max leverage, max position, open interest cap). Also block, gas and HYPE/USD |
GET /api/status |
Elysium block, gas price in gwei, HYPE/USD from the HYPE/USDC pool |
GET /api/pool?id=0x… |
One pool's spot tick, liquidity and sqrt price |
GET /api/candles?token=0x…&interval=1m |
Recent closes of a coin |
GET /api/config |
Chain id, RPC and the contract addresses |
POST /api/mcp |
The MCP server |
/api/markets refreshes every 30 seconds. Prices there are spot prices from the pools; the contracts use the oracle described in Oracle.