Returns the full current state of an order, including its execution
state.
The accountId may be the account or subaccount ID the order was placed
with, or any subaccount ID the order was allocated to. The kind of ID
determines the view of the order that is returned:
Account ID: quantities, fills, and fees are order-level
aggregates. If the order was placed with allocations,
allocationCount is present; use the account allocations endpoint
(GET /accounts/{accountId}/allocations?orderIds={orderId}) to
page through the per-allocation execution state.
Subaccount ID: quantities, fills, and fees are scoped to the
subaccount’s portion of the order, and subaccountId and
allocationId are present. This is the recommended way to
retrieve a subaccount’s view of an order.
GET
/
accounts
/
{accountId}
/
orders
/
{orderId}
Get an order
curl --request GET \ --url https://api.anchorage-staging.com/v4/accounts/{accountId}/orders/{orderId} \ --header 'Api-Access-Key: <api-key>'
Account-level view (order endpoints with an account ID in the
path): quantities, fills, and fees are order-level aggregates
across all allocations. If the order was placed with allocations,
allocationCount is present, and the per-allocation execution
state is available from the account allocations endpoint
(GET /accounts/{accountId}/allocations?orderIds={orderId}).
Subaccount-scoped view (order endpoints with a subaccount ID
in the path, and every entry returned by the account allocations
endpoint): quantity, filledQuantity, remainingQuantity,
canceledQuantity, counterQuantity, counterQuantityAllIn,
and fee are scoped to one subaccount's portion of the order,
and subaccountId and allocationId are present. Fills and fees
are apportioned pro-rata across allocations, so avgPrice and
avgPriceAllIn are identical in both views. The quantity
invariant above holds within the view.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Anchorage Digital","colors":{"primary":"#5580F6","light":"#5580F6","dark":"#5580F6"},"logo":{"light":"https://mintcdn.com/deployment-4/ikVMLMsizDmk_7Sw/knowledge-base/images/logo-lockup-dark.svg?fit=max\u0026auto=format\u0026n=ikVMLMsizDmk_7Sw\u0026q=85\u0026s=87028c6755f355e278de66991913b91c","dark":"https://mintcdn.com/deployment-4/ikVMLMsizDmk_7Sw/knowledge-base/images/logo-lockup-light.svg?fit=max\u0026auto=format\u0026n=ikVMLMsizDmk_7Sw\u0026q=85\u0026s=1b56e9a2511c5c765bb60eb80f10491d","href":"/"},"favicon":{"light":"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026auto=format\u0026n=GSah06OFrRxxO1iB\u0026q=85\u0026s=dbc56a4b9970aa0cc3b83e27e2063715","dark":"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026auto=format\u0026n=GSah06OFrRxxO1iB\u0026q=85\u0026s=dbc56a4b9970aa0cc3b83e27e2063715"},"api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","python","javascript"]}},"appearance":{"default":"system"},"background":{"color":{"light":"#F4F5F5","dark":"#000"}},"navbar":{"links":[{"href":"/knowledge-base/login","label":"Log in"},{"href":"https://www.anchorage.com","label":"Anchorage.com"},{"href":"https://www.anchorage.com/get-in-touch","label":"Contact"}]},"footer":{"socials":{"x":"https://x.com/Anchorage","linkedin":"https://www.linkedin.com/company/anchorage","youtube":"https://www.youtube.com/c/AnchorageDigital"}},"styling":{"eyebrows":"breadcrumbs","latex":true},"errors":{"404":{"redirect":true,"title":"Oops, something went wrong","description":"The content you're looking for is missing. Contact Anchorage Digital for support."}},"contextual":{"options":["claude","mcp","add-mcp","copy","view","assistant","chatgpt","perplexity","grok","aistudio","devin","windsurf","cursor","vscode","devin-mcp"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"deployment-4","hasAudioNarration":false,"actualSubdomain":"deployment-4","customDomains":["docs.anchorage.com"],"gitSource":{"_id":"6ad7fa92692c7c940ff17a2f","type":"github","owner":"anchorlabsinc","repo":"knowledge-base","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"knowledge-base","label":""},"feedback":{"agentFeedback":true,"contextualFeedback":{"allowEmail":true},"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b00a34d53e410d2fbe5d3fc","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Anchorage Digital","count":384},{"language":"default","tag":"API reference","count":349},{"language":"default","tag":"v2","count":267},{"language":"default","tag":"Porto","count":249},{"language":"default","tag":"User guides","count":168},{"language":"default","tag":"Developer guides","count":106},{"language":"default","tag":"Trading","count":85},{"language":"default","tag":"Move money","count":84},{"language":"default","tag":"Platform","count":68},{"language":"default","tag":"v4","count":61}],"searchSettings":{"isFiltersEnabled":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"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":"knowledge-base/custom.css","href":"/_mintlify/custom/deployment-4/3851477207c6fc6b/knowledge-base/custom.css"}]}
{"page":{"pagePath":"knowledge-base/api-reference/v4/orders-\u0026-allocations/get-an-order","slug":"/knowledge-base/api-reference/v4/orders-\u0026-allocations/get-an-order","pageMetadata":{"title":"Get an order","description":"Permissions required: **Read trade activity**\n\nReturns the full current state of an order, including its execution\nstate.\n\nThe `accountId` may be the account or subaccount ID the order was placed\nwith, or any subaccount ID the order was allocated to. The kind of ID\ndetermines the view of the order that is returned:\n- **Account ID**: quantities, fills, and fees are order-level\n aggregates. If the order was placed with allocations,\n `allocationCount` is present; use the account allocations endpoint\n (`GET /accounts/{accountId}/allocations?orderIds={orderId}`) to\n page through the per-allocation execution state.\n- **Subaccount ID**: quantities, fills, and fees are scoped to the\n subaccount's portion of the order, and `subaccountId` and\n `allocationId` are present. This is the recommended way to\n retrieve a subaccount's view of an order.","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/orders/{orderId}","href":"/knowledge-base/api-reference/v4/orders-\u0026-allocations/get-an-order","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 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: [\"Permissions required: \", _jsx(_components.strong, {\n children: \"Read trade activity\"\n })]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Returns the full current state of an order, including its execution\\nstate.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The \", _jsx(_components.code, {\n children: \"accountId\"\n }), \" may be the account or subaccount ID the order was placed\\nwith, or any subaccount ID the order was allocated to. The kind of ID\\ndetermines the view of the order that is returned:\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Account ID\"\n }), \": quantities, fills, and fees are order-level\\naggregates. If the order was placed with allocations,\\n\", _jsx(_components.code, {\n children: \"allocationCount\"\n }), \" is present; use the account allocations endpoint\\n(\", _jsx(_components.code, {\n children: \"GET /accounts/{accountId}/allocations?orderIds={orderId}\"\n }), \") to\\npage through the per-allocation execution state.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Subaccount ID\"\n }), \": quantities, fills, and fees are scoped to the\\nsubaccount’s portion of the order, and \", _jsx(_components.code, {\n children: \"subaccountId\"\n }), \" and\\n\", _jsx(_components.code, {\n children: \"allocationId\"\n }), \" are present. This is the recommended way to\\nretrieve a subaccount’s view of an order.\"]\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 an order","description":"Permissions required: **Read trade activity**\n\nReturns the full current state of an order, including its execution\nstate.\n\nThe `accountId` may be the account or subaccount ID the order was placed\nwith, or any subaccount ID the order was allocated to. The kind of ID\ndetermines the view of the order that is returned:\n- **Account ID**: quantities, fills, and fees are order-level\n aggregates. If the order was placed with allocations,\n `allocationCount` is present; use the account allocations endpoint\n (`GET /accounts/{accountId}/allocations?orderIds={orderId}`) to\n page through the per-allocation execution state.\n- **Subaccount ID**: quantities, fills, and fees are scoped to the\n subaccount's portion of the order, and `subaccountId` and\n `allocationId` are present. This is the recommended way to\n retrieve a subaccount's view of an order.","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/orders/{orderId}","href":"/knowledge-base/api-reference/v4/orders-\u0026-allocations/get-an-order","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get an order","description":"Permissions required: **Read trade activity**\n\nReturns the full current state of an order, including its execution\nstate.\n\nThe `accountId` may be the account or subaccount ID the order was placed\nwith, or any subaccount ID the order was allocated to. The kind of ID\ndetermines the view of the order that is returned:\n- **Account ID**: quantities, fills, and fees are order-level\n aggregates. If the order was placed with allocations,\n `allocationCount` is present; use the account allocations endpoint\n (`GET /accounts/{accountId}/allocations?orderIds={orderId}`) to\n page through the per-allocation execution state.\n- **Subaccount ID**: quantities, fills, and fees are scoped to the\n subaccount's portion of the order, and `subaccountId` and\n `allocationId` are present. This is the recommended way to\n retrieve a subaccount's view of an order.","operationId":"getOrder","tags":["Orders \u0026 Allocations"],"parameters":["0ae8b468-f7e9-4b5f-8486-a98dd77ba31c","1542b401-4bc1-4776-a98a-dcc6fcb9ad15"],"responses":{"200":"2728532f-b923-430d-8fdc-1fabd5e311fc","400":"f6786aff-940f-4ef3-b377-9efca279866e","401":"ef200c53-874b-470a-a2cf-e5ec46c551f3","403":"e1bec954-288d-4e53-88c9-a5cadc96a740","404":"9f0f4bea-3aff-4107-b7f9-486f92f625c0","429":"b284208e-e401-4d8a-a93c-cc80d0aa6032","500":"d52bab74-8654-47d3-95bd-e9e09b00f600"},"method":"get","type":"path","servers":["5987e378-6a0f-4e8d-8aa1-927add821f2f"],"security":["5c20c00e-303d-410a-8164-9447333641bf"],"path":"/accounts/{accountId}/orders/{orderId}","baseUrlOptions":["https://api.anchorage-staging.com/v4"],"title":"Get an order","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0ae8b468-f7e9-4b5f-8486-a98dd77ba31c":{"name":"accountId","in":"path","schema":{"type":"string","format":"uuid","example":"3486b413-93d3-4447-afce-2b9c9dc34a32","isRequired":true,"description":"Account ID or subaccount ID (a UUID). May be the ID the order was placed with, or any subaccount ID the order was allocated to.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true,"description":"Account ID or subaccount ID (a UUID). May be the ID the order was placed with, or any subaccount ID the order was allocated to."},"1542b401-4bc1-4776-a98a-dcc6fcb9ad15":{"name":"orderId","in":"path","schema":{"type":"string","format":"uuid","example":"3486b413-93d3-4447-afce-2b9c9dc34a32","isRequired":true,"description":"The order ID (a UUID) returned when the order was placed.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true,"description":"The order ID (a UUID) returned when the order was placed."}},"responses":{"2728532f-b923-430d-8fdc-1fabd5e311fc":{"description":"The order.","content":{"application/json":{"schema":{"title":"Order Response","type":"object","required":["data"],"properties":{"data":{"title":"Order","type":"object","description":"Full current state of an order: the parameters it was placed with,\nplus its execution state.\n\nQuantity fields and their units:\n- `quantity`, `filledQuantity`, `remainingQuantity`, and\n\t`canceledQuantity` are in units of `currency`.\n- `counterQuantity` and `counterQuantityAllIn` are in units of\n\t`counterCurrency`.\n- Prices (`avgPrice`, `avgPriceAllIn`, `limitPrice`,\n\t`triggerPrice`) are in the quote currency of `symbol`.\n- Invariant: `filledQuantity + remainingQuantity + canceledQuantity\n\t= quantity`.\n\nAn order is returned in one of two views:\n- **Account-level view** (order endpoints with an account ID in the\n\tpath): quantities, fills, and fees are order-level aggregates\n\tacross all allocations. If the order was placed with allocations,\n\t`allocationCount` is present, and the per-allocation execution\n\tstate is available from the account allocations endpoint\n\t(`GET /accounts/{accountId}/allocations?orderIds={orderId}`).\n- **Subaccount-scoped view** (order endpoints with a subaccount ID\n\tin the path, and every entry returned by the account allocations\n\tendpoint): `quantity`, `filledQuantity`, `remainingQuantity`,\n\t`canceledQuantity`, `counterQuantity`, `counterQuantityAllIn`,\n\tand `fee` are scoped to one subaccount's portion of the order,\n\tand `subaccountId` and `allocationId` are present. Fills and fees\n\tare apportioned pro-rata across allocations, so `avgPrice` and\n\t`avgPriceAllIn` are identical in both views. The quantity\n\tinvariant above holds within the view.","required":["id","symbol","side","currency","counterCurrency","quantity","orderType","timeInForce","status","filledQuantity","remainingQuantity","canceledQuantity","submitTime","lastUpdateTime"],"properties":{"id":{"description":"Unique order ID (a UUID), assigned when the order was accepted.","type":"string","format":"uuid","example":"3486b413-93d3-4447-afce-2b9c9dc34a32","isRequired":true,"uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"symbol":{"type":"string","description":"Symbol for the order, e.g. BTC-USD.","isRequired":true,"uniqueKey":"data.symbol","typeLabel":"string"},"side":{"type":"string","description":"Order side, either \"BUY\" or \"SELL\".","enum":["BUY","SELL"],"isRequired":true,"uniqueKey":"data.side","typeLabel":"enum\u003cstring>"},"currency":{"type":"string","description":"The currency in which order quantity is specified, e.g. BTC or USD. One of the two legs of `symbol`.","isRequired":true,"uniqueKey":"data.currency","typeLabel":"string"},"counterCurrency":{"type":"string","description":"The other leg of `symbol`: the currency received (for a BUY of `currency`) or paid, in which `counterQuantity` is expressed.","isRequired":true,"uniqueKey":"data.counterCurrency","typeLabel":"string"},"quantity":{"type":"string","description":"Order quantity in units of `currency`, as specified when the order was placed.","isRequired":true,"uniqueKey":"data.quantity","typeLabel":"string"},"orderType":{"type":"string","description":"Order type the order was placed with. One of:\n* `MARKET` - executed immediately at the best available price.\n* `LIMIT` - executed at a specified price or better.\n* `LIMIT_ALL_IN` - a limit order priced and filled inclusive of fees.\n* `STOP_LOSS` - dormant until a trigger price is reached, then\n\tsubmitted as a market order.\n* `STOP_LIMIT` - dormant until a trigger price is reached, then\n\tsubmitted as a limit order.\n* `TAKE_PROFIT_LIMIT` - dormant until a trigger price is reached in\n\tthe profitable direction, then submitted as a limit order.\n* `RFQ` - a request-for-quote order, negotiated and filled at a\n\tquoted price.\n* `TWAP` - a time-weighted average price algorithmic order.\n* `VWAP` - a volume-weighted average price algorithmic order.\n* `PEGGED` - priced relative to a moving reference, such as the\n\tmarket midpoint.\n* `POV` - a percentage-of-volume algorithmic order, sized to a\n\ttarget share of market volume.\n* `MANUAL` - booked manually outside the standard order-entry flow.\n* `OTHER` - an order type not covered by any of the above.\n\n`MARKET`, `LIMIT`, `STOP_LOSS`, `STOP_LIMIT`, and\n`TAKE_PROFIT_LIMIT` are the only types this API's own place-order\nendpoint accepts; the rest can only appear on an order placed\nthrough another channel.","enum":["MARKET","LIMIT","LIMIT_ALL_IN","STOP_LOSS","STOP_LIMIT","TAKE_PROFIT_LIMIT","RFQ","TWAP","VWAP","PEGGED","POV","MANUAL","OTHER"],"isRequired":true,"uniqueKey":"data.orderType","typeLabel":"enum\u003cstring>"},"timeInForce":{"type":"string","description":"Time in force the order was placed with. One of:\n* `FOK` (fill or kill) - the order had to be fully filled\n\timmediately or was canceled with no partial execution.\n* `IOC` (immediate or cancel) - any portion fillable immediately\n\twas executed, and the remainder was canceled.\n* `GTC` (good till canceled) - the order stays active until fully\n\texecuted or explicitly canceled.\n* `GTD` (good till date) - the order stays active until fully\n\texecuted or `expiryTime` is reached.\n* `DAY` - the order stays active until the end of the trading day,\n\tthen expires if not fully executed. Can only appear on an order\n\tplaced through another channel; this API's own place-order\n\tendpoint never places one.","enum":["FOK","IOC","GTC","GTD","DAY"],"isRequired":true,"uniqueKey":"data.timeInForce","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"Current status of the order. One of:\n* `SUBMITTED` - received and working; nothing executed yet. This\n\tincludes orders awaiting processing and stop/take-profit\n\torders that are dormant until their trigger is reached.\n* `PARTIALLY_FILLED` - partially executed; the remainder is\n\tstill working.\n* `FILLED` - fully executed.\n* `CANCELING` - a cancel request has been received but not\n\tyet confirmed.\n* `CANCELED` - canceled with no executions.\n* `PARTIALLY_CANCELED` - canceled after partial execution; the\n\tfilled portion stands.\n* `EXPIRED` - terminated without (full) execution due to time in\n\tforce (`FOK` orders that could not be fully filled, `IOC`\n\tremainders, and `GTD` orders that reached `expiryTime`).\n* `REJECTED` - rejected; see `rejectReason`.","enum":["SUBMITTED","PARTIALLY_FILLED","FILLED","CANCELING","CANCELED","PARTIALLY_CANCELED","EXPIRED","REJECTED"],"isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"filledQuantity":{"type":"string","description":"Cumulative executed quantity, in units of `currency`.","isRequired":true,"uniqueKey":"data.filledQuantity","typeLabel":"string"},"remainingQuantity":{"type":"string","description":"Quantity still open for execution, in units of `currency`.","isRequired":true,"uniqueKey":"data.remainingQuantity","typeLabel":"string"},"canceledQuantity":{"type":"string","description":"Quantity that was canceled before execution, in units of `currency`.","isRequired":true,"uniqueKey":"data.canceledQuantity","typeLabel":"string"},"submitTime":{"description":"Time the order was received.","type":"string","format":"date-time","example":"2019-01-02T12:34:56.000Z","isRequired":true,"uniqueKey":"data.submitTime","typeLabel":"string\u003cdate-time>"},"lastUpdateTime":{"description":"Time of the most recent update to the order (fill, cancel, expiry, etc.).","type":"string","format":"date-time","example":"2019-01-02T12:34:56.000Z","isRequired":true,"uniqueKey":"data.lastUpdateTime","typeLabel":"string\u003cdate-time>"},"externalId":{"type":"string","description":"External ID provided when the order was placed.","uniqueKey":"data.externalId","typeLabel":"string"},"tradingPair":{"description":"Pair of assets this trade is for.","type":"string","uniqueKey":"data.tradingPair","typeLabel":"string"},"limitPrice":{"type":"string","description":"Limit price the order was placed with. Present only for `LIMIT`, `STOP_LIMIT`, and `TAKE_PROFIT_LIMIT` orders.","uniqueKey":"data.limitPrice","typeLabel":"string"},"triggerPrice":{"type":"string","description":"Trigger price the order was placed with. Present only for `STOP_LOSS`, `STOP_LIMIT`, and `TAKE_PROFIT_LIMIT` orders.","uniqueKey":"data.triggerPrice","typeLabel":"string"},"expiryTime":{"description":"Expiry time the order was placed with. Present only for `GTD` orders.","type":"string","format":"date-time","example":"2019-01-02T12:34:56.000Z","uniqueKey":"data.expiryTime","typeLabel":"string\u003cdate-time>"},"specLotId":{"type":"string","description":"Specification lot ID the order was placed with, if any. In the\nsubaccount-scoped view, this is the spec lot ID that applies\nto the subaccount's portion of the order, whether it was\nprovided via the order-level `specLotId` or the\nallocation-level one.","uniqueKey":"data.specLotId","typeLabel":"string"},"rejectCode":{"type":"string","description":"Machine-readable reason the order was rejected. Present only\nwhen `status` is `REJECTED`.\n\nField validation:\n* `INVALID_SYMBOL`, `INVALID_QUANTITY`, `INVALID_ORDER_TYPE`,\n\t`INVALID_TIME_IN_FORCE`, `INVALID_EXPIRY_TIME`,\n\t`INVALID_EXTERNAL_ID` - the named field is missing, malformed,\n\tor not allowed for this order.\n* `INVALID_SIDE` - `side` is missing, malformed, or not allowed\n\tfor this order type, e.g. a `BUY` `STOP_LOSS`.\n* `INVALID_CURRENCY` - `currency` is missing, malformed, or not\n\tallowed for this order type, e.g. a `STOP_LOSS` with\n\t`currency` set to the quote currency of `symbol`.\n* `INVALID_PRICE` - a price failed validation (e.g. outside\n\tallowed price bands).\n* `INVALID_LIMIT_PRICE`, `INVALID_TRIGGER_PRICE` - the named price\n\tis missing, malformed, or not allowed for this order type.\n\nAccount:\n* `INVALID_ACCOUNT` - unknown or inaccessible account or\n\tsubaccount ID.\n* `ACCOUNT_DISABLED_FOR_TRADING` - the account exists but trading\n\tis disabled on it.\n* `UNAUTHORIZED_FOR_TRADING` - the caller is not authorized to\n\ttrade on this account.\n\nAllocations:\n* `INVALID_ALLOCATION` - allocations are malformed, missing when\n\trequired (FBO account ID), not allowed (subaccount ID), or\n\tthe allocation quantities do not sum to the order `quantity`.\n* `INVALID_ACCOUNTS_IN_ALLOCATION` - an allocation references an\n\tunknown subaccount, or a subaccount that does not belong to\n\tthe account.\n\nSpec lots:\n* `INVALID_SPEC_LOT_ID` - the specified lot does not exist, does\n\tnot belong to the subaccount, or cannot cover this trade.\n* `INVALID_SIDE_FOR_SPEC_LOT_ID` - a spec lot ID was provided on a\n\tnon-`SELL` order.\n* `INVALID_TIME_IN_FORCE_FOR_SPEC_LOT_ID` - a spec lot ID was provided\n\twith a time in force other than `FOK`.\n\nExecution:\n* `INSUFFICIENT_BALANCE` - the account's holdings cannot cover\n\tthe order. The balance is checked before the order is accepted,\n\tso this is normally returned synchronously as a 400 by the\n\tplace endpoint rather than on a `REJECTED` order.\n* `INSUFFICIENT_LIQUIDITY` - the order cannot be filled within\n\tits constraints.\n* `DUPLICATE_ORDER` - the `externalId` was already used by an\n\taccepted order. Returned synchronously as a 409 by the place\n\tendpoint.\n* `INVALID_CURRENCY_FOR_FOK` - an `FOK` order specified the wrong\n\tcurrency leg. `BUY` orders must specify `quantity` in the\n\tquote currency, `SELL` orders in the base currency.\n\nCancellation:\n* `ORDER_NOT_CANCELABLE` - a cancel request targeted an order\n\tthat cannot be canceled (used by the cancel endpoint).\n\nOther:\n* `INTERNAL_ERROR` - an internal error occurred; the order was\n\tnot executed.","enum":["INVALID_SYMBOL","INVALID_CURRENCY","INVALID_SIDE","INVALID_QUANTITY","INVALID_ORDER_TYPE","INVALID_TIME_IN_FORCE","INVALID_EXPIRY_TIME","INVALID_EXTERNAL_ID","INVALID_PRICE","INVALID_LIMIT_PRICE","INVALID_TRIGGER_PRICE","INVALID_ACCOUNT","ACCOUNT_DISABLED_FOR_TRADING","UNAUTHORIZED_FOR_TRADING","INVALID_ALLOCATION","INVALID_ACCOUNTS_IN_ALLOCATION","INVALID_SPEC_LOT_ID","INVALID_SIDE_FOR_SPEC_LOT_ID","INVALID_TIME_IN_FORCE_FOR_SPEC_LOT_ID","INSUFFICIENT_BALANCE","INSUFFICIENT_LIQUIDITY","DUPLICATE_ORDER","INVALID_CURRENCY_FOR_FOK","ORDER_NOT_CANCELABLE","INTERNAL_ERROR"],"uniqueKey":"data.rejectCode","typeLabel":"enum\u003cstring>"},"rejectReason":{"type":"string","description":"Human-readable description of why the order was rejected, providing detail beyond `rejectCode`. Present only when `status` is `REJECTED`.","uniqueKey":"data.rejectReason","typeLabel":"string"},"avgPrice":{"type":"string","description":"Average execution price across all fills, in the quote currency of `symbol`. Present only once the order has (partially) filled.","uniqueKey":"data.avgPrice","typeLabel":"string"},"avgPriceAllIn":{"type":"string","description":"Average execution price across all fills, inclusive of fees. Present only once the order has (partially) filled.","uniqueKey":"data.avgPriceAllIn","typeLabel":"string"},"counterQuantity":{"type":"string","description":"Cumulative executed quantity in units of `counterCurrency`, exclusive of fees.","uniqueKey":"data.counterQuantity","typeLabel":"string"},"counterQuantityAllIn":{"type":"string","description":"Cumulative executed quantity in units of `counterCurrency`, inclusive of fees (i.e. the net amount after `fee` is applied).","uniqueKey":"data.counterQuantityAllIn","typeLabel":"string"},"fee":{"type":"string","description":"Total fee charged for the order, in `feeCurrency`.","uniqueKey":"data.fee","typeLabel":"string"},"feeCurrency":{"type":"string","description":"The currency in which `fee` is charged.","uniqueKey":"data.feeCurrency","typeLabel":"string"},"allocationCount":{"type":"integer","description":"Number of subaccount allocations the order was placed with.\nPresent only in the account-level view, and only when the order\nwas placed with allocations; mutually exclusive with\n`allocationId`. Use the account allocations endpoint\n(`GET /accounts/{accountId}/allocations?orderIds={orderId}`) to\npage through the allocations.","uniqueKey":"data.allocationCount","typeLabel":"integer"},"subaccountId":{"description":"The subaccount (a UUID) this view is scoped to. Present only in\nthe subaccount-scoped view.","type":"string","format":"uuid","example":"3486b413-93d3-4447-afce-2b9c9dc34a32","uniqueKey":"data.subaccountId","typeLabel":"string\u003cuuid>"},"allocationId":{"description":"Unique ID (a UUID) of the subaccount allocation whose scoped\nvalues this view shows. Present only in the subaccount-scoped\nview; mutually exclusive with `allocationCount`. Present both\nfor orders allocated into the subaccount and for orders placed\ndirectly into it — a directly placed order is a single implicit\nallocation.","type":"string","format":"uuid","example":"3486b413-93d3-4447-afce-2b9c9dc34a32","uniqueKey":"data.allocationId","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"data","typeLabel":"Order · object"}},"uniqueKey":"","typeLabel":"Order Response · object"},"examples":{"partiallyFilledStopLimit":{"title":"partiallyFilledStopLimit","summary":"Partially filled stop-limit buy","value":{"data":{"id":"a94c8d75-6c9d-4903-95f3-5b0893e76cb7","externalId":"6fb5fc79-0bb4-446d-82dd-d4687fb56a02","symbol":"BTC-USD","side":"BUY","currency":"USD","counterCurrency":"BTC","quantity":"10000.00","orderType":"STOP_LIMIT","timeInForce":"GTC","limitPrice":"22000.00","triggerPrice":"21900.00","status":"PARTIALLY_FILLED","avgPrice":"21990.01","avgPriceAllIn":"22011.89","filledQuantity":"6000.00","counterQuantity":"0.27285","counterQuantityAllIn":"0.27258","remainingQuantity":"4000.00","canceledQuantity":"0.00","fee":"0.00027","feeCurrency":"BTC","submitTime":"2026-08-11T14:58:09.909251Z","lastUpdateTime":"2026-08-11T15:02:31.925050Z"}}},"subaccountView":{"title":"subaccountView","summary":"Allocated market sell, viewed via a subaccount ID","value":{"data":{"id":"5d3f8c2a-1e4b-4a6c-8d9e-0f1a2b3c4d5e","externalId":"5b8e2f4d-6a1c-4e9b-b3d7-2c4e6f8a0b1c","symbol":"BTC-USD","side":"SELL","currency":"BTC","counterCurrency":"USD","quantity":"0.6","orderType":"MARKET","timeInForce":"IOC","status":"FILLED","avgPrice":"64998.50","avgPriceAllIn":"64933.50","filledQuantity":"0.6","counterQuantity":"38999.10","counterQuantityAllIn":"38960.10","remainingQuantity":"0.00","canceledQuantity":"0.00","fee":"39.00","feeCurrency":"USD","subaccountId":"7d1e3f5a-2b4c-4d6e-8f0a-1c2e3a4b5c6d","allocationId":"9c8b7a6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d","submitTime":"2026-08-11T14:33:00.120000Z","lastUpdateTime":"2026-08-11T14:33:00.480000Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"f6786aff-940f-4ef3-b377-9efca279866e":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"ErrorDetails","type":"object","properties":{"message":{"description":"A human-readable message providing more details about the error.","example":"Missing required field 'amount'.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"ErrorDetails · object"},"examples":{"Example":{"title":"Example","value":{"message":"Missing required field 'amount'."}}},"exampleType":"generated"}},"exampleType":"generated"},"ef200c53-874b-470a-a2cf-e5ec46c551f3":{"description":"Unauthenticated","content":{"application/json":{"schema":{"title":"ErrorDetails","type":"object","properties":{"message":{"description":"A human-readable message providing more details about the error.","example":"Missing required field 'amount'.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"ErrorDetails · object"},"examples":{"Example":{"title":"Example","value":{"message":"Missing required field 'amount'."}}},"exampleType":"generated"}},"exampleType":"generated"},"e1bec954-288d-4e53-88c9-a5cadc96a740":{"description":"Forbidden","content":{"application/json":{"schema":{"title":"ErrorDetails","type":"object","properties":{"message":{"description":"A human-readable message providing more details about the error.","example":"Missing required field 'amount'.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"ErrorDetails · object"},"examples":{"Example":{"title":"Example","value":{"message":"Missing required field 'amount'."}}},"exampleType":"generated"}},"exampleType":"generated"},"9f0f4bea-3aff-4107-b7f9-486f92f625c0":{"description":"Not Found","content":{"application/json":{"schema":{"title":"ErrorDetails","type":"object","properties":{"message":{"description":"A human-readable message providing more details about the error.","example":"Missing required field 'amount'.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"ErrorDetails · object"},"examples":{"Example":{"title":"Example","value":{"message":"Missing required field 'amount'."}}},"exampleType":"generated"}},"exampleType":"generated"},"b284208e-e401-4d8a-a93c-cc80d0aa6032":{"description":"Too Many Requests","content":{"application/json":{"schema":{"title":"ErrorDetails","type":"object","properties":{"message":{"description":"A human-readable message providing more details about the error.","example":"Missing required field 'amount'.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"ErrorDetails · object"},"examples":{"Example":{"title":"Example","value":{"message":"Missing required field 'amount'."}}},"exampleType":"generated"}},"exampleType":"generated"},"d52bab74-8654-47d3-95bd-e9e09b00f600":{"description":"Internal Server Error","content":{"application/json":{"schema":{"title":"ErrorDetails","type":"object","properties":{"message":{"description":"A human-readable message providing more details about the error.","example":"Missing required field 'amount'.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"ErrorDetails · object"},"examples":{"Example":{"title":"Example","value":{"message":"Missing required field 'amount'."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"5c20c00e-303d-410a-8164-9447333641bf":{"Api-Access-Key":{"type":"apiKey","name":"Api-Access-Key","in":"header","description":"An API key associated with a security role","scopes":[],"schemeName":"Api-Access-Key"}}},"servers":{"5987e378-6a0f-4e8d-8aa1-927add821f2f":{"url":"https://api.anchorage-staging.com/v4"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"Api-Access-Key","in":"header","description":"An API key associated with a security role","scopes":[],"schemeName":"Api-Access-Key"},"schema":{"title":"Api-Access-Key","type":"string","description":"An API key associated with a security role","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"Api-Access-Key","name":"Api-Access-Key"}],"title":"Api-Access-Key"}]},"originalFileLocation":"knowledge-base/openapi/v4.yaml"},"subdomain":"deployment-4","siteName":"Anchorage Digital","title":"Get an order - Anchorage Digital","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{},"searchTabScopes":[{"product":"Anchorage Digital","tab":"User guides"},{"product":"Anchorage Digital","tab":"Developer guides"},{"product":"Anchorage Digital","tab":"API reference"},{"product":"Anchorage Digital","tab":"Build with AI"},{"product":"Porto","tab":"User guides"},{"product":"Porto","tab":"Developer guides"},{"product":"Porto","tab":"API reference"},{"product":"Porto","tab":"Build with AI"},{"product":"Agentic Banking","tab":"Guides"},{"product":"Agentic Banking","tab":"Changelog"}]},"lastModified":"2026-11-12T19:01:03.154Z","originalFileLocation":"knowledge-base/api-reference/v4/orders-\u0026-allocations/get-an-order.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=\"Permissions required: Read trade activity Returns the full current state of an order, including its execution state. The accountId may be the account or subaccount ID the order was placed with, or any subaccount ID the order was allocated to. The kind of ID determines the view of the order that is returned: - Account ID: quantities, fills, and fees are order-level aggregates. If the order was placed with allocations, allocationCount is present; use the account allocations endpoint (GET /accounts/{accountId}/allocations?orderIds={orderId}) to page through the per-allocation execution state. - Subaccount ID: quantities, fills, and fees are scoped to the subaccount\u0026#x27;s portion of the order, and subaccountId and allocationId are present. This is the recommended way to retrieve a subaccount\u0026#x27;s view of an order.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Anchorage Digital\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/svg+xml\" sizes=\"180x180\" href=\"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026amp;auto=format\u0026amp;n=GSah06OFrRxxO1iB\u0026amp;q=85\u0026amp;s=dbc56a4b9970aa0cc3b83e27e2063715\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"32x32\" href=\"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026amp;auto=format\u0026amp;n=GSah06OFrRxxO1iB\u0026amp;q=85\u0026amp;s=dbc56a4b9970aa0cc3b83e27e2063715\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"16x16\" href=\"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026amp;auto=format\u0026amp;n=GSah06OFrRxxO1iB\u0026amp;q=85\u0026amp;s=dbc56a4b9970aa0cc3b83e27e2063715\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/svg+xml\" href=\"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026amp;auto=format\u0026amp;n=GSah06OFrRxxO1iB\u0026amp;q=85\u0026amp;s=dbc56a4b9970aa0cc3b83e27e2063715\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"32x32\" href=\"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026amp;auto=format\u0026amp;n=GSah06OFrRxxO1iB\u0026amp;q=85\u0026amp;s=dbc56a4b9970aa0cc3b83e27e2063715\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"16x16\" href=\"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026amp;auto=format\u0026amp;n=GSah06OFrRxxO1iB\u0026amp;q=85\u0026amp;s=dbc56a4b9970aa0cc3b83e27e2063715\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/svg+xml\" href=\"https://mintcdn.com/deployment-4/GSah06OFrRxxO1iB/knowledge-base/favicon-symbol.svg?fit=max\u0026amp;auto=format\u0026amp;n=GSah06OFrRxxO1iB\u0026amp;q=85\u0026amp;s=dbc56a4b9970aa0cc3b83e27e2063715\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get an order - Anchorage Digital\">\u003cmeta data-mint-head property=\"og:description\" content=\"Permissions required: Read trade activity Returns the full current state of an order, including its execution state. The accountId may be the account or subaccount ID the order was placed with, or any subaccount ID the order was allocated to. The kind of ID determines the view of the order that is returned: - Account ID: quantities, fills, and fees are order-level aggregates. If the order was placed with allocations, allocationCount is present; use the account allocations endpoint (GET /accounts/{accountId}/allocations?orderIds={orderId}) to page through the per-allocation execution state. - Subaccount ID: quantities, fills, and fees are scoped to the subaccount\u0026#x27;s portion of the order, and subaccountId and allocationId are present. This is the recommended way to retrieve a subaccount\u0026#x27;s view of an order.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Anchorage Digital\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.anchorage.com/knowledge-base/api-reference/v4/orders-\u0026amp;-allocations/get-an-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://deployment-4.mintlify.site/_mintlify/api/og/v2?division=Orders+and+allocations\u0026amp;title=Get+an+order\u0026amp;description=Permissions+required%3A+**Read+trade+activity**%0A%0AReturns+the+full+current+state+of+an+order%2C+including+its+execution%0Astate.%0A%0AThe+%60accountId%60+may+be+the+account+or\u0026amp;theme=813001ef3ccb97d387d13daf\u0026amp;signature=8e65969c6e081b4420c0e67be72b26bf7b7c8b88f89f978f6ffaf04526f86d70\">\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 an order - Anchorage Digital\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Permissions required: Read trade activity Returns the full current state of an order, including its execution state. The accountId may be the account or subaccount ID the order was placed with, or any subaccount ID the order was allocated to. The kind of ID determines the view of the order that is returned: - Account ID: quantities, fills, and fees are order-level aggregates. If the order was placed with allocations, allocationCount is present; use the account allocations endpoint (GET /accounts/{accountId}/allocations?orderIds={orderId}) to page through the per-allocation execution state. - Subaccount ID: quantities, fills, and fees are scoped to the subaccount\u0026#x27;s portion of the order, and subaccountId and allocationId are present. This is the recommended way to retrieve a subaccount\u0026#x27;s view of an order.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://deployment-4.mintlify.site/_mintlify/api/og/v2?division=Orders+and+allocations\u0026amp;title=Get+an+order\u0026amp;description=Permissions+required%3A+**Read+trade+activity**%0A%0AReturns+the+full+current+state+of+an+order%2C+including+its+execution%0Astate.%0A%0AThe+%60accountId%60+may+be+the+account+or\u0026amp;theme=813001ef3ccb97d387d13daf\u0026amp;signature=8e65969c6e081b4420c0e67be72b26bf7b7c8b88f89f978f6ffaf04526f86d70\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/deployment-4/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Anchorage Digital\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5580F6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.anchorage.com/knowledge-base/api-reference/v4/orders-\u0026amp;-allocations/get-an-order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/knowledge-base/api-reference/v4/orders-%26-allocations/get-an-order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.anchorage.com/#organization\",\"name\":\"Anchorage Digital\",\"url\":\"https://docs.anchorage.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/deployment-4/ikVMLMsizDmk_7Sw/knowledge-base/images/logo-lockup-dark.svg?fit=max\u0026auto=format\u0026n=ikVMLMsizDmk_7Sw\u0026q=85\u0026s=87028c6755f355e278de66991913b91c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.anchorage.com#website\",\"name\":\"Anchorage Digital\",\"url\":\"https://docs.anchorage.com\",\"publisher\":{\"@id\":\"https://docs.anchorage.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/orders-\u0026-allocations/get-an-order#webpage\",\"url\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/orders-\u0026-allocations/get-an-order\",\"name\":\"Get an order\",\"description\":\"Permissions required: Read trade activity Returns the full current state of an order, including its execution state. The accountId may be the account or subaccount ID the order was placed with, or any subaccount ID the order was allocated to. The kind of ID determines the view of the order that is returned: - Account ID: quantities, fills, and fees are order-level aggregates. If the order was placed with allocations, allocationCount is present; use the account allocations endpoint (GET /accounts/{accountId}/allocations?orderIds={orderId}) to page through the per-allocation execution state. - Subaccount ID: quantities, fills, and fees are scoped to the subaccount's portion of the order, and subaccountId and allocationId are present. This is the recommended way to retrieve a subaccount's view of an order.\",\"dateModified\":\"2026-11-12T19:01:03.154Z\",\"isPartOf\":{\"@id\":\"https://docs.anchorage.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/orders-\u0026-allocations/get-an-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/orders-\u0026-allocations/get-an-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Orders and allocations\",\"item\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/orders-\u0026-allocations/place-an-order\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get an order\",\"item\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/orders-\u0026-allocations/get-an-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/orders-\u0026-allocations/get-an-order#apireference\",\"headline\":\"Get an order\",\"name\":\"Get an order\",\"description\":\"Permissions required: Read trade activity Returns the full current state of an order, including its execution state. The accountId may be the account or subaccount ID the order was placed with, or any subaccount ID the order was allocated to. The kind of ID determines the view of the order that is returned: - Account ID: quantities, fills, and fees are order-level aggregates. If the order was placed with allocations, allocationCount is present; use the account allocations endpoint (GET /accounts/{accountId}/allocations?orderIds={orderId}) to page through the per-allocation execution state. - Subaccount ID: quantities, fills, and fees are scoped to the subaccount's portion of the order, and subaccountId and allocationId are present. This is the recommended way to retrieve a subaccount's view of an order.\",\"url\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/orders-\u0026-allocations/get-an-order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.anchorage.com/knowledge-base/api-reference/v4/orders-\u0026-allocations/get-an-order#webpage\"},\"dateModified\":\"2026-11-12T19:01:03.154Z\",\"publisher\":{\"@id\":\"https://docs.anchorage.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.anchorage.com#website\"}}]}\u003c/script>","agentPointerHref":"/knowledge-base/api-reference/v4/orders-%26-allocations/get-an-order.md","siteName":"Anchorage Digital","nav":{"global":null,"products":[{"product":"Home","icon":"house","pages":[{"title":"Home","href":"/knowledge-base"}]},{"product":"Anchorage Digital","icon":"https://mintlify.s3.us-west-1.amazonaws.com/deployment-4/knowledge-base/images/icons/anchorage.svg","tabs":[{"tab":"User guides","pages":[{"title":"User guides","href":"/knowledge-base/platform/users/overview"}]},{"tab":"Developer guides","pages":[{"title":"Developer guides","href":"/knowledge-base/platform/developers/setting-up"}]},{"tab":"API reference","menu":[{"item":"v2","pages":[{"title":"v2","href":"/knowledge-base/api-reference/introduction"}]},{"item":"v3","hidden":true,"pages":[{"title":"v3","href":"/knowledge-base/api-reference/v3/introduction"}]},{"item":"v4","groups":[{"group":"Overview","public":true,"icon":"book-open","pages":[{"title":"API reference","href":"/knowledge-base/api-reference/v4/introduction"},{"title":"API deprecation policy","href":"/knowledge-base/api-reference/v4/api-deprecation-policy"}]},{"group":"Accounts","public":true,"icon":"building","pages":[{"title":"List accounts","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts","href":"/knowledge-base/api-reference/v4/accounts/list-accounts"},{"title":"Create accounts","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts","href":"/knowledge-base/api-reference/v4/accounts/create-accounts"},{"title":"Get an account","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}","href":"/knowledge-base/api-reference/v4/accounts/get-an-account"},{"title":"Freeze accounts","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/freeze","href":"/knowledge-base/api-reference/v4/accounts/freeze-accounts"},{"title":"Unfreeze accounts","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/unfreeze","href":"/knowledge-base/api-reference/v4/accounts/unfreeze-accounts"},{"title":"Close accounts","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/close","href":"/knowledge-base/api-reference/v4/accounts/close-accounts"}]},{"group":"Asset types","public":true,"icon":"coins","pages":[{"title":"List Asset Types","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /asset-types","href":"/knowledge-base/api-reference/v4/asset-types/list-asset-types"}]},{"group":"Balances","public":true,"icon":"scale-balanced","pages":[{"title":"List balances","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/balances","href":"/knowledge-base/api-reference/v4/balances/list-balances"}]},{"group":"Transactions","public":true,"icon":"list-check","pages":[{"title":"List all transactions","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/transactions","href":"/knowledge-base/api-reference/v4/transactions/list-all-transactions"}]},{"group":"Deposit instructions","public":true,"icon":"arrow-down-to-bracket","pages":[{"title":"Get deposit instructions for an account","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/deposit-instructions/{assetType}","href":"/knowledge-base/api-reference/v4/deposit-instructions/get-deposit-instructions-for-an-account"}]},{"group":"Deposit attributions","public":true,"icon":"fingerprint","pages":[{"title":"List deposit attributions","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /deposit-attributions/attributions","href":"/knowledge-base/api-reference/v4/deposit-attributions/list-deposit-attributions"},{"title":"Attribute a deposit","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml patch /deposit-attributions/{depositTransactionId}","href":"/knowledge-base/api-reference/v4/deposit-attributions/attribute-a-deposit"},{"title":"Attribute a deposit as spam","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /deposit-attributions/{depositTransactionId}/spam","href":"/knowledge-base/api-reference/v4/deposit-attributions/attribute-a-deposit-as-spam"}]},{"group":"Trusted destinations","public":true,"icon":"badge-check","pages":[{"title":"List destinations","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/destinations","href":"/knowledge-base/api-reference/v4/trusted-destinations/list-destinations"},{"title":"Create a destination","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/{accountId}/destinations","href":"/knowledge-base/api-reference/v4/trusted-destinations/create-a-destination"},{"title":"Get destination","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/destinations/{destinationId}","href":"/knowledge-base/api-reference/v4/trusted-destinations/get-destination"}]},{"group":"Orders and allocations","public":true,"icon":"chart-line","pages":[{"title":"Place an order","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/{accountId}/orders","href":"/knowledge-base/api-reference/v4/orders-\u0026-allocations/place-an-order"},{"title":"List orders","description":"Permissions required: **Read trade activity**\n\nLists orders for the account or subaccount identified by `accountId`, most\nrecently submitted first.\n\nWhen `accountId` is an account ID, orders are returned in the\naccount-level view; use the account allocations endpoint\n(`GET /accounts/{accountId}/allocations`) for the subaccount-scoped\nequivalent of this listing.\n\nWhen `accountId` is a subaccount ID, the list includes orders placed\ndirectly into the subaccount as well as account-level orders\nallocated into it via `allocations`. Each order is returned in the\nsubaccount-scoped view: quantities, fills, and fees are scoped to\nthe subaccount's portion of the order, and `subaccountId` and\n`allocationId` are present. See the Order schema for the two views\nof an order.","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/orders","href":"/knowledge-base/api-reference/v4/orders-\u0026-allocations/list-orders"},{"title":"Get an order","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/orders/{orderId}","href":"/knowledge-base/api-reference/v4/orders-\u0026-allocations/get-an-order"},{"title":"Cancel an order","description":"Permissions required: **Execute trades**\n\nRequests cancellation of an order.\n\nCancellation is asynchronous: a successful response means the\ncancel request was accepted, and only the order ID and external\nID are returned. The order moves to status `CANCELING`, and once\nthe cancellation is confirmed, to `CANCELED` (nothing was\nexecuted) or `PARTIALLY_CANCELED` (partially executed before\ncancellation; the filled portion stands). Use the order lookup\nendpoint to observe the cancellation state.\n\nCanceling an order that is already in `CANCELING` is\nidempotent: the request succeeds again.\n\nOrders that cannot be canceled are rejected with 409\n`ORDER_NOT_CANCELABLE`. This includes orders already in a terminal\nstate (`FILLED`, `CANCELED`, `PARTIALLY_CANCELED`, `EXPIRED`,\n`REJECTED`) and orders that execute immediately (`FOK` and `IOC`,\nincluding all `MARKET` orders).\n\nRejections. A request that passes schema validation but breaks a\nbusiness rule returns the listed status with a `message` of the\nform `\u003crejectCode>: \u003cdetail>`, where `\u003crejectCode>` is one of the\n`rejectCode` values of the Order schema. A request that fails\nschema validation, such as a malformed field, returns 400 with\nthe validator's message and no code.\nAn unknown order, or one not visible through the given\n`accountId`, returns 404 with the message `order not found` and\nno code.","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/{accountId}/orders/{orderId}/cancel","href":"/knowledge-base/api-reference/v4/orders-\u0026-allocations/cancel-an-order"},{"title":"List allocations","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/allocations","href":"/knowledge-base/api-reference/v4/orders-\u0026-allocations/list-allocations"}]},{"group":"Withdrawals","public":true,"icon":"money-bill-transfer","pages":[{"title":"Create withdrawals","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/{accountId}/withdrawals","href":"/knowledge-base/api-reference/v4/withdrawals/create-withdrawals"},{"title":"List withdrawals","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/withdrawals","href":"/knowledge-base/api-reference/v4/withdrawals/list-withdrawals"},{"title":"Get a withdrawal","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/withdrawals/{withdrawalId}","href":"/knowledge-base/api-reference/v4/withdrawals/get-a-withdrawal"},{"title":"Cancel a withdrawal","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/{accountId}/withdrawals/{withdrawalId}/cancel","href":"/knowledge-base/api-reference/v4/withdrawals/cancel-a-withdrawal"}]},{"group":"Approval keys","public":true,"icon":"key","pages":[{"title":"Register an approval key","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /approvers/keys","href":"/knowledge-base/api-reference/v4/approval-groups/register-an-approval-key"},{"title":"List approval keys","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /approvers/keys","href":"/knowledge-base/api-reference/v4/approval-groups/list-approval-keys"},{"title":"Get an approval key","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /approvers/keys/{keyId}","href":"/knowledge-base/api-reference/v4/approval-groups/get-an-approval-key"},{"title":"Archive an approval key","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml delete /approvers/keys/{keyId}","href":"/knowledge-base/api-reference/v4/approval-groups/archive-an-approval-key"}]},{"group":"Policies","public":true,"icon":"shield-check","pages":[{"title":"Define a policy","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /policies","href":"/knowledge-base/api-reference/v4/policies/define-a-policy"},{"title":"Resolve applicable policies","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /policies","href":"/knowledge-base/api-reference/v4/policies/resolve-applicable-policies"},{"title":"Get a policy","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /policies/{policyId}","href":"/knowledge-base/api-reference/v4/policies/get-a-policy"},{"title":"Archive a policy","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml delete /policies/{policyId}","href":"/knowledge-base/api-reference/v4/policies/archive-a-policy"}]},{"group":"Approval groups","public":true,"icon":"users","tag":"UNDER CONSTRUCTION","pages":[{"title":"Create an approval group","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /approvers/approval-groups","href":"/knowledge-base/api-reference/v4/approval-groups/create-an-approval-group"},{"title":"List approval groups","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /approvers/approval-groups","href":"/knowledge-base/api-reference/v4/approval-groups/list-approval-groups"},{"title":"Get an approval group","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /approvers/approval-groups/{approvalGroupId}","href":"/knowledge-base/api-reference/v4/approval-groups/get-an-approval-group"},{"title":"Archive an approval group","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml delete /approvers/approval-groups/{approvalGroupId}","href":"/knowledge-base/api-reference/v4/approval-groups/archive-an-approval-group"}]},{"group":"Endorsements","public":true,"icon":"signature","tag":"UNDER CONSTRUCTION","pages":[{"title":"List actions awaiting endorsement","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /endorsements/actions","href":"/knowledge-base/api-reference/v4/endorsements/list-actions-awaiting-endorsement"},{"title":"Get an action","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /endorsements/actions/{actionId}","href":"/knowledge-base/api-reference/v4/endorsements/get-an-action"},{"title":"Endorse an action","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /endorsements/actions/{actionId}/endorse","href":"/knowledge-base/api-reference/v4/endorsements/endorse-an-action"},{"title":"Reject an action","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /endorsements/actions/{actionId}/reject","href":"/knowledge-base/api-reference/v4/endorsements/reject-an-action"}]},{"group":"Compliance profiles","public":true,"icon":"file-shield","tag":"UNDER CONSTRUCTION","pages":[{"title":"List compliance profiles","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /compliance-profiles","href":"/knowledge-base/api-reference/v4/compliance-profiles/list-compliance-profiles"},{"title":"Create compliance profiles","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /compliance-profiles","href":"/knowledge-base/api-reference/v4/compliance-profiles/create-compliance-profiles"},{"title":"Get a compliance profile","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /compliance-profiles/{profileId}","href":"/knowledge-base/api-reference/v4/compliance-profiles/get-a-compliance-profile"},{"title":"Update a compliance profile","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml patch /compliance-profiles/{profileId}","href":"/knowledge-base/api-reference/v4/compliance-profiles/update-a-compliance-profile"}]},{"group":"Customers","public":true,"icon":"user-plus","tag":"UNDER CONSTRUCTION","pages":[{"title":"List customers","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /customers","href":"/knowledge-base/api-reference/v4/customers/list-customers"},{"title":"Create customers","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /customers","href":"/knowledge-base/api-reference/v4/customers/create-customers"},{"title":"Get customer","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /customers/{customerId}","href":"/knowledge-base/api-reference/v4/customers/get-customer"},{"title":"Update customer","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml patch /customers/{customerId}","href":"/knowledge-base/api-reference/v4/customers/update-customer"},{"title":"List customer documents","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /customers/{customerId}/documents","href":"/knowledge-base/api-reference/v4/customers/list-customer-documents"}]},{"group":"Account maintenance","public":true,"icon":"file-invoice-dollar","tag":"UNDER CONSTRUCTION","pages":[{"title":"Update an account","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml patch /accounts/{accountId}","href":"/knowledge-base/api-reference/v4/accounts/update-an-account"},{"title":"Get account beneficiaries","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/beneficiaries","href":"/knowledge-base/api-reference/v4/accounts/get-account-beneficiaries"},{"title":"Update account beneficiaries","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml patch /accounts/{accountId}/beneficiaries","href":"/knowledge-base/api-reference/v4/accounts/update-account-beneficiaries"},{"title":"Get account fee configurations","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/fee-configs","href":"/knowledge-base/api-reference/v4/accounts/get-account-fee-configurations"},{"title":"Update account fee configurations","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml patch /accounts/{accountId}/fee-configs","href":"/knowledge-base/api-reference/v4/accounts/update-account-fee-configurations"},{"title":"Update interest enrollment","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml patch /accounts/{accountId}/interest-enrollment","href":"/knowledge-base/api-reference/v4/accounts/update-interest-enrollment"}]},{"group":"Funding allocations","public":true,"icon":"arrows-split-up-and-left","tag":"UNDER CONSTRUCTION","pages":[{"title":"Fetches a set of filtered transactions allocations","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml get /accounts/{accountId}/transactions/allocations","href":"/knowledge-base/api-reference/v4/transactions/fetches-a-set-of-filtered-transactions-allocations"},{"title":"Create new allocations","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml post /accounts/{accountId}/transactions/allocations","href":"/knowledge-base/api-reference/v4/transactions/create-new-allocations"}]},{"group":"Destination removal","public":true,"icon":"trash","tag":"UNDER CONSTRUCTION","pages":[{"title":"Delete destination","deprecated":null,"version":null,"openapi":"/knowledge-base/openapi/v4.yaml delete /accounts/{accountId}/destinations/{destinationId}","href":"/knowledge-base/api-reference/v4/trusted-destinations/delete-destination"}]}]}]},{"tab":"Build with AI","pages":[{"title":"Build with AI","href":"/knowledge-base/build-with-ai/overview"}]}]},{"product":"Porto","icon":"https://mintlify.s3.us-west-1.amazonaws.com/deployment-4/knowledge-base/images/icons/porto.svg","color":{"light":"#ac96ff","dark":"#ac96ff"},"pages":[{"title":"Porto","href":"/knowledge-base/porto/overview"}]},{"product":"Anchorage Digital Wealth (For Advisors)","icon":"building-columns","color":{"light":"#C9A227","dark":"#C9A227"},"hidden":true,"pages":[{"title":"Anchorage Digital Wealth (For Advisors)","href":"/knowledge-base/adw/overview"}]},{"product":"Trading","icon":"chart-line","hidden":true,"pages":[{"title":"Trading","href":"/knowledge-base/a1-trading/developer-guide/overview"}]},{"product":"Agentic Banking","icon":"robot","pages":[{"title":"Agentic Banking","href":"/agentic-banking/overview"}]}]},"basePath":"","title":"Get an order - Anchorage Digital","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"]}