{"openapi":"3.0.3","info":{"title":"defi-ops-402","version":"1.0.0","description":"Live cross-verified Arbitrum stablecoin yield data, ready-to-sign deposit calldata, and CoW Protocol gasless order building. Paid per call via x402 (exact scheme, USDC on Base)."},"servers":[{"url":"https://defi-ops-402.vercel.app"}],"paths":{"/api/yields":{"get":{"summary":"Live Arbitrum USDC yields across Aave v3, Fluid, Compound v3, Pendle (free)","responses":{"200":{"description":"Venue list with APY, TVL, addresses"}}}},"/api/best":{"get":{"summary":"Best Arbitrum USDC venue for a given amount and risk tolerance, with ready-to-sign approve+deposit calldata","parameters":[{"name":"amount","in":"query","schema":{"type":"number","default":100},"description":"USD amount to deploy"},{"name":"risk","in":"query","schema":{"type":"string","enum":["low","medium"],"default":"low"}},{"name":"owner","in":"query","schema":{"type":"string"},"description":"EVM address for txPlan calldata (optional)"}],"responses":{"200":{"description":"Winner venue + txPlan (approve/deposit calldata)"},"402":{"description":"x402 payment required: $0.02 USDC on Base (exact scheme)"}},"x-payment":{"protocol":"x402","x402Version":1,"scheme":"exact","network":"base","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxAmountRequired":"20000"}}},"/api/cow-order":{"post":{"summary":"Gasless CoW Protocol swap order builder: quote + EIP-712 order typed-data + submission instructions (Arbitrum/Base/Mainnet/Gnosis)","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["from","sellToken","buyToken","sellAmountAtomic"],"properties":{"chainId":{"type":"integer","enum":[42161,8453,1,100],"default":42161},"from":{"type":"string"},"sellToken":{"type":"string"},"buyToken":{"type":"string"},"sellAmountAtomic":{"type":"string"},"slippageBps":{"type":"integer","default":100},"receiver":{"type":"string"}}}}}},"responses":{"200":{"description":"Order struct, EIP-712 typed data, appData, submission endpoints"},"402":{"description":"x402 payment required: $0.05 USDC on Base (exact scheme)"}},"x-payment":{"protocol":"x402","x402Version":1,"scheme":"exact","network":"base","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxAmountRequired":"50000"}}}}}