{
  "name": "Sage Frontier AI & x402 API Gateway",
  "version": "6.2.3",
  "protocol": "x402 (v2 header + v1 body)",
  "ai_enabled": true,
  "facilitator": "https://facilitator.payai.network",
  "networks": [
    {
      "network": "eip155:8453",
      "name": "Base Mainnet",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "payTo": "0x9552e7d327499a5cfcf3b250bab908da447a2666"
    },
    {
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "name": "Solana Mainnet",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "payTo": "GswD6zmVCTcjLVkgCzCTP9JgehARqhBfMQbTcdzLShet"
    }
  ],
  "discovery": {
    "mcp_server": "https://api.sagex402.xyz/mcp",
    "well_known_x402": "https://api.sagex402.xyz/.well-known/x402",
    "well_known_mcp": "https://api.sagex402.xyz/.well-known/mcp.json",
    "llms_txt": "https://api.sagex402.xyz/llms.txt",
    "openapi": "https://api.sagex402.xyz/openapi.json",
    "health": "https://api.sagex402.xyz/health"
  },
  "endpoints": [
    {
      "path": "/v1/llm/claude-sonnet",
      "sample_url": "https://api.sagex402.xyz/v1/llm/claude-sonnet/sample",
      "name": "Pure Anthropic Claude Sonnet 5.5 Flagship (Zero-Injection)",
      "price_usdc": "0.015",
      "category": "ai",
      "description": "Pay-per-call zero-injection Anthropic Claude Sonnet 5.5 flagship coding & agent model via Base or Solana USDC x402 ($0.015/call; up to 14,000 input chars & 1,200 output tokens). Full-strength passthrough, 2-3x cheaper than competing x402 gateways."
    },
    {
      "path": "/v1/llm/claude-opus",
      "sample_url": "https://api.sagex402.xyz/v1/llm/claude-opus/sample",
      "name": "Pure Anthropic Claude Opus 5.5 Apex (Zero-Injection)",
      "price_usdc": "0.030",
      "category": "ai",
      "description": "Pay-per-call zero-injection Anthropic Claude Opus 5.5 apex architecture, debugging & deep research model via Base or Solana USDC x402 ($0.030/call; up to 14,000 input chars & 1,200 output tokens)."
    },
    {
      "path": "/v1/llm/gpt-flagship",
      "sample_url": "https://api.sagex402.xyz/v1/llm/gpt-flagship/sample",
      "name": "Full-IQ OpenAI GPT-6.2 Astra Flagship",
      "price_usdc": "0.005",
      "category": "ai",
      "description": "Pay-per-call full-IQ OpenAI GPT-6.2 Astra flagship reasoning & coding via Base or Solana USDC x402 ($0.005/call; up to 16,000 input chars & 1,200 output tokens). Zero API key or subscription required."
    },
    {
      "path": "/v1/llm/gemini-pro",
      "sample_url": "https://api.sagex402.xyz/v1/llm/gemini-pro/sample",
      "name": "Google Gemini 4 Argon Frontier Reasoning",
      "price_usdc": "0.006",
      "category": "ai",
      "description": "Pay-per-call Google Gemini 4 Argon flagship reasoning via Base or Solana USDC x402 ($0.006/call; up to 16,000 input chars & 1,200 output tokens). High-IQ synthesis, STEM reasoning, and coding."
    },
    {
      "path": "/v1/llm/claude-haiku",
      "sample_url": "https://api.sagex402.xyz/v1/llm/claude-haiku/sample",
      "name": "Pure Anthropic Claude Haiku 5.5 Fast",
      "price_usdc": "0.002",
      "category": "ai",
      "description": "Pay-per-call zero-injection Anthropic Claude Haiku 5.5 via Base or Solana USDC x402 ($0.002/call; up to 12,000 input chars & 1,024 output tokens). Ultra-fast, high-precision classification, tool routing, and structured output."
    },
    {
      "path": "/v1/llm/gpt-fast",
      "sample_url": "https://api.sagex402.xyz/v1/llm/gpt-fast/sample",
      "name": "Full-IQ OpenAI GPT-6.2 Sol Fast",
      "price_usdc": "0.002",
      "category": "ai",
      "description": "Pay-per-call full-IQ GPT-6.2 Sol (OpenAI format, zero API key) via Base or Solana USDC x402 ($0.002/call; up to 12,000 input chars & 1,024 output tokens). Ideal for fast coding, JSON extraction, and high-frequency agent loops."
    },
    {
      "path": "/v1/llm/gemini-flash",
      "sample_url": "https://api.sagex402.xyz/v1/llm/gemini-flash/sample",
      "name": "Google Gemini 3.8 Flash Fast",
      "price_usdc": "0.003",
      "category": "ai",
      "description": "Pay-per-call Google Gemini 3.8 Flash via Base or Solana USDC x402 ($0.003/call; up to 16,000 input chars & 1,200 output tokens). Fast reasoning, web synthesis, and structured JSON output."
    },
    {
      "path": "/v1/chat/completions",
      "sample_url": "https://api.sagex402.xyz/v1/chat/completions/sample",
      "name": "Full-IQ OpenAI Drop-In Chat (GPT-6.2 Sol / Claude Haiku 5.5 / Gemini 3.8 Flash)",
      "price_usdc": "0.002",
      "category": "intelligence",
      "description": "Standard OpenAI /v1/chat/completions endpoint accepting Base or Solana USDC x402 micropayments ($0.002/call, zero API keys) powered by full-IQ GPT-6.2 Sol, pure zero-injection Anthropic Claude Haiku 5.5, and Google Gemini 3.8 Flash (up to 12k chars / 1,024 tokens). For Claude Sonnet 5.5 ($0.015), Claude Opus 5.5 ($0.030), GPT-6.2 Astra ($0.005) or Gemini 4 Argon ($0.006), use /v1/llm/*."
    },
    {
      "path": "/v1/crypto/fast-price",
      "sample_url": "https://api.sagex402.xyz/v1/crypto/fast-price/sample",
      "name": "Sub-50ms Multi-Venue Crypto Fast Price & Spread Oracle",
      "price_usdc": "0.001",
      "category": "finance",
      "description": "Edge-cached multi-venue crypto spot & perp price oracle aggregating Coinbase, Kraken, OKX, and Hyperliquid in parallel for up to 10 symbols per call."
    },
    {
      "path": "/v1/weather/polymarket-consensus",
      "sample_url": "https://api.sagex402.xyz/v1/weather/polymarket-consensus/sample",
      "name": "Multi-Model Weather Consensus & Polymarket Bracket Probabilities",
      "price_usdc": "0.002",
      "category": "data",
      "description": "Edge-cached numerical weather ensemble fusing ECMWF, GFS, ICON, GEM, and NOAA NWS airport station forecasts into daily high/low consensus temperatures and calibrated Polymarket bracket probabilities."
    },
    {
      "path": "/v1/markets/prediction-edge",
      "sample_url": "https://api.sagex402.xyz/v1/markets/prediction-edge/sample",
      "name": "Polymarket & Kalshi Live Spread, Odds & Cross-Venue Edge Scanner",
      "price_usdc": "0.005",
      "category": "finance",
      "description": "Real-time prediction market scanner aggregating active Polymarket Gamma/CLOB and Kalshi open markets, surfacing wide-spread market-making opportunities and cross-venue probability divergences."
    },
    {
      "path": "/v1/solana/jupiter-quote",
      "sample_url": "https://api.sagex402.xyz/v1/solana/jupiter-quote/sample",
      "name": "Solana Jupiter Multi-Hop Quote & Slippage Oracle",
      "price_usdc": "0.001",
      "category": "finance",
      "description": "Real-time Solana Jupiter v1 swap quote with multi-DEX route plan (Raydium/Orca/Meteora/PumpSwap), exact out_amount, price_impact_pct, and MEV slippage risk. Accepts symbols (SOL, USDC, JUP, BONK, WIF) or Base58 mints."
    },
    {
      "path": "/v1/solana/token-guard",
      "sample_url": "https://api.sagex402.xyz/v1/solana/token-guard/sample",
      "name": "Solana Token Sniper Guard & Top-10 Concentration Audit",
      "price_usdc": "0.003",
      "category": "security",
      "description": "Pre-snipe Solana SPL / Token-2022 security audit fusing GoPlus Solana, Mainnet RPC mint/freeze authorities, Top-10 holder concentration %, LP lock %, Jupiter Price v3, and DexScreener liquidity into SAFE_TO_SNIPE / CAUTION / BLOCK_RUG."
    },
    {
      "path": "/v1/solana/wallet-portfolio",
      "sample_url": "https://api.sagex402.xyz/v1/solana/wallet-portfolio/sample",
      "name": "Solana Wallet & Smart-Money Portfolio Snapshot",
      "price_usdc": "0.003",
      "category": "finance",
      "description": "Real-time Solana wallet snapshot combining Mainnet RPC native SOL, SPL Token + Token-2022 balances, USDC ATA status, and Jupiter Price v3 USD portfolio valuation sorted by position weight."
    },
    {
      "path": "/v1/web/extract",
      "sample_url": "https://api.sagex402.xyz/v1/web/extract/sample",
      "name": "Web-to-Markdown & Metadata Extractor",
      "price_usdc": "0.002",
      "category": "data",
      "description": "Fetch any public web page and return clean LLM-ready Markdown, OpenGraph/JSON-LD metadata, heading outline, and deduplicated links."
    },
    {
      "path": "/v1/crypto/token-intel",
      "sample_url": "https://api.sagex402.xyz/v1/crypto/token-intel/sample",
      "name": "Multi-Chain Token & Liquidity Risk Intel",
      "price_usdc": "0.002",
      "category": "finance",
      "description": "Real-time Base, Solana, Ethereum, and BSC token liquidity, 24h DEX volume, buy/sell ratio, FDV, pair age, and automated risk flags."
    },
    {
      "path": "/v1/web/dns-audit",
      "sample_url": "https://api.sagex402.xyz/v1/web/dns-audit/sample",
      "name": "Domain DNS, Security Headers & Agent-Readiness Audit",
      "price_usdc": "0.003",
      "category": "verification",
      "description": "Live Cloudflare DoH DNS records (A/AAAA/MX/NS/SPF/DMARC), HTTPS security headers score, and AI agent readiness checks (llms.txt, /.well-known/x402, /.well-known/mcp.json)."
    },
    {
      "path": "/v1/dev/deterministic-tools",
      "sample_url": "https://api.sagex402.xyz/v1/dev/deterministic-tools/sample",
      "name": "Deterministic Cron, JSON Diff, JWT & SemVer Engine",
      "price_usdc": "0.002",
      "category": "tools",
      "description": "Zero-hallucination deterministic utility engine for AI agents: 5-field UTC cron schedule solver, RFC-6902 structural JSON diff, JWT header/payload expiry inspector, and SemVer sorting."
    },
    {
      "path": "/v1/crypto/funding-arb",
      "sample_url": "https://api.sagex402.xyz/v1/crypto/funding-arb/sample",
      "name": "Perpetual Funding Rates & Carry APY Scanner",
      "price_usdc": "0.005",
      "category": "finance",
      "description": "Live Hyperliquid perpetual funding rates, annualized carry APY %, mark/oracle basis bps, open interest, and crowded long/short signals across 150+ crypto assets."
    },
    {
      "path": "/v1/crypto/market-pulse",
      "sample_url": "https://api.sagex402.xyz/v1/crypto/market-pulse/sample",
      "name": "Crypto Macro Sentiment, Perp Majors & DeFi TVL Pulse",
      "price_usdc": "0.005",
      "category": "finance",
      "description": "Single-call live crypto macro brief combining Fear & Greed Index (today + 7d avg), BTC/ETH/SOL/HYPE live perp snapshots, and top 12 blockchain DeFi TVL rankings from DeFiLlama."
    },
    {
      "path": "/v1/crypto/wallet-profile",
      "sample_url": "https://api.sagex402.xyz/v1/crypto/wallet-profile/sample",
      "name": "Multi-Chain EVM Wallet Balance & Activity Profile",
      "price_usdc": "0.020",
      "category": "finance",
      "description": "Live 5-chain EVM wallet intelligence across Base, Ethereum, Arbitrum, Optimism, and Polygon: native ETH/POL balances, USDC balances, outbound tx counts, smart contract detection, and activity tier."
    },
    {
      "path": "/v1/web/merchant-risk",
      "sample_url": "https://api.sagex402.xyz/v1/web/merchant-risk/sample",
      "name": "KYB Merchant & Domain Legitimacy Risk Report",
      "price_usdc": "0.020",
      "category": "verification",
      "description": "Automated KYB merchant underwriting report combining official ICANN RDAP domain registration age, registrar, SPF/DMARC email auth, HTTPS security headers, and privacy/terms policy checks into a 0-100 legitimacy score."
    },
    {
      "path": "/v1/ai/web-research-brief",
      "sample_url": "https://api.sagex402.xyz/v1/ai/web-research-brief/sample",
      "name": "AI Web Page Research & Structured Brief (Llama-3.3-70B)",
      "price_usdc": "0.030",
      "category": "intelligence",
      "description": "Fetches any live web page and synthesizes a strictly grounded JSON executive summary, key facts, named entities, sentiment, and actionable takeaways using Llama-3.3-70B on Cloudflare Edge."
    },
    {
      "path": "/v1/ai/token-verdict",
      "sample_url": "https://api.sagex402.xyz/v1/ai/token-verdict/sample",
      "name": "AI DeFi Token Risk & Trading Verdict (Llama-3.3-70B)",
      "price_usdc": "0.035",
      "category": "finance",
      "description": "Combines live multi-chain DEX liquidity, volume, buy/sell pressure, FDV, and pair age with Llama-3.3-70B quantitative risk analysis into a structured trading verdict JSON."
    },
    {
      "path": "/v1/ai/code-security-review",
      "sample_url": "https://api.sagex402.xyz/v1/ai/code-security-review/sample",
      "name": "AI Code & Smart-Contract Security Audit (Qwen2.5-Coder-32B)",
      "price_usdc": "0.040",
      "category": "tools",
      "description": "Automated vulnerability and logic-bug security review for Solidity, TypeScript, Python, Go, or Rust snippets powered by Qwen2.5-Coder-32B, returning structured severity findings and exact fixes."
    },
    {
      "path": "/v1/gpu/flux-image",
      "sample_url": "https://api.sagex402.xyz/v1/gpu/flux-image/sample",
      "name": "FLUX.1 Schnell GPU Text-to-Image Generator",
      "price_usdc": "0.030",
      "category": "intelligence",
      "description": "High-speed GPU text-to-image generation powered by Black Forest Labs FLUX.1 Schnell on Cloudflare Edge GPUs. Returns JPEG base64 and data_url ready for agent publishing, thumbnails, and avatars."
    },
    {
      "path": "/v1/gpu/audio-transcribe",
      "sample_url": "https://api.sagex402.xyz/v1/gpu/audio-transcribe/sample",
      "name": "Whisper Large v3 Turbo GPU Speech-to-Text ASR",
      "price_usdc": "0.030",
      "category": "intelligence",
      "description": "GPU-accelerated audio transcription and translation powered by OpenAI Whisper Large v3 Turbo with VAD filtering. Accepts public audio_url (up to 12MB) or audio_base64 and returns full text plus timestamped segments."
    },
    {
      "path": "/v1/ai/reasoning-120b",
      "sample_url": "https://api.sagex402.xyz/v1/ai/reasoning-120b/sample",
      "name": "OpenAI gpt-oss-120B Deep Multi-Step Reasoning Engine",
      "price_usdc": "0.050",
      "category": "intelligence",
      "description": "Heavy 120B open-weights Chain-of-Thought reasoning endpoint (128K context) with configurable low/medium/high reasoning effort and optional strict JSON mode for complex math, planning, and verification."
    },
    {
      "path": "/v1/security/pre-trade-audit",
      "sample_url": "https://api.sagex402.xyz/v1/security/pre-trade-audit/sample",
      "name": "Pre-Trade Honeypot, Tax & Rug-Pull Atomic Guard (Base/EVM/Solana)",
      "price_usdc": "0.008",
      "category": "verification",
      "description": "4-source atomic pre-trade token safety check fusing GoPlus contract security, Honeypot.is live swap simulation, RugCheck Solana authority audit, and DexScreener liquidity into a deterministic SAFE_TO_TRADE / CAUTION / BLOCK_TRADE verdict in <800ms."
    },
    {
      "path": "/v1/defi/base-dex-arb",
      "sample_url": "https://api.sagex402.xyz/v1/defi/base-dex-arb/sample",
      "name": "Cross-DEX Price Spread & Trending Pool Arbitrage Radar (Base/Solana)",
      "price_usdc": "0.005",
      "category": "finance",
      "description": "Real-time cross-DEX arbitrage scanner comparing Aerodrome, Uniswap v3, PancakeSwap, and Raydium pools for gross/net spread bps and safe execution depth, plus chain-wide GeckoTerminal high-turnover trending pools."
    },
    {
      "path": "/v1/search/web-live",
      "sample_url": "https://api.sagex402.xyz/v1/search/web-live/sample",
      "name": "Live AI Web & News Search (Tavily)",
      "price_usdc": "0.010",
      "category": "data",
      "description": "Real-time AI-optimized web & news search with synthesized direct answer and ranked clean snippets (up to 8 sources). No API key needed; pay per search in Base USDC."
    },
    {
      "path": "/v1/search/deep-research",
      "sample_url": "https://api.sagex402.xyz/v1/search/deep-research/sample",
      "name": "Deep Multi-Source Web Research Search (Tavily Advanced)",
      "price_usdc": "0.040",
      "category": "intelligence",
      "description": "High-recall advanced web research search returning an executive direct answer plus up to 10 deep-extracted source excerpts (up to 2000 chars each) for autonomous research agents."
    },
    {
      "path": "/v1/search/exa-neural",
      "sample_url": "https://api.sagex402.xyz/v1/search/exa-neural/sample",
      "name": "Exa Neural Semantic Search & Full-Text Extractor",
      "price_usdc": "0.025",
      "category": "data",
      "description": "Embedding-powered Exa neural web search returning clean full-text excerpts for research papers, companies, GitHub repos, and breaking news without an Exa account or API key."
    },
    {
      "path": "/v1/search/exa-similar",
      "sample_url": "https://api.sagex402.xyz/v1/search/exa-similar/sample",
      "name": "Exa Competitor & Similar-Site Semantic Discovery",
      "price_usdc": "0.025",
      "category": "intelligence",
      "description": "Given any public URL (startup, product, research paper, or repo), uses Exa neural link embeddings to discover the closest competitors, alternatives, and related pages with extracted text."
    },
    {
      "path": "/v1/ai/nemotron-550b",
      "sample_url": "https://api.sagex402.xyz/v1/ai/nemotron-550b/sample",
      "name": "NVIDIA Nemotron-3 Ultra 550B Deep Reasoning LLM",
      "price_usdc": "0.045",
      "category": "intelligence",
      "description": "Ultra-heavy 550B-parameter flagship reasoning LLM (1M context window) with automatic fallback routing for hard math, architecture design, financial modeling, and synthesis via Base USDC."
    },
    {
      "path": "/v1/ai/vision-analyze",
      "sample_url": "https://api.sagex402.xyz/v1/ai/vision-analyze/sample",
      "name": "Multimodal Vision OCR, Chart & Screenshot Analyzer",
      "price_usdc": "0.040",
      "category": "intelligence",
      "description": "Analyze any public image URL or base64 image for OCR text extraction, UI screenshot audits, chart reading, receipt parsing, and visual Q&A with automatic multimodal model fallback."
    },
    {
      "path": "/v1/llm/gpt-frontier",
      "sample_url": "https://api.sagex402.xyz/v1/llm/gpt-frontier/sample",
      "name": "OpenAI GPT-6.2 Astra Frontier LLM (Full-IQ x402)",
      "price_usdc": "0.005",
      "category": "intelligence",
      "description": "Pay-per-call OpenAI GPT-6.2 Astra full-IQ reasoning with zero OpenAI account or credit card required. Up to 12,000 input chars & 1,500 output tokens per Base USDC call."
    },
    {
      "path": "/v1/llm/gemini-frontier",
      "sample_url": "https://api.sagex402.xyz/v1/llm/gemini-frontier/sample",
      "name": "Google Gemini 4 Argon Frontier LLM (x402)",
      "price_usdc": "0.005",
      "category": "intelligence",
      "description": "Pay-per-call Google Gemini 4 Argon frontier reasoning with zero Google Cloud account required. Up to 12,000 input chars & 1,500 output tokens per Base USDC call."
    }
  ]
}