Cross-DEX price, liquidity and gross arbitrage spread for ONE BSC pair in a single call, a
Cross-DEX price, liquidity and gross arbitrage spread for ONE BSC pair in a single call, across PancakeSwap v2/v3, Biswap and ApeSwap. Returns pricesByVenue[], bestBuy, bestSell, midSpreadBps, crossDex (grossSpreadBps, grossUsd, optimalInput) and liquidity at a stated blockNumber. Requires ?pair=SYM/SYM (first symbol is USD-priceable); optional ?fee= pins one v3 tier. Errors: 400 bad_pair|bad_fee, 404 no_pools, 502 upstream_read_failed. Split views: /price, /liquidity, /route.
10000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-02
updated
Provider
x402.donnyautomation.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x2740651e046c59aB2A6510401140643292d3a96F",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"pair": "WBNB/USDC"
},
"type": "http"
},
"output": {
"example": {
"bestBuy": {
"price": 546.2,
"venue": "pancakeV3:500"
},
"bestSell": {
"price": 546.9,
"venue": "pancake"
},
"blockNumber": 107399076,
"chainId": 56,
"crossDex": {
"buyVenue": "pancakeV3:500",
"grossSpreadBps": 14.05,
"grossUsd": 3.2,
"optimalInput": {
"amount": 2.1,
"token": "WBNB",
"usd": 1148
},
"sellVenue": "pancake",
"surface": "v2v3",
"tickBoundaryBreach": false
},
"liquidity": {
"totalTvlUsd": 9800000,
"venues": 7
},
"midSpreadBps": 27.4,
"nativeUsd": 546.6,
"network": "bsc",
"pair": "WBNB/USDC",
"pricesByVenue": [
{
"feeBps": 25,
"price": 546.6,
"surface": "v2",
"tvlUsd": 1348000,
"venue": "pancake"
},
{
"feeBps": 5,
"price": 546.2,
"surface": "v3",
"tvlUsd": 2100000,
"venue": "pancakeV3:500"
}
],
"source": "rpc",
"ts": "2026-07-01T00:00:00.000Z"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"fee": {
"description": "Optional PancakeSwap v3 fee tier to restrict the v3 probe (e.g. 100, 500, 2500, 10000). Omit to probe all v3 tiers + v2.",
"type": "string"
},
"pair": {
"description": "Token pair as SYM/SYM; first symbol is the USD-priceable side (e.g. WBNB/USDC, WBNB/USDT, CAKE/WBNB).",
"type": "string"
}
},
"required": [
"pair"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://x402.donnyautomation.com/call" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402.donnyautomation.com/call");
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://x402.donnyautomation.com/call")
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/4933.json, and this resource appears in /discovery/resources and /discovery/search.