the402 endpoint detail

← All endpoints

ozmium.org tx swap

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

answers 402

Executable Base mainnet swap via the Coinbase CDP Trade API: returns the unsigned transaction + permit2 payload exactly as CDP quotes it; the agent signs with its own wallet. POST /v1/tx/swap { fromToken, toToken, fromAmount (atomic), taker, signerAddress?, slippageBps? }.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.01
Network
base
Pay to
0x53a05c0eed6cbf065f31aedbae7b0d8ce1a0f4db
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
74 ms
Payment options
1 usable of 1
Last checked
2026-08-15T14:24:48.707Z (22h ago)
Category
finance-crypto

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