Uniswap Trading API quote with on-chain oracle price comparison
Uniswap Trading API quote with on-chain oracle price comparison. Drop-in proxy for Uniswap /quote — same request body, response includes priceFeedExists, deltaBps, and oracleAmount.
2100 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-25
updated
Provider
trader.rigoblock.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xA0F9C380ad1E1be09046319fd907335B2B452B37",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2100",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"amount": "1000000000000000000",
"swapper": "0x0000000000000000000000000000000000000000",
"tokenIn": "0x0000000000000000000000000000000000000000",
"tokenInChainId": 8453,
"tokenOut": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"tokenOutChainId": 8453,
"type": "EXACT_INPUT"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"deltaBps": 12,
"oracleAmount": "2079548076",
"priceFeedExists": true,
"routing": "CLASSIC"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"amount": {
"description": "Amount in base units (e.g. '1000000000000000000')",
"type": "string"
},
"swapper": {
"description": "Swapper address (required by Uniswap Trading API)",
"type": "string"
},
"tokenIn": {
"description": "Token to sell (address or symbol)",
"type": "string"
},
"tokenInChainId": {
"description": "Chain ID for tokenIn (e.g. 8453)",
"type": "integer"
},
"tokenOut": {
"description": "Token to buy (address or symbol)",
"type": "string"
},
"tokenOutChainId": {
"description": "Chain ID for tokenOut (e.g. 8453)",
"type": "integer"
},
"type": {
"description": "Quote type",
"enum": [
"EXACT_INPUT",
"EXACT_OUTPUT"
],
"type": "string"
}
},
"required": [
"type",
"amount",
"tokenIn",
"tokenOut",
"tokenInChainId",
"tokenOutChainId",
"swapper"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"deltaBps": {
"type": "integer"
},
"oracleAmount": {
"type": "string"
},
"priceFeedExists": {
"type": "boolean"
},
"routing": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://trader.rigoblock.com/api/quote/uniswap" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://trader.rigoblock.com/api/quote/uniswap");
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://trader.rigoblock.com/api/quote/uniswap")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3616.json, and this resource appears in /discovery/resources and /discovery/search.