Compare read-only Base swap quotes obtained from 1inch and KyberSwap, evaluating
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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://relay.straelo.com/defi-route-decision
| Category | Commerce and shopping |
|---|---|
| Provider host | relay.straelo.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.02 | 577 ms |
| 2026-11-25 | valid payment request | 402 | $0.02 | 566 ms |
| 2026-11-24 | valid payment request | 402 | $0.02 | 573 ms |
| 2026-11-23 | valid payment request | 402 | $0.02 | 571 ms |
| 2026-11-22 | valid payment request | 402 | $0.02 | 571 ms |
| 2026-11-21 | valid payment request | 402 | $0.02 | 574 ms |
| 2026-11-20 | valid payment request | 402 | $0.02 | 616 ms |
| 2026-11-19 | valid payment request | 402 | $0.02 | 564 ms |
| 2026-11-18 | valid payment request | 402 | $0.02 | 576 ms |
| 2026-11-17 | valid payment request | 402 | $0.02 | 582 ms |
| 2026-11-16 | valid payment request | 402 | $0.02 | 576 ms |
| 2026-11-15 | valid payment request | 402 | $0.02 | 723 ms |
| 2026-11-14 | valid payment request | 402 | $0.02 | 824 ms |
| 2026-11-13 | valid payment request | 402 | $0.02 | 834 ms |
| 2026-11-12 | valid payment request | 402 | $0.02 | 694 ms |
| 2026-11-11 | valid payment request | 402 | $0.02 | 725 ms |
| 2026-11-10 | valid payment request | 402 | $0.02 | 571 ms |
| 2026-11-09 | valid payment request | 402 | $0.02 | 571 ms |
| 2026-11-08 | valid payment request | 402 | $0.02 | 566 ms |
| 2026-11-07 | valid payment request | 402 | $0.02 | 568 ms |
| 2026-11-06 | valid payment request | 402 | $0.02 | 566 ms |
| 2026-11-05 | valid payment request | 402 | $0.02 | 605 ms |
Example input (from the provider)
{
"body": {
"amount_in": "0.1",
"chain": "base",
"slippage_bps": 50,
"token_in": "WETH",
"token_out": "USDC"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$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 whe