Return all trades related to that orderUid. Given that an order
may be partially fillable, it is possible that an individual order
may have multiple trades.
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"CoW DAO Documentation","description":"Documentation for CoW Protocol, CoW AMM, and CoW DAO — the most user-protective trading protocol on Ethereum.","colors":{"primary":"#012F7A","light":"#3F80FF","dark":"#012F7A"},"logo":{"light":"https://mintcdn.com/cowswap/eI7SJtCRQaJAMfZg/images/cow-logo.svg?fit=max\u0026auto=format\u0026n=eI7SJtCRQaJAMfZg\u0026q=85\u0026s=ad3ebf82be1922533f9c85c89d92f35b","dark":"https://mintcdn.com/cowswap/eI7SJtCRQaJAMfZg/images/cow-logo-dark.svg?fit=max\u0026auto=format\u0026n=eI7SJtCRQaJAMfZg\u0026q=85\u0026s=ed24d2d3cf4a87aaa8684d19d1f5d415"},"favicon":"/images/cow-dao-favicon.png","background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://github.com/cowprotocol","type":"github"},{"href":"https://discord.com/invite/cowprotocol","type":"discord"}],"primary":{"type":"button","label":"Launch CoW Swap","href":"https://swap.cow.fi"}},"footer":{"socials":{"github":"https://github.com/cowprotocol","x":"https://twitter.com/CoWSwap","discord":"https://discord.com/invite/cowprotocol"},"links":[{"header":"Products","items":[{"label":"CoW Swap","href":"https://swap.cow.fi"},{"label":"CoW Explorer","href":"https://explorer.cow.fi"},{"label":"CoW AMM","href":"https://cow.fi/cow-amm"},{"label":"MEV Blocker","href":"https://mevblocker.io"}]},{"header":"Community","items":[{"label":"Discord","href":"https://discord.com/invite/cowprotocol"},{"label":"Forum","href":"https://forum.cow.fi"},{"label":"Grants","href":"https://grants.cow.fi"},{"label":"Twitter / X","href":"https://twitter.com/CoWSwap"}]},{"header":"Developers","items":[{"label":"GitHub","href":"https://github.com/cowprotocol"},{"label":"SDK","href":"/cow-sdk/quickstart"},{"label":"API Reference","href":"/cow-protocol/reference/apis/orderbook"},{"label":"Contracts","href":"/cow-protocol/reference/contracts/core"}]}]},"search":{"prompt":"Search docs..."},"fonts":{"heading":{"family":"Studio Feixen Sans","weight":700,"source":"fonts/StudioFeixenSans-Bold.woff2","format":"woff2"},"body":{"family":"Studio Feixen Sans","weight":500,"source":"fonts/StudioFeixenSans-Medium.woff2","format":"woff2"}},"styling":{"eyebrows":"breadcrumbs","latex":true},"contextual":{"options":["copy","view","claude","chatgpt","perplexity","cursor","mcp"],"display":"toc"},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"navigation":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"/"},{"anchor":"Launch CoW Swap","icon":"arrow-right-arrow-left","href":"https://swap.cow.fi"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"/changelog"},{"anchor":"About These Docs","icon":"book","href":"/about-these-docs"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cowswap","hasAudioNarration":false,"actualSubdomain":"cowswap","customDomains":["docs.cow.bleu.builders"],"gitSource":{"type":"github","owner":"bleu","repo":"cow-docs-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae94940ad71672b181f2ce4:success","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Contracts","count":139},{"language":"default","tag":"CoW Protocol","count":86},{"language":"default","tag":"Backend","count":74},{"language":"default","tag":"API Reference","count":72},{"language":"default","tag":"TypeScript SDK","count":41},{"language":"default","tag":"Contracts SDK","count":39},{"language":"default","tag":"Composable CoW","count":36},{"language":"default","tag":"Watch Tower","count":29},{"language":"default","tag":"BFF","count":27},{"language":"default","tag":"Python SDK","count":23}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"#search-bar-entry{min-width:0;width:auto;max-width:16rem}#search-bar-entry>span:last-child,#assistant-entry>span:last-child{white-space:nowrap;flex-shrink:0}#search-bar-entry>span:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}:where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background){scrollbar-width:thin;scrollbar-color:rgba(1, 47, 122, 0.28) transparent}:where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background)::-webkit-scrollbar{height:10px}:where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background)::-webkit-scrollbar-track{background:transparent}:where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background)::-webkit-scrollbar-thumb{background-color:rgba(1, 47, 122, 0.28);border:2px solid transparent;border-radius:9999px;background-clip:padding-box}:where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background)::-webkit-scrollbar-thumb:hover{background-color:rgba(1, 47, 122, 0.4)}.dark :where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background){scrollbar-color:rgba(63, 128, 255, 0.42) transparent}.dark :where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background)::-webkit-scrollbar-thumb{background-color:rgba(63, 128, 255, 0.42)}.dark :where(.mdx-content,.api-section,main) :is(.overflow-x-auto,[data-component-part=\"tabs-list\"],[data-component-part=\"code-block-root\"],.code-block-background)::-webkit-scrollbar-thumb:hover{background-color:rgba(63, 128, 255, 0.56)}.dark :where(.mdx-content,.api-section,main) pre.shiki,.dark :where(.mdx-content,.api-section,main) pre.shiki code,.dark :where(.mdx-content,.api-section,main) pre.shiki span,.dark :where(.mdx-content,.api-section,main) [data-component-part=\"code-block-root\"]{background-color:var(--shiki-dark-bg, #0b0c0e)!important}.dark :where(.mdx-content,.api-section,main) pre.shiki,.dark :where(.mdx-content,.api-section,main) pre.shiki code,.dark :where(.mdx-content,.api-section,main) pre.shiki span{color:var(--shiki-dark, inherit)!important;font-style:var(--shiki-dark-font-style, inherit)!important;font-weight:var(--shiki-dark-font-weight, inherit)!important;text-decoration:var(--shiki-dark-text-decoration, inherit)!important}.inline-resource{align-items:center;column-gap:0.28rem;display:inline-flex;flex-wrap:nowrap;max-width:100%;min-width:0;vertical-align:middle}.inline-resource__link{color:inherit;display:inline-flex;max-width:100%;min-width:0}.inline-resource__value{display:inline-block;line-height:1.45;max-width:100%;overflow-wrap:anywhere;vertical-align:middle;white-space:normal;word-break:break-word}.inline-resource__value--compact{max-width:34ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inline-resource__actions{align-items:center;column-gap:0.2rem;display:inline-flex;flex:0 0 auto}.inline-resource__action{align-items:center;background:transparent;border:0;border-radius:9999px;color:inherit;cursor:pointer;display:inline-flex;height:1.35rem;justify-content:center;opacity:0.54;padding:0;text-decoration:none;transition:opacity 160ms ease,\n background-color 160ms ease,\n transform 160ms ease,\n color 160ms ease;width:1.35rem}.inline-resource__action:hover,.inline-resource__action:focus-visible{background:rgba(127, 127, 127, 0.08);opacity:1;outline:none}.inline-resource__icon{align-items:center;display:inline-flex;justify-content:center}.inline-resource__icon--check{display:none}.inline-resource__action[data-state=\"copied\"]{color:#116329;opacity:1}.inline-resource__action[data-state=\"copied\"] .inline-resource__icon--copy{display:none}.inline-resource__action[data-state=\"copied\"] .inline-resource__icon--check{display:inline-flex}@media (hover: hover) and (pointer: fine){.inline-resource__actions{opacity:0;transform:translateX(-0.1rem);transition:opacity 160ms ease,\n transform 160ms ease}.inline-resource:hover .inline-resource__actions,.inline-resource:focus-within .inline-resource__actions{opacity:1;transform:translateX(0)}}.dark .inline-resource__action[data-state=\"copied\"]{color:#9ce89f}"}],"page":{"pagePath":"api-reference/get-existing-trades-unpaginated","slug":"/api-reference/get-existing-trades-unpaginated","pageMetadata":{"title":"Get existing trades (unpaginated).","description":"**Deprecated:** This endpoint is deprecated and will be removed in the future. Please use `/api/v2/trades` instead, which provides pagination support.\n\nExactly one of `owner` or `orderUid` must be set.\n\nResults are sorted by block number and log index descending (newest trades first).\n\n**Note:** This endpoint returns all matching trades without pagination. For paginated results, use `/api/v2/trades`.\n\nRelated docs:\n- [Orderbook API overview](/cow-protocol/reference/apis/orderbook)\n- [GET /api/v2/trades](/api-reference/get-existing-trades-paginated)\n","deprecated":true,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/trades","href":"/api-reference/get-existing-trades-unpaginated","autogeneratedByOpenApi":true,"hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Deprecated:\"\n }), \" This endpoint is deprecated and will be removed in the future. Please use \", _jsx(_components.code, {\n children: \"/api/v2/trades\"\n }), \" instead, which provides pagination support.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Exactly one of \", _jsx(_components.code, {\n children: \"owner\"\n }), \" or \", _jsx(_components.code, {\n children: \"orderUid\"\n }), \" must be set.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Results are sorted by block number and log index descending (newest trades first).\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Note:\"\n }), \" This endpoint returns all matching trades without pagination. For paginated results, use \", _jsx(_components.code, {\n children: \"/api/v2/trades\"\n }), \".\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Related docs:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: _jsx(_components.a, {\n href: \"/cow-protocol/reference/apis/orderbook\",\n children: \"Orderbook API overview\"\n })\n }), \"\\n\", _jsx(_components.li, {\n children: _jsx(_components.a, {\n href: \"/api-reference/get-existing-trades-paginated\",\n children: \"GET /api/v2/trades\"\n })\n }), \"\\n\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get existing trades (unpaginated).","description":"**Deprecated:** This endpoint is deprecated and will be removed in the future. Please use `/api/v2/trades` instead, which provides pagination support.\n\nExactly one of `owner` or `orderUid` must be set.\n\nResults are sorted by block number and log index descending (newest trades first).\n\n**Note:** This endpoint returns all matching trades without pagination. For paginated results, use `/api/v2/trades`.\n\nRelated docs:\n- [Orderbook API overview](/cow-protocol/reference/apis/orderbook)\n- [GET /api/v2/trades](/api-reference/get-existing-trades-paginated)\n","deprecated":true,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/trades","href":"/api-reference/get-existing-trades-unpaginated","autogeneratedByOpenApi":true,"hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"getTrades","summary":"Get existing trades (unpaginated).","deprecated":true,"description":"**Deprecated:** This endpoint is deprecated and will be removed in the future. Please use `/api/v2/trades` instead, which provides pagination support.\n\nExactly one of `owner` or `orderUid` must be set.\n\nResults are sorted by block number and log index descending (newest trades first).\n\n**Note:** This endpoint returns all matching trades without pagination. For paginated results, use `/api/v2/trades`.\n\nRelated docs:\n- [Orderbook API overview](/cow-protocol/reference/apis/orderbook)\n- [GET /api/v2/trades](/api-reference/get-existing-trades-paginated)\n","parameters":["ba2f95fb-0dcd-4510-a0a3-9418f37632ce","9385768d-f1a1-4e95-aa3d-6387269c3a45"],"responses":{"200":"5e0cb516-4323-4047-aa9c-ac1299a65aa6"},"method":"get","type":"path","servers":["9f164d9c-d8ee-41e2-bc4f-68726558685d","f649d14a-d9d3-4a61-ad1b-884cea39bd36","569eca66-4804-4db6-9c41-15157c059e1f","aca9317c-7020-4595-a470-2d6376876df2","903d0387-ef4e-4980-a970-a9851272cced","4c8848e4-f3ed-453d-9758-2bac3c815834","488a45e8-72b7-4b0a-b57b-ecc4283a6512","5fdb35eb-1685-4912-858c-d17f81d22be4","b811bb7b-9541-4dcb-84b1-4ad888ea3ee4","a4da4a01-396e-438e-b483-67a925acca5f","7c184bed-c90d-4814-a338-934d1a6d2bc3","73c13a85-5e8e-489a-9a87-3fe9f381264c","6792c108-11b3-4e4b-89c7-c1a31e386a52","ce8f7a35-5cc4-4f68-b749-130bee97847e","cccda760-c424-4025-aed8-30c70c375746","119f169a-6d00-4559-8d73-5440ab085a68","58594b60-d434-48ad-aa00-27c878811077","52e6cefb-ca7f-4ec3-9c74-3cf84a9653d3","63a71d62-9d1c-4cbc-a161-73aa5ba3ae66","c5b863b9-a2f8-4949-a562-7ac3ee8e1fb5","1583112e-e62a-45b9-964f-e54dc726ff18","065b57e4-9d11-4635-b930-d24d985b2f14","0d207ed8-08ba-44eb-8b65-23510afb0848","a8fb4500-3b11-4757-9ade-a797ecaaa5be","2de16a6b-81df-41c8-9ed6-d280007758b0"],"security":[],"path":"/api/v1/trades","baseUrlOptions":["https://api.cow.fi/mainnet","https://barn.api.cow.fi/mainnet","https://api.cow.fi/xdai","https://barn.api.cow.fi/xdai","https://api.cow.fi/arbitrum_one","https://barn.api.cow.fi/arbitrum_one","https://api.cow.fi/base","https://barn.api.cow.fi/base","https://api.cow.fi/avalanche","https://barn.api.cow.fi/avalanche","https://api.cow.fi/polygon","https://barn.api.cow.fi/polygon","https://api.cow.fi/lens","https://barn.api.cow.fi/lens","https://api.cow.fi/linea","https://barn.api.cow.fi/linea","https://api.cow.fi/bnb","https://barn.api.cow.fi/bnb","https://api.cow.fi/plasma","https://barn.api.cow.fi/plasma","https://api.cow.fi/ink","https://barn.api.cow.fi/ink","https://api.cow.fi/sepolia","https://barn.api.cow.fi/sepolia","http://localhost:8080"],"title":"Get existing trades (unpaginated).","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"ba2f95fb-0dcd-4510-a0a3-9418f37632ce":{"name":"owner","in":"query","schema":{"description":"20 byte Ethereum address encoded as a hex with `0x` prefix.","type":"string","example":"0x6810e776880c02933d47db1b9fc05908e5386b96","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false},"9385768d-f1a1-4e95-aa3d-6387269c3a45":{"name":"orderUid","in":"query","schema":{"description":"Unique identifier for the order: 56 bytes encoded as hex with `0x`\nprefix.\n\nBytes 0..32 are the order digest, bytes 30..52 the owner address and\nbytes 52..56 the expiry (`validTo`) as a `uint32` unix epoch timestamp.","type":"string","example":"0xff2e2e54d178997f173266817c1e9ed6fee1a1aae4b43971c53b543cffcc2969845c6f5599fbb25dbdd1b9b013daf85c03f3c63763e4bc4a","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false}},"responses":{"5e0cb516-4323-4047-aa9c-ac1299a65aa6":{"description":"### If `owner` is specified:\n\nReturn all trades related to that `owner`.\n\n### If `orderUid` is specified:\n\nReturn all trades related to that `orderUid`. Given that an order\nmay be partially fillable, it is possible that an individual order\nmay have *multiple* trades.","content":{"application/json":{"schema":{"type":"array","items":{"description":"Trade data such as executed amounts, fees, `orderUid` and `block` number.\n","type":"object","properties":{"blockNumber":{"description":"Block in which trade occurred.","type":"integer","isRequired":true,"uniqueKey":"items.[INDEX].blockNumber","typeLabel":"integer"},"logIndex":{"description":"Index in which transaction was included in block.","type":"integer","isRequired":true,"uniqueKey":"items.[INDEX].logIndex","typeLabel":"integer"},"orderUid":{"type":"string","description":"UID of the order matched by this trade.","example":"0xff2e2e54d178997f173266817c1e9ed6fee1a1aae4b43971c53b543cffcc2969845c6f5599fbb25dbdd1b9b013daf85c03f3c63763e4bc4a","isRequired":true,"uniqueKey":"items.[INDEX].orderUid","typeLabel":"string"},"owner":{"type":"string","description":"Address of trader.","example":"0x6810e776880c02933d47db1b9fc05908e5386b96","isRequired":true,"uniqueKey":"items.[INDEX].owner","typeLabel":"string"},"sellToken":{"type":"string","description":"Address of token sold.","example":"0x6810e776880c02933d47db1b9fc05908e5386b96","isRequired":true,"uniqueKey":"items.[INDEX].sellToken","typeLabel":"string"},"buyToken":{"type":"string","description":"Address of token bought.","example":"0x6810e776880c02933d47db1b9fc05908e5386b96","isRequired":true,"uniqueKey":"items.[INDEX].buyToken","typeLabel":"string"},"sellAmount":{"type":"string","description":"Total amount of `sellToken` that has been executed for this trade (including fees).","example":"1234567890","isRequired":true,"uniqueKey":"items.[INDEX].sellAmount","typeLabel":"string"},"sellAmountBeforeFees":{"type":"string","description":"The total amount of `sellToken` that has been executed for this order without fees.","example":"1234567890","isRequired":true,"uniqueKey":"items.[INDEX].sellAmountBeforeFees","typeLabel":"string"},"buyAmount":{"type":"string","description":"Total amount of `buyToken` received in this trade.","example":"1234567890","isRequired":true,"uniqueKey":"items.[INDEX].buyAmount","typeLabel":"string"},"txHash":{"oneOf":[{"type":"string","description":"Transaction hash of the corresponding settlement transaction containing the trade (if available).","example":"0xd51f28edffcaaa76be4a22f6375ad289272c037f3cc072345676e88d92ced8b5","isRequired":true,"uniqueKey":"items.[INDEX].txHash.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"items.[INDEX].txHash.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"items.[INDEX].txHash","typeLabel":"string | null"},"executedProtocolFees":{"description":"Executed protocol fees for this trade, together with the fee policies used. Listed in the order they got applied.\n","type":"array","items":{"type":"object","properties":{"policy":{"oneOf":[{"type":"object","title":"Surplus Fee","description":"Defines the ways to calculate the protocol fee.","required":["factor","maxVolumeFactor"],"properties":{"factor":{"type":"number","minimum":0,"maximum":1,"exclusiveMaximum":true,"isRequired":true,"uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX].policy.oneOf.0.factor","typeLabel":"number"},"maxVolumeFactor":{"type":"number","minimum":0,"maximum":1,"exclusiveMaximum":true,"isRequired":true,"uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX].policy.oneOf.0.maxVolumeFactor","typeLabel":"number"}},"uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX].policy.oneOf.0","typeLabel":"Surplus Fee · object"},{"type":"object","title":"Volume Fee","description":"Defines the ways to calculate the protocol fee.","required":["factor"],"properties":{"factor":{"type":"number","minimum":0,"maximum":1,"exclusiveMaximum":true,"isRequired":true,"uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX].policy.oneOf.1.factor","typeLabel":"number"}},"uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX].policy.oneOf.1","typeLabel":"Volume Fee · object"},{"type":"object","title":"Price Improvement Fee","description":"Defines the ways to calculate the protocol fee.","required":["factor","maxVolumeFactor","quote"],"properties":{"factor":{"type":"number","minimum":0,"maximum":1,"exclusiveMaximum":true,"isRequired":true,"uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX].policy.oneOf.2.factor","typeLabel":"number"},"maxVolumeFactor":{"type":"number","minimum":0,"maximum":1,"exclusiveMaximum":true,"isRequired":true,"uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX].policy.oneOf.2.maxVolumeFactor","typeLabel":"number"},"quote":{"type":"object","description":"The best quote received.","properties":{"sellAmount":{"type":"string","description":"The amount of the sell token.","example":"1234567890","uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX].policy.oneOf.2.quote.sellAmount","typeLabel":"string"},"buyAmount":{"type":"string","description":"The amount of the buy token.","example":"1234567890","uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX].policy.oneOf.2.quote.buyAmount","typeLabel":"string"},"fee":{"type":"string","description":"The amount that needs to be paid, denominated in the sell token.","example":"1234567890","uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX].policy.oneOf.2.quote.fee","typeLabel":"string"}},"isRequired":true,"uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX].policy.oneOf.2.quote","typeLabel":"object"}},"uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX].policy.oneOf.2","typeLabel":"Price Improvement Fee · object"}],"uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX].policy","typeLabel":"Surplus Fee · object | Volume Fee · object | Price Improvement Fee · object"},"amount":{"type":"string","description":"Amount of a token. `uint256` encoded in decimal.","example":"1234567890","uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX].amount","typeLabel":"string"},"token":{"type":"string","description":"20 byte Ethereum address encoded as a hex with `0x` prefix.","example":"0x6810e776880c02933d47db1b9fc05908e5386b96","uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX].token","typeLabel":"string"}},"uniqueKey":"items.[INDEX].executedProtocolFees.items.[INDEX]","typeLabel":"object"},"uniqueKey":"items.[INDEX].executedProtocolFees","typeLabel":"object[]"}},"required":["blockNumber","logIndex","orderUid","owner","sellToken","buyToken","sellAmount","sellAmountBeforeFees","buyAmount","txHash"],"uniqueKey":"items.[INDEX]","typeLabel":"object"},"uniqueKey":"","typeLabel":"object[]"},"examples":{"Example":{"title":"Example","value":[{"blockNumber":123,"logIndex":123,"orderUid":"0xff2e2e54d178997f173266817c1e9ed6fee1a1aae4b43971c53b543cffcc2969845c6f5599fbb25dbdd1b9b013daf85c03f3c63763e4bc4a","owner":"0x6810e776880c02933d47db1b9fc05908e5386b96","sellToken":"0x6810e776880c02933d47db1b9fc05908e5386b96","buyToken":"0x6810e776880c02933d47db1b9fc05908e5386b96","sellAmount":"1234567890","sellAmountBeforeFees":"1234567890","buyAmount":"1234567890","txHash":"0xd51f28edffcaaa76be4a22f6375ad289272c037f3cc072345676e88d92ced8b5","executedProtocolFees":[{"policy":{"factor":0.5,"maxVolumeFactor":0.5},"amount":"1234567890","token":"0x6810e776880c02933d47db1b9fc05908e5386b96"}]}]}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"9f164d9c-d8ee-41e2-bc4f-68726558685d":{"description":"Mainnet (Prod)","url":"https://api.cow.fi/mainnet"},"f649d14a-d9d3-4a61-ad1b-884cea39bd36":{"description":"Mainnet (Staging)","url":"https://barn.api.cow.fi/mainnet"},"569eca66-4804-4db6-9c41-15157c059e1f":{"description":"Gnosis Chain (Prod)","url":"https://api.cow.fi/xdai"},"aca9317c-7020-4595-a470-2d6376876df2":{"description":"Gnosis Chain (Staging)","url":"https://barn.api.cow.fi/xdai"},"903d0387-ef4e-4980-a970-a9851272cced":{"description":"Arbitrum One (Prod)","url":"https://api.cow.fi/arbitrum_one"},"4c8848e4-f3ed-453d-9758-2bac3c815834":{"description":"Arbitrum One (Staging)","url":"https://barn.api.cow.fi/arbitrum_one"},"488a45e8-72b7-4b0a-b57b-ecc4283a6512":{"description":"Base (Prod)","url":"https://api.cow.fi/base"},"5fdb35eb-1685-4912-858c-d17f81d22be4":{"description":"Base (Staging)","url":"https://barn.api.cow.fi/base"},"b811bb7b-9541-4dcb-84b1-4ad888ea3ee4":{"description":"Avalanche (Prod)","url":"https://api.cow.fi/avalanche"},"a4da4a01-396e-438e-b483-67a925acca5f":{"description":"Avalanche (Staging)","url":"https://barn.api.cow.fi/avalanche"},"7c184bed-c90d-4814-a338-934d1a6d2bc3":{"description":"Polygon (Prod)","url":"https://api.cow.fi/polygon"},"73c13a85-5e8e-489a-9a87-3fe9f381264c":{"description":"Polygon (Staging)","url":"https://barn.api.cow.fi/polygon"},"6792c108-11b3-4e4b-89c7-c1a31e386a52":{"description":"Lens (Prod)","url":"https://api.cow.fi/lens"},"ce8f7a35-5cc4-4f68-b749-130bee97847e":{"description":"Lens (Staging)","url":"https://barn.api.cow.fi/lens"},"cccda760-c424-4025-aed8-30c70c375746":{"description":"Linea (Prod)","url":"https://api.cow.fi/linea"},"119f169a-6d00-4559-8d73-5440ab085a68":{"description":"Linea (Staging)","url":"https://barn.api.cow.fi/linea"},"58594b60-d434-48ad-aa00-27c878811077":{"description":"BNB (Prod)","url":"https://api.cow.fi/bnb"},"52e6cefb-ca7f-4ec3-9c74-3cf84a9653d3":{"description":"BNB (Staging)","url":"https://barn.api.cow.fi/bnb"},"63a71d62-9d1c-4cbc-a161-73aa5ba3ae66":{"description":"Plasma (Prod)","url":"https://api.cow.fi/plasma"},"c5b863b9-a2f8-4949-a562-7ac3ee8e1fb5":{"description":"Plasma (Staging)","url":"https://barn.api.cow.fi/plasma"},"1583112e-e62a-45b9-964f-e54dc726ff18":{"description":"Ink (Prod)","url":"https://api.cow.fi/ink"},"065b57e4-9d11-4635-b930-d24d985b2f14":{"description":"Ink (Staging)","url":"https://barn.api.cow.fi/ink"},"0d207ed8-08ba-44eb-8b65-23510afb0848":{"description":"Sepolia (Prod)","url":"https://api.cow.fi/sepolia"},"a8fb4500-3b11-4757-9ade-a797ecaaa5be":{"description":"Sepolia (Staging)","url":"https://barn.api.cow.fi/sepolia"},"2de16a6b-81df-41c8-9ed6-d280007758b0":{"description":"Local","url":"http://localhost:8080"}}},"originalFileLocation":"cow-protocol/reference/apis/openapi/orderbook.yml"},"subdomain":"cowswap","siteName":"CoW DAO Documentation","title":"Get existing trades (unpaginated). - CoW DAO Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-17T15:46:00.191Z","originalFileLocation":"api-reference/get-existing-trades-unpaginated.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Deprecated: This endpoint is deprecated and will be removed in the future. Please use /api/v2/trades instead, which provides pagination support. Exactly one of owner or orderUid must be set. Results are sorted by block number and log index descending (newest trades first). Note: This endpoint returns all matching trades without pagination. For paginated results, use /api/v2/trades. Related docs: - Orderbook API overview - GET /api/v2/trades\">\u003cmeta data-mint-head name=\"application-name\" content=\"CoW DAO Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cowswap/nWKu9avl8veqtVHU/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cowswap/nWKu9avl8veqtVHU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cowswap/nWKu9avl8veqtVHU/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cowswap/nWKu9avl8veqtVHU/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cowswap/nWKu9avl8veqtVHU/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cowswap/nWKu9avl8veqtVHU/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cowswap/nWKu9avl8veqtVHU/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cowswap/nWKu9avl8veqtVHU/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cowswap/nWKu9avl8veqtVHU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get existing trades (unpaginated). - CoW DAO Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Deprecated: This endpoint is deprecated and will be removed in the future. Please use /api/v2/trades instead, which provides pagination support. Exactly one of owner or orderUid must be set. Results are sorted by block number and log index descending (newest trades first). Note: This endpoint returns all matching trades without pagination. For paginated results, use /api/v2/trades. Related docs: - Orderbook API overview - GET /api/v2/trades\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CoW DAO Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cow.bleu.builders/api-reference/get-existing-trades-unpaginated\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cowswap.mintlify.site/_mintlify/api/og/v2?division=Trades\u0026amp;title=Get+existing+trades+%28unpaginated%29.\u0026amp;description=**Deprecated%3A**+This+endpoint+is+deprecated+and+will+be+removed+in+the+future.+Please+use+%60%2Fapi%2Fv2%2Ftrades%60+instead%2C+which+provides+pagination+support.%0A%0AExactly+\u0026amp;theme=41809729056d2468806b22d8\u0026amp;signature=7bb6c30fad1889e09fd9340a4360fe24b68bd1cac44d9ce7aaa00bb750566065\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get existing trades (unpaginated). - CoW DAO Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Deprecated: This endpoint is deprecated and will be removed in the future. Please use /api/v2/trades instead, which provides pagination support. Exactly one of owner or orderUid must be set. Results are sorted by block number and log index descending (newest trades first). Note: This endpoint returns all matching trades without pagination. For paginated results, use /api/v2/trades. Related docs: - Orderbook API overview - GET /api/v2/trades\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cowswap.mintlify.site/_mintlify/api/og/v2?division=Trades\u0026amp;title=Get+existing+trades+%28unpaginated%29.\u0026amp;description=**Deprecated%3A**+This+endpoint+is+deprecated+and+will+be+removed+in+the+future.+Please+use+%60%2Fapi%2Fv2%2Ftrades%60+instead%2C+which+provides+pagination+support.%0A%0AExactly+\u0026amp;theme=41809729056d2468806b22d8\u0026amp;signature=7bb6c30fad1889e09fd9340a4360fe24b68bd1cac44d9ce7aaa00bb750566065\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cowswap/nWKu9avl8veqtVHU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CoW DAO Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#012F7A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cow.bleu.builders/api-reference/get-existing-trades-unpaginated\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/get-existing-trades-unpaginated.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cow.bleu.builders/#organization\",\"name\":\"CoW DAO Documentation\",\"url\":\"https://docs.cow.bleu.builders\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cowswap/eI7SJtCRQaJAMfZg/images/cow-logo.svg?fit=max\u0026auto=format\u0026n=eI7SJtCRQaJAMfZg\u0026q=85\u0026s=ad3ebf82be1922533f9c85c89d92f35b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cow.bleu.builders#website\",\"name\":\"CoW DAO Documentation\",\"url\":\"https://docs.cow.bleu.builders\",\"publisher\":{\"@id\":\"https://docs.cow.bleu.builders/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cow.bleu.builders/api-reference/get-existing-trades-unpaginated#webpage\",\"url\":\"https://docs.cow.bleu.builders/api-reference/get-existing-trades-unpaginated\",\"name\":\"Get existing trades (unpaginated).\",\"description\":\"Deprecated: This endpoint is deprecated and will be removed in the future. Please use /api/v2/trades instead, which provides pagination support. Exactly one of owner or orderUid must be set. Results are sorted by block number and log index descending (newest trades first). Note: This endpoint returns all matching trades without pagination. For paginated results, use /api/v2/trades. Related docs: - Orderbook API overview - GET /api/v2/trades\",\"dateModified\":\"2026-03-17T15:46:00.191Z\",\"isPartOf\":{\"@id\":\"https://docs.cow.bleu.builders#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cow.bleu.builders/api-reference/get-existing-trades-unpaginated#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cow.bleu.builders/api-reference/get-existing-trades-unpaginated#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.cow.bleu.builders/cow-protocol/reference/apis/orderbook\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Orderbook Endpoints\",\"item\":\"https://docs.cow.bleu.builders/api-reference/quote-a-price-and-fee-for-the-specified-order-parameters\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Trades\",\"item\":\"https://docs.cow.bleu.builders/api-reference/get-existing-trades-paginated\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Get existing trades (unpaginated).\",\"item\":\"https://docs.cow.bleu.builders/api-reference/get-existing-trades-unpaginated\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.cow.bleu.builders/api-reference/get-existing-trades-unpaginated#apireference\",\"headline\":\"Get existing trades (unpaginated).\",\"name\":\"Get existing trades (unpaginated).\",\"description\":\"Deprecated: This endpoint is deprecated and will be removed in the future. Please use /api/v2/trades instead, which provides pagination support. Exactly one of owner or orderUid must be set. Results are sorted by block number and log index descending (newest trades first). Note: This endpoint returns all matching trades without pagination. For paginated results, use /api/v2/trades. Related docs: - Orderbook API overview - GET /api/v2/trades\",\"url\":\"https://docs.cow.bleu.builders/api-reference/get-existing-trades-unpaginated\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cow.bleu.builders/api-reference/get-existing-trades-unpaginated#webpage\"},\"dateModified\":\"2026-03-17T15:46:00.191Z\",\"publisher\":{\"@id\":\"https://docs.cow.bleu.builders/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cow.bleu.builders#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CoW DAO Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"CoW DAO Documentation","nav":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"/"},{"anchor":"Launch CoW Swap","icon":"arrow-right-arrow-left","href":"https://swap.cow.fi"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"/changelog"},{"anchor":"About These Docs","icon":"book","href":"/about-these-docs"}]},"tabs":[{"tab":"CoW Swap","icon":"arrow-right-arrow-left","pages":[{"title":"CoW Swap","href":"/cow-swap/overview"}]},{"tab":"CoW Protocol","icon":"cow","groups":[{"group":"Overview","icon":"book-open","pages":[{"title":"What is CoW Protocol?","href":"/cow-protocol/overview"},{"title":"Intents","href":"/cow-protocol/explanation/introduction/intents"},{"title":"Solvers","href":"/cow-protocol/explanation/introduction/solvers"},{"title":"Fair Combinatorial Batch Auction","href":"/cow-protocol/explanation/introduction/fair-combinatorial-auction"},{"title":"Integrate CoW Protocol","href":"/cow-protocol/explanation/integration-overview"},{"title":"Building on CoW Protocol","href":"/cow-protocol/explanation/building"}]},{"group":"How It Works","icon":"circle-info","pages":[{"title":"Flow of an order","href":"/cow-protocol/explanation/how-it-works/flow-of-an-order"},{"title":"How Intents Are Formed","href":"/cow-protocol/explanation/how-it-works/how-intents-are-formed"},{"title":"Quote Selection","href":"/cow-protocol/explanation/how-it-works/quote-selection"},{"title":"Coincidence of Wants","href":"/cow-protocol/explanation/how-it-works/coincidence-of-wants"},{"title":"Fee Model","href":"/cow-protocol/explanation/fee-model"}]},{"group":"Benefits","icon":"shield-check","pages":[{"title":"MEV protection","href":"/cow-protocol/explanation/benefits/mev-protection"},{"title":"Price improvement","href":"/cow-protocol/explanation/benefits/price-improvement"},{"title":"Trade any intent","href":"/cow-protocol/explanation/benefits/trade-any-intent"},{"title":"Additional benefits","href":"/cow-protocol/explanation/benefits/additional-benefits"}]},{"group":"Order Types","icon":"list-check","pages":[{"title":"Market orders","href":"/cow-protocol/explanation/order-types/market-orders"},{"title":"Limit orders","href":"/cow-protocol/explanation/order-types/limit-orders"},{"title":"TWAP orders","href":"/cow-protocol/explanation/order-types/twap-orders"},{"title":"Programmatic orders","href":"/cow-protocol/explanation/order-types/programmatic-orders"},{"title":"CoW Hooks","href":"/cow-protocol/explanation/order-types/cow-hooks"},{"title":"Milkman orders","href":"/cow-protocol/explanation/order-types/milkman-orders"},{"title":"Wrappers","href":"/cow-protocol/explanation/order-types/wrappers"},{"title":"Repay debt with collateral using flash loans","href":"/cow-protocol/explanation/order-types/pay-debt-flash-loans"},{"title":"Liquidations","href":"/cow-protocol/explanation/order-types/liquidations"}]},{"group":"Flash Loans","icon":"bolt","pages":[{"title":"What is a flash loan?","href":"/cow-protocol/explanation/flash-loans/Introduction"},{"title":"How does it work?","href":"/cow-protocol/explanation/flash-loans/how-it-works"},{"title":"How to specify an order with flash loan","href":"/cow-protocol/explanation/flash-loans/integrators"}]},{"group":"CoW AMM","icon":"droplet","pages":[{"title":"The Problem of LVR (Loss-versus-rebalancing)","href":"/cow-amm/explanation/the-problem-of-lvr"},{"title":"How CoW AMMs Work","href":"/cow-amm/explanation/how-cow-amms-work"},{"title":"CoW AMM Deployer","href":"/cow-protocol/tutorials/cow-amm-deployer"}]},{"group":"CoW Explorer","icon":"magnifying-glass","pages":[{"title":"Viewing orders","href":"/cow-protocol/howto/cow-explorer"},{"group":"Tutorials","pages":[{"title":"By order","href":"/cow-protocol/tutorials/cow-explorer/order"},{"title":"By batch auction","href":"/cow-protocol/tutorials/cow-explorer/batch-auction"},{"title":"By user address","href":"/cow-protocol/tutorials/cow-explorer/address"}]}]},{"group":"Integration","icon":"wrench","pages":[{"title":"API Integration Guide","href":"/cow-protocol/howto/integrate/api"},{"title":"Testing Your Integration","href":"/cow-protocol/howto/integrate/testing"},{"group":"Quickstarts","pages":[{"title":"Quickstart: Raw API (cURL)","href":"/cow-protocol/tutorials/quickstart-curl"},{"title":"Quickstart: Python","href":"/cow-protocol/tutorials/quickstart-python"},{"title":"Token Approvals \u0026 GPv2VaultRelayer","href":"/cow-protocol/tutorials/token-approvals"}]},{"title":"AI Agent Orders","sidebarTitle":"AI Agent Orders","href":"/cow-protocol/tutorials/agent-orders"}]},{"group":"Architecture","icon":"sitemap","pages":[{"title":"Arbitrating auctions","href":"/cow-protocol/explanation/architecture/overview"},{"title":"Autopilot","href":"/cow-protocol/explanation/architecture/autopilot"},{"title":"Order book","href":"/cow-protocol/explanation/architecture/orderbook"},{"title":"Driver","href":"/cow-protocol/explanation/architecture/driver"},{"title":"Solver Engine","href":"/cow-protocol/explanation/architecture/solver-engine"}]},{"group":"API Reference","icon":"square-terminal","pages":[{"title":"Orderbook API","href":"/cow-protocol/reference/apis/orderbook"},{"group":"Orderbook Endpoints","pages":[{"group":"Quotes","pages":[{"title":"Quote a price and fee for the specified order parameters.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml post /api/v1/quote","href":"/api-reference/quote-a-price-and-fee-for-the-specified-order-parameters"}]},{"group":"Orders","pages":[{"title":"Create a new order.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml post /api/v1/orders","href":"/api-reference/create-a-new-order"},{"title":"Cancel multiple orders by marking them invalid with a timestamp.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml delete /api/v1/orders","href":"/api-reference/cancel-multiple-orders-by-marking-them-invalid-with-a-timestamp"},{"title":"Get existing orders from the list of UIDs.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml post /api/v1/orders/by_uids","href":"/api-reference/get-existing-orders-from-the-list-of-uids"},{"title":"Get existing order from UID.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/orders/{UID}","href":"/api-reference/get-existing-order-from-uid"},{"title":"Cancel an order by marking it invalid with a timestamp.","deprecated":true,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml delete /api/v1/orders/{UID}","href":"/api-reference/cancel-an-order-by-marking-it-invalid-with-a-timestamp"},{"title":"Get the status of an order.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/orders/{UID}/status","href":"/api-reference/get-the-status-of-an-order"},{"title":"Get orders of one user paginated.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/account/{owner}/orders","href":"/api-reference/get-orders-of-one-user-paginated"},{"title":"Get orders by settlement transaction hash.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/transactions/{txHash}/orders","href":"/api-reference/get-orders-by-settlement-transaction-hash"}]},{"group":"Trades","pages":[{"title":"Get existing trades (paginated).","description":"Exactly one of `owner` or `orderUid` must be set.\n\nResults are paginated and sorted by block number and log index descending (newest trades first).\n\nTo enumerate all trades start with `offset` 0 and keep increasing the\n`offset` by the total number of returned results. When a response\ncontains less than `limit` the last page has been reached.\n\nRelated docs:\n- [Orderbook API overview](/cow-protocol/reference/apis/orderbook)\n- [Quickstart: Raw API (cURL)](/cow-protocol/tutorials/quickstart-curl)\n- [Testing Your Integration](/cow-protocol/howto/integrate/testing)\n- [Solver Reward Accounting](/cow-protocol/reference/core/auctions/accounting)\n","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v2/trades","href":"/api-reference/get-existing-trades-paginated"},{"title":"Get existing trades (unpaginated).","deprecated":true,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/trades","href":"/api-reference/get-existing-trades-unpaginated"}]},{"group":"Auctions","pages":[{"title":"Get the current batch auction.","description":"The current batch auction that solvers should be solving right now. This\nincludes:\n\n* A list of solvable orders. * The block on which the batch was created.\n* Prices for all tokens being traded (used for objective value\ncomputation).\n\n**Note: This endpoint is currently permissioned. Reach out in discord if\nyou need access.**","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/auction","href":"/api-reference/get-the-current-batch-auction"},{"title":"Get information about a solver competition.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v2/solver_competition/{auction_id}","href":"/api-reference/get-information-about-a-solver-competition"},{"title":"Get information about solver competition.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v2/solver_competition/by_tx_hash/{tx_hash}","href":"/api-reference/get-information-about-solver-competition"},{"title":"Get information about the most recent solver competition.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v2/solver_competition/latest","href":"/api-reference/get-information-about-the-most-recent-solver-competition"},{"title":"Get information about a solver competition.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v2/solver_competition/{auction_id}","href":"/api-reference/get-information-about-a-solver-competition"},{"title":"Get information about solver competition.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v2/solver_competition/by_tx_hash/{tx_hash}","href":"/api-reference/get-information-about-solver-competition"},{"title":"Get information about the most recent solver competition.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v2/solver_competition/latest","href":"/api-reference/get-information-about-the-most-recent-solver-competition"}]},{"group":"Utilities","pages":[{"title":"Get the API's current deployed version.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/version","href":"/api-reference/get-the-apis-current-deployed-version"},{"title":"Get native price for the given token.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/token/{token}/native_price","href":"/api-reference/get-native-price-for-the-given-token"},{"title":"Get the full `appData` from contract `appDataHash`.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/app_data/{app_data_hash}","href":"/api-reference/get-the-full-`appdata`-from-contract-`appdatahash`"},{"title":"Registers a full `appData` so it can be referenced by `appDataHash`.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml put /api/v1/app_data/{app_data_hash}","href":"/api-reference/registers-a-full-`appdata`-so-it-can-be-referenced-by-`appdatahash`"},{"title":"Registers a full `appData` and returns `appDataHash`.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml put /api/v1/app_data","href":"/api-reference/registers-a-full-`appdata`-and-returns-`appdatahash`"},{"title":"Get the total surplus earned by the user. [UNSTABLE]","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/users/{address}/total_surplus","href":"/api-reference/get-the-total-surplus-earned-by-the-user-[unstable]"},{"title":"Debug an order's lifecycle.","deprecated":null,"version":null,"openapi":"cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/debug/order/{uid}","href":"/api-reference/debug-an-orders-lifecycle"}]}]},{"title":"Solver API","href":"/cow-protocol/reference/apis/solver"},{"title":"Driver API","href":"/cow-protocol/reference/apis/driver"}]},{"group":"Core Reference","icon":"file-code","pages":[{"title":"Definitions","href":"/cow-protocol/reference/core/definitions"},{"title":"Supported tokens","href":"/cow-protocol/reference/core/tokens"},{"title":"Signing schemes","href":"/cow-protocol/reference/core/signing-schemes"},{"title":"Error Reference","href":"/cow-protocol/reference/core/error-reference"},{"title":"Rate Limits \u0026 Quotas","href":"/cow-protocol/reference/core/rate-limits"},{"group":"Intents","pages":[{"title":"Intents","href":"/cow-protocol/reference/core/intents"},{"title":"Application specific data","href":"/cow-protocol/reference/core/intents/app-data"},{"title":"Hooks","href":"/cow-protocol/reference/core/intents/hooks"}]}]},{"group":"Auctions","icon":"gavel","expanded":false,"pages":[{"title":"Auction mechanism","href":"/cow-protocol/reference/core/auctions"},{"title":"What is solving? A mathematical, high-level description","href":"/cow-protocol/reference/core/auctions/the-problem"},{"title":"Schemas","href":"/cow-protocol/reference/core/auctions/schema"},{"title":"Solver competition rules","href":"/cow-protocol/reference/core/auctions/competition-rules"},{"title":"EBBO violations: details","href":"/cow-protocol/reference/core/auctions/ebbo-rules"},{"title":"Solver rewards","href":"/cow-protocol/reference/core/auctions/rewards"},{"title":"Solver competition accounting process","href":"/cow-protocol/reference/core/auctions/accounting"},{"title":"Setting up a bonding pool","href":"/cow-protocol/reference/core/auctions/bonding-pools"}]}]},{"tab":"Contracts","icon":"file-contract","pages":[{"title":"Contracts","href":"/cow-protocol/reference/contracts/core"}]},{"tab":"TypeScript SDK","icon":"code","pages":[{"title":"TypeScript SDK","href":"/cow-sdk/introduction"}]},{"tab":"Python SDK","icon":"python","pages":[{"title":"Python SDK","href":"/cow-py/introduction"}]},{"tab":"Solvers","icon":"gears","pages":[{"title":"Solvers","href":"/cow-protocol/tutorials/solvers/local_test"}]},{"tab":"Backend","icon":"server","pages":[{"title":"Backend","href":"/bff/introduction"}]},{"tab":"Governance","icon":"landmark","pages":[{"title":"Governance","href":"/governance"}]}]},"basePath":"","title":"Get existing trades (unpaginated). - CoW DAO Documentation","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-C945cI-W.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}