GET/market/{chainId}/markets/{baseTokenAddress}-{quoteTokenAddress}/slippageTolerance
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cowswap/market/{chainId}/markets/{baseTokenAddress}-{quoteTokenAddress}/slippageToleranceCache cached 5s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeRecommended slippage tolerance in basis points for a token pair based on recent market volatility.
Try this endpoint
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/cowswap/market/1/markets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/slippageTolerance"Parameters
| name | in | type | description | |
|---|---|---|---|---|
chainId | path | str | required | EVM numeric chain ID: 1 (Ethereum), 100 (Gnosis), 42161 (Arbitrum), 8453 (Base), 137 (Polygon), 43114 (Avalanche), 56 (BNB), 59144 (Linea), or 11155111 (Sepolia). Chain slugs are also accepted. example: 1 |
baseTokenAddress | path | str | required | Base ERC-20 token address. example: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 |
quoteTokenAddress | path | str | required | Quote ERC-20 token address. example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 |
Response
type: object
pagination: none
sample: {
"slippageBps": "int"
}