{
  "openapi": "3.1.0",
  "info": {
    "title": "CryptoPulse API",
    "description": "Global cryptocurrency intelligence API. 10 endpoints: DeFi yield farming across Ethereum/Base/Arbitrum/Solana (DeFiLlama live TVL + APY), personalized strategy builder, crypto security framework (with Ledger/Trezor hardware wallet links), threat intelligence, exchange comparison (with Coinbase/Gemini/Kraken/Binance exchange affiliate links, experience-aware), crypto tax guidance for 20+ countries (with Koinly/CoinLedger tax software links), beginner onboarding (exchange links), spending guide, crypto-friendly banking, and merchant payment setup. Powered by CoinGecko, DeFiLlama, Fear & Greed Index, and Tavily. All require x402 micropayment (USDC on Base). Hyperliquid product line (2026-10-20): trader-record, top-traders, vault-screener, builder-stats, monday-open-signal, oi-caps, new-listings, sports-odds, liquidation-watch, hl-alerts.",
    "version": "1.2.0",
    "contact": {
      "name": "The Aslan Group LLC",
      "url": "https://pulsenetwork.theaslangroupllc.com",
      "email": "info@theaslangroupllc.com"
    },
    "x-guidance": "# CryptoPulse API (x402 pay-per-call)\n\nReal-time cryptocurrency intelligence API. Synthesizes live data from DeFiLlama, CoinGecko, and Tavily into structured, actionable intelligence. 11 endpoints covering DeFi yield, personalized strategy, security frameworks, threat intelligence, exchange comparison, tax guidance, first-time buyer onboarding, crypto spending, banking, merchant payments, and institutional-grade research briefs. Pay-per-query via x402 micropayments on Base.\n\nBase URL: https://cryptopulse.theaslangroupllc.com\n\n## Payment\nAll paid endpoints use the x402 protocol (HTTP 402): USDC on Base mainnet (eip155:8453). No API keys, no accounts, no subscriptions — pay per call.\n\n## Agent workflow\n1. Request the endpoint. Unpaid requests receive a 402 challenge with exact price and pay-to details (the challenge is returned before request validation).\n2. Settle with any x402 client (agentcash fetch, x402-fetch, x402-axios) and retry with the X-PAYMENT header.\n3. Responses are JSON. Prices below are fixed per call.\n\n## Paid endpoints\n- GET /api/strategy — $0.2 — Personalized DeFi strategy builder. Custom allocation plan with agent-executable entry/exit paths, chain routing by capital size, and Berachain PoL integration \n- GET /api/security — $0.1 — Crypto security framework. Hardware wallet selection, seed phrase storage standards, multi-sig setup, smart contract approval hygiene. Graded assessment of curr\n- GET /api/threats — $0.1 — Live crypto threat intelligence. Current attack vectors, scam patterns, and defense playbook for phishing, wallet drainers, SIM swap, rug pulls, and flash loan \n- GET /api/exchange — $0.1 — Exchange comparison by country and priority. Full fee table, security records, regulatory status, fiat on-ramp options. Coinbase, Kraken, Binance, Gemini, OKX, \n- GET /api/tax — $0.2 — Jurisdiction-specific crypto tax guidance for US, UK, Canada, Australia, Germany, Portugal, UAE. Covers taxable events, loss harvesting, cost basis methods, DeF\n- GET /api/onboard — $0.1 — First-time crypto buyer guide. Exchange selection, KYC walkthrough, first purchase steps, wallet setup, DCA plan, and red flags to avoid. Country-specific recom\n- GET /api/spend — $0.1 — Crypto spending guide. Best crypto debit cards (Coinbase Card, Crypto.com Visa, Strike, BitPay), merchant acceptance, Bitrefill gift cards, bill pay options by \n- GET /api/banking — $0.1 — Crypto-friendly banking guide. Banks/neobanks with high crypto tolerance (Mercury, Revolut, Kraken), de-banking risk assessment, and on/off ramp alternatives by\n- GET /api/merchant — $0.1 — Merchant crypto payment setup. Compare BTCPay Server, Coinbase Commerce, NOWPayments, Strike, OpenNode by business type. Includes settlement strategy and tax ob\n- GET /api/research-brief — $0.5 — Institutional-grade, decision-ready crypto market brief — spot, derivatives (funding, options skew, DVOL), on-chain flows, regional premiums and macro-event odd\n- GET /api/options-greeks — $0.02 — Options pricing + greeks calculator, deterministic — Black-Scholes (spot) or Black-76 (forward, the crypto-venue convention). Buyer supplies the inputs; returns\n- GET /api/funding-check — $0.02 — Perp funding-rate check, deterministic — hourly/8h-equivalent/annualized funding, direction, open interest, mark price for one coin or top markets, plus predict\n- GET /api/funding-arb-scan — $0.05 — Cross-venue funding-arbitrage scan, deterministic — every liquid Hyperliquid perp ranked by widest venue funding spread (rates normalized by each venue's paymen\n- GET /api/volatility-check — $0.02 — Perp volatility check, deterministic — annualized realized vol, NATR, Bollinger(20,2) width/%B, window high/low, from keyless Hyperliquid candles over a chosen \n- GET /api/funding-history — $0.05 — Perp funding-rate history, lookahead-safe — hourly Hyperliquid funding for up to 90 days/call (year+ reachable via end anchor), each row with available_at = set\n- GET /api/dydx-history — $0.02 — dYdX v4 chain-state history — block-stamped hourly OI (units + USD via archived oracle price) and funding-index deltas from the open dydx-archive; history_since\n- GET /api/equity-marks — $0.03 — 24/7 stock, commodity, FX and index marks from Hyperliquid HIP-3 perps — TSLA on a Sunday, weekend gold, pre-IPO SPCX. Mark/oracle price, 24h change, funding, o\n- GET /api/hip3-markets — $0.02 — Live catalog of every Hyperliquid HIP-3 builder-deployed perp dex: deployer, status, market count, total OI, top markets with mark/funding/24h change. Enumerate\n- GET /api/event-odds — $0.03 — Real-money implied probabilities from Hyperliquid HIP-4 outcome markets — FOMC decision odds, World Cup winner. Yes-side mids per outcome + vig, with resolution\n- GET /api/mark-quality — $0.03 — Trust score for Hyperliquid HIP-3 perp prices: mark-vs-oracle divergence (bps) weighted by liquidity into a 0-100 quality score and clean/watch/elevated/high_ri\n- GET /api/lending-rates — $0.03 — Live rates for Hyperliquid's native on-chain borrow-lend market (read from the HyperCore reserve precompile): per reserve borrow/supply APR, utilization, LTV, t\n- GET /api/staking-intel — $0.03 — HYPE staking + validator intelligence: per validator stake, share, commission, active/jailed status, uptime proxy; plus stake-concentration summary. No LLM.\n- GET /api/whale-positions — $0.03 — Full perp positions for any Hyperliquid wallet (public on-chain state): coin, side, size, entry, notional, uPnL, leverage, liquidation price, plus net long/shor\n- GET /api/equity-positioning — $0.03 — Positioning/sentiment on stock perps — which side of TSLA, NVDA or gold is crowded, 24/7. Funding rates + open interest on equities exist nowhere else. Per mark\n\nMore APIs from this provider: https://pulsenetwork.theaslangroupllc.com (grouped catalog, all x402)."
  },
  "servers": [
    {
      "url": "https://cryptopulse.theaslangroupllc.com"
    }
  ],
  "paths": {
    "/api/strategy": {
      "get": {
        "summary": "Build a personalized DeFi strategy for goals and risk",
        "description": "Custom DeFi allocation plan with step-by-step entry paths for your capital, risk tolerance, and goals. Agent-executable output.",
        "operationId": "strategy",
        "parameters": [
          {
            "name": "capital",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "default": 10000
            },
            "description": "Capital in USD"
          },
          {
            "name": "risk",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "conservative",
                "moderate",
                "aggressive"
              ],
              "default": "moderate"
            },
            "description": "risk parameter"
          },
          {
            "name": "chain",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "all"
            },
            "description": "chain parameter"
          },
          {
            "name": "goal",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "yield",
                "growth",
                "stable",
                "privacy"
              ],
              "default": "yield"
            },
            "description": "goal parameter"
          },
          {
            "name": "timeframe",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 180
            },
            "description": "Investment timeframe in days"
          }
        ],
        "responses": {
          "200": {
            "description": "Personalized DeFi strategy with allocations and entry/exit paths"
          },
          "402": {
            "description": "Payment required."
          }
        },
        "x-agent-use-case": "on-demand",
        "x-price-usd": 0.2,
        "x-agent-chaining": "Follow with /api/yield for specific DeFi pools matching the recommended strategy",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.200000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/security": {
      "get": {
        "summary": "Scan token/address risk and harden self-custody setup",
        "description": "Live on-chain risk scan via GoPlus when a token or wallet address is provided: honeypot/rug/tax traps for tokens, sanctions/phishing/mixer screening for addresses, across 7 EVM chains. Plus hardware wallet selection, seed phrase storage, multi-sig setup, and smart contract approval hygiene tailored to holdings value.",
        "operationId": "security",
        "parameters": [
          {
            "name": "value_tier",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "small",
                "medium",
                "large",
                "institutional"
              ],
              "default": "medium"
            },
            "description": "Approximate holdings value tier used to calibrate custody recommendations"
          },
          {
            "name": "setup",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "exchange custody"
            },
            "description": "Current custody setup description"
          },
          {
            "name": "token",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Optional token contract address to risk-scan via GoPlus (honeypot, buy/sell tax, mint/rug traps)"
          },
          {
            "name": "address",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Optional wallet address to screen via GoPlus (sanctions, phishing, mixer, malicious activity)"
          },
          {
            "name": "chain",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "ethereum",
                "bsc",
                "base",
                "polygon",
                "arbitrum",
                "optimism",
                "avalanche"
              ],
              "default": "ethereum"
            },
            "description": "EVM chain for the token/address scan (default ethereum)"
          }
        ],
        "responses": {
          "200": {
            "description": "Security framework with prioritized action list; when token/address supplied, includes token_risk and address_risk GoPlus scan results"
          },
          "402": {
            "description": "Payment required."
          }
        },
        "x-agent-use-case": "on-demand",
        "x-price-usd": 0.1,
        "x-agent-chaining": "Response includes Ledger/Trezor hardware wallet links for self-custody",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.100000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/threats": {
      "get": {
        "summary": "Report current crypto threats and active scam patterns",
        "description": "Current attack vectors, scam patterns, and defense playbook for crypto holders. Includes phishing, drainers, SIM swap, rug pulls, and more.",
        "operationId": "threats",
        "parameters": [
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "all"
            },
            "description": "Threat category: phishing, drainer, sim_swap, rug_pull, flash_loan, or all"
          }
        ],
        "responses": {
          "200": {
            "description": "Threat intelligence with defenses and incident response"
          },
          "402": {
            "description": "Payment required."
          }
        },
        "x-agent-use-case": "scheduled",
        "x-price-usd": 0.1,
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.100000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/exchange": {
      "get": {
        "summary": "Compare crypto exchanges on fees, custody, jurisdiction",
        "description": "Compare crypto exchanges by country, priority, and experience level. Includes fees, security record, regulatory status, and fiat on-ramp options.",
        "operationId": "exchange",
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "US"
            },
            "description": "country parameter"
          },
          {
            "name": "priority",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "fees",
                "security",
                "altcoin_selection",
                "beginner_friendly",
                "derivatives",
                "fiat_ramp"
              ],
              "default": "security"
            },
            "description": "priority parameter"
          },
          {
            "name": "experience",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "beginner",
                "intermediate",
                "advanced"
              ],
              "default": "beginner"
            },
            "description": "experience parameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Exchange comparison with fee table and security recommendations"
          },
          "402": {
            "description": "Payment required."
          }
        },
        "x-agent-use-case": "on-demand",
        "x-price-usd": 0.1,
        "x-agent-chaining": "Response includes exchange affiliate links matched to experience level (beginner/trader)",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.100000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/tax": {
      "get": {
        "summary": "Explain crypto tax treatment for a given jurisdiction",
        "description": "Jurisdiction-specific tax obligations, optimization strategies (tax loss harvesting, cost basis methods), and reporting tool recommendations.",
        "operationId": "tax",
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "US"
            },
            "description": "country parameter"
          },
          {
            "name": "activities",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "hold,trade"
            },
            "description": "Comma-separated: hold, trade, defi, mining, staking, nft, business"
          },
          {
            "name": "tax_year",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Tax year e.g. 2026. Defaults to current year."
          }
        ],
        "responses": {
          "200": {
            "description": "Tax guidance with obligations, strategies, and tool recommendations"
          },
          "402": {
            "description": "Payment required."
          }
        },
        "x-agent-use-case": "on-demand",
        "x-price-usd": 0.2,
        "x-agent-chaining": "Response includes Koinly/CoinLedger tax software links; supports 20+ countries",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.200000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/onboard": {
      "get": {
        "summary": "Guide a first-time crypto buyer from zero to first hold",
        "description": "End-to-end guide for new crypto buyers: exchange selection, KYC walkthrough, first purchase, wallet setup, and DCA plan.",
        "operationId": "onboard",
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "US"
            },
            "description": "country parameter"
          },
          {
            "name": "goal",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "invest",
                "use daily",
                "learn",
                "business"
              ],
              "default": "invest"
            },
            "description": "goal parameter"
          },
          {
            "name": "experience",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "complete_beginner",
                "some_knowledge",
                "experienced"
              ],
              "default": "complete_beginner"
            },
            "description": "experience parameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Onboarding guide with exchange recommendation and DCA plan"
          },
          "402": {
            "description": "Payment required."
          }
        },
        "x-agent-use-case": "on-demand",
        "x-price-usd": 0.1,
        "x-agent-chaining": "Response includes Coinbase/Gemini/Kraken exchange links; follow with /api/security for self-custody setup",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.100000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/spend": {
      "get": {
        "summary": "Find where to spend crypto and how to pay with it",
        "description": "Best crypto debit cards, merchant acceptance, gift card platforms, and bill pay options by country.",
        "operationId": "spend",
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "US"
            },
            "description": "country parameter"
          },
          {
            "name": "use_case",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "daily spending"
            },
            "description": "use_case parameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Spending options with card comparison and tax implications"
          },
          "402": {
            "description": "Payment required."
          }
        },
        "x-agent-use-case": "on-demand",
        "x-price-usd": 0.1,
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.100000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/banking": {
      "get": {
        "summary": "Find crypto-friendly banks and fiat on/off ramps",
        "description": "Banks and neobanks with high crypto tolerance, de-banking risk assessment, and on/off ramp alternatives by country.",
        "operationId": "banking",
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "US"
            },
            "description": "country parameter"
          },
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "personal",
                "business",
                "crypto-heavy",
                "casual"
              ],
              "default": "personal"
            },
            "description": "profile parameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Banking recommendations with de-banking risk and on-ramp options"
          },
          "402": {
            "description": "Payment required."
          }
        },
        "x-agent-use-case": "on-demand",
        "x-price-usd": 0.1,
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.100000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/merchant": {
      "get": {
        "summary": "Set up crypto payment acceptance for a merchant",
        "description": "Compare crypto payment processors for your business type: BTCPay Server, Coinbase Commerce, NOWPayments, Strike, and more.",
        "operationId": "merchant",
        "parameters": [
          {
            "name": "business_type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "ecommerce"
            },
            "description": "business_type parameter"
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "US"
            },
            "description": "country parameter"
          },
          {
            "name": "integration",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "ecommerce",
                "physical_pos",
                "freelance",
                "api"
              ],
              "default": "ecommerce"
            },
            "description": "integration parameter"
          }
        ],
        "responses": {
          "200": {
            "description": "Processor comparison with setup guide and settlement strategy"
          },
          "402": {
            "description": "Payment required."
          }
        },
        "x-agent-use-case": "on-demand",
        "x-price-usd": 0.1,
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.100000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/research-brief": {
      "get": {
        "summary": "Deliver an institutional crypto brief: spot, derivs, flows",
        "description": "Premium multi-source crypto market intelligence brief for advisor/trading agents. Returns regime, key levels, catalysts, derivatives positioning, on-chain flows, risks and opportunities as structured JSON.",
        "x-agent-use-case": "on-demand",
        "parameters": [
          {
            "name": "assets",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "BTC,ETH"
            },
            "description": "Comma-separated focus assets"
          },
          {
            "name": "horizon",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "intraday",
                "1week",
                "1month"
              ],
              "example": "1week"
            },
            "description": "Analysis horizon"
          },
          {
            "name": "focus",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "spot",
                "derivatives",
                "onchain",
                "macro"
              ],
              "example": "all"
            },
            "description": "Lens to emphasize"
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Response language code"
          }
        ],
        "responses": {
          "200": {
            "description": "Decision-ready research brief (JSON)."
          },
          "402": {
            "description": "Payment required — x402 USDC ($0.50)."
          }
        },
        "x-price-usd": 0.5,
        "operationId": "researchBrief",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.500000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/research-snapshot": {
      "get": {
        "summary": "Deterministic data-only crypto snapshot (price/market-structure/sentiment) — $0.25 preview of research-brief",
        "description": "Deterministic, data-only crypto snapshot: BTC/ETH price, 24h change, market cap, BTC dominance, total market cap, and Fear & Greed sentiment. No LLM, no narrative — a $0.25 preview tier for agents with small per-call spend caps. Includes an upsell pointer to the $0.50 /api/research-brief for regime calls, catalysts, derivatives (funding/DVOL/skew), on-chain flows and macro-event odds.",
        "operationId": "researchSnapshot",
        "x-agent-use-case": "component",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Data-only market snapshot (JSON) + upsell pointer to research-brief."
          },
          "402": {
            "description": "Payment required — x402 USDC ($0.25)."
          },
          "502": {
            "description": "Upstream (CoinGecko / Fear & Greed) unavailable — transport failure, not a data statement."
          }
        },
        "x-price-usd": 0.25,
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.250000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/options-greeks": {
      "get": {
        "summary": "Options pricing + greeks calculator (Black-Scholes / Black-76) — deterministic",
        "description": "Pure-math options primitive: the buyer supplies spot (Black-Scholes) or forward (Black-76 — the crypto-venue convention), strike, expiry (ISO date or years), and either iv (annualized vol) or price. Returns option price, delta, gamma, vega (incl. per-vol-point), theta (per year and per calendar day), rho, d1/d2, intrinsic and time value, and breakeven — or, given price, the implied volatility solved deterministically with greeks at that vol. Normal CDF accurate to ~1e-15 (golden-tested). No data source, no LLM, no key: the buyer brings the market data, we sell the computation.",
        "operationId": "optionsGreeks",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "call",
                "put"
              ]
            },
            "description": "Option type"
          },
          {
            "name": "spot",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "Spot price — Black-Scholes mode (provide spot OR forward)"
          },
          {
            "name": "forward",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "Forward/futures price — Black-76 mode"
          },
          {
            "name": "strike",
            "in": "query",
            "required": true,
            "schema": {
              "type": "number"
            },
            "description": "Strike price"
          },
          {
            "name": "expiry",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "ISO expiry date (08:00 UTC assumed) — or pass t"
          },
          {
            "name": "t",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "Years to expiry (alternative to expiry)"
          },
          {
            "name": "iv",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "Annualized vol, decimal or percent (0.62 or 62) — provide iv OR price"
          },
          {
            "name": "price",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "Option price to solve implied vol from"
          },
          {
            "name": "r",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "default": 0
            },
            "description": "Annualized risk-free rate (decimal)"
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "default": 0
            },
            "description": "Annualized dividend/borrow yield (Black-Scholes only)"
          }
        ],
        "responses": {
          "200": {
            "description": "Greeks block (or implied vol with greeks at that vol)"
          },
          "400": {
            "description": "Invalid parameters (no payment settled)"
          },
          "402": {
            "description": "Payment required"
          }
        },
        "x-price-usd": 0.02,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/funding-check": {
      "get": {
        "summary": "Perp funding-rate check (Hyperliquid, cross-venue normalized) — deterministic",
        "description": "Current perp funding for one coin or the top markets by open interest: hourly funding (Hyperliquid pays hourly), 8h-equivalent, annualized percent, direction (who pays whom), open interest, mark/oracle price, premium, and predicted funding across venues normalized by each venue's payment interval to a comparable 24h rate. Keyless Hyperliquid public data; cross-venue rates as published by Hyperliquid's own API. No LLM, no key.",
        "operationId": "fundingCheck",
        "parameters": [
          {
            "name": "coin",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Perp symbol (BTC, ETH, SOL...) — omit for top markets by open interest",
            "example": "ETH"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 10
            },
            "description": "When coin omitted: number of markets (max 50)"
          }
        ],
        "responses": {
          "200": {
            "description": "Per-market funding block with cross-venue normalized rates"
          },
          "400": {
            "description": "Invalid parameters (no payment settled)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable — transport failure, not a data statement"
          }
        },
        "x-price-usd": 0.02,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/funding-arb-scan": {
      "get": {
        "summary": "Cross-venue funding-arbitrage scan — deterministic",
        "description": "Ranks every liquid Hyperliquid perp by the widest cross-venue funding spread: each venue's predicted rate is divided by its own payment interval and scaled to a common 24h window (Hyperliquid pays hourly, most CEX perps 8h — raw rates are never comparable), then the best long-low/short-high pair is reported with 24h and annualized capture, open-interest context, and honest caveats (gross of fees/slippage). Normalization method follows Hummingbot's Apache-2.0 funding-arb strategy, reimplemented. No LLM, keyless public data.",
        "operationId": "fundingArbScan",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 15
            },
            "description": "Max opportunities (max 50)"
          },
          {
            "name": "min_oi_usd",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "default": 5000000
            },
            "description": "Minimum Hyperliquid open interest (USD) to include a coin"
          }
        ],
        "responses": {
          "200": {
            "description": "Ranked funding-spread opportunities with per-venue normalized rates"
          },
          "400": {
            "description": "Invalid parameters (no payment settled)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable — transport failure, not a no-opportunity statement"
          }
        },
        "x-price-usd": 0.05,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/volatility-check": {
      "get": {
        "summary": "Perp volatility check (realized vol, NATR, Bollinger) — deterministic",
        "description": "Volatility metrics for one Hyperliquid perp market, computed in code from keyless public candles: annualized realized volatility (log-return stdev), NATR (Wilder ATR-14 over price), Bollinger(20,2) width percent and percent-B, window high/low with distance from each, over a chosen interval (15m/1h/4h/1d) and lookback window. Unknown coins 404 before payment. Metric set follows Hummingbot's Apache-2.0 volatility screener, reimplemented in TypeScript. No LLM, no key.",
        "operationId": "volatilityCheck",
        "parameters": [
          {
            "name": "coin",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Hyperliquid perp symbol (BTC, ETH, SOL...)",
            "example": "ETH"
          },
          {
            "name": "interval",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "15m",
                "1h",
                "4h",
                "1d"
              ],
              "default": "1h"
            },
            "description": "Candle interval"
          },
          {
            "name": "lookback",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 200
            },
            "description": "Candles in the window (50-500)"
          }
        ],
        "responses": {
          "200": {
            "description": "Volatility metric block"
          },
          "400": {
            "description": "Invalid parameters (no payment settled)"
          },
          "402": {
            "description": "Payment required"
          },
          "404": {
            "description": "Not a Hyperliquid perp market (no payment settled)"
          },
          "502": {
            "description": "Hyperliquid unavailable — transport failure, not a volatility statement"
          }
        },
        "x-price-usd": 0.02,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/funding-history": {
      "get": {
        "summary": "Perp funding-rate history — lookahead-safe, deterministic",
        "description": "Hourly Hyperliquid funding history for up to 90 days per call (windows anchor anywhere in a year+ of history via the end parameter): settlement time, hourly rate, annualized percent, premium, and an available_at timestamp per row equal to the settlement instant — so recorded backtests are point-in-time honest. Includes window summary stats (mean/min/max annualized, hours positive/negative). Keyless public data, no LLM.",
        "operationId": "fundingHistory",
        "parameters": [
          {
            "name": "coin",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Hyperliquid perp symbol (BTC, ETH, SOL...)",
            "example": "ETH"
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "default": 7
            },
            "description": "Window length in days (max 90 per call)"
          },
          {
            "name": "end",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "ISO date anchoring the window end (default now)"
          }
        ],
        "responses": {
          "200": {
            "description": "Hourly funding rows with available_at + summary stats"
          },
          "400": {
            "description": "Invalid parameters (no payment settled)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable — transport failure"
          }
        },
        "x-price-usd": 0.05,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/dydx-history": {
      "get": {
        "summary": "dYdX v4 chain-state history — block-stamped OI + funding index",
        "description": "Hourly block-stamped samples of public dYdX v4 chain state, read from the open append-only dydx-archive (never the geo-restricted indexer): open interest in units and USD (via the oracle price archived in the same sample), cumulative funding_index with per-interval deltas, block height and available_at per row. Archive coverage since 2026-07-14 is honestly disclosed via history_since — never interpolated. No LLM, no key.",
        "operationId": "dydxHistory",
        "parameters": [
          {
            "name": "ticker",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "dYdX market ticker, e.g. BTC-USD",
            "example": "BTC-USD"
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "default": 7
            },
            "description": "Window in days (max 62)"
          }
        ],
        "responses": {
          "200": {
            "description": "Block-stamped OI/funding-index series with history_since disclosure"
          },
          "400": {
            "description": "Invalid parameters (no payment settled)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Archive host unavailable — transport failure"
          }
        },
        "x-price-usd": 0.02,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/equity-marks": {
      "get": {
        "summary": "24/7 stock, commodity, FX and index marks (Hyperliquid HIP-3) — deterministic",
        "description": "Live venue-native marks for equities (TSLA, NVDA...), commodities (gold, oil), FX (EUR, JPY), indexes (US500, XYZ100), crypto-dominance indexes and pre-IPO names (SPCX) — 24/7 including weekends and overnight when reference exchanges are closed. Per market: mark/oracle price, 24h change, funding, open interest, day volume; plus a US-equity session flag and an oracle-regime flag (external_reference_anchored during US extended hours vs venue_derived off-hours per the deployer's oracle spec). Prices are perp marks formed on Hyperliquid, not exchange tape and not official index values. No LLM, no key.",
        "operationId": "equityMarks",
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "one symbol (TSLA, GOLD, JPY, US500, SPCX) — omit for top markets by open interest",
            "example": "TSLA"
          },
          {
            "name": "group",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "equity",
                "commodity",
                "fx",
                "index",
                "crypto_index",
                "preipo"
              ]
            },
            "description": "asset-class filter"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 15
            },
            "description": "when symbol omitted: number of markets (max 100)"
          }
        ],
        "responses": {
          "200": {
            "description": "Per-market mark block with session + oracle-regime flags"
          },
          "400": {
            "description": "Invalid parameters (no payment settled)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable — transport failure, not a data statement"
          }
        },
        "x-price-usd": 0.03,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/hip3-markets": {
      "get": {
        "summary": "Hyperliquid HIP-3 dex + market catalog, enumerated live — deterministic",
        "description": "Every HIP-3 builder-deployed perp dex on Hyperliquid with deployer address, live/empty/unreachable status, market count, total open interest and day volume, and top markets by OI (mark, 24h change, funding, leverage). Enumerated fresh from perpDexs on every call — deployers launch and wind down without notice (Ventuals settled and closed 07-2026), so a hardcoded list goes stale in weeks. No LLM, no key.",
        "operationId": "hip3Markets",
        "parameters": [
          {
            "name": "top",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 5
            },
            "description": "top markets per dex by open interest (max 25)"
          }
        ],
        "responses": {
          "200": {
            "description": "Catalog of all HIP-3 dexes sorted by open interest"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable — transport failure, not a data statement"
          }
        },
        "x-price-usd": 0.02,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/event-odds": {
      "get": {
        "summary": "Real-money event odds from Hyperliquid HIP-4 outcome markets — deterministic",
        "description": "Implied probabilities for live macro/sports event questions on Hyperliquid HIP-4 outcome markets (e.g. the next FOMC rate decision: no-change/cut/hike; 2026 World Cup winner). Per question: resolution criteria, every outcome with Yes-side implied probability from on-chain order mids, both side mids, and the probability sum (book vig) so buyers can normalize. Money-backed market odds, not polls, not a model. No LLM, no key.",
        "operationId": "eventOdds",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "substring filter on question name",
            "example": "fed"
          }
        ],
        "responses": {
          "200": {
            "description": "Questions with outcome implied probabilities"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable — transport failure, not a data statement"
          }
        },
        "x-price-usd": 0.03,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/mark-quality": {
      "get": {
        "summary": "Trust score for Hyperliquid HIP-3 perp marks (oracle divergence × liquidity) — deterministic",
        "description": "Scores how reliable each HIP-3 perp price is right now: mark-vs-oracle divergence in basis points weighted by how thin the market is. Each HIP-3 market runs its own deployer oracle and validators only flag >50% moves, so subtler mispricing (the JELLY/XPL failure mode) slips through. Per market: divergence_bps, Hyperliquid's own smoothed premium, open interest, liquidity tier, a 0-100 quality score and a clean/watch/elevated/high_risk label, plus the US-equity oracle regime so off-hours marks are weighted honestly. Omit symbol to scan the riskiest markets. Self-contained (mark and oracle both from Hyperliquid); no LLM, no key.",
        "operationId": "markQuality",
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "one symbol (TSLA, SKHX, BTC) — omit to scan the riskiest markets",
            "example": "TSLA"
          },
          {
            "name": "min_oi_usd",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "when scanning: ignore markets below this open interest"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 15
            },
            "description": "when scanning: number of riskiest markets (max 100)"
          }
        ],
        "responses": {
          "200": {
            "description": "Per-market quality score, or a riskiest-markets scan"
          },
          "400": {
            "description": "Invalid parameters (no payment settled)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable — transport failure, not a data statement"
          }
        },
        "x-price-usd": 0.03,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/lending-rates": {
      "get": {
        "summary": "Hyperliquid native borrow-lend market rates — deterministic",
        "description": "Live rates for Hyperliquid's native on-chain HyperCore borrow-lend market, read straight from the reserve precompile over the public HyperEVM RPC. Per reserve: borrow APR, supply APR, utilization, loan-to-value, total supplied/borrowed (USD for stablecoins). Covers the major collateral assets; new reserves appear as they list. No other data product covers this market. No LLM, no key.",
        "operationId": "lendingRates",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "reserve symbol (USDC, HYPE, UBTC) — omit for all",
            "example": "USDC"
          }
        ],
        "responses": {
          "200": {
            "description": "Live reserves with rates and utilization"
          },
          "400": {
            "description": "Invalid parameters (no payment settled)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable — transport failure"
          }
        },
        "x-price-usd": 0.03,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/staking-intel": {
      "get": {
        "summary": "Hyperliquid HYPE staking + validator intelligence — deterministic",
        "description": "HYPE staking and validator data from Hyperliquid's public API: per validator, stake, share of total active stake, commission, active/jailed status and recent-block count (uptime proxy); plus a summary with total staked, active-set size, jailed count and top-10 stake concentration. No LLM, no key.",
        "operationId": "stakingIntel",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 20
            },
            "description": "validators to return, ranked by stake (max 100)"
          },
          {
            "name": "active_only",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "true to exclude inactive validators"
          }
        ],
        "responses": {
          "200": {
            "description": "Validator set with staking summary"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable — transport failure"
          }
        },
        "x-price-usd": 0.03,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/whale-positions": {
      "get": {
        "summary": "Full perp positions for any Hyperliquid wallet — deterministic",
        "description": "Every Hyperliquid account is public on-chain state, so this returns the exact perp book for any address: per position coin, side, size, entry price, notional, unrealized PnL, leverage and liquidation price, plus account value and net long/short skew. Raw material for copy-trade and contrarian signals. No LLM, no key.",
        "operationId": "whalePositions",
        "parameters": [
          {
            "name": "address",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "wallet to inspect (0x...)",
            "example": "0xdfc24b077bc1425ad1dea75bcb6f8158e10df303"
          }
        ],
        "responses": {
          "200": {
            "description": "Account positions with skew"
          },
          "400": {
            "description": "Missing/invalid address (no payment settled)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable — transport failure"
          }
        },
        "x-price-usd": 0.03,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/equity-positioning": {
      "get": {
        "summary": "Stock-perp positioning: funding + open interest crowding (Hyperliquid HIP-3) — deterministic",
        "description": "Which side of a stock trade is crowded, 24/7: annualized funding rate, crowding label (crowded_long / longs_paying / balanced / shorts_paying / crowded_short), open interest in USD and as share of all covered HIP-3 OI, volume/OI turnover, and mark-vs-oracle premium — per equity/commodity/FX/index perp. Summary block names the most crowded long, most crowded short and largest OI. Funding sign: positive = longs pay shorts = long-crowded. Venue-native positioning formed on Hyperliquid; thin markets exaggerate funding (check open_interest_usd). No LLM, no key.",
        "operationId": "equityPositioning",
        "parameters": [
          {
            "name": "symbol",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "One symbol (TSLA, NVDA, GOLD, US500) — omit for the crowding leaderboard",
            "example": "TSLA"
          },
          {
            "name": "group",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "equity",
                "commodity",
                "fx",
                "index",
                "crypto_index",
                "preipo"
              ]
            },
            "description": "Asset-class filter"
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "crowding",
                "oi",
                "turnover"
              ]
            },
            "description": "Leaderboard order (default crowding = |annualized funding|)"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100
            },
            "description": "Markets when symbol omitted (default 20)"
          },
          {
            "name": "min_oi_usd",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "Open-interest floor in USD for the leaderboard (default 5000000 — thin books print absurd funding; 0 shows all)"
          }
        ],
        "responses": {
          "200": {
            "description": "Per-market mark block with session + oracle-regime flags"
          },
          "400": {
            "description": "Invalid parameters (no payment settled)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable — transport failure, not a data statement"
          }
        },
        "x-price-usd": 0.03,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/trader-record": {
      "get": {
        "summary": "Verify any Hyperliquid wallet track record, deterministic",
        "description": "the public-ledger track record of any address: realized PnL, win rate, average win/loss, expectancy and profit factor per closing order, fees, per-market breakdown, time-of-day profile, equity curve, max drawdown (PnL curve against equity at the peak), live positions and anomaly flags (concentration, rapid opposite fills, liquidations, maker-heavy). Coverage is stated: the venue returns the most recent 2,000 fills; equity and drawdown cover the full window. Built for copy-trading screens, prop-desk evaluation and tear sheets. No LLM, no key.",
        "operationId": "traderRecord",
        "parameters": [
          {
            "name": "address",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "the wallet to evaluate (0x...)",
            "example": "0x85ecf584f25db6f146718b86d493e33c5af72052"
          },
          {
            "name": "window",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "equity-curve window: day | week | month | allTime (default allTime)",
            "example": "month"
          }
        ],
        "responses": {
          "200": {
            "description": "Track record, drawdown, equity curve, positions and anomaly flags for the address"
          },
          "400": {
            "description": "Invalid parameters (checked before settlement; nothing charged)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable: transport failure after settlement; resend the same payment header within 10 minutes for a free retry"
          }
        },
        "x-price-usd": 0.05,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/top-traders": {
      "get": {
        "summary": "Rank Hyperliquid traders for copying, deterministic",
        "description": "the 47,000-address public leaderboard filtered the way a copier needs: window (day/week/month/allTime), minimum account value and volume, vault accounts removed, ranked by conservative return (the lower of venue ROI and return on current equity, both reported and flagged), PnL, consistency across windows, or return over drawdown; optional max drawdown for the top 20 from each address's own equity curve. Every row links to its /api/trader-record. No LLM, no key.",
        "operationId": "topTraders",
        "parameters": [
          {
            "name": "window",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "day | week | month | allTime (default month)",
            "example": "month"
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "conservative_return | return_on_equity | roi | pnl | consistency | return_over_drawdown (default conservative_return)",
            "example": "conservative_return"
          },
          {
            "name": "min_account_value",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "minimum account value in USD (default 10000)",
            "example": "100000"
          },
          {
            "name": "min_volume",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "minimum window volume in USD (default 0)",
            "example": "1000000"
          },
          {
            "name": "min_roi_pct",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "minimum venue ROI in percent (optional)",
            "example": "10"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "rows (default 25, max 100)",
            "example": "25"
          },
          {
            "name": "exclude_vaults",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "description": "drop vault accounts (default true)",
            "example": "true"
          },
          {
            "name": "with_drawdown",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "description": "compute max drawdown for the top 20 (slower)",
            "example": "true"
          }
        ],
        "responses": {
          "200": {
            "description": "Ranked traders with window figures, consistency and optional drawdown"
          },
          "400": {
            "description": "Invalid parameters (checked before settlement; nothing charged)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable: transport failure after settlement; resend the same payment header within 10 minutes for a free retry"
          }
        },
        "x-price-usd": 0.05,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/vault-screener": {
      "get": {
        "summary": "Screen Hyperliquid vaults on drawdown, deterministic",
        "description": "every Hyperliquid vault (9,000+ created, ~3,000 open) with size, age, trailing return and a sampled drawdown from the venue's 13-point PnL series (full curve in the detail view), closed and inactive vaults flagged, parent/child relationships shown; sortable by TVL, APR, age, drawdown or month PnL. With ?vault= one vault in detail: followers (capped at 100 by the venue), leader share and commission, deposits open or closed, drawdown per window against equity at the peak. Neutral by design: no fees from vaults, no affiliate links. Trailing figures are historical, not forecasts. No LLM, no key.",
        "operationId": "vaultScreener",
        "parameters": [
          {
            "name": "vault",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "one vault address for the detail view",
            "example": "0xdfc24b077bc1425ad1dea75bcb6f8158e10df303"
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "tvl | apr | age | drawdown | month_pnl (default tvl)",
            "example": "tvl"
          },
          {
            "name": "min_tvl",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "minimum vault size in USD (default 10000)",
            "example": "100000"
          },
          {
            "name": "max_drawdown_pct",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "drop vaults whose sampled month drawdown exceeds this % of TVL",
            "example": "5"
          },
          {
            "name": "min_age_days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "minimum vault age in days (default 0)",
            "example": "90"
          },
          {
            "name": "include_closed",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "description": "include closed vaults (default false)",
            "example": "false"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "rows (default 25, max 100)",
            "example": "25"
          },
          {
            "name": "details_for_top",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "fetch followers, leader share and full-curve drawdown for the top N (max 10)",
            "example": "5"
          }
        ],
        "responses": {
          "200": {
            "description": "Screened vault list, or one vault in detail"
          },
          "400": {
            "description": "Invalid parameters (checked before settlement; nothing charged)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable: transport failure after settlement; resend the same payment header within 10 minutes for a free retry"
          }
        },
        "x-price-usd": 0.03,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/builder-stats": {
      "get": {
        "summary": "Report builder-code revenue per Hyperliquid app",
        "description": "what the apps built on Hyperliquid earn: builder-code fees 24h, 30d and all-time per interface, wallet, trading app and prediction-market front end (tradeXYZ, Trust Wallet, Phantom, fomo, MetaMask, Rabby, HyperDash, Insilico and 240+ more) from DefiLlama fee adapters, Hyperliquid-chain slice only; category=all adds exchanges, staking and lending; app= filters and with_daily adds a 30-day series. With address= and date= the builder's own daily statement from the venue's builder_fills file: fills, unique users, notional, builder fees by market, top users, fills by hour. No LLM, no key.",
        "operationId": "builderStats",
        "parameters": [
          {
            "name": "app",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "filter apps by name substring",
            "example": "phantom"
          },
          {
            "name": "with_daily",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "description": "with one app matched, include its last 30 daily fee points",
            "example": "true"
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "all = include exchanges, staking pools and lending protocols",
            "example": "all"
          },
          {
            "name": "address",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "a builder address for the daily fill statement",
            "example": "0x88806a71d74ad0a510b350545c9ae490912f0888"
          },
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "UTC day YYYYMMDD for the statement (default yesterday)",
            "example": "20261019"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "apps to return (default 30, max 100)",
            "example": "30"
          }
        ],
        "responses": {
          "200": {
            "description": "Ranked app revenue table and, when requested, a daily builder statement"
          },
          "400": {
            "description": "Invalid parameters (checked before settlement; nothing charged)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable: transport failure after settlement; resend the same payment header within 10 minutes for a free retry"
          }
        },
        "x-price-usd": 0.03,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/monday-open-signal": {
      "get": {
        "summary": "Compare weekend stock marks with Friday close",
        "description": "for the S&P 500 and Nasdaq-100 proxies, ten US mega-caps, gold and oil (or any venue symbols you pass), the Hyperliquid 24/7 perp mark at Friday 4pm New York, the Sunday 23:00 UTC mark, the weekend move and direction, and once Monday 9:30 ET has passed the Monday-open mark gap and whether the weekend direction held. Ships with the July 2026 study it is built on: 270 name-weekends (about 27 weekends across 10 mega-caps), 59% direction hit rate, slope 0.47: a partial signal, stated honestly in every response, with NYSE holidays handled and commodities shown but not scored. week=1..4 returns earlier weekends for a scorecard. No LLM, no key.",
        "operationId": "mondayOpenSignal",
        "parameters": [
          {
            "name": "symbols",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "comma list of venue symbols (default SP500, XYZ100, 10 mega-caps, GOLD, BRENTOIL; max 25)",
            "example": "TSLA,NVDA,SP500"
          },
          {
            "name": "week",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "0 = latest weekend (live if in progress), 1-4 = earlier weekends",
            "example": "0"
          }
        ],
        "responses": {
          "200": {
            "description": "Per-name weekend tape with Friday reference, Sunday mark, Monday gap and the study disclosure"
          },
          "400": {
            "description": "Invalid parameters (checked before settlement; nothing charged)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable: transport failure after settlement; resend the same payment header within 10 minutes for a free retry"
          }
        },
        "x-price-usd": 0.03,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/oi-caps": {
      "get": {
        "summary": "Check open-interest cap usage on Hyperliquid",
        "description": "the deployer's streaming open-interest cap for every HIP-3 market (stocks, indexes, commodities, FX, pre-IPO across xyz, mkts, para, io and the rest), live open interest, usage percent, headroom, which markets are at cap right now (the venue rejects new position-increasing orders there) and how long this service has observed them full. Native-dex rows appear only while at cap because the native dex publishes no cap table. No LLM, no key.",
        "operationId": "oiCaps",
        "parameters": [
          {
            "name": "dex",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "one dex (xyz, mkts, para, io, ... or native); default all",
            "example": "xyz"
          },
          {
            "name": "coin",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "one market symbol, e.g. TSLA or xyz:TSLA",
            "example": "TSLA"
          },
          {
            "name": "min_usage_pct",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "only markets at or above this usage (default 0)",
            "example": "80"
          },
          {
            "name": "at_cap_only",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "description": "only markets currently at cap",
            "example": "true"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "rows (default 100, max 400)",
            "example": "50"
          }
        ],
        "responses": {
          "200": {
            "description": "Cap usage rows sorted by usage, at-cap list and totals"
          },
          "400": {
            "description": "Invalid parameters (checked before settlement; nothing charged)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable: transport failure after settlement; resend the same payment header within 10 minutes for a free retry"
          }
        },
        "x-price-usd": 0.02,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/new-listings": {
      "get": {
        "summary": "List new and retired Hyperliquid markets",
        "description": "markets added or retired across every Hyperliquid dex in the last 7, 30 or 90 days: listing date from the venue's own first daily candle, first-day volume, live open interest and volume now, retired markets dated from when this index (started 20 October 2026) stopped finding them. The index is reconciled every 10 minutes and its coverage (dated / pending / undatable) is reported in every response rather than assumed. No LLM, no key.",
        "operationId": "newListings",
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "7 | 30 | 90 (default 30)",
            "example": "30"
          },
          {
            "name": "dex",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "one dex (xyz, mkts, para, ... or native); default all",
            "example": "xyz"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "rows per list (default 100, max 400)",
            "example": "50"
          }
        ],
        "responses": {
          "200": {
            "description": "Added and retired markets with coverage statistics"
          },
          "400": {
            "description": "Invalid parameters (checked before settlement; nothing charged)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable: transport failure after settlement; resend the same payment header within 10 minutes for a free retry"
          },
          "503": {
            "description": "Listings index store not answering (checked before settlement; nothing charged)"
          }
        },
        "x-price-usd": 0.02,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.020000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/sports-odds": {
      "get": {
        "summary": "Decode sports odds from Hyperliquid HIP-4 markets",
        "description": "the venue's sports question templates decoded per fixture: competition, teams, kick-off, resolution source: with the Yes-side implied probability per outcome (home, draw, away; tournament and award winners), de-vigged probabilities, favorite, overround, empty-book contracts flagged instead of the venue's 0.5 placeholder, and for the first N questions the live order book (best bid/ask, spread, top-3 depth in USD). Filters by sport, competition, free text and kind. Macro and price questions stay on /api/event-odds. No LLM, no key.",
        "operationId": "sportsOdds",
        "parameters": [
          {
            "name": "sport",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "filter by sport, e.g. soccer, american football, baseball",
            "example": "soccer"
          },
          {
            "name": "competition",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "filter by competition substring, e.g. europa, nfl",
            "example": "europa"
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "free substring over teams, competition or award",
            "example": "milan"
          },
          {
            "name": "kind",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "match_result | tournament_winner | award_winner",
            "example": "match_result"
          },
          {
            "name": "include_settled",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "description": "include settled or past-deadline questions (default false)",
            "example": "false"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "questions (default 50, max 200)",
            "example": "50"
          },
          {
            "name": "depth_for_top",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "read the live order book for the first N questions (default 3, max 10)",
            "example": "3"
          }
        ],
        "responses": {
          "200": {
            "description": "Decoded sports questions with probabilities, favorite, overround and book depth"
          },
          "400": {
            "description": "Invalid parameters (checked before settlement; nothing charged)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable: transport failure after settlement; resend the same payment header within 10 minutes for a free retry"
          }
        },
        "x-price-usd": 0.03,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.030000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/liquidation-watch": {
      "get": {
        "summary": "Map positions near liquidation on Hyperliquid",
        "description": "positions within a chosen distance of their liquidation price among the venue's largest accounts (top accounts by equity and by 30-day volume, scanned live from public account state), by market and side with notional, leverage, entry, mark, liquidation price and distance; totals per market (long/short notional within range); plus the backstop liquidator vault's fills as the venue's severe-tail liquidation prints for the last 24h. Population and method are stated in every response; native perps by default, dex=xyz for stock perps; a risk map, not a target list. No LLM, no key.",
        "operationId": "liquidationWatch",
        "parameters": [
          {
            "name": "market",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "one market, e.g. BTC (native) or TSLA with dex=xyz",
            "example": "BTC"
          },
          {
            "name": "dex",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "which dex to scan: native (default) or one HIP-3 dex such as xyz",
            "example": "native"
          },
          {
            "name": "within_pct",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "distance to liquidation price in percent (default 5, max 25)",
            "example": "2"
          },
          {
            "name": "min_notional",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "minimum position notional in USD (default 500000)",
            "example": "1000000"
          },
          {
            "name": "scan_top",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "accounts to scan: 100, 200 (default) or 400, rounded up to the next bucket",
            "example": "200"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "positions to return (default 50, max 200)",
            "example": "50"
          }
        ],
        "responses": {
          "200": {
            "description": "Positions near liquidation, per-market totals and liquidation prints"
          },
          "400": {
            "description": "Invalid parameters (checked before settlement; nothing charged)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable: transport failure after settlement; resend the same payment header within 10 minutes for a free retry"
          }
        },
        "x-price-usd": 0.05,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.050000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    },
    "/api/hl-alerts": {
      "get": {
        "summary": "Register a 24h Hyperliquid alert with callback",
        "description": "one payment registers one rule for 24 hours: a market (BTC, TSLA, xyz:GOLD, ...), a metric (mark, funding_apr_pct, oi_usd, change_24h_pct, oi_cap_pct, move_since_rule_pct), a comparison (gt, lt, cross) and a threshold. We evaluate it every 10 minutes and on every poll, record each crossing, and POST a signed JSON event (header x-hl-alert-signature = HMAC-SHA256 of the body with the rule secret) to your https callback. The registration response includes a FREE status URL (?rule_id=&secret=) you can poll any time without paying. gt/lt fire on entering the condition (immediately if it already holds); cross fires on every crossing. No LLM, no key. The free status poll (?rule_id=&secret=) carries no payment and ignores the registration parameters.",
        "operationId": "hlAlerts",
        "parameters": [
          {
            "name": "metric",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "mark | funding_apr_pct | oi_usd | change_24h_pct | oi_cap_pct | move_since_rule_pct",
            "example": "mark"
          },
          {
            "name": "market",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "market, e.g. BTC, TSLA or xyz:TSLA",
            "example": "xyz:TSLA"
          },
          {
            "name": "op",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "gt | lt | cross",
            "example": "gt"
          },
          {
            "name": "threshold",
            "in": "query",
            "required": true,
            "schema": {
              "type": "number"
            },
            "description": "the level to compare against",
            "example": "360"
          },
          {
            "name": "callback",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "https URL to POST signed events to",
            "example": "https://your.host/hook"
          },
          {
            "name": "rule_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "FREE status poll: the rule id from registration (with secret); no payment on this path (never send on a registration call)"
          },
          {
            "name": "secret",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "FREE status poll: the rule secret from registration (never send on a registration call)"
          }
        ],
        "responses": {
          "200": {
            "description": "Registered rule with poll URL and secret, or (free path) the rule status and events"
          },
          "400": {
            "description": "Invalid parameters (checked before settlement; nothing charged)"
          },
          "402": {
            "description": "Payment required"
          },
          "502": {
            "description": "Hyperliquid unavailable: transport failure after settlement; resend the same payment header within 10 minutes for a free retry"
          },
          "404": {
            "description": "Free status poll: no active rule matches that id and secret (rules expire 24h after registration)"
          },
          "503": {
            "description": "Rule store not answering (before settlement: nothing charged; after settlement: resend the same payment header within 10 minutes)"
          }
        },
        "x-price-usd": 0.25,
        "x-agent-use-case": "component",
        "x-payment-info": {
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.250000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ]
        }
      }
    }
  }
}
