GET/{network}/api/v2/trades

Claude ↗ChatGPT ↗
Auth X-Hub-Key from API_HUB_KEYExecute GET /run/cowswap/{network}/api/v2/tradesCache cached 5s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Paginated executed trade fills filtered by owner address or order UID, including executed buy/sell amounts, block, and txHash.

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/mainnet/api/v2/trades?orderUid=0x6ee3c4d8ec3a6b99d178fcadc9221437aca58a5cede209cc984a8a90a6339a772712d97b92cd63d9c12986c663387544f816aad76b0f4c79&limit=5"

Parameters

nameintypedescription
networkpathstrrequiredCoW Protocol network slug: mainnet, xdai, arbitrum_one, base, polygon, avalanche, bnb, linea, or sepolia (aliases such as ethereum, eth, gnosis, arbitrum, arb, bsc, or numeric chain IDs are normalized automatically).
example: mainnet
ownerquerystroptionalFilter trades by trader wallet address (mutually exclusive with orderUid).
orderUidquerystroptionalFilter trades by 56-byte order UID.
example: 0x6ee3c4d8ec3a6b99d178fcadc9221437aca58a5cede209cc984a8a90a6339a772712d97b92cd63d9c12986c663387544f816aad76b0f4c79
offsetqueryintoptionalPagination offset.
default: 0
limitqueryintoptionalMaximum number of trades to return.
default: 10
example: 5

Response

type: array
pagination: none
sample: {
  "[0]": "object"
}