{"openapi":"3.0.3","info":{"title":"SwarmX — AI Due Diligence on Everything Tradeable","version":"1.0.0","contact":{"email":"Management@swarmx.io"},"description":"Adversarial AI agent teams research anything tradeable — tokenized stocks (RWA), crypto, and equities — paid per call in USDC (Solana, Base + Arbitrum) via the x402 protocol. No API keys, no accounts. Product lines: Equities & RWA (flagship: Stock DD $0.29), Crypto & On-chain, General Agents."},"servers":[{"url":"https://swarmx.io"}],"tags":[{"name":"Equities & RWA","description":"Due diligence on tokenized stocks and equities — adversarial bull/bear/risk agent panels grounded in real market data. Flagship: Stock DD ($0.29)."},{"name":"Crypto & On-chain","description":"On-chain intelligence — token diligence, wallet analytics, contract audits, memecoin and DeFi risk scoring on Solana."},{"name":"General Agents","description":"General multi-agent workers — research, analysis, writing, code review, extraction. Same pay-per-call rail."},{"name":"Platform","description":"Free platform utilities — catalog, health, async tasks."}],"paths":{"/x402/rwa/stock-dd":{"post":{"operationId":"x402-rwa-stock-dd","summary":"Tokenized-Stock Due Diligence","description":"RWA equity due diligence — fetches real Yahoo Finance market data (price, 6mo range, trend, volatility) then runs an adversarial bull/bear/risk Swarm debate judged into a bullish/neutral/bearish verdict (DebateWithJudge, 3 agents). v1 analyzes the underlying equity behind Robinhood-Chain stock tokens.","tags":["Equities & RWA"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ticker":{"type":"string","description":"Equity ticker to analyze: 1-6 uppercase letters A-Z (e.g. NVDA, AAPL, TSLA)."}},"required":["ticker"]},"example":{"ticker":"AAPL"}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.10"}}}},"/x402/rwa/screen":{"post":{"operationId":"x402-rwa-screen","summary":"Tokenized-Stock Screener","description":"Rank a watchlist (2–8 tickers) of tokenized stocks. Fetches real market data for each, then runs a multi-agent Swarm screening debate judged into a best-to-worst ranking with per-ticker rating, score, and rationale. Grounded deterministic fallback if the Swarm is unavailable.","tags":["Equities & RWA"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tickers":{"type":"array","items":{"type":"string"},"description":"2-8 equity tickers, each 1-6 uppercase letters (e.g. [\"NVDA\",\"AAPL\",\"TSLA\"])."}},"required":["tickers"]},"example":{"tickers":["NVDA","AAPL"]}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.15"}}}},"/x402/rwa/compare":{"post":{"operationId":"x402-rwa-compare","summary":"Tokenized-Stock Comparison","description":"Head-to-head due diligence on two tokenized equities. Fetches real market data for both and runs an adversarial Swarm debate judged into a winner, per-ticker ratings, and the key points and risks.","tags":["Equities & RWA"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tickerA":{"type":"string","description":"First equity ticker (1-6 uppercase letters)."},"tickerB":{"type":"string","description":"Second equity ticker (1-6 uppercase letters)."}},"required":["tickerA","tickerB"]},"example":{"tickerA":"...","tickerB":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.10"}}}},"/x402/rwa/eligibility":{"post":{"operationId":"x402-rwa-eligibility","summary":"Tokenized-Asset Eligibility Check","description":"Compliance screen for a tokenized equity: identifies the underlying (name/exchange via real data) and returns a deterministic Robinhood-Chain access assessment by jurisdiction (US persons are not eligible). Informational only, not legal advice.","tags":["Equities & RWA"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ticker":{"type":"string","description":"Equity ticker (1-6 uppercase letters)."},"jurisdiction":{"type":"string","description":"Country/jurisdiction to assess (e.g. 'US', 'Germany'). Defaults to 'US'."}},"required":["ticker"]},"example":{"ticker":"AAPL"}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.02"}}}},"/x402/rwa/catalyst":{"post":{"operationId":"x402-rwa-catalyst","summary":"Tokenized-Stock Catalyst Brief","description":"Corporate-actions and catalyst brief for an equity: real dividend history + trailing yield, stock splits, and notable recent single-day moves from Yahoo Finance, summarized by an AI analyst. Future earnings dates are not fabricated when unavailable.","tags":["Equities & RWA"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ticker":{"type":"string","description":"Equity ticker (1-6 uppercase letters, e.g. AAPL)."}},"required":["ticker"]},"example":{"ticker":"AAPL"}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.05"}}}},"/x402/investment-dd":{"post":{"operationId":"x402-investment-dd","summary":"Investment Due Diligence","description":"5-agent concurrent analysis + synthesis — team, tokenomics, tech, community, market scoring with cross-check penalties and STRONG_BUY/BUY/HOLD/AVOID/STRONG_AVOID recommendation (ConcurrentWorkflow + synthesis, 5+1 agents)","tags":["Equities & RWA"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"project":{"type":"string","description":"Project name or description (max 500 chars)"},"projectType":{"type":"string","enum":["token","protocol","dao","nft"],"description":"Project type. Defaults to 'token'."},"context":{"type":"string","description":"Additional context (whitepaper excerpts, links, etc., max 5000 chars)"}},"required":["project"]},"example":{"project":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.19"}}}},"/x402/wallet-analyzer":{"post":{"operationId":"x402-wallet-analyzer","summary":"SwarmX Solana Wallet Analyzer","description":"Analyze any Solana wallet — SOL balance, token holdings with USD values, NFTs, recent transactions","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Solana wallet address (base58, 32-44 chars)"}},"required":["address"]},"example":{"address":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}}}},"/x402/token-holders":{"post":{"operationId":"x402-token-holders","summary":"SwarmX Token Holders","description":"Get top holders for any SPL token — amounts, percentages, concentration analysis","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mint":{"type":"string","description":"SPL token mint address (Solana base58)"},"limit":{"type":"number","description":"Number of top holders to return (1-20). Defaults to 20.","minimum":1,"maximum":20}},"required":["mint"]},"example":{"mint":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}}}},"/x402/tx-history":{"post":{"operationId":"x402-tx-history","summary":"SwarmX Transaction History","description":"Get recent transaction history for any Solana address — signatures, types, timestamps","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Solana address (base58)"},"limit":{"type":"number","description":"Number of transactions to return (1-10). Defaults to 10.","minimum":1,"maximum":10}},"required":["address"]},"example":{"address":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}}}},"/x402/defi-positions":{"post":{"operationId":"x402-defi-positions","summary":"SwarmX DeFi Positions","description":"Scan a Solana wallet for DeFi positions — Marinade, Jito, Raydium LP tokens and more","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Solana wallet address (base58)"}},"required":["address"]},"example":{"address":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.02"}}}},"/x402/wallet-report":{"post":{"operationId":"x402-wallet-report","summary":"SwarmX Wallet Report Bundle","description":"Full wallet report — SOL balance, token holdings, top-token holder concentration, and DeFi positions in one call","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Solana wallet address (base58)"}},"required":["address"]},"example":{"address":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.03"}}}},"/x402/token-price":{"post":{"operationId":"x402-token-price","summary":"Token Price","description":"Real-time token price in USD via Jupiter — sub-second cached, designed for HFT bot loops","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mint":{"type":"string","description":"SPL token mint address (Solana base58)"}},"required":["mint"]},"example":{"mint":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}}}},"/x402/token-supply":{"post":{"operationId":"x402-token-supply","summary":"Token Supply","description":"Get total supply and decimals for any SPL token mint via Solana RPC","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mint":{"type":"string","description":"SPL token mint address (Solana base58)"}},"required":["mint"]},"example":{"mint":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}}}},"/x402/slot-info":{"post":{"operationId":"x402-slot-info","summary":"Slot Info","description":"Current Solana slot and block time — network health monitoring for trading bots","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[]},"example":{}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}}}},"/x402/token-accounts":{"post":{"operationId":"x402-token-accounts","summary":"Token Accounts","description":"List all SPL token accounts for a wallet — portfolio monitoring with optional mint filter","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Solana wallet address (base58)"},"mint":{"type":"string","description":"Optional mint filter. Only return accounts for this specific token."}},"required":["address"]},"example":{"address":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}}}},"/x402/recent-blockhash":{"post":{"operationId":"x402-recent-blockhash","summary":"Recent Blockhash","description":"Get latest blockhash for transaction building — every bot needs this before submitting a tx","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[]},"example":{}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}}}},"/x402/contract-audit":{"post":{"operationId":"x402-contract-audit","summary":"Smart Contract Audit","description":"Multi-agent smart contract pre-audit — security vulns, economic attacks, copy/clone detection, complexity assessment, gas optimization, and structured risk report with verdict (ConcurrentWorkflow, 4 agents)","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Smart contract source code to audit"},"language":{"type":"string","enum":["solidity","rust","anchor"],"description":"Contract language. Defaults to 'solidity' if not specified."}},"required":["code"]},"example":{"code":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.10"}}}},"/x402/contract-audit/quick":{"post":{"operationId":"x402-contract-audit-quick","summary":"Quick Contract Audit","description":"Single-agent quick security scan — fast, cheap, covers major security vulnerabilities only (1 agent, SecurityAuditor)","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Smart contract source code to scan"},"language":{"type":"string","enum":["solidity","rust","anchor"],"description":"Contract language. Defaults to 'solidity'."}},"required":["code"]},"example":{"code":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.03"}}}},"/x402/contract-audit/deep":{"post":{"operationId":"x402-contract-audit-deep","summary":"Deep Contract Audit","description":"Comprehensive 6-agent deep audit — security, economic, gas, copy/clone detection, plus additional verification pass with GasOptimizer and CopyDetector cross-checks (ConcurrentWorkflow, 6 agents)","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Smart contract source code for deep audit"},"language":{"type":"string","enum":["solidity","rust","anchor"],"description":"Contract language. Defaults to 'solidity'."}},"required":["code"]},"example":{"code":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.15"}}}},"/x402/token-risk":{"post":{"operationId":"x402-token-risk","summary":"Token Risk Assessment","description":"Multi-agent token risk scoring — rug pull detection, timeline anomalies, copy/clone detection, tokenomics analysis, and SAFE/CAUTION/DANGER verdict (SequentialWorkflow, 3 agents)","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mint":{"type":"string","description":"Token mint/contract address"},"chain":{"type":"string","enum":["solana","evm"],"description":"Blockchain. Defaults to 'solana'."}},"required":["mint"]},"example":{"mint":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.05"}}}},"/x402/dao-analyze":{"post":{"operationId":"x402-dao-analyze","summary":"DAO Proposal Analysis","description":"Multi-agent DAO proposal analysis — economic impact, technical feasibility, risk assessment, and FOR/AGAINST/ABSTAIN recommendation (MixtureOfAgents, 4 agents)","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"proposal":{"type":"string","description":"The DAO proposal text to analyze"},"daoName":{"type":"string","description":"Optional DAO name for context"}},"required":["proposal"]},"example":{"proposal":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.10"}}}},"/x402/tx-explainer":{"post":{"operationId":"x402-tx-explainer","summary":"Transaction Explainer","description":"Explain any Solana transaction in plain English — type classification, participants, tokens involved, and summary","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"signature":{"type":"string","description":"Solana transaction signature (base58, 64-88 chars)"}},"required":["signature"]},"example":{"signature":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.03"}}}},"/x402/memecoin-score":{"post":{"operationId":"x402-memecoin-score","summary":"Memecoin Score","description":"Multi-agent memecoin risk scoring — contract authority checks, holder concentration, and SAFE/CAUTION/DANGER/SCAM verdict (SequentialWorkflow, 3 agents)","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mint":{"type":"string","description":"SPL token mint address (Solana base58)"}},"required":["mint"]},"example":{"mint":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.05"}}}},"/x402/wallet-risk-score":{"post":{"operationId":"x402-wallet-risk-score","summary":"Wallet Risk Score","description":"Multi-agent wallet risk assessment — transaction pattern analysis and risk level scoring (SequentialWorkflow, 2 agents)","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Solana wallet address (base58)"}},"required":["address"]},"example":{"address":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.05"}}}},"/swarm/token-diligence":{"post":{"operationId":"swarm-token-diligence","summary":"Token Launch Due Diligence","description":"5-agent concurrent token launch analysis — contract audit, tokenomics, team credibility, market, liquidity — with weighted synthesis and APEWORTHY/PROMISING/CAUTION/HIGH_RISK/RUG_LIKELY verdict (ConcurrentWorkflow + synthesis, 5+1 agents)","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mint":{"type":"string","description":"SPL token mint address to research"}},"required":["mint"]},"example":{"mint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.15"}}}},"/swarm/defi-risk-score":{"post":{"operationId":"swarm-defi-risk-score","summary":"DeFi Protocol Risk Score","description":"5-agent protocol risk assessment — contract security, tokenomics, on-chain activity, governance, historical risk — with AAA-to-D credit-style rating (ConcurrentWorkflow + synthesis, 5+1 agents)","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"protocol":{"type":"string","description":"DeFi protocol name or URL to assess"}},"required":["protocol"]},"example":{"protocol":"marinade.finance"}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.15"}}}},"/swarm/monitor":{"post":{"operationId":"swarm-monitor","summary":"Monitor Swarm","description":"3-agent parallel monitoring — price/balance checker, activity monitor, alert analyzer. Checks multiple signals against thresholds, returns ALERT/WATCH/NORMAL status. Designed for access-pass buyers running on a schedule.","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"target":{"type":"string","description":"Address or identifier to monitor"},"type":{"type":"string","description":"Optional target type"}},"required":["target"]},"example":{"target":"H1ooMkPx8uXoPS5WYz5JMY7dnYacqGLD3ZfEEku5caAZ"}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.10"}}}},"/x402/yield-optimizer":{"post":{"operationId":"x402-yield-optimizer","summary":"DeFi Yield Optimizer","description":"3-agent yield optimization — scans DeFiLlama yields, evaluates protocol risk, recommends allocation strategy (MixtureOfAgents, 3 agents)","tags":["Crypto & On-chain"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amount":{"type":"number","description":"Investment amount in USD. Optional — strategy works without it."},"riskTolerance":{"type":"string","enum":["low","medium","high"],"description":"Risk tolerance level. Defaults to 'medium'."},"chains":{"type":"array","items":{"type":"string"},"description":"Blockchains to scan (e.g. ['ethereum', 'solana']). Defaults to ['ethereum', 'solana', 'arbitrum', 'base']."}},"required":[]},"example":{}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.10"}}}},"/x402/research":{"post":{"operationId":"x402-research","summary":"SwarmX Research Pipeline","description":"Multi-agent research: Researcher, FactChecker, and Writer produce a verified report on any topic","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","description":"The topic to research"},"depth":{"type":"string","enum":["quick","standard","deep"],"description":"Research depth. Defaults to 'standard'."}},"required":["query"]},"example":{"query":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.05"}}}},"/x402/analyze":{"post":{"operationId":"x402-analyze","summary":"SwarmX Analysis Panel","description":"Multi-perspective analysis: Technical, Economic, and Risk experts synthesize an assessment","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"The text or topic to analyze"},"type":{"type":"string","enum":["comprehensive","technical","economic","risk"],"description":"Analysis type. Defaults to 'comprehensive'."}},"required":["text"]},"example":{"text":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.03"}}}},"/x402/agent":{"post":{"operationId":"x402-agent","summary":"SwarmX Single Agent","description":"Run a single AI agent with custom task, model, and system prompt","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"task":{"type":"string","description":"The task for the agent to complete"},"model":{"type":"string","description":"LLM model name (e.g. 'gpt-5-mini', 'gpt-5.1'). Defaults to 'gpt-5-mini'."},"systemPrompt":{"type":"string","description":"Custom system prompt for the agent"},"agentName":{"type":"string","description":"Custom agent name. Defaults to 'x402-agent'."}},"required":["task"]},"example":{"task":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.02"}}}},"/swarm/fact-check":{"post":{"operationId":"swarm-fact-check","summary":"Adversarial Fact Check","description":"4-agent adversarial fact-checking pipeline — claim extraction, evidence gathering, devil's advocate, judge verdict with VERIFIED/LIKELY_TRUE/UNVERIFIED/DISPUTED/FALSE rulings (SequentialWorkflow, 4 agents)","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"claim":{"type":"string","description":"Claim to fact-check (max 5000 chars)"}},"required":["claim"]},"example":{"claim":"Solana processes more transactions per day than Ethereum"}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.10"}}}},"/swarm/deep-research":{"post":{"operationId":"swarm-deep-research","summary":"Deep Research Swarm","description":"Provider-routed research pipeline — model-knowledge analysis (no live web retrieval), optional on-chain data from Helius, adversarial consistency checks, and a synthesis report.","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"topic":{"type":"string","description":"Research topic (max 500 chars)"},"focus":{"type":"string","description":"Optional focus area"}},"required":["topic"]},"example":{"topic":"x402 payment protocol adoption"}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.15"}}}},"/x402/research-report":{"post":{"operationId":"x402-research-report","summary":"Fact-Checked Research Report","description":"4-agent research pipeline with fact-checking — researcher, fact-checker (VERIFIED/UNVERIFIED/DISPUTED/OUTDATED/FABRICATED), analyst, writer (SequentialWorkflow, 4 agents)","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"topic":{"type":"string","description":"The research topic (max 500 chars)"},"depth":{"type":"string","enum":["brief","standard","deep"],"description":"Research depth. Defaults to 'standard'."},"focus":{"type":"string","description":"Optional focus area to narrow the research scope"}},"required":["topic"]},"example":{"topic":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.15"}}}},"/x402/compliance-check":{"post":{"operationId":"x402-compliance-check","summary":"Compliance Check","description":"3-agent compliance analysis — auto-detects or targets GDPR/SOC2/HIPAA/MiCA/AML/PCI-DSS/CCPA, gap analysis, remediation roadmap (SequentialWorkflow, 3 agents)","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"document":{"type":"string","description":"The document, policy, or system description to check for compliance (max 100,000 chars)"},"framework":{"type":"string","enum":["GDPR","SOC2","HIPAA","MiCA","AML","PCI-DSS","CCPA"],"description":"Target compliance framework. Omit for auto-detection."},"jurisdiction":{"type":"string","description":"Optional jurisdiction context (e.g. 'EU', 'US', 'UK')"},"industry":{"type":"string","description":"Optional industry context (e.g. 'fintech', 'healthcare')"}},"required":["document"]},"example":{"document":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.15"}}}},"/x402/summarize":{"post":{"operationId":"x402-summarize","summary":"Summarize","description":"AI-powered text summarization — any content, any length, concise output","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"The text to summarize"},"maxLength":{"type":"number","description":"Maximum summary length in words. Defaults to 200.","minimum":10,"maximum":10000}},"required":["text"]},"example":{"text":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}}}},"/x402/translate":{"post":{"operationId":"x402-translate","summary":"Translate","description":"AI translation to any language — auto-detects source language","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"The text to translate"},"targetLanguage":{"type":"string","description":"Target language name (e.g. 'Spanish', 'Japanese', 'French')"}},"required":["text","targetLanguage"]},"example":{"text":"...","targetLanguage":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.02"}}}},"/x402/code-review":{"post":{"operationId":"x402-code-review","summary":"Code Review","description":"Multi-agent code review — security audit, performance analysis, and style check in parallel","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"The code to review"},"language":{"type":"string","description":"Programming language hint (e.g. 'TypeScript', 'Solidity'). Auto-detected if omitted."}},"required":["code"]},"example":{"code":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.03"}}}},"/x402/write":{"post":{"operationId":"x402-write","summary":"Write","description":"Multi-agent content writing — research, fact-check, and write on any topic","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"topic":{"type":"string","description":"The topic to write about"},"style":{"type":"string","description":"Writing style (e.g. 'professional', 'casual', 'academic'). Defaults to 'professional'."},"length":{"type":"string","enum":["short","medium","long"],"description":"Content length. Defaults to 'medium'."}},"required":["topic"]},"example":{"topic":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.03"}}}},"/x402/debate":{"post":{"operationId":"x402-debate","summary":"Debate","description":"Multi-agent debate — pro and con agents argue, a judge delivers a verdict","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"proposition":{"type":"string","description":"The statement or question to debate"}},"required":["proposition"]},"example":{"proposition":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.03"}}}},"/x402/extract":{"post":{"operationId":"x402-extract","summary":"Extract","description":"Structured data extraction — pull specific fields from unstructured text","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"The unstructured text to extract data from"},"fields":{"type":"array","items":{"type":"string"},"description":"Array of field names to extract (e.g. ['name', 'email', 'company'])"}},"required":["text","fields"]},"example":{"text":"...","fields":[]}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}}}},"/x402/sentiment":{"post":{"operationId":"x402-sentiment","summary":"Sentiment","description":"Sentiment analysis — positive/negative/neutral classification with confidence and reasoning","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"The text to analyze sentiment for"}},"required":["text"]},"example":{"text":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.01"}}}},"/x402/code-audit":{"post":{"operationId":"x402-code-audit","summary":"Code Audit","description":"Multi-agent code audit for ANY programming language — security review, performance analysis, best practices check with EXCELLENT/GOOD/NEEDS_WORK/POOR verdict (ConcurrentWorkflow, 3 agents)","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"The source code to audit"},"language":{"type":"string","description":"Programming language. Auto-detected from code if omitted."}},"required":["code"]},"example":{"code":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.10"}}}},"/x402/seo-article":{"post":{"operationId":"x402-seo-article","summary":"SEO Article","description":"Multi-agent SEO article generation — research, write, and edit with keyword optimization","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"topic":{"type":"string","description":"The article topic (max 500 chars)"},"keywords":{"type":"array","items":{"type":"string"},"description":"Target SEO keywords (max 10)"},"wordCount":{"type":"number","description":"Target word count (500-5000). Defaults to 1500.","minimum":500,"maximum":5000},"tone":{"type":"string","enum":["professional","casual","academic","conversational","authoritative"],"description":"Writing tone. Defaults to 'professional'."}},"required":["topic"]},"example":{"topic":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.10"}}}},"/x402/document-extract":{"post":{"operationId":"x402-document-extract","summary":"Document Extract","description":"AI document data extraction — pull structured fields from unstructured text","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"},"402":{"description":"Payment required — x402 challenge with `accepts` payment requirements (Solana, Base + Arbitrum USDC)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"The document text to extract data from (max 100,000 chars)"},"fields":{"type":"array","items":{"type":"string"},"description":"Specific fields to extract. Omit for auto-detection (max 50 fields)."},"format":{"type":"string","enum":["json","table"],"description":"Output format. Defaults to 'json'."}},"required":["text"]},"example":{"text":"..."}}}},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.05"}}}},"/x402/batch":{"post":{"operationId":"x402-batch","summary":"Batch Tasks","description":"Run up to 10 tasks in parallel with a single x402 payment — 20% discount on the sum of individual prices","tags":["General Agents"],"responses":{"200":{"description":"Successful result (JSON)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tasks":{"type":"array","items":{"type":"object"},"description":"Array of tasks. Each task: { \"endpoint\": \"<slug>\", \"params\": { ... } }. Valid slugs: summarize, translate, extract, sentiment, code-review, write, debate, contract-audit, token-risk, dao-analyze, research, analyze, agent."}},"required":["tasks"]},"example":{"tasks":[]}}}}}},"/x402/catalog":{"get":{"operationId":"x402-catalog","summary":"SwarmX Service Catalog","description":"List all available SwarmX paid endpoints with pricing","tags":["Platform"],"responses":{"200":{"description":"Successful result (JSON)"}}}},"/x402/health":{"get":{"operationId":"x402-health","summary":"SwarmX Health Check","description":"SwarmX service health, revenue stats, and network info","tags":["Platform"],"responses":{"200":{"description":"Successful result (JSON)"}}}},"/x402/revenue":{"get":{"operationId":"x402-revenue","summary":"SwarmX Revenue Dashboard","description":"Detailed revenue breakdown — totals, time-period stats, top buyers, conversion rate","tags":["Platform"],"responses":{"200":{"description":"Successful result (JSON)"}}}},"/x402/async":{"post":{"operationId":"x402-async","summary":"SwarmX Async Task Submit","description":"Submit a long-running task for async execution, get a task ID to poll for results","tags":["Platform"],"responses":{"200":{"description":"Successful result (JSON)"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}}}}}}