{"partialResults":false,"resources":[{"accepts":[{"amount":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"eip155:8453","payTo":"0x267ead21c0a5c1bf7e44cb357641556edc52d232","scheme":"exact"}],"description":"Compare read-only Base swap quotes obtained from 1inch and KyberSwap, evaluating output, minimum output, fees/gas, price impact, consensus, and divergence to return a deterministic economic route decision (EXECUTE_BEST, WAIT, or INSUFFICIENT_DATA). The product consults external providers during the request; quotes reflect the market state observed at that moment and identical calls can produce different results. Provider unavailability or failure can yield a partial result or insufficient data.","extensions":{"bazaar":{"info":{"input":{"body":{"amount_in":"0.1","chain":"base","slippage_bps":50,"token_in":"WETH","token_out":"USDC"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"best_provider":"kyberswap","confidence":"MEDIUM","consensus":{"basis":"gross_output_only","comparable_output_raw":0},"decision":"INSUFFICIENT_DATA","decision_reason":"no valid quote from any provider","decision_signals":{"best_provider":null,"confidence":"LOW","economic_advantage_basis":null,"is_outlier":null,"minimum_output":null,"price_impact":null,"provider_failures_count":0,"provider_success_count":0},"economic_advantage":null,"economics":{"total_estimated_cogs_usd":null},"evidence_quality":{},"observed_at":"2026-01-01T00:00:00Z","partial":false,"provider_failures":[],"quotes":[],"status":"COMPARISON_AVAILABLE","usage":{"provider_calls":[]}},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"amount_in":{"description":"Positive decimal input amount, converted exactly to raw token units.","type":"string"},"baseline_provider":{"description":"Optional provider used only for a direct economic comparison.","enum":["oneinch","kyberswap"],"type":"string"},"chain":{"description":"Base Mainnet only in this quote-only MVP.","enum":["base"],"type":"string"},"slippage_bps":{"description":"Slippage tolerance in basis points; it is not treated as a cost.","maximum":10000,"minimum":0,"type":"integer"},"token_in":{"description":"Input Base asset symbol.","enum":["USDC","USDT","ETH","WETH"],"type":"string"},"token_out":{"description":"Output Base asset symbol; must differ from token_in.","enum":["USDC","USDT","ETH","WETH"],"type":"string"}},"required":["chain","token_in","token_out","amount_in","slippage_bps"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"best_provider":{"description":"Best comparable provider only when at least two valid quotes are available.","type":["string","null"]},"confidence":{"description":"Deterministic quote-comparison confidence; two providers never produce HIGH in this MVP.","enum":["LOW","MEDIUM"],"type":"string"},"consensus":{"description":"Comparable-output median and comparison basis when two provider quotes are valid.","type":["object","null"]},"decision":{"description":"Deterministic economic decision: which swap quote the agent should choose right now. Not a safety authorization and does not execute a swap.","enum":["EXECUTE_BEST","WAIT","INSUFFICIENT_DATA"],"type":"string"},"decision_reason":{"description":"Human-readable deterministic reason for the decision.","type":"string"},"decision_signals":{"description":"Objective signals used for the decision.","type":"object"},"economic_advantage":{"description":"Best quote versus declared baseline or next available quote; never ROI.","type":["object","null"]},"economics":{"description":"Known or unknown estimated provider COGS; unknown is never represented as zero.","type":"object"},"evidence_quality":{"description":"Per-provider reported, calculated, estimated, or unavailable field quality.","type":"object"},"observed_at":{"description":"UTC timestamp when the latest provider quote was observed during this request.","format":"date-time","type":"string"},"partial":{"description":"True when one or more providers did not yield a valid quote.","type":"boolean"},"provider_failures":{"description":"Providers that failed to return a valid quote, with provider name and failure category.","items":{"properties":{"category":{"type":"string"},"provider":{"type":"string"}},"required":["provider","category"],"type":"object"},"type":"array"},"quotes":{"description":"Normalized provider quote evidence in raw token units.","items":{"type":"object"},"type":"array"},"status":{"description":"Outcome of the quote comparison: COMPARISON_AVAILABLE when at least two valid quotes exist, PARTIAL when some but not all providers succeeded, UPSTREAM_UNAVAILABLE when no provider returned a valid quote.","enum":["COMPARISON_AVAILABLE","PARTIAL","UPSTREAM_UNAVAILABLE"],"type":"string"},"usage":{"description":"Per-provider call success, latency, and configured cost-estimate availability.","type":"object"}},"required":["status","best_provider","confidence","quotes","consensus","economic_advantage","partial","provider_failures","evidence_quality","usage","economics","decision","decision_reason","decision_signals","observed_at"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-11-11T08:20:05.087Z","quality":{"l30DaysTotalCalls":3,"l30DaysUniquePayers":2,"lastCalledAt":"2026-11-11T08:20:04.865Z"},"resource":"https://relay.straelo.com/defi-route-decision","serviceName":"Straelo Relay","tags":["decision","swap","defi","quote","base"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"opwfwltg6vmraaa"}}
