The same impact model as /v1/depth/{pair}/quote, walked into a ladder so it reads like an order book. asks is buying (long), bids is selling (short); both ascend in notional out to maxNotionalUsd.
cumSizeUsd is cumulative: each level prices one trade of that full size, not an increment on the level below. Summing levels is meaningless.
maxNotionalUsd is the pair’s max open interest, or its current OI where that is larger — the same extent the trading UI’s depth chart draws.
levels only sets sampling density. The underlying curve is piecewise linear — flat until volume crosses the pair’s threshold, then a straight line — so a higher count draws a smoother chart but adds almost no information. Some pairs return one repeated price, when their threshold exceeds their own OI cap.
Either pair spelling is accepted, as with the quote route.
Rate limit: 100 requests per 10 seconds per IP. Read x-ratelimit-* for the live budget rather than assuming this figure.
GET
/
v1
/
depth
/
{pair}
Price across a range of trade sizes
curl --request GET \ --url https://builder.prod.bedrock.ostium.io/v1/depth/{pair}
Where both ladders stop — the pair's OI ceiling, or current OI where that is larger. Shared across sides, so asks[i] and bids[i] price the same size and spread-at-size is one subtraction.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ostium","colors":{"primary":"#FF5A19","light":"#FF5A19","dark":"#FF5A19"},"logo":"https://mintcdn.com/ostium/rgKhfmKxgkO9O2aD/logo/ostium-logo.svg?fit=max\u0026auto=format\u0026n=rgKhfmKxgkO9O2aD\u0026q=85\u0026s=e2316b63df8fab1bbdb3c18daeff80e5","favicon":"https://mintcdn.com/ostium/PYRmOzvp-N2ht7oL/favicon.svg?fit=max\u0026auto=format\u0026n=PYRmOzvp-N2ht7oL\u0026q=85\u0026s=79bfadbe417502d9aec3c62a2a59d62e","navbar":{"links":[{"href":"https://discord.com/invite/ostiumlabs","label":"Support"}],"primary":{"type":"button","label":"Trade Now","href":"https://app.ostium.com"}},"footer":{"socials":{"x":"https://x.com/Ostium","github":"https://github.com/ostium-labs","linkedin":"https://linkedin.com/company/ostium"},"links":[{"header":"Legal","items":[{"label":"Terms of Use","href":"/legal/terms-of-use"},{"label":"Privacy Policy","href":"/legal/privacy-policy"},{"label":"Nasdaq Subscriber Agreement","href":"/legal/nasdaq-subscriber-agreement"},{"label":"OLP Recovery Plan Terms","href":"/legal/olp-recovery-plan-terms"}]}]},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://ostium.com"},{"anchor":"Developers","icon":"code","href":"/developer/sdk/overview"},{"anchor":"Blog","icon":"newspaper","href":"https://www.ostium.com/blog"},{"anchor":"X/Twitter","icon":"twitter","href":"https://www.x.com/Ostium"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ostium","hasAudioNarration":false,"actualSubdomain":"ostium","customDomains":["docs.ostium.com"],"gitSource":{"type":"github","owner":"0xostium","repo":"new-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6acc8e98e4af841eed2f1868","collectionId":"2ac89999-3290-4b13-920e-1ca75a2be88f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6acc8e98e4af841eed2f1868"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6acc8e98e4af841eed2f1868","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"Developers","count":63},{"language":"default","tag":"Read Methods","count":17},{"language":"default","tag":"API Reference","count":16},{"language":"default","tag":"Traders","count":13},{"language":"default","tag":"Helpers","count":10},{"language":"default","tag":"Client Modes","count":8},{"language":"default","tag":"Builder API","count":7},{"language":"default","tag":"Trading","count":6},{"language":"default","tag":"Write Methods","count":5},{"language":"default","tag":"Previews \u0026 Limits","count":5}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/liquidity/price-across-a-range-of-trade-sizes","slug":"/api-reference/liquidity/price-across-a-range-of-trade-sizes","pageMetadata":{"title":"Price across a range of trade sizes","description":"The same impact model as `/v1/depth/{pair}/quote`, walked into a ladder so it reads like an order book. `asks` is buying (long), `bids` is selling (short); both ascend in notional out to `maxNotionalUsd`.\n\n`cumSizeUsd` is **cumulative**: each level prices one trade of that full size, not an increment on the level below. Summing levels is meaningless.\n\n`maxNotionalUsd` is the pair's max open interest, or its current OI where that is larger — the same extent the trading UI's depth chart draws.\n\n`levels` only sets sampling density. The underlying curve is piecewise linear — flat until volume crosses the pair's threshold, then a straight line — so a higher count draws a smoother chart but adds almost no information. Some pairs return one repeated price, when their threshold exceeds their own OI cap.\n\nEither pair spelling is accepted, as with the quote route.\n\nRate limit: 100 requests per 10 seconds per IP. Read `x-ratelimit-*` for the live budget rather than assuming this figure.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/depth/{pair}","href":"/api-reference/liquidity/price-across-a-range-of-trade-sizes","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 strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"The same impact model as \", _jsx(_components.code, {\n children: \"/v1/depth/{pair}/quote\"\n }), \", walked into a ladder so it reads like an order book. \", _jsx(_components.code, {\n children: \"asks\"\n }), \" is buying (long), \", _jsx(_components.code, {\n children: \"bids\"\n }), \" is selling (short); both ascend in notional out to \", _jsx(_components.code, {\n children: \"maxNotionalUsd\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"cumSizeUsd\"\n }), \" is \", _jsx(_components.strong, {\n children: \"cumulative\"\n }), \": each level prices one trade of that full size, not an increment on the level below. Summing levels is meaningless.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"maxNotionalUsd\"\n }), \" is the pair’s max open interest, or its current OI where that is larger — the same extent the trading UI’s depth chart draws.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"levels\"\n }), \" only sets sampling density. The underlying curve is piecewise linear — flat until volume crosses the pair’s threshold, then a straight line — so a higher count draws a smoother chart but adds almost no information. Some pairs return one repeated price, when their threshold exceeds their own OI cap.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Either pair spelling is accepted, as with the quote route.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Rate limit: 100 requests per 10 seconds per IP. Read \", _jsx(_components.code, {\n children: \"x-ratelimit-*\"\n }), \" for the live budget rather than assuming this figure.\"]\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":"Price across a range of trade sizes","description":"The same impact model as `/v1/depth/{pair}/quote`, walked into a ladder so it reads like an order book. `asks` is buying (long), `bids` is selling (short); both ascend in notional out to `maxNotionalUsd`.\n\n`cumSizeUsd` is **cumulative**: each level prices one trade of that full size, not an increment on the level below. Summing levels is meaningless.\n\n`maxNotionalUsd` is the pair's max open interest, or its current OI where that is larger — the same extent the trading UI's depth chart draws.\n\n`levels` only sets sampling density. The underlying curve is piecewise linear — flat until volume crosses the pair's threshold, then a straight line — so a higher count draws a smoother chart but adds almost no information. Some pairs return one repeated price, when their threshold exceeds their own OI cap.\n\nEither pair spelling is accepted, as with the quote route.\n\nRate limit: 100 requests per 10 seconds per IP. Read `x-ratelimit-*` for the live budget rather than assuming this figure.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/depth/{pair}","href":"/api-reference/liquidity/price-across-a-range-of-trade-sizes","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Price across a range of trade sizes","description":"The same impact model as `/v1/depth/{pair}/quote`, walked into a ladder so it reads like an order book. `asks` is buying (long), `bids` is selling (short); both ascend in notional out to `maxNotionalUsd`.\n\n`cumSizeUsd` is **cumulative**: each level prices one trade of that full size, not an increment on the level below. Summing levels is meaningless.\n\n`maxNotionalUsd` is the pair's max open interest, or its current OI where that is larger — the same extent the trading UI's depth chart draws.\n\n`levels` only sets sampling density. The underlying curve is piecewise linear — flat until volume crosses the pair's threshold, then a straight line — so a higher count draws a smoother chart but adds almost no information. Some pairs return one repeated price, when their threshold exceeds their own OI cap.\n\nEither pair spelling is accepted, as with the quote route.\n\nRate limit: 100 requests per 10 seconds per IP. Read `x-ratelimit-*` for the live budget rather than assuming this figure.","tags":["Liquidity"],"parameters":["43b2d166-9b60-40a1-9fff-02b9c7567a7a","6f500741-b532-4c43-b04f-9afdf92c95fb"],"responses":{"200":"c83b39c0-01eb-4704-a3d3-6e0ec1ced7bc","400":"c62d7ca7-a151-49ad-874c-e3ac06f253cb","404":"1f4790a7-f306-43ee-b3e4-b6581d3e74a6","503":"fb0aced0-1a57-43f5-ba5b-141294750ac4"},"method":"get","type":"path","servers":["35ccf0da-4e4c-4ce1-a160-3dfb930fa193","14a6e080-29f2-4577-ab29-a205a0e38f12"],"security":[],"path":"/v1/depth/{pair}","baseUrlOptions":["https://builder.prod.bedrock.ostium.io","https://builder.stage.bedrock.ostium.io"],"title":"Price across a range of trade sizes","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"43b2d166-9b60-40a1-9fff-02b9c7567a7a":{"schema":{"type":"string","pattern":"^[A-Z0-9]+-[A-Z0-9]+$","description":"Trading pair as BASE-QUOTE, e.g. BTC-USD or FTSE-GBP","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"Trading pair as BASE-QUOTE, e.g. BTC-USD or FTSE-GBP","name":"pair","in":"path"},"6f500741-b532-4c43-b04f-9afdf92c95fb":{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20,"description":"Number of price levels per side","isRequired":false,"uniqueKey":"","typeLabel":"integer"},"required":false,"description":"Number of price levels per side","name":"levels","in":"query"}},"responses":{"c83b39c0-01eb-4704-a3d3-6e0ec1ced7bc":{"description":"Ladder for both sides","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Always present, and always generated by the service — a value sent on the request is ignored. Use it to correlate a response with your own logs, and quote it when reporting a problem."},"x-ratelimit-limit":{"schema":{"type":"string"},"description":"Requests allowed per window."},"x-ratelimit-remaining":{"schema":{"type":"string"},"description":"Requests left in the current window."},"x-ratelimit-reset":{"schema":{"type":"string"},"description":"Seconds until the window resets."}},"content":{"application/json":{"schema":{"type":"object","properties":{"pair":{"type":"string","isRequired":true,"uniqueKey":"pair","typeLabel":"string"},"mid":{"type":"number","isRequired":true,"uniqueKey":"mid","typeLabel":"number"},"asks":{"type":"array","items":{"type":"object","properties":{"cumSizeUsd":{"type":"number","description":"Cumulative USD notional at this level — each level prices one trade of that whole size, not an increment on the level below. Summing levels is meaningless.","example":5000,"isRequired":true,"uniqueKey":"asks.items.[INDEX].cumSizeUsd","typeLabel":"number"},"cumAvgPrice":{"type":"number","description":"Average fill price for a single trade of that cumulative size","example":0.182935,"isRequired":true,"uniqueKey":"asks.items.[INDEX].cumAvgPrice","typeLabel":"number"},"impactBps":{"type":"number","description":"Impact in basis points","example":0.56,"isRequired":true,"uniqueKey":"asks.items.[INDEX].impactBps","typeLabel":"number"}},"required":["cumSizeUsd","cumAvgPrice","impactBps"],"uniqueKey":"asks.items.[INDEX]","typeLabel":"object"},"description":"Taker buy","isRequired":true,"uniqueKey":"asks","typeLabel":"object[]"},"bids":{"type":"array","items":{"type":"object","properties":{"cumSizeUsd":{"type":"number","description":"Cumulative USD notional at this level — each level prices one trade of that whole size, not an increment on the level below. Summing levels is meaningless.","example":5000,"isRequired":true,"uniqueKey":"bids.items.[INDEX].cumSizeUsd","typeLabel":"number"},"cumAvgPrice":{"type":"number","description":"Average fill price for a single trade of that cumulative size","example":0.182935,"isRequired":true,"uniqueKey":"bids.items.[INDEX].cumAvgPrice","typeLabel":"number"},"impactBps":{"type":"number","description":"Impact in basis points","example":0.56,"isRequired":true,"uniqueKey":"bids.items.[INDEX].impactBps","typeLabel":"number"}},"required":["cumSizeUsd","cumAvgPrice","impactBps"],"uniqueKey":"bids.items.[INDEX]","typeLabel":"object"},"description":"Taker sell","isRequired":true,"uniqueKey":"bids","typeLabel":"object[]"},"maxNotionalUsd":{"type":"number","description":"Where both ladders stop — the pair's OI ceiling, or current OI where that is larger. Shared across sides, so `asks[i]` and `bids[i]` price the same size and spread-at-size is one subtraction.","isRequired":true,"uniqueKey":"maxNotionalUsd","typeLabel":"number"},"availableNotionalUsd":{"type":"object","properties":{"bid":{"type":"number","isRequired":true,"uniqueKey":"availableNotionalUsd.bid","typeLabel":"number"},"ask":{"type":"number","isRequired":true,"uniqueKey":"availableNotionalUsd.ask","typeLabel":"number"}},"required":["bid","ask"],"description":"Remaining OI capacity per side. Deep levels can exceed these — the ladder is the whole impact curve, and this is how much of it is reachable now.","isRequired":true,"uniqueKey":"availableNotionalUsd","typeLabel":"object"},"openInterest":{"type":"object","properties":{"longUsd":{"type":"number","isRequired":true,"uniqueKey":"openInterest.longUsd","typeLabel":"number"},"shortUsd":{"type":"number","isRequired":true,"uniqueKey":"openInterest.shortUsd","typeLabel":"number"},"capUsd":{"type":"number","isRequired":true,"uniqueKey":"openInterest.capUsd","typeLabel":"number"}},"required":["longUsd","shortUsd","capUsd"],"description":"Raw open interest behind those numbers","isRequired":true,"uniqueKey":"openInterest","typeLabel":"object"},"topOfBook":{"type":"object","properties":{"bid":{"type":"number","example":0.18291,"isRequired":true,"uniqueKey":"topOfBook.bid","typeLabel":"number"},"ask":{"type":"number","example":0.18306,"isRequired":true,"uniqueKey":"topOfBook.ask","typeLabel":"number"}},"required":["bid","ask"],"isRequired":true,"uniqueKey":"topOfBook","typeLabel":"object"},"priceTimestampMs":{"type":"integer","isRequired":true,"uniqueKey":"priceTimestampMs","typeLabel":"integer"}},"required":["pair","mid","asks","bids","maxNotionalUsd","availableNotionalUsd","openInterest","topOfBook","priceTimestampMs"],"uniqueKey":"","typeLabel":"object"},"example":{"pair":"ADA-USD","mid":0.18299,"asks":[{"cumSizeUsd":5000,"cumAvgPrice":0.182935,"impactBps":0.56},{"cumSizeUsd":10000,"cumAvgPrice":0.182971,"impactBps":1.12}],"bids":[{"cumSizeUsd":5000,"cumAvgPrice":0.182845,"impactBps":0.56},{"cumSizeUsd":10000,"cumAvgPrice":0.182809,"impactBps":1.12}],"maxNotionalUsd":1000000,"availableNotionalUsd":{"bid":610900,"ask":587700},"openInterest":{"longUsd":412300,"shortUsd":389100,"capUsd":1000000},"topOfBook":{"bid":0.18291,"ask":0.18306},"priceTimestampMs":1787198161000},"examples":{"Example":{"title":"Example","value":{"pair":"ADA-USD","mid":0.18299,"asks":[{"cumSizeUsd":5000,"cumAvgPrice":0.182935,"impactBps":0.56},{"cumSizeUsd":10000,"cumAvgPrice":0.182971,"impactBps":1.12}],"bids":[{"cumSizeUsd":5000,"cumAvgPrice":0.182845,"impactBps":0.56},{"cumSizeUsd":10000,"cumAvgPrice":0.182809,"impactBps":1.12}],"maxNotionalUsd":1000000,"availableNotionalUsd":{"bid":610900,"ask":587700},"openInterest":{"longUsd":412300,"shortUsd":389100,"capUsd":1000000},"topOfBook":{"bid":0.18291,"ask":0.18306},"priceTimestampMs":1787198161000}}},"exampleType":"examples"}},"exampleType":"examples"},"c62d7ca7-a151-49ad-874c-e3ac06f253cb":{"description":"Validation failed (bad pair format, `levels` outside 1-100)","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Always present, and always generated by the service — a value sent on the request is ignored. Use it to correlate a response with your own logs, and quote it when reporting a problem."},"x-ratelimit-limit":{"schema":{"type":"string"},"description":"Requests allowed per window."},"x-ratelimit-remaining":{"schema":{"type":"string"},"description":"Requests left in the current window."},"x-ratelimit-reset":{"schema":{"type":"string"},"description":"Seconds until the window resets."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"HTTP status name, e.g. \"Bad Request\"","example":"Bad Request","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Human-readable detail","example":"Validation failed","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"issues":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"issues.items.[INDEX]","typeLabel":"any"},"description":"Raw zod issue array — present on validation failures only","uniqueKey":"issues","typeLabel":"any[]"},"details":{"description":"Optional structured detail from the thrower","uniqueKey":"details","typeLabel":"any"}},"required":["error","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Bad Request","message":"Validation failed","issues":["\u003cunknown>"],"details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"1f4790a7-f306-43ee-b3e4-b6581d3e74a6":{"description":"The pair is not priced right now, or is not a listed market","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Always present, and always generated by the service — a value sent on the request is ignored. Use it to correlate a response with your own logs, and quote it when reporting a problem."},"x-ratelimit-limit":{"schema":{"type":"string"},"description":"Requests allowed per window."},"x-ratelimit-remaining":{"schema":{"type":"string"},"description":"Requests left in the current window."},"x-ratelimit-reset":{"schema":{"type":"string"},"description":"Seconds until the window resets."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"HTTP status name, e.g. \"Bad Request\"","example":"Bad Request","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Human-readable detail","example":"Validation failed","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"issues":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"issues.items.[INDEX]","typeLabel":"any"},"description":"Raw zod issue array — present on validation failures only","uniqueKey":"issues","typeLabel":"any[]"},"details":{"description":"Optional structured detail from the thrower","uniqueKey":"details","typeLabel":"any"}},"required":["error","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Bad Request","message":"Validation failed","issues":["\u003cunknown>"],"details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"fb0aced0-1a57-43f5-ba5b-141294750ac4":{"description":"Temporarily unable to build a book — no usable live quote, the pair publishes no open-interest ceiling, or the market parameters behind the model are unavailable. Retry rather than fail.","headers":{"x-request-id":{"schema":{"type":"string"},"description":"Always present, and always generated by the service — a value sent on the request is ignored. Use it to correlate a response with your own logs, and quote it when reporting a problem."},"x-ratelimit-limit":{"schema":{"type":"string"},"description":"Requests allowed per window."},"x-ratelimit-remaining":{"schema":{"type":"string"},"description":"Requests left in the current window."},"x-ratelimit-reset":{"schema":{"type":"string"},"description":"Seconds until the window resets."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"HTTP status name, e.g. \"Bad Request\"","example":"Bad Request","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Human-readable detail","example":"Validation failed","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"issues":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"issues.items.[INDEX]","typeLabel":"any"},"description":"Raw zod issue array — present on validation failures only","uniqueKey":"issues","typeLabel":"any[]"},"details":{"description":"Optional structured detail from the thrower","uniqueKey":"details","typeLabel":"any"}},"required":["error","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Bad Request","message":"Validation failed","issues":["\u003cunknown>"],"details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"35ccf0da-4e4c-4ce1-a160-3dfb930fa193":{"url":"https://builder.prod.bedrock.ostium.io","description":"Production (Arbitrum One)"},"14a6e080-29f2-4577-ab29-a205a0e38f12":{"url":"https://builder.stage.bedrock.ostium.io","description":"Staging (Arbitrum Sepolia)"}}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"ostium","siteName":"Ostium","title":"Price across a range of trade sizes - Ostium","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-17T13:14:46.715Z","originalFileLocation":"api-reference/liquidity/price-across-a-range-of-trade-sizes.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=\"The same impact model as /v1/depth/{pair}/quote, walked into a ladder so it reads like an order book. asks is buying (long), bids is selling (short); both ascend in notional out to maxNotionalUsd. cumSizeUsd is cumulative: each level prices one trade of that full size, not an increment on the level below. Summing levels is meaningless. maxNotionalUsd is the pair\u0026#x27;s max open interest, or its current OI where that is larger — the same extent the trading UI\u0026#x27;s depth chart draws. levels only sets sampling density. The underlying curve is piecewise linear — flat until volume crosses the pair\u0026#x27;s threshold, then a straight line — so a higher count draws a smoother chart but adds almost no information. Some pairs return one repeated price, when their threshold exceeds their own OI cap. Either pair spelling is accepted, as with the quote route. Rate limit: 100 requests per 10 seconds per IP. Read x-ratelimit-* for the live budget rather than assuming this figure.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ostium\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ostium/YrHQiGdYpiT2HO80/_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/ostium/YrHQiGdYpiT2HO80/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ostium/YrHQiGdYpiT2HO80/_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/ostium/YrHQiGdYpiT2HO80/_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/ostium/YrHQiGdYpiT2HO80/_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/ostium/YrHQiGdYpiT2HO80/_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/ostium/YrHQiGdYpiT2HO80/_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/ostium/YrHQiGdYpiT2HO80/_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/ostium/YrHQiGdYpiT2HO80/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Price across a range of trade sizes - Ostium\">\u003cmeta data-mint-head property=\"og:description\" content=\"The same impact model as /v1/depth/{pair}/quote, walked into a ladder so it reads like an order book. asks is buying (long), bids is selling (short); both ascend in notional out to maxNotionalUsd. cumSizeUsd is cumulative: each level prices one trade of that full size, not an increment on the level below. Summing levels is meaningless. maxNotionalUsd is the pair\u0026#x27;s max open interest, or its current OI where that is larger — the same extent the trading UI\u0026#x27;s depth chart draws. levels only sets sampling density. The underlying curve is piecewise linear — flat until volume crosses the pair\u0026#x27;s threshold, then a straight line — so a higher count draws a smoother chart but adds almost no information. Some pairs return one repeated price, when their threshold exceeds their own OI cap. Either pair spelling is accepted, as with the quote route. Rate limit: 100 requests per 10 seconds per IP. Read x-ratelimit-* for the live budget rather than assuming this figure.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ostium\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ostium.com/api-reference/liquidity/price-across-a-range-of-trade-sizes\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ostium.mintlify.app/_mintlify/api/og/v2?division=Liquidity\u0026amp;title=Price+across+a+range+of+trade+sizes\u0026amp;description=The+same+impact+model+as+%60%2Fv1%2Fdepth%2F%7Bpair%7D%2Fquote%60%2C+walked+into+a+ladder+so+it+reads+like+an+order+book.+%60asks%60+is+buying+%28long%29%2C+%60bids%60+is+selling+%28short%29%3B+both\u0026amp;theme=4c59edf2484b017f3ed2d875\u0026amp;signature=37dc7f08ff47cad1ca54939f81e26beb27cca05e35fcea8df341646ba633bf16\">\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=\"Price across a range of trade sizes - Ostium\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The same impact model as /v1/depth/{pair}/quote, walked into a ladder so it reads like an order book. asks is buying (long), bids is selling (short); both ascend in notional out to maxNotionalUsd. cumSizeUsd is cumulative: each level prices one trade of that full size, not an increment on the level below. Summing levels is meaningless. maxNotionalUsd is the pair\u0026#x27;s max open interest, or its current OI where that is larger — the same extent the trading UI\u0026#x27;s depth chart draws. levels only sets sampling density. The underlying curve is piecewise linear — flat until volume crosses the pair\u0026#x27;s threshold, then a straight line — so a higher count draws a smoother chart but adds almost no information. Some pairs return one repeated price, when their threshold exceeds their own OI cap. Either pair spelling is accepted, as with the quote route. Rate limit: 100 requests per 10 seconds per IP. Read x-ratelimit-* for the live budget rather than assuming this figure.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ostium.mintlify.app/_mintlify/api/og/v2?division=Liquidity\u0026amp;title=Price+across+a+range+of+trade+sizes\u0026amp;description=The+same+impact+model+as+%60%2Fv1%2Fdepth%2F%7Bpair%7D%2Fquote%60%2C+walked+into+a+ladder+so+it+reads+like+an+order+book.+%60asks%60+is+buying+%28long%29%2C+%60bids%60+is+selling+%28short%29%3B+both\u0026amp;theme=4c59edf2484b017f3ed2d875\u0026amp;signature=37dc7f08ff47cad1ca54939f81e26beb27cca05e35fcea8df341646ba633bf16\">\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/ostium/YrHQiGdYpiT2HO80/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ostium\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF5A19\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ostium.com/api-reference/liquidity/price-across-a-range-of-trade-sizes\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/liquidity/price-across-a-range-of-trade-sizes.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ostium.com/#organization\",\"name\":\"Ostium\",\"url\":\"https://docs.ostium.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ostium/rgKhfmKxgkO9O2aD/logo/ostium-logo.svg?fit=max\u0026auto=format\u0026n=rgKhfmKxgkO9O2aD\u0026q=85\u0026s=e2316b63df8fab1bbdb3c18daeff80e5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ostium.com#website\",\"name\":\"Ostium\",\"url\":\"https://docs.ostium.com\",\"publisher\":{\"@id\":\"https://docs.ostium.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ostium.com/api-reference/liquidity/price-across-a-range-of-trade-sizes#webpage\",\"url\":\"https://docs.ostium.com/api-reference/liquidity/price-across-a-range-of-trade-sizes\",\"name\":\"Price across a range of trade sizes\",\"description\":\"The same impact model as /v1/depth/{pair}/quote, walked into a ladder so it reads like an order book. asks is buying (long), bids is selling (short); both ascend in notional out to maxNotionalUsd. cumSizeUsd is cumulative: each level prices one trade of that full size, not an increment on the level below. Summing levels is meaningless. maxNotionalUsd is the pair's max open interest, or its current OI where that is larger — the same extent the trading UI's depth chart draws. levels only sets sampling density. The underlying curve is piecewise linear — flat until volume crosses the pair's threshold, then a straight line — so a higher count draws a smoother chart but adds almost no information. Some pairs return one repeated price, when their threshold exceeds their own OI cap. Either pair spelling is accepted, as with the quote route. Rate limit: 100 requests per 10 seconds per IP. Read x-ratelimit-* for the live budget rather than assuming this figure.\",\"dateModified\":\"2026-09-17T13:14:46.715Z\",\"isPartOf\":{\"@id\":\"https://docs.ostium.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ostium.com/api-reference/liquidity/price-across-a-range-of-trade-sizes#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ostium.com/api-reference/liquidity/price-across-a-range-of-trade-sizes#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Liquidity\",\"item\":\"https://docs.ostium.com/api-reference/liquidity/price-for-a-given-trade-size\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Price across a range of trade sizes\",\"item\":\"https://docs.ostium.com/api-reference/liquidity/price-across-a-range-of-trade-sizes\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ostium.com/api-reference/liquidity/price-across-a-range-of-trade-sizes#apireference\",\"headline\":\"Price across a range of trade sizes\",\"name\":\"Price across a range of trade sizes\",\"description\":\"The same impact model as /v1/depth/{pair}/quote, walked into a ladder so it reads like an order book. asks is buying (long), bids is selling (short); both ascend in notional out to maxNotionalUsd. cumSizeUsd is cumulative: each level prices one trade of that full size, not an increment on the level below. Summing levels is meaningless. maxNotionalUsd is the pair's max open interest, or its current OI where that is larger — the same extent the trading UI's depth chart draws. levels only sets sampling density. The underlying curve is piecewise linear — flat until volume crosses the pair's threshold, then a straight line — so a higher count draws a smoother chart but adds almost no information. Some pairs return one repeated price, when their threshold exceeds their own OI cap. Either pair spelling is accepted, as with the quote route. Rate limit: 100 requests per 10 seconds per IP. Read x-ratelimit-* for the live budget rather than assuming this figure.\",\"url\":\"https://docs.ostium.com/api-reference/liquidity/price-across-a-range-of-trade-sizes\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ostium.com/api-reference/liquidity/price-across-a-range-of-trade-sizes#webpage\"},\"dateModified\":\"2026-09-17T13:14:46.715Z\",\"publisher\":{\"@id\":\"https://docs.ostium.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ostium.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ostium\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Ostium","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://ostium.com"},{"anchor":"Developers","icon":"code","href":"/developer/sdk/overview"},{"anchor":"Blog","icon":"newspaper","href":"https://www.ostium.com/blog"},{"anchor":"X/Twitter","icon":"twitter","href":"https://www.x.com/Ostium"}]},"tabs":[{"tab":"Traders","pages":[{"title":"Traders","href":"/traders/welcome"}]},{"tab":"Vault","pages":[{"title":"Vault","href":"/vault/overview"}]},{"tab":"Protocol","pages":[{"title":"Protocol","href":"/protocol/how-ostium-works"}]},{"tab":"Developers","pages":[{"title":"Developers","href":"/developer/sdk/overview"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Overview","href":"/api-reference/overview"}]},{"group":"Prices","pages":[{"title":"Latest price for every pair","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/prices","href":"/api-reference/prices/latest-price-for-every-pair"},{"title":"Latest price for one pair","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/prices/{pair}","href":"/api-reference/prices/latest-price-for-one-pair"},{"title":"OHLC candles","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/ohlc","href":"/api-reference/prices/ohlc-candles"},{"title":"Price Stream","href":"/api-reference/price-stream"}]},{"group":"Liquidity","pages":[{"title":"Price for a given trade size","description":"Ostium has no central-limit order book. The price a trade actually gets comes from the **dynamic price-impact model**: quotes widen as net directional volume pushes past a per-pair threshold, and that volume decays over time. This prices a given size against the live model — the same one behind the trading UI's depth chart — so you can show a fill price before submitting.\n\n`sizeUsd` is **USD notional**, not collateral and not a quantity of the asset. There is no `direction` input: the model reads buy volume for a long and sell volume for a short, so the two sides can diverge after a large one-sided trade, and `availableNotionalUsd` differs between them at all times. Both are always returned.\n\nEither pair spelling is accepted (`US500-USD` or the legacy `SPX-USD`); the response always echoes the public one.\n\nA plain GET: read-only, idempotent, and safe to cache for a second or two.\n\n**A price is returned even when the size cannot fill.** The impact curve stays defined beyond the open-interest cap, so compare `sizeUsd` against that side's `availableNotionalUsd` before presenting a quote as executable.\n\nWhen a pair has no dynamic impact configured, or the size stays under the pair's volume threshold, `price` is exactly the top of book — the spread is the only cost.\n\nRate limit: 100 requests per 10 seconds per IP. Read `x-ratelimit-*` for the live budget rather than assuming this figure.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/depth/{pair}/quote","href":"/api-reference/liquidity/price-for-a-given-trade-size"},{"title":"Price across a range of trade sizes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/depth/{pair}","href":"/api-reference/liquidity/price-across-a-range-of-trade-sizes"}]},{"group":"Markets","pages":[{"title":"Markets","description":"What is listed and when it trades.","href":"/api-reference/markets"},{"title":"Every listed pair and its live state","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/pairs","href":"/api-reference/markets/every-listed-pair-and-its-live-state"},{"title":"When each market is open","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/market-hours","href":"/api-reference/markets/when-each-market-is-open"}]},{"group":"Portfolio","pages":[{"title":"Open positions for a wallet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/trades","href":"/api-reference/portfolio/open-positions-for-a-wallet"},{"title":"Limit/stop orders for a wallet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/limits","href":"/api-reference/portfolio/limitstop-orders-for-a-wallet"},{"title":"Order history for a wallet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/orders","href":"/api-reference/portfolio/order-history-for-a-wallet"}]},{"group":"Orders","pages":[{"title":"One-time onboarding (gasless)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/onboard","href":"/api-reference/orders/one-time-onboarding-gasless"},{"title":"Submit an order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/orders","href":"/api-reference/orders/submit-an-order"}]},{"group":"Status","pages":[{"title":"Service status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/status","href":"/api-reference/status/service-status"}]}]}]},"title":"Price across a range of trade sizes - Ostium","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DKJwRUt2.js","utils-CWD_VS3u.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-oFjciODD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C76WsxC3.js","snippetPresets-DvPMxpX_.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CuNQfndH.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BVFpVUoF.js","shallow-t59Jg5Kr.js","getApiPlaygroundDisplay-C_JZ4amX.js","CodeSnippet-CLRDnx_h.js","CodeSnippets-C2myU4kc.js","Page-7TwLLapg.js","getPastedJson-B-JaVXw7.js","icon-BA-iDhH3.js","MethodPill-D4qZABFp.js","DuplicateIcon-THIDKO1O.js","createIcon-CYYJwgFd.js","DynamicMarkdown-UGQuxDKp.js","SectionHeading-jYELb23h.js","axios-vUo_bRtp.js","Markdown-DKsLa3wy.js","clsx-CefdjKz2.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BaREnp3o.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-sgx_0XzF.js"]}