HYPERBASIS DOCUMENTATION & USER GUIDE
Welcome to HyperBasis. This guide details our cryptographic identity model, tier architecture, terminal functions, and on-chain data methodologies.
1. IDENTITY & WALLET-BOUND ACCESS
HyperBasis operates on a Web3-native identity model. We do not use traditional email/password databases for access control.
- Your Wallet is Your Account: Your connected EVM wallet address serves as your unique user ID, billing identity, and API authentication root.
- Tier Binding: Whether you are a FREE or PRO user, your access tier is cryptographically bound to your specific wallet address.
- API Keys: API Keys generated in the Terminal are permanently tethered to the wallet address that generated them.
- Session Warning: If you disconnect and log in with a different wallet address, the system will recognize it as a new, default FREE account. Always ensure you are connected with the wallet holding your active PRO license.
2. SUBSCRIPTION TIERS
HyperBasis operates on a multi-dimensional value ladder designed for quant desks, hedge funds, and autonomous execution systems.
| Dimension | RESEARCH (FREE) | PROFESSIONAL (PRO) | ENTERPRISE |
|---|---|---|---|
| Pricing | $0 / month | $29 / month (Early Access, Std $99) | Custom / Annual |
| 1. Historical Depth | 90-Day History | 2-Year Minute-Resolution | Full History + Intraday 1-Min |
| 2. Terminal Coverage | Core 5 Pages (XARB, WMAP, ASP, LARG, PORT) | Full 16 Terminal Functions (MREV, OVNT, BQ, RISK, etc.) | All 16 Functions + Custom Data Exports (CSV/JSON) |
| 3. Latency & Refresh Loop | 5-Minute Delayed | 90-Second Real-Time Loop | Sub-Second WebSocket & Webhooks |
| 4. Quote Fidelity | Standard Delayed Source | Finnhub Real-Time Integration | Premium Feeds (Twelve Data / Polygon) |
| 5. API Throughput | 100 requests / day (Testing only) | 10,000 requests / day | Unlimited + Dedicated API Keys |
| 6. SLA & Compliance | Community Support | 1-2 Minute Staleness Guard | 99.9% SLA + Data License (DLA) |
*Note: PRO tier is currently offered at an Early Access price of $29/mo (Standard price $99/mo). Upgrades are authenticated and settled on-chain via USDC.
3. THE GLOBAL COMMAND BAR
The Terminal is navigated via the Global Command Bar located at the top of the screen. Type the function code followed by the asset ticker (if applicable) and press <ENTER> or click <GO>.
4. TERMINAL FUNCTIONS & DATA ANALYSIS
📊 MARKETS (Market Intelligence)
The core leaderboard scanning all 98 RWA assets for statistical arbitrage. Features 5 distinct views: Actionable (high confidence, clear risk flags), Universe (all assets), Micro (small-cap RWAs), Stale (data latency detected), and Warning (high risk flags).
A macro-level treemap of the RWA ecosystem. Block size represents 24h trading volume; block color represents real-time Deviation % (red = HL premium, green = HL discount).
The deep-dive dossier for a single asset (e.g., ASP TSLA <GO>). Displays real-time price spread, funding APR, risk flags, L2 orderbook depth, and the Slippage Matrix (expected slippage for $10k to $500k orders).
The whale radar. Tracks real-time inventory changes and position sizing across our monitored pool of 282 known institutional/whale wallet addresses on Hyperliquid.
Your customizable watchlist. Pin your highest-conviction assets here for a unified, high-density monitoring grid.
📈 QUANT (Quantitative Tools)
Scans for assets exhibiting abnormal volatility. Utilizes rolling Z-scores and Bollinger Bands to flag spreads that are statistically likely to revert to their historical moving average.
Specifically monitors pricing gaps between US equity market closes and the 24/7 Hyperliquid session. Flags instances where on-chain perps are mispricing overnight news or low-liquidity drifts.
Run historical simulations using our 2-year minute-resolution database. Outputs Sharpe Ratio, Max Drawdown, and Win Rate for basis and mean-reversion strategies.
Deep percentile rankings. View where an asset's current funding rate or deviation sits relative to its 30-day, 90-day, and 1-year historical distributions.
Tracks macro events (CPI, FOMC, Non-Farm Payrolls) and overlays them with historical RWA volatility profiles to anticipate liquidity shocks.
🔧 DATA & SYSTEM (Infrastructure)
External routing to the Swagger API documentation (/docs) for developers integrating our REST and WebSocket feeds.
Raw orderbook analytics. Displays Orderbook Toxicity (VPIN), bid/ask imbalance ratios, and real-time L2 liquidity depth to gauge execution risk.
The algorithmic "kill switch" matrix. Outputs boolean (True/False) flags: is_oracle_stale, is_market_halted, is_corporate_action_pending.
Internal telemetry. Shows real-time data coverage rates, API latency, and flags any stale data sources.
System health dashboard. Displays GCP node status, database query latency, and background daemon health.
Manage your PRO subscription, view API usage quotas, generate/revoke API keys, and access your USDC billing history.
5. UPGRADING & PAYMENT PROTOCOL
HyperBasis accepts payments natively in USDC. Your PRO license is activated upon on-chain confirmation.
- Connect Wallet: Ensure your target EVM wallet is connected.
- Navigate: Go to
[BILL] <GO>or the Pricing page and select PRO ($29/mo Early Access). -
Transfer: The system will display our Treasury Wallet Address. Send the exact USDC amount via the supported network (Arbitrum One / Base / Ethereum).
Warning: Sending funds via an unsupported network will result in permanently lost funds. Always verify the network before confirming the transaction in your wallet.
- Activation: Once the transaction is confirmed on-chain (1-3 mins), our automated ledger detects the payment from your wallet and instantly upgrades your Terminal and API keys.
6. WHITE-GLOVE SUPPORT & RECONCILIATION
While our on-chain payment detection is highly reliable, edge cases (network congestion, RPC delays) can occasionally delay automated PRO activation.
Do not panic. Your funds are safe, and your license is pending manual reconciliation.
- Direct Action: Send an email immediately to our operations lead.
- Required Info: Include your Wallet Address and the Transaction Hash (TXID).
- Resolution: Joseph, our lead infrastructure operator, will personally verify the transaction on the block explorer and manually whitelist your wallet address in the core database to activate your PRO tier.
7. API USER GUIDE
The complete developer reference: authentication, tiers, every endpoint, webhooks, error codes and code examples. All data is served from HyperBasis infrastructure — your requests never touch third-party quote APIs directly.
7.1 Base URL & Authentication
Base URL: https://frontend-theta-smoky-58.vercel.app/api/v1/...
Every API key is bound to your wallet. Get yours on the Get API Key page (connect MetaMask / Rabby / Coinbase / Phantom, sign one message). Authenticate with the X-API-Key header:
curl -H "X-API-Key: hb_live_..." \ https://frontend-theta-smoky-58.vercel.app/api/v1/deviation
7.2 Tiers
| Feature | FREE | PRO | ENTERPRISE |
|---|---|---|---|
| History window | 90 days | 2 years | 2 years |
| Realtime deviation | 5-min delayed | 90-second cycle | sub-second (WebSocket) |
| Daily API calls | 100/day | 10,000/day | unlimited |
| Per-minute calls | 10/min | 1,000/min | custom |
| Webhooks | — | ✓ | ✓ + SLA |
7.3 Market Data Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/deviation | Latest deviation for all assets with is_stale/last_quote_at. |
| POST | /api/v1/deviation/batch | Up to 50 assets in ONE call: {"assets":["TSLA","NVDA","GOLD"]}. Counts as 1 call. |
| GET | /api/v1/yield | Arbitrage yield per asset (funding + deviation − friction). |
| GET | /api/v1/leaderboard | Signal leaderboard; view=actionable|all|micro|stale|warnings. |
| GET | /api/v1/microstructure?asset= | Orderbook toxicity & microstructure snapshot. |
| GET | /api/v1/risk_flags/{asset} | Market-halted / oracle-stale / corporate-action flags. |
| GET | /api/v1/deviation/history | Historical series; interval=1h|1m (1m costs credits); window capped by tier. |
| GET | /api/v1/assets | Full asset universe metadata (98 instruments). |
| GET | /api/v1/borrow-costs | Borrow cost per asset. |
| GET | /api/v1/macro-events | Macro calendar events. |
7.4 Funding, OI, Capacity & Export
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/oi-funding/history | Open interest + funding history. |
| GET | /api/v1/capacity/history | Capacity/depth history. |
| GET | /api/v1/export/deviation.csv | CSV export of deviation history. |
7.5 Whale & Liquidation Intelligence
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/whale/positions | Positions of the tracked whale pool (282 addresses). |
| GET | /api/v1/whale/addresses | Tracked whale addresses. |
| GET | /api/v1/whale/flows | Whale flow events. |
| GET | /api/v1/liquidation/map?asset= | Liquidation price map per asset. |
| GET | /api/v1/liquidation/vulnerability?asset= | Liq vulnerability score 0-100. |
| GET | /api/v1/gap-risk?asset=&test_mode=true | Weekend/close gap risk index. |
7.6 Signals, Analytics & Backtest
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/alerts/extreme | Extreme 90d-percentile alerts (drives webhooks). |
| GET | /api/v1/backtest | Mean-reversion backtest with equity curve. |
| GET | /api/v1/analytics/correlation | Cross-asset deviation correlation matrix (~50s). |
| GET | /api/v1/analytics/regime | Market regime detection (~60s). |
7.7 Webhooks (HMAC-signed)
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/v1/webhooks | Register {"url":"https://…","events":["extreme"]}; returns HMAC secret (shown once). |
| GET | /api/v1/webhooks | List your webhooks. |
| DELETE | /api/v1/webhooks/{id} | Delete. |
Delivery carries X-HyperBasis-Signature: sha256=<HMAC-SHA256(secret, body)> and X-HyperBasis-Event. Always verify the signature before trusting the payload (max 1 delivery per webhook per 5 min).
7.8 WebSocket & Credits
wss://frontend-theta-smoky-58.vercel.app/ws/v1/stream?api_key=hb_live_...&assets=TSLA # 10 credits/hour - requires credits balance (buy with USDC on the API Credit page)
- Credits balance: GET /api/v1/credits/balance
- Credit usage: GET /api/v1/credits/usage
- Buy credits: API Credit page (10 USDC = 1,000; 50 = 5,000; 100 = 10,000)
7.9 Data Quality Flags & Response Meta
Every pricing response includes is_stale (true when the TradFi quote is older than 90 seconds) and last_quote_at (ISO-8601 UTC). Every response carries X-RateLimit-* headers and, for object responses, a _meta block (tier, generated_at).
7.10 Error Codes
| Code | Meaning |
|---|---|
| 401 | Missing or invalid API key / wallet token. |
| 402 | Insufficient credits for a paid endpoint. |
| 403 | Key inactive or CORS origin rejected. |
| 422 | Missing/invalid parameters. |
| 429 | Rate limit exceeded (FREE 100/day, PRO 10,000/day) — upgrade to PRO. |
7.11 Quick Start Examples
# batch deviation (1 call)
curl -X POST -H "X-API-Key: hb_live_..." -H "Content-Type: application/json" \
-d '{"assets":["TSLA","NVDA","GOLD"]}' \
https://frontend-theta-smoky-58.vercel.app/api/v1/deviation/batch
# actionable signals
curl -H "X-API-Key: hb_live_..." \
"https://frontend-theta-smoky-58.vercel.app/api/v1/leaderboard?view=actionable"
# register a webhook (save the secret!)
curl -X POST -H "X-API-Key: hb_live_..." -H "Content-Type: application/json" \
-d '{"url":"https://your-server/wh","events":["extreme"]}' \
https://frontend-theta-smoky-58.vercel.app/api/v1/webhooks
# verify a delivery (Python)
import hmac, hashlib
expected = "sha256=" + hmac.new(secret.encode(), body, hashlib.sha256).hexdigest()
assert request.headers["X-HyperBasis-Signature"] == expected
Honest limitations: zero-volume HL assets (ALUMINIUM, VIX, DXY…) have no funding history; some assets have no TradFi quote (is_stale stays true); same-day US equity minute bars lag one trading day on the free data plan.