{"slug":"relay-straelo-com-defi-route-decision-15dde6","title":"Compare read-only Base swap quotes obtained from 1inch and KyberSwap, evaluating","host":"relay.straelo.com","method":"POST","resource":"https://relay.straelo.com/defi-route-decision","category":"commerce","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 ","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":573,"reported_calls_30d":3,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"amount_in":"0.1","chain":"base","slippage_bps":50,"token_in":"WETH","token_out":"USDC"},"bodyType":"json","method":"POST","type":"http"},"output_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"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":577,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":566,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":573,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":571,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":571,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":574,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":616,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":564,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":576,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":582,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":576,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":723,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":824,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":834,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":694,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":725,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":false,"latency_ms":571,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":false,"latency_ms":571,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":false,"latency_ms":566,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":false,"latency_ms":568,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":566,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":605,"error":null}],"description_full":"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.","last_updated":"2026-11-11T08:20:05.087Z","schemes":["exact"]}