{
  "openapi": "3.0.3",
  "info": {
    "title": "Perp Funding Arbitrage Oracle API",
    "description": "Real-time cross-venue perpetual funding rate dislocations between Hyperliquid and Binance, settlement intelligence, and delta-neutral trading opportunities.",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "https://x402.lab0.app",
      "description": "Production Node (Apple M4 Residential Edge)"
    }
  ],
  "paths": {
    "/api/radar": {
      "get": {
        "summary": "Real-Time Funding Dislocations & Spreads",
        "description": "Returns verified cross-venue funding rate dislocations (|APR| >= 40%, OI >= $1M) across Hyperliquid and Binance.",
        "responses": {
          "200": {
            "description": "Active cross-venue and single-venue spread anomalies"
          }
        }
      }
    },
    "/rss.xml": {
      "get": {
        "summary": "RSS 2.0 Webhook Feed",
        "description": "Live RSS 2.0 XML stream of perp funding anomalies for Telegram/Discord bots."
      }
    },
    "/mcp": {
      "post": {
        "summary": "Model Context Protocol Gateway",
        "description": "JSON-RPC 2.0 MCP server for AI coding assistants and autonomous trading agents (Tools: get_extreme_funding_spreads, get_live_bounties_and_leads, etc.)."
      }
    },
    "/health": {
      "get": {
        "summary": "Node Health & Discovery Manifest",
        "description": "System status, supported MCP tools, and x402 endpoints."
      }
    },
    "/download/perp-arbitrage-bot.zip": {
      "get": {
        "summary": "Turnkey Trading Bot Package",
        "description": "Direct download for the production delta-neutral execution suite."
      }
    }
  }
}