← Back to discover
httpcdp
Ozmium Agent API
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? }.
Resource URL
https://ozmium.org/v1/tx/swap
Payment options
exactBase (8453)
$0.02 USDC
Max amount
- Pay to
- 0x53a05c0eed6cbf065f31aedbae7b0d8ce1a0f4db
- Timeout
- 60s
Tags
defitradingcryptocryptocurrencyportfolio
For agents
Prompt snippet for AI agents
Find and pay for this x402 resource: URL: https://ozmium.org/v1/tx/swap Type: http Sources: cdp