DEX price quote across 7 chains (Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, Unichai
DEX price quote across 7 chains (Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, Unichain). Returns sell/buy amounts, price, routing, and gas estimate.
2000 (raw units)
price
3
calls / 30d
3
unique payers
2026-09-17
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": "2000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"amount": "1",
"buy": "USDC",
"chain": "8453",
"sell": "ETH"
},
"type": "http"
},
"output": {
"example": {
"buy": "2079.54 USDC",
"chainId": 8453,
"gasFeeUSD": "0.0024",
"gasLimit": "394000",
"price": "1 ETH = 2079.54 USDC",
"routing": "CLASSIC",
"sell": "1 ETH"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"amount": {
"description": "Amount to sell (human-readable, e.g. '1' for 1 ETH)",
"type": "string"
},
"buy": {
"description": "Token to buy (ETH, USDC, WBTC, or contract address)",
"type": "string"
},
"chain": {
"description": "Chain name or ID (e.g. 'base', '8453', 'arbitrum', '42161')",
"type": "string"
},
"operator": {
"description": "Optional operator address for browser auth bypass",
"type": "string"
},
"sell": {
"description": "Token to sell (ETH, USDC, WBTC, or contract address)",
"type": "string"
},
"sig": {
"description": "Optional EIP-191 signature for browser auth bypass",
"type": "string"
},
"slippage": {
"description": "Optional slippage tolerance in basis points (e.g. '100' for 1%)",
"type": "string"
},
"ts": {
"description": "Optional signature timestamp for browser auth bypass",
"type": "string"
},
"vault": {
"description": "Optional Rigoblock vault address for gas estimation",
"type": "string"
}
},
"required": [
"sell",
"buy",
"amount"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"buy": {
"type": "string"
},
"chainId": {
"type": "integer"
},
"gasFeeUSD": {
"type": "string"
},
"gasLimit": {
"type": "string"
},
"price": {
"type": "string"
},
"routing": {
"type": "string"
},
"sell": {
"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" # -> 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");
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")
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/3614.json, and this resource appears in /discovery/resources and /discovery/search.