the402 endpoint detail

← All endpoints

ozmium.org swap price

https://ozmium.org/v1/swap/price

payable

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.

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.001
Network
base
Pay to
0x53a05c0eed6cbf065f31aedbae7b0d8ce1a0f4db
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
62 ms
Payment options
1 usable of 1
Last checked
2026-08-10T09:10:17.785Z (1d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fozmium.org%2Fv1%2Fswap%2Fprice"