Get CoW Protocol Quote
cow_get_quoteRetrieve a price and fee quote for a trade on CoW Protocol, including estimated amounts and a prepared order structure.
Instructions
Get a price and fee quote for a potential trade on CoW Protocol.
This returns the estimated amounts, fees, and a prepared order structure that can be signed and submitted.
Args:
network: The blockchain network (mainnet, gnosis, arbitrum, base, avalanche, polygon, bnb, sepolia)
sellToken: Token to sell (address or symbol like 'WETH')
buyToken: Token to buy (address or symbol like 'USDC')
kind: 'sell' for market sell (exact sell amount), 'buy' for market buy (exact buy amount)
amount: The amount in wei as a string
from: The trader's address (used for balance/allowance simulation)
receiver: Optional address to receive bought tokens (defaults to 'from')
partiallyFillable: Whether the order can be partially filled (default: false)
slippageBps: Optional slippage tolerance in basis points
Returns the quoted order with:
sellAmount, buyAmount, feeAmount
expiration timestamp
quote ID for tracking
Whether the quote was verified via simulation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | The address that would create the order (used for simulation) | |
| kind | Yes | Order kind: 'sell' for exact sell amount, 'buy' for exact buy amount | |
| amount | Yes | The amount in wei (as string). For 'sell' this is sellAmount, for 'buy' this is buyAmount | |
| network | No | The network to get a quote on | mainnet |
| buyToken | Yes | The token to buy (address or symbol like 'USDC', 'COW') | |
| receiver | No | Optional receiver address for the bought tokens | |
| sellToken | Yes | The token to sell (address or symbol like 'WETH', 'USDC') | |
| slippageBps | No | Slippage tolerance in basis points (e.g., 50 = 0.5%) | |
| partiallyFillable | No | Whether the order can be partially filled |