CoW Protocol

Claude ↗ChatGPT ↗
Client-executable: 27

CoW Protocol MEV-protected DEX data: batch-auction swap quotes, native prices, orderbook, solver competitions, and yield stats.

Independent service, not affiliated with CoW Protocol. CoW Protocol is a trademark of its owner.

What you can get

  • CoW Protocol MEV-protected batch-auction swap quotes, native token prices and orderbook lookups across EVM chains
  • Order lifecycle status, settlement trades and batch solver competition rankings and scores
  • Token USD price analytics, metadata and liquidity yield pool summaries

First request

Example: GET /{network}/api/v1/version. Send your key in the X-Hub-Key header.

curl -sS -H "X-Hub-Key: $API_HUB_KEY" \
  "https://openapihub.dev/run/cowswap/mainnet/api/v1/version"

Response

The provider's JSON arrives unchanged in data. Abridged example; values change with the market.

{
  "source": "cowswap",
  "status": 200,
  "data": {
    "version": "v2.390.1"
  }
}

Limits and key

80 requests per second per key, bursts up to 160, 60 requests in flight. On 429, wait for Retry-After. Limits · Pricing · OpenAPI JSON

Get a free key in the Telegram bot: one key per account, issued in a few seconds.

Use cases

All endpoints

CoW AMM & Yield
GET/market/{chainId}/yield/pools-average-apr — Average liquidity-pool APR comparison across CoW AMM, Uniswap v2, SushiSwap v2, PancakeSwap v2, and Curve on one EVM chain.
POST/market/{chainId}/yield/pools — Batch read-only lookup returning CoW AMM pool APR, TVL, trading volume, and fee tier for a JSON array of pool contract addresses.
Orders & Trades
GET/{network}/api/v1/orders/{UID} — Full orderbook record for a single CoW Protocol order by 56-byte UID, including amounts, fee, executed fills, status, and appData.
GET/{network}/api/v1/orders/{UID}/status — Lifecycle status for a single order (open, presignaturePending, scheduled, active, traded, cancelled, or expired) with solver execution details when traded.
POST/{network}/api/v1/orders/by_uids — Batch read-only lookup returning enriched order records for a JSON array of order UIDs.
GET/{network}/api/v1/account/{owner}/orders — Paginated historical and active orders created by a single wallet address, ordered newest first.
GET/{network}/api/v1/transactions/{txHash}/orders — All orders settled within a specific on-chain CoW Protocol settlement transaction hash.
GET/{network}/api/v2/trades — Paginated executed trade fills filtered by owner address or order UID, including executed buy/sell amounts, block, and txHash.
GET/{network}/api/v1/trades — Executed trade fills filtered by owner address or order UID (v1 orderbook endpoint).
GET/{network}/api/v1/users/{address}/total_surplus — Cumulative price-improvement surplus earned by a wallet address in native-token wei.
Protocol
GET/{network}/api/v1/app_data/{app_data_hash} — Resolve the full JSON appData document (slippage, partner fee, order class, hooks) stored for a 32-byte appDataHash.
GET/{network}/api/v1/version — Deployed CoW Protocol orderbook service version and commit hash.
GET/market/about — Service version and build metadata for CoW Protocol's market API.
Quotes & Pricing
POST/{network}/api/v1/quote — Read-only MEV-protected swap quote returning estimated buyAmount, sellAmount, feeAmount, gas cost, and quote expiration without submitting an order.
GET/{network}/api/v1/token/{token}/native_price — Native-asset spot price for one ERC-20 token (denominated in ETH, xDAI, POL, AVAX, or BNB depending on the selected network).
GET/market/{chainId}/markets/{baseTokenAddress}-{quoteTokenAddress}/slippageTolerance — Recommended slippage tolerance in basis points for a token pair based on recent market volatility.
Solver Competitions
GET/{network}/api/v2/solver_competition/latest — Most recent settled batch auction solver competition: competing solver scores, winning solution, clearing prices, and settlement transaction hashes.
GET/{network}/api/v2/solver_competition/{auction_id} — Solver competition details for a specific batch auction ID, including all solver bids, reference scores, and settled orders.
GET/{network}/api/v2/solver_competition/by_tx_hash/{tx_hash} — Solver competition record resolved by its on-chain settlement transaction hash.
Token Analytics
GET/market/{chainId}/tokens/{tokenAddress}/usdPrice — Current USD spot price for one ERC-20 token on the specified EVM chain.
GET/market/{chainId}/tokens/{tokenAddress}/details — On-chain ERC-20 metadata (address, name, symbol, decimals) for one token.
POST/market/{chainId}/tokens/details — Batch read-only lookup of ERC-20 metadata (name, symbol, decimals) for a list of token addresses via JSON body {"tokenAddresses": [...]}.
GET/market/{chainId}/tokens/{tokenAddress}/supply/ — Circulating and total token supply metrics for one ERC-20 token.
GET/market/{chainId}/tokens/{tokenAddress}/priceHistory/ — Historical OHLC USD price candles for an ERC-20 token over a Unix-timestamp window and interval (e.g. 5m, 15m, 1h, 4h, 1d).
GET/market/get-token-restrictions/{chainId}/{tokenAddress}/ — Jurisdictional trading restriction status for a token and ISO country code.
Token Lists
GET/files/tokens/CowSwap.json — Curated CoW Protocol multi-chain Uniswap-format token list.
GET/files/tokens/CoinGecko.json — CoW Protocol hosted CoinGecko multi-chain token list.