{"version":"0.1.0","service":"Otto X","description":"x402-paywalled DeFi API on X Layer","chain":{"name":"X Layer","chainId":196,"network":"eip155:196"},"facilitator":"OKX Facilitator (Onchain OS)","paymentMethods":[{"scheme":"exact","network":"eip155:196","description":"Direct payment on X Layer (EIP-155:196)"},{"scheme":"aggr_deferred","network":"eip155:196","description":"APP Batch payment — Session Key signing, TEE-aggregated on-chain (Agentic Wallet required)"}],"resources":[{"method":"POST","path":"/swap","price":"$0.01","description":"Get swap quote + calldata on X Layer via OKX DEX (V1: not broadcast)","mimeType":"application/json"},{"method":"GET","path":"/market-alpha","price":"$0.005","description":"X Layer token market intelligence — live pricing for curated tokens","mimeType":"application/json"},{"method":"GET","path":"/price","price":"$0.002","description":"Single token USD price via OKX DEX quote","mimeType":"application/json"},{"method":"GET","path":"/all-tokens","price":"$0.002","description":"Full list of all tokens supported on X Layer DEX","mimeType":"application/json"},{"method":"GET","path":"/approve","price":"$0.005","description":"ERC-20 approval calldata for DEX router (needed before swap)","mimeType":"application/json"},{"method":"GET","path":"/crypto-news","price":"$0.001","description":"Real-time crypto news with sentiment analysis","mimeType":"application/json"},{"method":"GET","path":"/token-alpha","price":"$0.01","description":"Premium token intelligence — news, Twitter sentiment, futures data","mimeType":"application/json"},{"method":"GET","path":"/kol-sentiment","price":"$0.01","description":"Aggregated sentiment from top 50 crypto KOLs","mimeType":"application/json"},{"method":"GET","path":"/trending-altcoins","price":"$0.001","description":"Top 3 trending altcoins with analysis","mimeType":"application/json"},{"method":"GET","path":"/mega-report","price":"$0.25","description":"Comprehensive daily market briefing — headlines, sentiment, KOL alpha, trending, yield","mimeType":"application/json"},{"method":"GET","path":"/token-security","price":"$0.001","description":"Token contract security audit — honeypot detection, rug pull risk, tax analysis","mimeType":"application/json"},{"method":"GET","path":"/funding-rates","price":"$0.001","description":"Derivatives dashboard — funding rates, open interest, long/short ratios","mimeType":"application/json"},{"method":"GET","path":"/defi-analytics","price":"$0.001","description":"DeFi protocol analytics — TVL rankings, chain breakdown, gainers/losers","mimeType":"application/json"},{"method":"GET","path":"/filtered-news","price":"$0.01","description":"AI-filtered news by topic (DeFi, NFTs, Layer2, etc.)","mimeType":"application/json"},{"method":"GET","path":"/twitter-summary","price":"$0.001","description":"Curated crypto Twitter/X digest from top KOLs","mimeType":"application/json"},{"method":"GET","path":"/token-details","price":"$0.001","description":"Token price, market cap, 24h change","mimeType":"application/json"},{"method":"GET","path":"/yield-alpha","price":"$0.01","description":"Top DeFi yield opportunities across chains","mimeType":"application/json"},{"method":"GET","path":"/tradfi-data","price":"$0.001","description":"TradFi macro intelligence — indices, VIX, DXY, yields, commodities","mimeType":"application/json"},{"method":"GET","path":"/generate-meme","price":"$0.50","description":"AI image generation via fal.ai (gpt-image-2 default, nano-banana-pro alt)","mimeType":"application/json"},{"method":"GET","path":"/llm-research","price":"$0.50","description":"AI research assistant with web search via Gemini 3.1 Flash-Lite","mimeType":"application/json"},{"method":"GET","path":"/tx-explainer","price":"$0.01","description":"Decode & explain EVM transactions across 11 chains","mimeType":"application/json"},{"method":"GET","path":"/portfolio","price":"$0.001","description":"Multi-chain token balances for your Otto X sub-wallet (or ?address=0x...)","mimeType":"application/json"},{"method":"GET","path":"/supported-tokens","price":"$0.001","description":"Search tokens by symbol on chain","mimeType":"application/json"},{"method":"GET","path":"/hyperliquid-account","price":"$0.001","description":"Hyperliquid perpetual futures account info — defaults to your Otto X sub-wallet","mimeType":"application/json"},{"method":"GET","path":"/hyperliquid-market","price":"$0.001","description":"Perpetual market data & funding rates","mimeType":"application/json"},{"method":"GET","path":"/hl-transaction-history","price":"$0.001","description":"Hyperliquid trade history — defaults to your Otto X sub-wallet","mimeType":"application/json"},{"method":"GET","path":"/yield-markets","price":"$0.001","description":"Blue-chip supply APYs from each protocol's authoritative source — Aave V3 + Compound V3 (on-chain), Morpho (official GraphQL), Syrup (ERC-4626 trailing)","mimeType":"application/json"},{"method":"GET","path":"/yield-farming-active","price":"$0.001","description":"Active yield positions for a wallet — Otto-allowlisted lending positions also get a rebalance recommendation (current APY vs. the highest-rated allowlisted protocol alternative + the action calls to switch) and a portfolio yield summary","mimeType":"application/json"},{"method":"GET","path":"/yield-farming-historical","price":"$0.001","description":"Yield op history for a wallet — deposit/redeem timeline with exact Otto fees and a totals summary","mimeType":"application/json"},{"method":"GET","path":"/idle-capital","price":"$0.001","description":"Detect undeployed tokens that could earn yield","mimeType":"application/json"},{"method":"GET","path":"/yield-recommendations","price":"$0.001","description":"Personalized yield vault recommendations","mimeType":"application/json"},{"method":"POST","path":"/auto-swap","price":"$0.05","description":"Execute an in-chain swap on your Otto X sub-wallet via OKX DEX aggregator","mimeType":"application/json"},{"method":"POST","path":"/auto-bridge","price":"$0.05","description":"Execute a cross-chain bridge from your Otto X sub-wallet (17 chains supported)","mimeType":"application/json"},{"method":"POST","path":"/auto-defi-invest","price":"$0.05","description":"Deposit into a whitelisted DeFi protocol (Aave V3, Lido, Compound V3, Morpho) from your Otto X sub-wallet","mimeType":"application/json"},{"method":"POST","path":"/auto-defi-withdraw","price":"$0.05","description":"Redeem an active DeFi position from your Otto X sub-wallet","mimeType":"application/json"},{"method":"POST","path":"/yield-copilot","price":"$0.05","description":"One-call yield: deploy your idle stablecoins into the highest-APY Otto-allowlisted lending venue (Aave V3 / Compound V3 / Morpho) on Base, Arbitrum, Optimism, Ethereum, or X Layer — accepts principalAuth; returns a before/after APY + projected yield artifact","mimeType":"application/json"},{"method":"POST","path":"/auto-withdraw","price":"$0.05","description":"Escape hatch — sweep funds from your Otto X sub-wallet to any external address","mimeType":"application/json"},{"method":"GET","path":"/sub-wallet","price":"$0.01","description":"Resolve (or auto-provision) your Otto X sub-wallet — bound to the verified x402 payer","mimeType":"application/json"},{"method":"POST","path":"/yield-watch","price":"$0.001","description":"Register or update a yield-watch subscription. mode=auto: signed EIP-712 30-day delegation authorizing Otto to auto-rebalance between Aave V3 and Compound V3 (Morpho ships v1.1). mode=notify: free observation alerts only.","mimeType":"application/json"},{"method":"DELETE","path":"/yield-watch","price":"$0.001","description":"Revoke an active yield-watch subscription — requires a signed YieldWatchRevocation typed-data note (different primaryType from the registration delegation)","mimeType":"application/json"},{"method":"GET","path":"/yield-watch","price":"$0.001","description":"Read the caller's current yield-watch subscription state (mode, scope, policy knobs, move counter, next nonce)","mimeType":"application/json"},{"method":"GET","path":"/yield-watch/audit","price":"$0.001","description":"Read the caller's yield-watch audit trail — registrations, revocations, observation starts/resets, auto-move attempts/results","mimeType":"application/json"}],"freeResources":[{"method":"GET","path":"/","description":"Landing page / JSON service discovery"},{"method":"GET","path":"/health","description":"Health check"},{"method":"GET","path":"/tokens","description":"Curated token registry"},{"method":"GET","path":"/llm.txt","description":"AI-readable service catalog"},{"method":"GET","path":"/.well-known/x402","description":"This discovery document"}],"links":{"github":"https://github.com/useOttoAI/otto-x","docs":"https://docs.useotto.xyz","llmTxt":"/llm.txt"}}