ST
Monitoring · x402 · early usage

Compare read-only Base swap quotes from 1inch and KyberSwap, returning normalized compa…

Compare read-only Base swap quotes from 1inch and KyberSwap, returning normalized comparable output, consensus, dispersion, quote evidence, and explicit provider limitations without executing a swap.

by relay.straelo.com · discovered, not yet claimed by its owner · updated 2026-10-01

30d calls2
30d payers1
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Compare read-only Base swap quotes from 1inch and KyberSwap, returning normalized comparable output, consensus, dispersion, quote evidence, and explicit provider limitations without executing a swap.

Tags: defi · swap · quote · base · routing · bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-01
Input example from Bazaar metadata
{
  "amount_in": "0.1",
  "chain": "base",
  "slippage_bps": 50,
  "token_in": "WETH",
  "token_out": "USDC"
}
Output example
{
  "best_provider": "kyberswap",
  "confidence": "MEDIUM",
  "consensus": {
    "basis": "gross_output_only",
    "comparable_output_raw": 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": []
  }
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/36687.json for the price and payment options.
  3. Pay. Call GET https://relay.straelo.com/defi-execution-snapshot. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.02 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
2 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.020x267ead21c0a5c1bf7e44cb357641556edc52d23260s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x267ead21c0a5c1bf7e44cb357641556edc52d232",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "amountUsd": 0.02,
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "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"
          ]
        },
        "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": {
          "format": "date-time",
          "type": "string"
        },
        "partial": {
          "description": "True when one or more providers did not yield a valid quote.",
          "type": "boolean"
        },
        "provider_failures": {
          "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": {
          "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",
        "observed_at"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "best_provider": "string",
    "confidence": "LOW",
    "consensus": {},
    "economic_advantage": {},
    "economics": {},
    "evidence_quality": {},
    "observed_at": "2026-01-01T00:00:00Z",
    "partial": true,
    "provider_failures": [
      {
        "category": "string",
        "provider": "string"
      }
    ],
    "quotes": [
      {}
    ],
    "status": "COMPARISON_AVAILABLE",
    "usage": {}
  },
  "type": "string"
}

Examples

curl
curl "https://relay.straelo.com/defi-execution-snapshot"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://relay.straelo.com/defi-execution-snapshot");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://relay.straelo.com/defi-execution-snapshot")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
relay.straelo.com
Endpoint
https://relay.straelo.com/defi-execution-snapshot
Machine-readable
/resources/36687.json