← Back to discover
httpcdp
Ozmium Agent API
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 URL
https://ozmium.org/v1/swap/price
Payment options
exactBase (8453)
$0.001 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/swap/price Type: http Sources: cdp