Ozmium Agent API
GET ozmium.org/v1/swap/price
Why an agent can trust this route.
Sonar evidence is advisory. Paid delivery is shown as verified only when paid probes are available; otherwise route estimates use the unpaid handshake as a clearly labeled proxy.
Observed outcomes
Indicative Base mainnet swap pricing via the Coinbase CDP Trade API- expected output, min output after slippage, and fee estimates- WITHOUT reserving liquidity. Poll this to compare routes, then buy /v1/tx/swap for the executable quote. GET /v1/swap/price?fromToken=0x..&toToken=0x..&fromAmount=atomic&taker=0x..&slippageBps=100.
Resource: ozmium.org/v1/swap/price
Network: eip155:8453 · Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Pay to: 0x53a05c0eed6cbf065f31aedbae7b0d8ce1a0f4db
Payment methods: — · Last validation: —
{
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"taker": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"toToken": "0x4200000000000000000000000000000000000006",
"fromToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"fromAmount": "1000000"
}
},
"output": {
"type": "json",
"example": {
"data": {
"quote": {
"toAmount": "285000",
"minToAmount": "282150"
}
},
"network": "eip155:8453"
}
},
"paymentRequirements": [
{
"raw": {
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2",
"builderCode": "bc_cuzowhhb",
"discoverable": true
},
"payTo": "0x53a05c0eed6cbf065f31aedbae7b0d8ce1a0f4db",
"amount": "1000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 60
},
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"payTo": "0x53a05c0eed6cbf065f31aedbae7b0d8ce1a0f4db",
"scheme": "exact",
"network": "eip155:8453",
"amountAtomic": "1000"
}
]
}Source catalog records are retained separately from live endpoint observations. Sonar score, uptime, and latency are advisory metrics. CDP indexing is not inferred from validation.