Indicative read-only swap quote from on-chain reserves
https://x402.professorsausages.com/swap-quote/quote/:chain/:tokenIn/:tokenOutOverview
Indicative read-only swap quote from on-chain reserves
Protocol
x402
Price
$0.03
Payment Asset
USD Coin
Payment Network
Base
Category
crypto/defi
Provider
x402
Source
bazaar
Indexed
2026-06-30 18:14:07
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"method": "GET",
"queryParams": {
"amount": "Human units of tokenIn to quote (default 1).",
"pool": "Explicit UniswapV2 pair address to quote against (skips factory lookup)."
},
"type": "http"
}
Output Schema
{
"oneOf": [
{
"properties": {
"amountIn": {
"description": "Human units of tokenIn (echoes request).",
"type": "string"
},
"amountOut": {
"description": "Human units of tokenOut after the 0.3% fee.",
"type": "string"
},
"as_of_block": {
"description": "Block height reserves were read at.",
"type": "string"
},
"chain": {
"type": "string"
},
"dex": {
"enum": [
"uniswap-v2"
],
"type": "string"
},
"disclaimer": {
"type": "string"
},
"fee_pct": {
"enum": [
0.3
],
"type": "number"
},
"found": {
"enum": [
true
],
"type": "boolean"
},
"pool": {
"description": "The UniswapV2 pair address quoted against.",
"type": "string"
},
"price": {
"description": "tokenOut per tokenIn at the realized rate.",
"type": "number"
},
"price_impact_pct": {
"description": "% the trade moves price away from the pool spot price.",
"type": "number"
},
"tokenIn": {
"type": "string"
},
"tokenOut": {
"type": "string"
}
},
"required": [
"found",
"chain",
"tokenIn",
"tokenOut",
"amountIn",
"amountOut",
"price",
"price_impact_pct",
"pool",
"dex",
"fee_pct",
"as_of_block",
"disclaimer"
],
"type": "object"
},
{
"properties": {
"chain": {
"type": "string"
},
"disclaimer": {
"type": "string"
},
"found": {
"enum": [
false
],
"type": "boolean"
},
"reason": {
"type": "string"
},
"tokenIn": {
"type": "string"
},
"tokenOut": {
"type": "string"
},
"weth": {
"description": "Chain WETH — a common routing hop (v2).",
"type": "string"
}
},
"required": [
"found",
"chain",
"tokenIn",
"tokenOut",
"reason",
"weth",
"disclaimer"
],
"type": "object"
}
]
}