Subscribe to the builderFills channel. Requires authentication (login first), and the logged-in account must own a builder code.
Streams every fill attributed to that builder code, across all accounts trading with it, one fill per message. There is no markets filter. Builder codes apply to perps only, so no spot fills arrive on this channel.
Subscribing without a builder code on the account returns channel unsupported; subscribing before logging in returns login required.
Messages are delivered only while subscribed, so a disconnect drops anything that fills in the meantime. After reconnecting, call GET /v1/builder_code/fills to recover the most recent fills and de-duplicate by fillId.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ondo Perps","colors":{"primary":"#1DA66A","light":"#1DA66A","dark":"#000000"},"logo":{"light":"https://mintcdn.com/ondoperps/CBHPBkgfPQ3nc5m8/logo/logo-black.svg?fit=max\u0026auto=format\u0026n=CBHPBkgfPQ3nc5m8\u0026q=85\u0026s=f138af016516ef9bfa0eafe281a3c9f5","dark":"https://mintcdn.com/ondoperps/CBHPBkgfPQ3nc5m8/logo/logo-white.svg?fit=max\u0026auto=format\u0026n=CBHPBkgfPQ3nc5m8\u0026q=85\u0026s=5d3aac5641eb541f8cc57fff356f89e5"},"favicon":{"light":"https://mintcdn.com/ondoperps/WUtC3JLf1OUlnujF/images/Favicon.svg?fit=max\u0026auto=format\u0026n=WUtC3JLf1OUlnujF\u0026q=85\u0026s=036faf10024c598eb0dc47ef335c8dc4","dark":"https://mintcdn.com/ondoperps/WUtC3JLf1OUlnujF/images/Favicon.svg?fit=max\u0026auto=format\u0026n=WUtC3JLf1OUlnujF\u0026q=85\u0026s=036faf10024c598eb0dc47ef335c8dc4"},"appearance":{"default":"dark"},"background":{"color":{"dark":"#141414"}},"navbar":{"links":[]},"footer":{"socials":{"x":"https://x.com/OndoPerps"}},"fonts":{"family":"Gellix","weight":500,"source":"https://ondo.finance/fonts/Gellix/Gellix-Regular.woff2","format":"woff2"},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Ondo Perps Website","icon":"globe","href":"https://ondoperps.xyz"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ondoperps","hasAudioNarration":false,"actualSubdomain":"ondoperps","customDomains":["docs.ondoperps.xyz"],"gitSource":{"type":"github","owner":"ondoprotocol","repo":"perps-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b00c40ad0f0f3fd7e2035fc","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API Reference","count":129},{"language":"default","tag":"REST API","count":96},{"language":"default","tag":"FAQs","count":88},{"language":"default","tag":"WebSocket API","count":30},{"language":"default","tag":"Wallet","count":14},{"language":"default","tag":"Trading","count":13},{"language":"default","tag":"Private Channels","count":13},{"language":"default","tag":"Spot trading","count":13},{"language":"default","tag":"Market Data","count":8},{"language":"default","tag":"Orders","count":8}]},"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":"custom-rbac-roles","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":"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":"site-roles","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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html:not(.geofence-checked) #content-area{visibility:hidden}html:not(.geofence-checked) #sidebar,html:not(.geofence-checked) #content-side-layout,html:not(.geofence-checked) #search-bar-entry,html:not(.geofence-checked) #search-bar-entry-mobile,html:not(.geofence-checked) #assistant-entry,html:not(.geofence-checked) .nav-tabs,html.geofence-restricted #sidebar,html.geofence-restricted #content-side-layout,html.geofence-restricted #search-bar-entry,html.geofence-restricted #search-bar-entry-mobile,html.geofence-restricted #assistant-entry,html.geofence-restricted .nav-tabs{display:none!important}html.geofence-restricted #content-area{padding-left:0!important;margin-left:0!important;width:100%!important;max-width:none!important}html:not(.geofence-checked) body::before{content:\"\";position:fixed;top:50%;left:50%;width:32px;height:32px;margin:-16px 0 0 -16px;border:3px solid rgba(128, 128, 128, 0.2);border-top-color:#1DA66A;border-radius:50%;animation:geofence-spin 0.8s linear infinite;z-index:9999;pointer-events:none}@keyframes geofence-spin{to{transform:rotate(360deg)}}html.dark #content-area h1,html.dark #content-area h2,html.dark #content-area h3,html.dark #content-area h4,html.dark #content-area h5,html.dark #content-area h6{color:#FFFFFF!important}html.dark #content-area p,html.dark #content-area li,html.dark #content-area td,html.dark #content-area .prose,html.dark #content-area .prose p,html.dark #content-area .prose li{color:#DEDEDE!important}html.dark #content-area strong{color:#FFFFFF!important}html:not(.dark) #content-area h1,html:not(.dark) #content-area h2,html:not(.dark) #content-area h3,html:not(.dark) #content-area h4,html:not(.dark) #content-area h5,html:not(.dark) #content-area h6{color:#000000!important}html:not(.dark) #content-area p,html:not(.dark) #content-area li,html:not(.dark) #content-area td,html:not(.dark) #content-area .prose,html:not(.dark) #content-area .prose p,html:not(.dark) #content-area .prose li{color:#626262!important}html:not(.dark) #content-area strong{color:#000000!important}[data-callout-type=\"note\"]{background-color:#E0ECFF!important;border-color:#1C3966!important;color:#1C3966!important}[data-callout-type=\"note\"] *,[data-callout-type=\"note\"] p,[data-callout-type=\"note\"] span,[data-callout-type=\"note\"] strong,[data-callout-type=\"note\"] a{color:#1C3966!important}[data-callout-type=\"note\"] svg{color:#1C3966!important;fill:#1C3966!important}[data-callout-type=\"note\"] *:not(svg){background-color:transparent!important}html.dark #sidebar a:hover,html.dark #sidebar li a:hover,html.dark nav a:hover,html.dark nav li a:hover,html.dark aside a:hover{background-color:#1D1D1D!important}html.dark #sidebar a[aria-current=\"page\"],html.dark #sidebar a.active,html.dark nav a[aria-current=\"page\"],html.dark nav a.active,html.dark aside a[aria-current=\"page\"]{background-color:#003829!important}html:not(.dark) #sidebar a:hover,html:not(.dark) #sidebar li a:hover,html:not(.dark) nav a:hover,html:not(.dark) nav li a:hover,html:not(.dark) aside a:hover{background-color:#F4F4F4!important}html:not(.dark) #sidebar a[aria-current=\"page\"],html:not(.dark) #sidebar a.active,html:not(.dark) nav a[aria-current=\"page\"],html:not(.dark) nav a.active,html:not(.dark) aside a[aria-current=\"page\"]{background-color:#E5F8F3!important}#content-area a[class*=\"card\"]:hover,#content-area .card:hover,#content-area [class*=\"Card\"]:hover{border-color:#1DA66A!important}#content-area a{color:#1DA66A!important;text-decoration:none!important}#content-area a:hover{color:#1DA66A!important;opacity:0.85}html:not(.dark) #content-area pre code{background-color:#F0F0F0!important}html:not(.dark) #content-area pre *:not([data-fade-overlay]){background-color:transparent!important}html:not(.dark) #content-area pre [data-fade-overlay]{--fade-color-light: #F0F0F0 !important;background:linear-gradient(to right, transparent, #F0F0F0)!important;background-color:transparent!important}html.dark #content-area pre [data-fade-overlay]{--fade-color-dark: #0B0C0E !important}#sidebar h3.sidebar-title:first-of-type,aside h3.sidebar-title:first-of-type,nav h3.sidebar-title:first-of-type{display:none!important}html.dark #sidebar a[aria-current=\"page\"]:hover,html.dark #sidebar a.active:hover,html.dark nav a[aria-current=\"page\"]:hover,html.dark nav a.active:hover,html.dark aside a[aria-current=\"page\"]:hover,html.dark aside a.active:hover{background-color:#003829!important}html:not(.dark) #sidebar a[aria-current=\"page\"]:hover,html:not(.dark) #sidebar a.active:hover,html:not(.dark) nav a[aria-current=\"page\"]:hover,html:not(.dark) nav a.active:hover,html:not(.dark) aside a[aria-current=\"page\"]:hover,html:not(.dark) aside a.active:hover{background-color:#E5F8F3!important}"}]}
{"page":{"pagePath":"api-reference/private-channels/subscribe:-builder-code-fills","slug":"/api-reference/private-channels/subscribe:-builder-code-fills","pageMetadata":{"title":"Subscribe: Builder Code Fills","description":"Subscribe to the `builderFills` channel. Requires authentication (login first), and the logged-in account must own a builder code.\n\nStreams every fill attributed to that builder code, across all accounts trading with it, one fill per message. There is no `markets` filter. Builder codes apply to perps only, so no spot fills arrive on this channel.\n\nSubscribing without a builder code on the account returns `channel unsupported`; subscribing before logging in returns `login required`.\n\nMessages are delivered only while subscribed, so a disconnect drops anything that fills in the meantime. After reconnecting, call `GET /v1/builder_code/fills` to recover the most recent fills and de-duplicate by `fillId`.","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/builderFills","href":"/api-reference/private-channels/subscribe:-builder-code-fills","autogeneratedByOpenApi":true},"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 code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Subscribe to the \", _jsx(_components.code, {\n children: \"builderFills\"\n }), \" channel. Requires authentication (login first), and the logged-in account must own a builder code.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Streams every fill attributed to that builder code, across all accounts trading with it, one fill per message. There is no \", _jsx(_components.code, {\n children: \"markets\"\n }), \" filter. Builder codes apply to perps only, so no spot fills arrive on this channel.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Subscribing without a builder code on the account returns \", _jsx(_components.code, {\n children: \"channel unsupported\"\n }), \"; subscribing before logging in returns \", _jsx(_components.code, {\n children: \"login required\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Messages are delivered only while subscribed, so a disconnect drops anything that fills in the meantime. After reconnecting, call \", _jsx(_components.code, {\n children: \"GET /v1/builder_code/fills\"\n }), \" to recover the most recent fills and de-duplicate by \", _jsx(_components.code, {\n children: \"fillId\"\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":"Subscribe: Builder Code Fills","description":"Subscribe to the `builderFills` channel. Requires authentication (login first), and the logged-in account must own a builder code.\n\nStreams every fill attributed to that builder code, across all accounts trading with it, one fill per message. There is no `markets` filter. Builder codes apply to perps only, so no spot fills arrive on this channel.\n\nSubscribing without a builder code on the account returns `channel unsupported`; subscribing before logging in returns `login required`.\n\nMessages are delivered only while subscribed, so a disconnect drops anything that fills in the meantime. After reconnecting, call `GET /v1/builder_code/fills` to recover the most recent fills and de-duplicate by `fillId`.","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/builderFills","href":"/api-reference/private-channels/subscribe:-builder-code-fills","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/ondoperps/95a49d9b1f9f45ef/geofence.js"],"openApiReferenceData":{"operation":{"summary":"Subscribe: Builder Code Fills","operationId":"subscribe_builderFills","description":"Subscribe to the `builderFills` channel. Requires authentication (login first), and the logged-in account must own a builder code.\n\nStreams every fill attributed to that builder code, across all accounts trading with it, one fill per message. There is no `markets` filter. Builder codes apply to perps only, so no spot fills arrive on this channel.\n\nSubscribing without a builder code on the account returns `channel unsupported`; subscribing before logging in returns `login required`.\n\nMessages are delivered only while subscribed, so a disconnect drops anything that fills in the meantime. After reconnecting, call `GET /v1/builder_code/fills` to recover the most recent fills and de-duplicate by `fillId`.","tags":["Private Channels"],"requestBody":"ed39e767-6a80-47b9-9e33-b2b4560a74d5","responses":{"200":"eeb53eb2-ae70-4395-9c26-8554d9add16c"},"method":"post","type":"path","servers":["e09d2251-9ba6-4f18-ac28-e54dc59e8c3d"],"security":[],"path":"/ws/builderFills","baseUrlOptions":["wss://api.ondoperps.xyz"],"title":"Subscribe: Builder Code Fills","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["op","channel"],"properties":{"op":{"type":"string","enum":["subscribe","unsubscribe"],"example":"subscribe","description":"Operation type.","isRequired":true,"uniqueKey":"op","typeLabel":"enum\u003cstring>"},"channel":{"type":"string","enum":["builderFills"],"example":"builderFills","description":"Channel for this subscription.","isRequired":true,"uniqueKey":"channel","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"example":{"op":"subscribe","channel":"builderFills"},"examples":{"Example":{"title":"Example","value":{"op":"subscribe","channel":"builderFills"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"eeb53eb2-ae70-4395-9c26-8554d9add16c":{"description":"Channel update for `builderFills`","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["update"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"channel":{"type":"string","enum":["builderFills"],"uniqueKey":"channel","typeLabel":"enum\u003cstring>"},"data":{"type":"object","description":"One fill attributed to a builder code, as served by both the builderFills WebSocket channel and the builder-code fills endpoint.","required":["builderCodeFee","fillId","orderId","market","price","size","side","time"],"properties":{"builderCodeFee":{"type":"string","description":"Exact, non-scientific decimal string containing the builder commission earned on this fill, in USDC. This is the charged amount, not the rate.","example":"0.2275","isRequired":true,"uniqueKey":"data.builderCodeFee","typeLabel":"string"},"fillId":{"type":"string","description":"Unique fill identifier. Use it to de-duplicate overlap between a resynchronization response and live channel messages.","example":"70a37d8f972f2494837f9dba8364cbb4","isRequired":true,"uniqueKey":"data.fillId","typeLabel":"string"},"orderId":{"type":"string","description":"Identifier of the order that produced this fill. A single order can produce several fills, so use it to group fills by order. May be an empty string for fills recorded before this field was introduced.","example":"a4c2e9f17b3d4e8c9f0a1b2c3d4e5f60","isRequired":true,"uniqueKey":"data.orderId","typeLabel":"string"},"market":{"type":"string","description":"Market the fill traded in. Builder codes apply to perps only.","example":"AAPL-USD.P","isRequired":true,"uniqueKey":"data.market","typeLabel":"string"},"price":{"type":"string","description":"Fill price as an exact decimal string.","example":"227.50","isRequired":true,"uniqueKey":"data.price","typeLabel":"string"},"size":{"type":"string","description":"Fill quantity in the base asset, as an exact decimal string.","example":"5.00","isRequired":true,"uniqueKey":"data.size","typeLabel":"string"},"side":{"type":"string","enum":["buy","sell"],"description":"Side of the account that traded, not of the builder.","example":"buy","isRequired":true,"uniqueKey":"data.side","typeLabel":"enum\u003cstring>"},"time":{"type":"string","format":"date-time","description":"Time the fill was created.","example":"2026-09-28T14:32:07.123456Z","isRequired":true,"uniqueKey":"data.time","typeLabel":"string\u003cdate-time>"},"accountId":{"type":"string","description":"Account whose order produced this fill. Use it to attribute the fill to one of your users. Omitted for fills recorded before this field was introduced.","example":"10458932786832481","uniqueKey":"data.accountId","typeLabel":"string"},"clientOrderId":{"type":"string","description":"Client-supplied identifier set on the order that produced this fill. Omitted when the order was placed without one.","example":"my-order-123","uniqueKey":"data.clientOrderId","typeLabel":"string"},"parentOrderId":{"type":"string","description":"Identifier of the order that the filled order was created from, such as the order a triggered take-profit or stop-loss was attached to. Omitted when the filled order has no parent, and for fills recorded before this field was introduced.","example":"5e8b1d3f9a2c4e6b7d0f1a3c5e7b9d2f","uniqueKey":"data.parentOrderId","typeLabel":"string"}},"example":{"builderCodeFee":"0.2275","fillId":"70a37d8f972f2494837f9dba8364cbb4","accountId":"10458932786832481","orderId":"a4c2e9f17b3d4e8c9f0a1b2c3d4e5f60","clientOrderId":"my-order-123","market":"AAPL-USD.P","price":"227.50","size":"5.00","side":"buy","time":"2026-09-28T14:32:07.123456Z"},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"type":"update","channel":"builderFills","data":{"builderCodeFee":"0.2275","fillId":"70a37d8f972f2494837f9dba8364cbb4","accountId":"10458932786832481","orderId":"a4c2e9f17b3d4e8c9f0a1b2c3d4e5f60","clientOrderId":"my-order-123","market":"AAPL-USD.P","price":"227.50","size":"5.00","side":"buy","time":"2026-09-28T14:32:07.123456Z"}},"examples":{"Example":{"title":"Example","value":{"type":"update","channel":"builderFills","data":{"builderCodeFee":"0.2275","fillId":"70a37d8f972f2494837f9dba8364cbb4","accountId":"10458932786832481","orderId":"a4c2e9f17b3d4e8c9f0a1b2c3d4e5f60","clientOrderId":"my-order-123","market":"AAPL-USD.P","price":"227.50","size":"5.00","side":"buy","time":"2026-09-28T14:32:07.123456Z"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{},"servers":{"e09d2251-9ba6-4f18-ac28-e54dc59e8c3d":{"url":"wss://api.ondoperps.xyz","description":"Production"}}},"originalFileLocation":"api-reference/ws-spec.json"},"subdomain":"ondoperps","siteName":"Ondo Perps","title":"Subscribe: Builder Code Fills - Ondo Perps","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T08:41:14.901Z","originalFileLocation":"api-reference/private-channels/subscribe:-builder-code-fills.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=\"dark\"}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=\"Subscribe to the builderFills channel. Requires authentication (login first), and the logged-in account must own a builder code. Streams every fill attributed to that builder code, across all accounts trading with it, one fill per message. There is no markets filter. Builder codes apply to perps only, so no spot fills arrive on this channel. Subscribing without a builder code on the account returns channel unsupported; subscribing before logging in returns login required. Messages are delivered only while subscribed, so a disconnect drops anything that fills in the meantime. After reconnecting, call GET /v1/builder_code/fills to recover the most recent fills and de-duplicate by fillId.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ondo Perps\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ondoperps/yqrzVHj6_lGFoldF/_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/ondoperps/yqrzVHj6_lGFoldF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ondoperps/yqrzVHj6_lGFoldF/_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/ondoperps/yqrzVHj6_lGFoldF/_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/ondoperps/yqrzVHj6_lGFoldF/_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/ondoperps/yqrzVHj6_lGFoldF/_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/ondoperps/yqrzVHj6_lGFoldF/_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/ondoperps/yqrzVHj6_lGFoldF/_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/ondoperps/yqrzVHj6_lGFoldF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Subscribe: Builder Code Fills - Ondo Perps\">\u003cmeta data-mint-head property=\"og:description\" content=\"Subscribe to the builderFills channel. Requires authentication (login first), and the logged-in account must own a builder code. Streams every fill attributed to that builder code, across all accounts trading with it, one fill per message. There is no markets filter. Builder codes apply to perps only, so no spot fills arrive on this channel. Subscribing without a builder code on the account returns channel unsupported; subscribing before logging in returns login required. Messages are delivered only while subscribed, so a disconnect drops anything that fills in the meantime. After reconnecting, call GET /v1/builder_code/fills to recover the most recent fills and de-duplicate by fillId.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ondo Perps\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ondoperps.xyz/api-reference/private-channels/subscribe:-builder-code-fills\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ondoperps.mintlify.site/_mintlify/api/og/v2?division=Private+Channels\u0026amp;title=Subscribe%3A+Builder+Code+Fills\u0026amp;description=Subscribe+to+the+%60builderFills%60+channel.+Requires+authentication+%28login+first%29%2C+and+the+logged-in+account+must+own+a+builder+code.%0A%0AStreams+every+fill+attribute\u0026amp;theme=00135971b24a8049d9d2cfb7\u0026amp;signature=1e752fae7ddd2b2421ec8648fd8dcff6b8a46d3f6e0fb72f7c46d4691172424a\">\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=\"Subscribe: Builder Code Fills - Ondo Perps\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Subscribe to the builderFills channel. Requires authentication (login first), and the logged-in account must own a builder code. Streams every fill attributed to that builder code, across all accounts trading with it, one fill per message. There is no markets filter. Builder codes apply to perps only, so no spot fills arrive on this channel. Subscribing without a builder code on the account returns channel unsupported; subscribing before logging in returns login required. Messages are delivered only while subscribed, so a disconnect drops anything that fills in the meantime. After reconnecting, call GET /v1/builder_code/fills to recover the most recent fills and de-duplicate by fillId.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ondoperps.mintlify.site/_mintlify/api/og/v2?division=Private+Channels\u0026amp;title=Subscribe%3A+Builder+Code+Fills\u0026amp;description=Subscribe+to+the+%60builderFills%60+channel.+Requires+authentication+%28login+first%29%2C+and+the+logged-in+account+must+own+a+builder+code.%0A%0AStreams+every+fill+attribute\u0026amp;theme=00135971b24a8049d9d2cfb7\u0026amp;signature=1e752fae7ddd2b2421ec8648fd8dcff6b8a46d3f6e0fb72f7c46d4691172424a\">\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/ondoperps/yqrzVHj6_lGFoldF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ondo Perps\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1DA66A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ondoperps.xyz/api-reference/private-channels/subscribe:-builder-code-fills\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/private-channels/subscribe%3A-builder-code-fills.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ondoperps.xyz/#organization\",\"name\":\"Ondo Perps\",\"url\":\"https://docs.ondoperps.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ondoperps/CBHPBkgfPQ3nc5m8/logo/logo-black.svg?fit=max\u0026auto=format\u0026n=CBHPBkgfPQ3nc5m8\u0026q=85\u0026s=f138af016516ef9bfa0eafe281a3c9f5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ondoperps.xyz#website\",\"name\":\"Ondo Perps\",\"url\":\"https://docs.ondoperps.xyz\",\"publisher\":{\"@id\":\"https://docs.ondoperps.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ondoperps.xyz/api-reference/private-channels/subscribe:-builder-code-fills#webpage\",\"url\":\"https://docs.ondoperps.xyz/api-reference/private-channels/subscribe:-builder-code-fills\",\"name\":\"Subscribe: Builder Code Fills\",\"description\":\"Subscribe to the builderFills channel. Requires authentication (login first), and the logged-in account must own a builder code. Streams every fill attributed to that builder code, across all accounts trading with it, one fill per message. There is no markets filter. Builder codes apply to perps only, so no spot fills arrive on this channel. Subscribing without a builder code on the account returns channel unsupported; subscribing before logging in returns login required. Messages are delivered only while subscribed, so a disconnect drops anything that fills in the meantime. After reconnecting, call GET /v1/builder_code/fills to recover the most recent fills and de-duplicate by fillId.\",\"dateModified\":\"2026-11-20T08:41:14.901Z\",\"isPartOf\":{\"@id\":\"https://docs.ondoperps.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ondoperps.xyz/api-reference/private-channels/subscribe:-builder-code-fills#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ondoperps.xyz/api-reference/private-channels/subscribe:-builder-code-fills#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"WebSocket API\",\"item\":\"https://docs.ondoperps.xyz/api-reference/public-channels/subscribe:-perps-top-of-book\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Private Channels\",\"item\":\"https://docs.ondoperps.xyz/api-reference/private-channels/subscribe:-perps-liquidation-announcements\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Subscribe: Builder Code Fills\",\"item\":\"https://docs.ondoperps.xyz/api-reference/private-channels/subscribe:-builder-code-fills\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ondoperps.xyz/api-reference/private-channels/subscribe:-builder-code-fills#apireference\",\"headline\":\"Subscribe: Builder Code Fills\",\"name\":\"Subscribe: Builder Code Fills\",\"description\":\"Subscribe to the builderFills channel. Requires authentication (login first), and the logged-in account must own a builder code. Streams every fill attributed to that builder code, across all accounts trading with it, one fill per message. There is no markets filter. Builder codes apply to perps only, so no spot fills arrive on this channel. Subscribing without a builder code on the account returns channel unsupported; subscribing before logging in returns login required. Messages are delivered only while subscribed, so a disconnect drops anything that fills in the meantime. After reconnecting, call GET /v1/builder_code/fills to recover the most recent fills and de-duplicate by fillId.\",\"url\":\"https://docs.ondoperps.xyz/api-reference/private-channels/subscribe:-builder-code-fills\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ondoperps.xyz/api-reference/private-channels/subscribe:-builder-code-fills#webpage\"},\"dateModified\":\"2026-11-20T08:41:14.901Z\",\"publisher\":{\"@id\":\"https://docs.ondoperps.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ondoperps.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ondo Perps\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ondo Perps\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/private-channels/subscribe%3A-builder-code-fills.md","siteName":"Ondo Perps","nav":{"global":{"anchors":[{"anchor":"Ondo Perps Website","icon":"globe","href":"https://ondoperps.xyz"}]},"tabs":[{"tab":"FAQs","pages":[{"title":"FAQs","href":"/about"}]},{"tab":"API Reference","groups":[{"group":"Authentication","pages":[{"title":"API Key Authentication","href":"/api-reference/api_key_authentication"}]},{"group":"Guides","pages":[{"title":"Builder Integration Guide","href":"/api-reference/integration_guide"},{"title":"Spot API guide","href":"/api-reference/spot-api-guide"}]},{"group":"REST API","pages":[{"group":"Tool","pages":[{"title":"Get Status","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /status","href":"/api-reference/tool/get-status"},{"title":"Hello","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /hello","href":"/api-reference/tool/hello"}]},{"group":"Account","pages":[{"title":"Get Account","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/account","href":"/api-reference/account/get-account"},{"title":"Get Open Order Counts","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/counts/orders","href":"/api-reference/account/get-open-order-counts"}]},{"group":"Builder Code","pages":[{"title":"Get Builder Code Statistics","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/builder_code/stats","href":"/api-reference/builder-code/get-builder-code-statistics"},{"title":"Get Recent Builder Code Fills","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/builder_code/fills","href":"/api-reference/builder-code/get-recent-builder-code-fills"}]},{"group":"Auth","pages":[{"title":"Get SIWE Login Challenge","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/auth/erc-4361/login/get_challenge","href":"/api-reference/auth/get-siwe-login-challenge"},{"title":"Complete SIWE Login","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/auth/erc-4361/login/complete_challenge","href":"/api-reference/auth/complete-siwe-login"},{"title":"Get SIWE Address Book Challenge","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/auth/erc-4361/address_book/get_challenge","href":"/api-reference/auth/get-siwe-address-book-challenge"},{"title":"Complete SIWE Address Book Challenge","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/auth/erc-4361/address_book/complete_challenge","href":"/api-reference/auth/complete-siwe-address-book-challenge"},{"title":"Invalidate JWT","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/auth/invalidate_jwt","href":"/api-reference/auth/invalidate-jwt"}]},{"group":"Markets","pages":[{"title":"Get Markets","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/markets","href":"/api-reference/markets/get-markets"}]},{"group":"Sandbox","pages":[{"title":"Sandbox Deposit","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/sandbox_deposit","href":"/api-reference/sandbox/sandbox-deposit"},{"title":"Sandbox Withdrawal","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/sandbox_withdrawal","href":"/api-reference/sandbox/sandbox-withdrawal"}]},{"group":"Wallet","pages":[{"title":"Withdraw","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/withdraw","href":"/api-reference/wallet/withdraw"},{"title":"Provision Deposit Address","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/provision_address","href":"/api-reference/wallet/provision-deposit-address"},{"title":"Get Withdrawal Status","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/get_withdrawal_status","href":"/api-reference/wallet/get-withdrawal-status"},{"title":"List Deposits","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/wallet/deposits","href":"/api-reference/wallet/list-deposits"},{"title":"Get Deposit by ID","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/wallet/deposits/{depositID}","href":"/api-reference/wallet/get-deposit-by-id"},{"title":"List Withdrawals","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/wallet/withdrawals","href":"/api-reference/wallet/list-withdrawals"},{"title":"Get Withdrawal Limits","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/wallet/withdrawals/limit","href":"/api-reference/wallet/get-withdrawal-limits"},{"title":"Get Withdrawal by ID","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/wallet/withdrawals/{withdrawalID}","href":"/api-reference/wallet/get-withdrawal-by-id"},{"title":"List Deposit Addresses","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/wallet/deposit_address/list","href":"/api-reference/wallet/list-deposit-addresses"},{"title":"Export Deposits CSV","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/wallet/deposits/csv","href":"/api-reference/wallet/export-deposits-csv"},{"title":"Export Withdrawals CSV","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/wallet/withdrawals/csv","href":"/api-reference/wallet/export-withdrawals-csv"},{"title":"Get Address Book","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/wallet/address_book","href":"/api-reference/wallet/get-address-book"},{"title":"Edit Address Book Entry","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json put /v1/wallet/address_book","href":"/api-reference/wallet/edit-address-book-entry"},{"title":"Remove Address Book Entry","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/wallet/address_book","href":"/api-reference/wallet/remove-address-book-entry"}]},{"group":"API Keys","pages":[{"title":"List API Keys","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/api_keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create API Key","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/api_keys","href":"/api-reference/api-keys/create-api-key"},{"title":"Delete API Key","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/api_keys/{apiKeyID}","href":"/api-reference/api-keys/delete-api-key"},{"title":"Set API Key IP Whitelist","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/api_keys/{apiKeyID}/ip_whitelist","href":"/api-reference/api-keys/set-api-key-ip-whitelist"},{"title":"Remove API Key IP Whitelist Entry","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/api_keys/{apiKeyID}/ip_whitelist","href":"/api-reference/api-keys/remove-api-key-ip-whitelist-entry"}]},{"group":"Orders","pages":[{"title":"Get Orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/orders","href":"/api-reference/orders/get-orders"},{"title":"Create Order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/perps/orders","href":"/api-reference/orders/create-order"},{"title":"Cancel All Orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/perps/orders","href":"/api-reference/orders/cancel-all-orders"},{"title":"Create Batched Orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/perps/orders/batch","href":"/api-reference/orders/create-batched-orders"},{"title":"Batch Cancel Orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/perps/orders/batch","href":"/api-reference/orders/batch-cancel-orders"},{"title":"Get Order by ID","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/orders/{orderID}","href":"/api-reference/orders/get-order-by-id"},{"title":"Cancel Order by ID","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/perps/orders/{orderID}","href":"/api-reference/orders/cancel-order-by-id"},{"title":"Get Orders CSV","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/orders/csv","href":"/api-reference/orders/get-orders-csv"}]},{"group":"TWAP Orders","pages":[{"title":"Create TWAP Order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/perps/twap/order","href":"/api-reference/twap-orders/create-twap-order"},{"title":"Get TWAP Order by ID","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/twap/order/{orderID}","href":"/api-reference/twap-orders/get-twap-order-by-id"},{"title":"Cancel TWAP Order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/perps/twap/order/{orderID}","href":"/api-reference/twap-orders/cancel-twap-order"},{"title":"Get TWAP Order Fills","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/twap/order/{orderID}/fills","href":"/api-reference/twap-orders/get-twap-order-fills"},{"title":"Get Running TWAP Orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/twap/orders/running","href":"/api-reference/twap-orders/get-running-twap-orders"},{"title":"Get TWAP Order History","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/twap/orders/history","href":"/api-reference/twap-orders/get-twap-order-history"}]},{"group":"Fills","pages":[{"title":"Get Fills","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/fills","href":"/api-reference/fills/get-fills"},{"title":"Get Fills by Order ID","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/orders/{orderID}/fills","href":"/api-reference/fills/get-fills-by-order-id"},{"title":"Get Fills CSV","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/fills/csv","href":"/api-reference/fills/get-fills-csv"}]},{"group":"Market Data","pages":[{"title":"Get Trades","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/trades","href":"/api-reference/market-data/get-trades"},{"title":"Get Order Book Depth","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/depth","href":"/api-reference/market-data/get-order-book-depth"},{"title":"Get Candles","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/candles","href":"/api-reference/market-data/get-candles"},{"title":"Get Symbol Info (TradingView)","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/symbol_info","href":"/api-reference/market-data/get-symbol-info-tradingview"},{"title":"Get Price History (TradingView)","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/history","href":"/api-reference/market-data/get-price-history-tradingview"},{"title":"Get Open Interest","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/open_interest","href":"/api-reference/market-data/get-open-interest"},{"title":"Get Volume","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/volume","href":"/api-reference/market-data/get-volume"},{"title":"Get Contracts","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/contracts","href":"/api-reference/market-data/get-contracts"}]},{"group":"Positions","pages":[{"title":"Get Positions","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/positions","href":"/api-reference/positions/get-positions"},{"title":"Get Leverage","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/leverage","href":"/api-reference/positions/get-leverage"},{"title":"Set Leverage","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/perps/leverage","href":"/api-reference/positions/set-leverage"}]},{"group":"Margin Account","pages":[{"title":"Get Balance","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/balance","href":"/api-reference/margin-account/get-balance"},{"title":"Get Orders Summaries","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/orders_summaries","href":"/api-reference/margin-account/get-orders-summaries"},{"title":"Get Max Order Size","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/max_order_size","href":"/api-reference/margin-account/get-max-order-size"},{"title":"Get Liquidation History","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/liquidation_history","href":"/api-reference/margin-account/get-liquidation-history"}]},{"group":"Funding Rate","pages":[{"title":"Get Funding Rates","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/funding_rates","href":"/api-reference/funding-rate/get-funding-rates"},{"title":"Get Funding Rate History","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/funding_rate_history","href":"/api-reference/funding-rate/get-funding-rate-history"},{"title":"Get Funding Fee Payments","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/funding_fees","href":"/api-reference/funding-rate/get-funding-fee-payments"},{"title":"Get Mark Prices","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/mark_prices","href":"/api-reference/funding-rate/get-mark-prices"}]},{"group":"Stop Orders","pages":[{"title":"Get Stop Orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/stop_order","href":"/api-reference/stop-orders/get-stop-orders"},{"title":"Set Stop Order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/perps/stop_order","href":"/api-reference/stop-orders/set-stop-order"},{"title":"Remove Stop Order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/perps/stop_order","href":"/api-reference/stop-orders/remove-stop-order"}]},{"group":"Portfolio","pages":[{"title":"Get Portfolio Summary","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/portfolio/summary","href":"/api-reference/portfolio/get-portfolio-summary"},{"title":"Get Portfolio Summary Graph","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/portfolio/summary/graph","href":"/api-reference/portfolio/get-portfolio-summary-graph"}]},{"group":"Spot balances and transfers","pages":[{"title":"Get Spot balances","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/balances","href":"/api-reference/spot-balances-and-transfers/get-spot-balances"},{"title":"List Spot transfers","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/transfers","href":"/api-reference/spot-balances-and-transfers/list-spot-transfers"},{"title":"Create Spot transfer","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/spot/transfers","href":"/api-reference/spot-balances-and-transfers/create-spot-transfer"}]},{"group":"Spot market data","pages":[{"title":"Get Spot tickers","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/ticker","href":"/api-reference/spot-market-data/get-spot-tickers"},{"title":"Get Spot order book","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/depth","href":"/api-reference/spot-market-data/get-spot-order-book"},{"title":"List Spot trades","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/trades","href":"/api-reference/spot-market-data/list-spot-trades"},{"title":"Get Spot candles","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/candles","href":"/api-reference/spot-market-data/get-spot-candles"},{"title":"Get Spot price history","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/history","href":"/api-reference/spot-market-data/get-spot-price-history"},{"title":"Get Spot symbol information","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/symbol_info","href":"/api-reference/spot-market-data/get-spot-symbol-information"}]},{"group":"Spot trading","pages":[{"title":"List Spot orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/orders","href":"/api-reference/spot-trading/list-spot-orders"},{"title":"Place Spot order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/spot/orders","href":"/api-reference/spot-trading/place-spot-order"},{"title":"Cancel all Spot orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/spot/orders","href":"/api-reference/spot-trading/cancel-all-spot-orders"},{"title":"Place Spot order (delayed)","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/spot/orders/delayed","href":"/api-reference/spot-trading/place-spot-order-delayed"},{"title":"Get Spot order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/orders/{orderID}","href":"/api-reference/spot-trading/get-spot-order"},{"title":"Cancel Spot order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/spot/orders/{orderID}","href":"/api-reference/spot-trading/cancel-spot-order"},{"title":"Place Spot batch","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/spot/orders/batch","href":"/api-reference/spot-trading/place-spot-batch"},{"title":"Cancel Spot batch","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/spot/orders/batch","href":"/api-reference/spot-trading/cancel-spot-batch"},{"title":"Place Spot batch (delayed)","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/spot/orders/batch/delayed","href":"/api-reference/spot-trading/place-spot-batch-delayed"},{"title":"List Spot fills","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/fills","href":"/api-reference/spot-trading/list-spot-fills"},{"title":"Get Spot order fills","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/orders/{orderID}/fills","href":"/api-reference/spot-trading/get-spot-order-fills"},{"title":"Export Spot orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/orders/csv","href":"/api-reference/spot-trading/export-spot-orders"},{"title":"Export Spot fills","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/fills/csv","href":"/api-reference/spot-trading/export-spot-fills"}]}]},{"group":"WebSocket API","pages":[{"group":"Public Channels","pages":[{"title":"Subscribe: Perps Top of Book","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/topOfBooksPerps","href":"/api-reference/public-channels/subscribe:-perps-top-of-book"},{"title":"Subscribe: Perps Depth Book","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/depthBooksPerps","href":"/api-reference/public-channels/subscribe:-perps-depth-book"},{"title":"Subscribe: Perps Trades","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/tradesPerps","href":"/api-reference/public-channels/subscribe:-perps-trades"},{"title":"Subscribe: Perps Funding Rates","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/fundingRatesPerps","href":"/api-reference/public-channels/subscribe:-perps-funding-rates"},{"title":"Subscribe: Perps Mark Prices","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/markPricesPerps","href":"/api-reference/public-channels/subscribe:-perps-mark-prices"},{"title":"Subscribe: Perps Kline / Candlesticks","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/kLinePerps","href":"/api-reference/public-channels/subscribe:-perps-kline-candlesticks"}]},{"group":"Private Channels","pages":[{"title":"Subscribe: Perps Liquidation Announcements","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/liquidationAnnouncementsPerps","href":"/api-reference/private-channels/subscribe:-perps-liquidation-announcements"},{"title":"Subscribe: Perps Orders","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/ordersPerps","href":"/api-reference/private-channels/subscribe:-perps-orders"},{"title":"Subscribe: Perps Fills","description":"Subscribe to the `fillsPerps` channel. Requires authentication (login first).\n\nOptional `markets` to filter.","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/fillsPerps","href":"/api-reference/private-channels/subscribe:-perps-fills"},{"title":"Subscribe: Builder Code Fills","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/builderFills","href":"/api-reference/private-channels/subscribe:-builder-code-fills"},{"title":"Subscribe: Perps Positions","description":"Subscribe to the `positionsPerps` channel. Requires authentication (login first).","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/positionsPerps","href":"/api-reference/private-channels/subscribe:-perps-positions"},{"title":"Subscribe: Perps Balance","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/balancePerps","href":"/api-reference/private-channels/subscribe:-perps-balance"},{"title":"Subscribe: Perps Liquidation","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/liquidationPerps","href":"/api-reference/private-channels/subscribe:-perps-liquidation"},{"title":"Subscribe: Perps Margin Transfers","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/marginTransfersPerps","href":"/api-reference/private-channels/subscribe:-perps-margin-transfers"},{"title":"Subscribe: Perps Order Summaries","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/ordersSummariesPerps","href":"/api-reference/private-channels/subscribe:-perps-order-summaries"},{"title":"Subscribe: Perps Funding Payments","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/fundingPaymentsPerps","href":"/api-reference/private-channels/subscribe:-perps-funding-payments"},{"title":"Subscribe: Perps Dead Man's Switch","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/cancelAllOrdersAfterPerps","href":"/api-reference/private-channels/subscribe:-perps-dead-mans-switch"},{"title":"Subscribe: Deposits","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/deposits","href":"/api-reference/private-channels/subscribe:-deposits"},{"title":"Subscribe: Withdrawals","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/withdrawals","href":"/api-reference/private-channels/subscribe:-withdrawals"}]},{"group":"Connection","pages":[{"title":"Connect","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json get /ws","href":"/api-reference/connection/connect"},{"title":"Ping","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws","href":"/api-reference/connection/ping"},{"title":"Login","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/login","href":"/api-reference/connection/login"}]},{"group":"Spot public channels","pages":[{"title":"Subscribe: Spot Top of Book","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/topOfBooksSpot","href":"/api-reference/spot-public-channels/subscribe:-spot-top-of-book"},{"title":"Subscribe: Spot Depth Book","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/depthBooksSpot","href":"/api-reference/spot-public-channels/subscribe:-spot-depth-book"},{"title":"Subscribe: Spot Trades","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/tradesSpot","href":"/api-reference/spot-public-channels/subscribe:-spot-trades"},{"title":"Subscribe: Spot Kline / Candlesticks","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/kLineSpot","href":"/api-reference/spot-public-channels/subscribe:-spot-kline-candlesticks"}]},{"group":"Spot private channels","pages":[{"title":"Subscribe: Spot Orders","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/ordersSpot","href":"/api-reference/spot-private-channels/subscribe:-spot-orders"},{"title":"Subscribe: Spot Fills","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/fillsSpot","href":"/api-reference/spot-private-channels/subscribe:-spot-fills"},{"title":"Subscribe: Spot Dead Man's Switch","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/cancelAllOrdersAfterSpot","href":"/api-reference/spot-private-channels/subscribe:-spot-dead-mans-switch"},{"title":"Subscribe: Spot Balances","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/balanceSpot","href":"/api-reference/spot-private-channels/subscribe:-spot-balances"}]}]}]}]},"basePath":"","title":"Subscribe: Builder Code Fills - Ondo Perps","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CiUHMMOm.js","snippetPresets-BgfXU7Bw.js","utils-DWvOwgy_.js","style-to-object-BY3JEAdk.js","utils-BN7RXSMJ.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CFw8bq89.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CAwdfOU2.js","_Uint8Array-BJr8e-ZL.js","isObject-FP1Yky1u.js","ApiExamples-XX0UgMZK.js","usePlaygroundInputsStore-DXDFSa1V.js","shallow-CdX5aREi.js","isEqual-CoOaxexF.js","CodeSnippets-Cg2wpzWm.js","CodeSnippet-D_HwgQO_.js","getApiPlaygroundDisplay-CmCoerhe.js","Page-CVJ-f_k1.js","DynamicMarkdown-CQM9Bhbv.js","SectionHeading-DpbrP8nQ.js","icon-BPCgijHy.js","MethodPill-GQ8DuY0c.js","getPastedJson-Cb5mT31m.js","Check2Icon-a7bUI6e8.js","axios-CsQoIw0U.js","Markdown-CX2QY19L.js","AssistantPageLink-CY3bFglh.js","dist-Dl6_zDnT.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}