{"sample":true,"free":true,"note":"Static example of the paid response shape (not live data). Drop sample=1 and pay via x402 for live data. Failed calls (4xx/5xx) are never charged.","path":"/crypto/swap-quote","price_usdc":"0.003000","pay_url":"https://kr-x402-mvp.kgy5612.workers.dev/crypto/swap-quote?from=USDC&to=WETH&amount=10","input_schema":{"type":"object","properties":{"from":{"type":"string","description":"Token in: symbol (USDC, ETH, WETH, cbBTC, DAI, USDbC, AERO, DEGEN, BRETT, VIRTUAL) or 0x address","examples":["USDC"]},"to":{"type":"string","description":"Token out: symbol or 0x address","examples":["WETH"]},"amount":{"type":"string","description":"Amount of token in, human units (e.g. 10 = 10 USDC)","examples":["10"]},"wallet":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Optional sender/recipient: returns ready-to-sign tx + allowance/balance check"},"slippage_bps":{"type":"integer","minimum":1,"maximum":2000,"description":"Slippage tolerance in bps (default 50 = 0.5%)"}},"required":["from","to","amount"],"additionalProperties":false},"example":{"chain":"base","from":{"symbol":"USDC","address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6},"to":{"symbol":"WETH","address":"0x4200000000000000000000000000000000000006","decimals":18},"amount_in":10,"amount_out":0.0044952,"min_out":0.00447272,"slippage_bps":50,"price":2224.6,"amount_in_usd":9.976,"amount_out_usd":10.0487,"cost_pct":-0.73,"gas_usd":0.0319,"l1_fee_usd":0.0015,"net_out_usd":10.0153,"route":["pmm-2"],"hops":1,"router":"0x6131b5fae19ea4f9d964eac0408e4408b66337b5","router_label":"KyberSwap MetaAggregation Router v2","verdict":"GOOD","source":"kyberswap","guidance":"Good fill. Pass wallet= for ready-to-sign calldata; verify it with /crypto/decode-calldata before signing."},"start_here":"https://kr-x402-mvp.kgy5612.workers.dev/crypto/ping"}