GET/{network}/api/v2/trades
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 freePaginated 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
| name | in | type | description | |
|---|---|---|---|---|
network | path | str | required | CoW 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 |
owner | query | str | optional | Filter trades by trader wallet address (mutually exclusive with orderUid). |
orderUid | query | str | optional | Filter trades by 56-byte order UID. example: 0x6ee3c4d8ec3a6b99d178fcadc9221437aca58a5cede209cc984a8a90a6339a772712d97b92cd63d9c12986c663387544f816aad76b0f4c79 |
offset | query | int | optional | Pagination offset. default: 0 |
limit | query | int | optional | Maximum number of trades to return. default: 10example: 5 |
Response
type: array
pagination: none
sample: {
"[0]": "object"
}