{
"error": "No orderbook exists for the requested token id"
}
{
"error": "<string>"
}
Orderbook
Order Book
Returns the full order book for a token, including all bid and ask price levels, market properties, and PolyNode metadata enrichment.
The response format is compatible with Polymarket’s CLOB API. Data is served from PolyNode’s live orderbook engine, which maintains real-time state via WebSocket deltas from Polymarket.
GET
/
v1
/
orderbook
/
{token_id}
Order book
curl --request GET \ --url https://api.polynode.dev/v1/orderbook/{token_id} \ --header 'x-api-key: <api-key>'
Best for getting a complete view of an event. Slugs are the human-readable event identifiers from Polymarket (e.g. netanyahu-out-before-2027). An event may have multiple markets, each with their own outcomes.
Response includes all outcomes across all markets in the event. Same format as the condition ID response, but with slug instead of condition_id at the top level.
tick_size and min_order_size vary per market. They are sourced from the Gamma API, not hardcoded.
Bids are sorted ascending by price (best bid is the last element). Asks are sorted descending (best ask is the last element). This matches Polymarket’s sort order.
If no book exists for the requested identifier, returns a 404 with {"error": "No orderbook exists for the requested token id"}.
PolyNode market metadata enrichment (not present in Polymarket's CLOB API).
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"PolyNode","colors":{"primary":"#3b82f6","light":"#60a5fa","dark":"#2563eb"},"logo":{"light":"https://mintcdn.com/polynode/zluszUOhqmSDk1RK/images/logo-light.png?fit=max\u0026auto=format\u0026n=zluszUOhqmSDk1RK\u0026q=85\u0026s=fc49b798da5a361cb76f4733f13230dd","dark":"https://mintcdn.com/polynode/zluszUOhqmSDk1RK/images/logo-dark.png?fit=max\u0026auto=format\u0026n=zluszUOhqmSDk1RK\u0026q=85\u0026s=6d316edd9113e88a6c4e2973cc12438d"},"favicon":"https://mintcdn.com/polynode/zluszUOhqmSDk1RK/images/favicon.png?fit=max\u0026auto=format\u0026n=zluszUOhqmSDk1RK\u0026q=85\u0026s=0bf4f722dd9d5dddb849158b764adad4","api":{"playground":{}},"navbar":{"links":[{"href":"https://api.polynode.dev/v1/status","label":"API Status"}],"primary":{"type":"button","label":"Get API Key","href":"https://polynode.dev"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"polynode","hasAudioNarration":false,"actualSubdomain":"polynode","customDomains":["docs.polynode.dev"],"gitSource":{"type":"github","owner":"joinquantish","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6aec02b5baf429d562e676ed","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":245},{"language":"default","tag":"Query Catalog","count":67},{"language":"default","tag":"SDKs","count":51},{"language":"default","tag":"Guides","count":35},{"language":"default","tag":"Webhooks","count":26},{"language":"default","tag":"Changelog","count":23},{"language":"default","tag":"Archive","count":22},{"language":"default","tag":"WebSocket","count":21},{"language":"default","tag":"Perps Market Data","count":16},{"language":"default","tag":"Event Types","count":16}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/orderbook/order-book","slug":"/api-reference/orderbook/order-book","pageMetadata":{"title":"Order Book","openapi":"GET /v1/orderbook/{token_id}","description":"Returns the full order book for a token, including all bid and ask price levels, market properties, and PolyNode metadata enrichment.\n\nThe response format is compatible with Polymarket's CLOB API. Data is served from PolyNode's live orderbook engine, which maintains real-time state via WebSocket deltas from Polymarket.","href":"/api-reference/orderbook/order-book"},"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 p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Returns the full order book for a token, including all bid and ask price levels, market properties, and PolyNode metadata enrichment.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"The response format is compatible with Polymarket’s CLOB API. Data is served from PolyNode’s live orderbook engine, which maintains real-time state via WebSocket deltas from Polymarket.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Returns the full order book for a Polymarket token or market.`}),`\n`,_jsx(Heading,{level:`2`,id:`identifier-types`,children:`Identifier types`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`{token_id}`}),` parameter accepts three identifier types. The response format depends on which type you use:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Identifier`}),_jsx(_components.th,{children:`Format`}),_jsx(_components.th,{children:`Returns`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Token ID`})}),_jsx(_components.td,{children:`All digits, 70+ chars`}),_jsx(_components.td,{children:`Single book for one outcome (Polymarket-compatible)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Condition ID`})}),_jsxs(_components.td,{children:[`Starts with `,_jsx(_components.code,{children:`0x`})]}),_jsx(_components.td,{children:`Both outcomes for one market (Yes + No)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Slug`})}),_jsx(_components.td,{children:`Human-readable string`}),_jsx(_components.td,{children:`All outcomes across all markets in the event`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`by-token-id-single-outcome`,children:`By token ID (single outcome)`}),`\n`,_jsx(_components.p,{children:`Best when you already have a specific token ID and want the exact Polymarket-compatible format.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.polynode.dev/v1/orderbook/114694726451307654528948558967898493662917070661203465131156925998487819889437\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_KEY\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Response matches Polymarket’s CLOB `,_jsx(_components.code,{children:`/book`}),` format exactly, plus a `,_jsx(_components.code,{children:`metadata`}),` field:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`27`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`27`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"market\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xd1796c09d0d6f876f8580086ae9808ec991784e3a74b25a1830a25de71a78c96\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"asset_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"114694726451307654528948558967898493662917070661203465131156925998487819889437\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1773901991806\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hash\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"b811dc1233a0f250a60018bc94f377955c9a513e\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1130220\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.02\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"76910\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.46\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"18\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"asks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.99\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"24292\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.98\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2048\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.47\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"687\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"min_order_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tick_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"neg_risk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_trade_price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.540\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"question\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Netanyahu out by end of 2026?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"slug\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"netanyahu-out-before-2027-684-719-226\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"outcomes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Yes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"No\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"condition_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xd1796c09d0d6f876f8580086ae9808ec991784e3a74b25a1830a25de71a78c96\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://polymarket-upload.s3.us-east-2.amazonaws.com/netanyahu-out-in-2025-Vc7bE4GtiJzM.jpg\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`by-condition-id-both-outcomes`,children:`By condition ID (both outcomes)`}),`\n`,_jsxs(_components.p,{children:[`Best when you want both sides of a market at once. Condition IDs start with `,_jsx(_components.code,{children:`0x`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.polynode.dev/v1/orderbook/0xd1796c09d0d6f876f8580086ae9808ec991784e3a74b25a1830a25de71a78c96\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Response wraps both outcomes:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"condition_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xd1796c09d0d6f876f8580086ae9808ec991784e3a74b25a1830a25de71a78c96\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"question\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Netanyahu out by end of 2026?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event_title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Netanyahu out by...?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"outcomes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"outcome\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Yes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"114694726451307654528948558967898493662917070661203465131156925998487819889437\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"market\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xd1796c09d0d6f876f8580086ae9808ec991784e3a74b25a1830a25de71a78c96\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1130220\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"asks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.99\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"24292\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"min_order_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tick_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"neg_risk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_trade_price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.540\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"outcome\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"No\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"66255671088804707681511323064315150986307471908131081808279119719218775249892\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"market\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xd1796c09d0d6f876f8580086ae9808ec991784e3a74b25a1830a25de71a78c96\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"821530\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"asks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.99\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"13720.65\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"min_order_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tick_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"neg_risk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_trade_price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.540\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`by-slug-all-outcomes-across-markets`,children:`By slug (all outcomes across markets)`}),`\n`,_jsxs(_components.p,{children:[`Best for getting a complete view of an event. Slugs are the human-readable event identifiers from Polymarket (e.g. `,_jsx(_components.code,{children:`netanyahu-out-before-2027`}),`). An event may have multiple markets, each with their own outcomes.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.polynode.dev/v1/orderbook/netanyahu-out-before-2027\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-api-key: YOUR_KEY\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Response includes all outcomes across all markets in the event. Same format as the condition ID response, but with `,_jsx(_components.code,{children:`slug`}),` instead of `,_jsx(_components.code,{children:`condition_id`}),` at the top level.`]}),`\n`,_jsx(Heading,{level:`2`,id:`fields-single-token-response`,children:`Fields (single-token response)`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`market`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Market condition ID (hex)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`asset_id`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Token ID`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Unix timestamp in milliseconds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`hash`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`40-character hex hash of the book state`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`bids`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Bid price levels, sorted ascending by price`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`asks`})}),_jsx(_components.td,{children:`array`}),_jsx(_components.td,{children:`Ask price levels, sorted descending by price`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`min_order_size`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Minimum order size for this market`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tick_size`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Minimum price increment (e.g. `,_jsx(_components.code,{children:`\"0.01\"`}),` or `,_jsx(_components.code,{children:`\"0.001\"`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`neg_risk`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Whether this is a neg-risk market`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`last_trade_price`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Last traded price`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`PolyNode enrichment: question, slug, outcomes, condition_id, image`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`tick_size`}),` and `,_jsx(_components.code,{children:`min_order_size`}),` vary per market. They are sourced from the Gamma API, not hardcoded.`]}),`\n`,_jsx(_components.li,{children:`Bids are sorted ascending by price (best bid is the last element). Asks are sorted descending (best ask is the last element). This matches Polymarket’s sort order.`}),`\n`,_jsxs(_components.li,{children:[`If no book exists for the requested identifier, returns a 404 with `,_jsx(_components.code,{children:`{\"error\": \"No orderbook exists for the requested token id\"}`}),`.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Order Book","openapi":"GET /v1/orderbook/{token_id}","description":"Returns the full order book for a token, including all bid and ask price levels, market properties, and PolyNode metadata enrichment.\n\nThe response format is compatible with Polymarket's CLOB API. Data is served from PolyNode's live orderbook engine, which maintains real-time state via WebSocket deltas from Polymarket.","href":"/api-reference/orderbook/order-book"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Identifier types","slug":"identifier-types","depth":2,"children":[{"title":"By token ID (single outcome)","slug":"by-token-id-single-outcome","depth":3,"children":[]},{"title":"By condition ID (both outcomes)","slug":"by-condition-id-both-outcomes","depth":3,"children":[]},{"title":"By slug (all outcomes across markets)","slug":"by-slug-all-outcomes-across-markets","depth":3,"children":[]}]},{"title":"Fields (single-token response)","slug":"fields-single-token-response","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/polynode/0d40c5db9faacad8/slug-calculator.js"],"openApiReferenceData":{"operation":{"tags":["Orderbook"],"summary":"Order book","description":"Returns the full order book for a token, including all bid and ask price levels, market properties, and PolyNode metadata enrichment.\n\nThe response format is compatible with Polymarket's CLOB API. Data is served from PolyNode's live orderbook engine, which maintains real-time state via WebSocket deltas from Polymarket.","operationId":"get_orderbook","parameters":["3558fb58-4168-413e-8763-feb8446accb3"],"responses":{"200":"abe2e0e1-c214-4831-90ed-5721b804230c","401":"2a77d07b-8fec-4c70-b7fc-fdd1efbc1e7d","404":"241a24a6-2c6a-45da-973d-83f1175f23b0","429":"61a2653a-9a9c-4647-9e51-ef6eb18abdfe"},"security":["55b51302-443f-4c0e-b8cb-5819fb9db1a2"],"method":"get","type":"path","servers":["0de2ff18-6d1a-4993-ac05-606e277c043e"],"path":"/v1/orderbook/{token_id}","baseUrlOptions":["https://api.polynode.dev"],"title":"Order book","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3558fb58-4168-413e-8763-feb8446accb3":{"name":"token_id","in":"path","description":"Token ID (all digits), condition ID (starts with 0x), or event slug. Token ID returns a single book; condition ID and slug return all outcomes.","required":true,"schema":{"type":"string","isRequired":true,"description":"Token ID (all digits), condition ID (starts with 0x), or event slug. Token ID returns a single book; condition ID and slug return all outcomes.","uniqueKey":"","typeLabel":"string"}}},"responses":{"abe2e0e1-c214-4831-90ed-5721b804230c":{"description":"Order book snapshot","content":{"application/json":{"schema":{"type":"object","description":"Full order book snapshot. Base fields match Polymarket's CLOB `/book` response exactly. The `metadata` field is a PolyNode addition.","required":["market","asset_id","timestamp","hash","bids","asks","min_order_size","tick_size","neg_risk","last_trade_price"],"properties":{"market":{"type":"string","description":"Market condition ID (hex)","isRequired":true,"uniqueKey":"market","typeLabel":"string"},"asset_id":{"type":"string","description":"Token ID","isRequired":true,"uniqueKey":"asset_id","typeLabel":"string"},"timestamp":{"type":"string","description":"Unix timestamp in milliseconds (as string)","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"hash":{"type":"string","description":"40-character hex hash of the book state","isRequired":true,"uniqueKey":"hash","typeLabel":"string"},"bids":{"type":"array","items":{"type":"object","description":"A single price level in the order book.","required":["price","size"],"properties":{"price":{"type":"string","description":"Price as a decimal string (e.g. \"0.55\")","isRequired":true,"uniqueKey":"bids.items.[INDEX].price","typeLabel":"string"},"size":{"type":"string","description":"Total size available at this price level (e.g. \"1500.25\")","isRequired":true,"uniqueKey":"bids.items.[INDEX].size","typeLabel":"string"}},"uniqueKey":"bids.items.[INDEX]","typeLabel":"object"},"description":"Bid price levels, sorted ascending by price","isRequired":true,"uniqueKey":"bids","typeLabel":"object[]"},"asks":{"type":"array","items":{"type":"object","description":"A single price level in the order book.","required":["price","size"],"properties":{"price":{"type":"string","description":"Price as a decimal string (e.g. \"0.55\")","isRequired":true,"uniqueKey":"asks.items.[INDEX].price","typeLabel":"string"},"size":{"type":"string","description":"Total size available at this price level (e.g. \"1500.25\")","isRequired":true,"uniqueKey":"asks.items.[INDEX].size","typeLabel":"string"}},"uniqueKey":"asks.items.[INDEX]","typeLabel":"object"},"description":"Ask price levels, sorted descending by price","isRequired":true,"uniqueKey":"asks","typeLabel":"object[]"},"min_order_size":{"type":"string","description":"Minimum order size for this market (e.g. \"5\")","isRequired":true,"uniqueKey":"min_order_size","typeLabel":"string"},"tick_size":{"type":"string","description":"Minimum price increment for this market (e.g. \"0.01\" or \"0.001\")","isRequired":true,"uniqueKey":"tick_size","typeLabel":"string"},"neg_risk":{"type":"boolean","description":"Whether this is a neg-risk market","isRequired":true,"uniqueKey":"neg_risk","typeLabel":"boolean"},"last_trade_price":{"type":"string","description":"Last trade price (e.g. \"0.540\")","isRequired":true,"uniqueKey":"last_trade_price","typeLabel":"string"},"metadata":{"type":"object","description":"PolyNode market metadata enrichment (not present in Polymarket's CLOB API).","properties":{"question":{"type":"string","description":"Market question text","uniqueKey":"metadata.question","typeLabel":"string"},"slug":{"type":"string","description":"Event slug for URL construction","uniqueKey":"metadata.slug","typeLabel":"string"},"outcomes":{"type":"array","items":{"type":"string","uniqueKey":"metadata.outcomes.items.[INDEX]","typeLabel":"string"},"description":"Outcome labels (e.g. [\"Yes\", \"No\"])","uniqueKey":"metadata.outcomes","typeLabel":"string[]"},"condition_id":{"type":"string","description":"Market condition ID (hex)","uniqueKey":"metadata.condition_id","typeLabel":"string"},"image":{"type":"string","description":"Market image URL","uniqueKey":"metadata.image","typeLabel":"string"}},"uniqueKey":"metadata","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"market":"0xd1796c09d0d6f876f8580086ae9808ec991784e3a74b25a1830a25de71a78c96","asset_id":"114694726451307654528948558967898493662917070661203465131156925998487819889437","timestamp":"1773901991806","hash":"b811dc1233a0f250a60018bc94f377955c9a513e","bids":[{"price":"0.01","size":"1130220"},{"price":"0.02","size":"76910"},{"price":"0.03","size":"94333.34"},{"price":"0.04","size":"119706"},{"price":"0.05","size":"16328"},{"price":"0.46","size":"18"}],"asks":[{"price":"0.99","size":"24292"},{"price":"0.98","size":"2048"},{"price":"0.97","size":"13333.33"},{"price":"0.96","size":"1024"},{"price":"0.95","size":"14100"},{"price":"0.47","size":"687"}],"min_order_size":"5","tick_size":"0.01","neg_risk":false,"last_trade_price":"0.540","metadata":{"question":"Netanyahu out by end of 2026?","slug":"netanyahu-out-before-2027-684-719-226","outcomes":["Yes","No"],"condition_id":"0xd1796c09d0d6f876f8580086ae9808ec991784e3a74b25a1830a25de71a78c96","image":"https://polymarket-upload.s3.us-east-2.amazonaws.com/netanyahu-out-in-2025-Vc7bE4GtiJzM.jpg"}},"examples":{"Example":{"title":"Example","value":{"market":"0xd1796c09d0d6f876f8580086ae9808ec991784e3a74b25a1830a25de71a78c96","asset_id":"114694726451307654528948558967898493662917070661203465131156925998487819889437","timestamp":"1773901991806","hash":"b811dc1233a0f250a60018bc94f377955c9a513e","bids":[{"price":"0.01","size":"1130220"},{"price":"0.02","size":"76910"},{"price":"0.03","size":"94333.34"},{"price":"0.04","size":"119706"},{"price":"0.05","size":"16328"},{"price":"0.46","size":"18"}],"asks":[{"price":"0.99","size":"24292"},{"price":"0.98","size":"2048"},{"price":"0.97","size":"13333.33"},{"price":"0.96","size":"1024"},{"price":"0.95","size":"14100"},{"price":"0.47","size":"687"}],"min_order_size":"5","tick_size":"0.01","neg_risk":false,"last_trade_price":"0.540","metadata":{"question":"Netanyahu out by end of 2026?","slug":"netanyahu-out-before-2027-684-719-226","outcomes":["Yes","No"],"condition_id":"0xd1796c09d0d6f876f8580086ae9808ec991784e3a74b25a1830a25de71a78c96","image":"https://polymarket-upload.s3.us-east-2.amazonaws.com/netanyahu-out-in-2025-Vc7bE4GtiJzM.jpg"}}}},"exampleType":"examples"}},"exampleType":"examples"},"2a77d07b-8fec-4c70-b7fc-fdd1efbc1e7d":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"241a24a6-2c6a-45da-973d-83f1175f23b0":{"description":"Token not found in orderbook","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"No orderbook exists for the requested token id"},"examples":{"Example":{"title":"Example","value":{"error":"No orderbook exists for the requested token id"}}},"exampleType":"examples"}},"exampleType":"examples"},"61a2653a-9a9c-4647-9e51-ef6eb18abdfe":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"55b51302-443f-4c0e-b8cb-5819fb9db1a2":{"api_key":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"api_key"}}},"servers":{"0de2ff18-6d1a-4993-ac05-606e277c043e":{"url":"https://api.polynode.dev","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"api_key"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"api_key","name":"x-api-key"}],"title":"api_key"}]},"originalFileLocation":"openapi.json"},"subdomain":"polynode","siteName":"PolyNode","title":"Order Book - PolyNode","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-21T08:15:13.618Z","originalFileLocation":"api-reference/orderbook/order-book.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=\"Returns the full order book for a token, including all bid and ask price levels, market properties, and PolyNode metadata enrichment. The response format is compatible with Polymarket\u0026#x27;s CLOB API. Data is served from PolyNode\u0026#x27;s live orderbook engine, which maintains real-time state via WebSocket deltas from Polymarket.\">\u003cmeta data-mint-head name=\"application-name\" content=\"PolyNode\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/polynode/nh0EcUVk_uYhjcGA/_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/polynode/nh0EcUVk_uYhjcGA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/polynode/nh0EcUVk_uYhjcGA/_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/polynode/nh0EcUVk_uYhjcGA/_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/polynode/nh0EcUVk_uYhjcGA/_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/polynode/nh0EcUVk_uYhjcGA/_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/polynode/nh0EcUVk_uYhjcGA/_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/polynode/nh0EcUVk_uYhjcGA/_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/polynode/nh0EcUVk_uYhjcGA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Order Book - PolyNode\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the full order book for a token, including all bid and ask price levels, market properties, and PolyNode metadata enrichment. The response format is compatible with Polymarket\u0026#x27;s CLOB API. Data is served from PolyNode\u0026#x27;s live orderbook engine, which maintains real-time state via WebSocket deltas from Polymarket.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PolyNode\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.polynode.dev/api-reference/orderbook/order-book\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://polynode.mintlify.site/_mintlify/api/og/v2?division=Orderbook\u0026amp;title=Order+Book\u0026amp;description=Returns+the+full+order+book+for+a+token%2C+including+all+bid+and+ask+price+levels%2C+market+properties%2C+and+PolyNode+metadata+enrichment.%0A%0AThe+response+format+is+co\u0026amp;theme=121c1386b08658be3ccff004\u0026amp;signature=05b191555e6591047301d52f592cd48633a2e9db870d1ec328d65d4786321a6a\">\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=\"Order Book - PolyNode\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the full order book for a token, including all bid and ask price levels, market properties, and PolyNode metadata enrichment. The response format is compatible with Polymarket\u0026#x27;s CLOB API. Data is served from PolyNode\u0026#x27;s live orderbook engine, which maintains real-time state via WebSocket deltas from Polymarket.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://polynode.mintlify.site/_mintlify/api/og/v2?division=Orderbook\u0026amp;title=Order+Book\u0026amp;description=Returns+the+full+order+book+for+a+token%2C+including+all+bid+and+ask+price+levels%2C+market+properties%2C+and+PolyNode+metadata+enrichment.%0A%0AThe+response+format+is+co\u0026amp;theme=121c1386b08658be3ccff004\u0026amp;signature=05b191555e6591047301d52f592cd48633a2e9db870d1ec328d65d4786321a6a\">\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/polynode/nh0EcUVk_uYhjcGA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PolyNode\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3b82f6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.polynode.dev/api-reference/orderbook/order-book\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/orderbook/order-book.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.polynode.dev/#organization\",\"name\":\"PolyNode\",\"url\":\"https://docs.polynode.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/polynode/zluszUOhqmSDk1RK/images/logo-light.png?fit=max\u0026auto=format\u0026n=zluszUOhqmSDk1RK\u0026q=85\u0026s=fc49b798da5a361cb76f4733f13230dd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.polynode.dev#website\",\"name\":\"PolyNode\",\"url\":\"https://docs.polynode.dev\",\"publisher\":{\"@id\":\"https://docs.polynode.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.polynode.dev/api-reference/orderbook/order-book#webpage\",\"url\":\"https://docs.polynode.dev/api-reference/orderbook/order-book\",\"name\":\"Order Book\",\"description\":\"Returns the full order book for a token, including all bid and ask price levels, market properties, and PolyNode metadata enrichment. The response format is compatible with Polymarket's CLOB API. Data is served from PolyNode's live orderbook engine, which maintains real-time state via WebSocket deltas from Polymarket.\",\"dateModified\":\"2026-03-21T08:15:13.618Z\",\"isPartOf\":{\"@id\":\"https://docs.polynode.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.polynode.dev/api-reference/orderbook/order-book#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.polynode.dev/api-reference/orderbook/order-book#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"PolyNode\",\"item\":\"https://docs.polynode.dev\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Order Book\",\"item\":\"https://docs.polynode.dev/api-reference/orderbook/order-book\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.polynode.dev/api-reference/orderbook/order-book#apireference\",\"headline\":\"Order Book\",\"name\":\"Order Book\",\"description\":\"Returns the full order book for a token, including all bid and ask price levels, market properties, and PolyNode metadata enrichment. The response format is compatible with Polymarket's CLOB API. Data is served from PolyNode's live orderbook engine, which maintains real-time state via WebSocket deltas from Polymarket.\",\"url\":\"https://docs.polynode.dev/api-reference/orderbook/order-book\",\"mainEntityOfPage\":{\"@id\":\"https://docs.polynode.dev/api-reference/orderbook/order-book#webpage\"},\"dateModified\":\"2026-03-21T08:15:13.618Z\",\"publisher\":{\"@id\":\"https://docs.polynode.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.polynode.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PolyNode\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"PolyNode","nav":{"global":null,"tabs":[{"tab":"WebSocket","pages":[{"title":"WebSocket","href":"/websocket/overview"}]},{"tab":"Webhooks","pages":[{"title":"Webhooks","href":"/webhooks/overview"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","href":"/api-reference/overview"}]},{"group":"V3 Data API","pages":[{"title":"API Overview","href":"/data/overview"}]},{"group":"Query Catalog","root":{"title":"Query Catalog","href":"/data/query-catalog/overview"},"tag":"Start Here","pages":[{"title":"Trades Query Catalog","href":"/data/query-catalog/trades"},{"title":"All Trades","href":"/data/query-catalog/trades/all-trades"},{"title":"Trades by Wallet","href":"/data/query-catalog/trades/by-wallet"},{"title":"Trades by Order Hash","href":"/data/query-catalog/trades/by-order-hash"},{"title":"Trades by Market Token","href":"/data/query-catalog/trades/by-market-token"},{"title":"Trades by Market Slug","href":"/data/query-catalog/trades/by-market-slug"},{"title":"Wallet Trades by Condition","href":"/data/query-catalog/trades/wallet-by-condition"},{"title":"Wallet Trades Grouped by Order","href":"/data/query-catalog/trades/wallet-grouped-by-order"},{"title":"Builder Trades","href":"/data/query-catalog/trades/by-builder"},{"title":"Combo Wallet Trades","href":"/data/query-catalog/trades/combo-wallet-trades"},{"title":"Positions Query Catalog","href":"/data/query-catalog/positions"},{"title":"Positions by Wallet","href":"/data/query-catalog/positions/by-wallet"},{"title":"Open Wallet Positions","href":"/data/query-catalog/positions/open-wallet-positions"},{"title":"Global Positions","href":"/data/query-catalog/positions/global-positions"},{"title":"Positions by Market Token","href":"/data/query-catalog/positions/by-market-token"},{"title":"Positions by Condition","href":"/data/query-catalog/positions/by-condition"},{"title":"Positions by Market Slug","href":"/data/query-catalog/positions/by-market-slug"},{"title":"Combo Positions","href":"/data/query-catalog/positions/combo-positions"},{"title":"P\u0026L Query Catalog","href":"/data/query-catalog/pnl"},{"title":"Wallet All-Time P\u0026L","href":"/data/query-catalog/pnl/wallet-all-time"},{"title":"Wallet Time-Windowed P\u0026L","href":"/data/query-catalog/pnl/wallet-time-window"},{"title":"Wallet P\u0026L by Tag","href":"/data/query-catalog/pnl/wallet-by-tag"},{"title":"Wallet P\u0026L by Market","href":"/data/query-catalog/pnl/wallet-by-market"},{"title":"Wallet P\u0026L Events","href":"/data/query-catalog/pnl/wallet-events"},{"title":"Batch Wallet P\u0026L","href":"/data/query-catalog/pnl/batch-wallet-pnl"},{"title":"Global P\u0026L Leaderboard","href":"/data/query-catalog/pnl/global-leaderboard"},{"title":"Tag P\u0026L Leaderboard","href":"/data/query-catalog/pnl/tag-leaderboard"},{"title":"Markets Query Catalog","href":"/data/query-catalog/markets"},{"title":"Search Markets","href":"/data/query-catalog/markets/search-markets"},{"title":"Market by Condition","href":"/data/query-catalog/markets/by-condition"},{"title":"Condition Detail","href":"/data/query-catalog/markets/condition-detail"},{"title":"Trades and Positions by Slug","href":"/data/query-catalog/markets/by-slug"},{"title":"Token Info","href":"/data/query-catalog/markets/token-info"},{"title":"Token Price","href":"/data/query-catalog/markets/token-price"},{"title":"Market Candles","href":"/data/query-catalog/markets/candles"},{"title":"Tags and Markets by Tag","href":"/data/query-catalog/markets/tags"},{"title":"Market Resolutions","href":"/data/query-catalog/markets/resolutions"},{"title":"Wallet Activity Query Catalog","href":"/data/query-catalog/wallet-activity"},{"title":"Unified Wallet Activity","href":"/data/query-catalog/wallets/unified-activity"},{"title":"Wallet Splits","href":"/data/query-catalog/wallets/splits"},{"title":"Wallet Merges","href":"/data/query-catalog/wallets/merges"},{"title":"Wallet Redemptions","href":"/data/query-catalog/wallets/redemptions"},{"title":"Neg-Risk Conversions","href":"/data/query-catalog/wallets/neg-risk-conversions"},{"title":"PolyUSD Flows","href":"/data/query-catalog/wallets/polyusd-flows"},{"title":"Wallet Fees Paid","href":"/data/query-catalog/wallets/fees-paid"},{"title":"Wallet Rebates and Rewards","href":"/data/query-catalog/wallets/rebates-rewards"},{"title":"Builders Query Catalog","href":"/data/query-catalog/builders"},{"title":"Builder Leaderboard","href":"/data/query-catalog/builders/leaderboard"},{"title":"Builder Detail","href":"/data/query-catalog/builders/detail"},{"title":"Builder Trader Leaderboard","href":"/data/query-catalog/builders/trader-leaderboard"},{"title":"Builder Daily Activity","href":"/data/query-catalog/builders/daily-activity"},{"title":"Compare Builder Daily Activity","href":"/data/query-catalog/builders/activity-comparison"},{"title":"Builder Trades","href":"/data/query-catalog/builders/trades"},{"title":"Builder Trades by Market","href":"/data/query-catalog/builders/trades-by-market"},{"title":"Builder Trades by Tag or Category","href":"/data/query-catalog/builders/trades-by-tag-category"},{"title":"Builder Trades by Side and Size","href":"/data/query-catalog/builders/trades-by-side-size"},{"title":"Tags and Categories Query Catalog","href":"/data/query-catalog/tags-categories"},{"title":"Combos Query Catalog","href":"/data/query-catalog/combos"},{"title":"Combo Markets","href":"/data/query-catalog/combos/markets"},{"title":"Combo Activity","href":"/data/query-catalog/combos/activity"},{"title":"Combo Redemptions","href":"/data/query-catalog/combos/redemptions"},{"title":"Wallet Combo Summary","href":"/data/query-catalog/combos/wallet-summary"},{"title":"Wallet Combo Positions","href":"/data/query-catalog/combos/wallet-positions"},{"title":"Wallet Combo Trades","href":"/data/query-catalog/combos/wallet-trades"},{"title":"Wallet Combo Activity","href":"/data/query-catalog/combos/wallet-activity"},{"title":"Wallet Combo Redemptions","href":"/data/query-catalog/combos/wallet-redemptions"},{"title":"Include Combos in Wallet Views","href":"/data/query-catalog/combos/include-combos"}]},{"group":"Wallet P\u0026L","pages":[{"title":"Resolve Wallet","openapi":"GET /v1/resolve/{query}","href":"/api-reference/wallets/resolve"},{"title":"Wallet Summary","openapi":"GET /v3/wallets/{address}","href":"/data/wallets/summary"},{"title":"Wallet P\u0026L","openapi":"GET /v3/wallets/{address}/pnl","href":"/data/wallets/pnl"},{"title":"Wallet P\u0026L Time Series","openapi":"GET /v3/wallets/{address}/pnl/events","href":"/data/wallets/pnl-events"},{"title":"Batch Wallet P\u0026L","openapi":"POST /v3/wallets/batch","href":"/data/wallets/batch"},{"title":"Wallet Positions","openapi":"GET /v3/wallets/{address}/positions","href":"/data/wallets/positions"}]},{"group":"Wallet Activity","pages":[{"title":"Wallet Trades","openapi":"GET /v3/wallets/{address}/trades","href":"/data/wallets/trades"},{"title":"Copy PnL","openapi":"GET /v3/wallets/{address}/copy-pnl","href":"/data/wallets/copy-pnl"},{"title":"Copy PnL Batch","openapi":"POST /v3/copy-pnl/batch","href":"/data/wallets/copy-pnl-batch"},{"title":"Wallet Fees Paid","openapi":"GET /v3/wallets/{address}/fees-paid","href":"/data/wallets/fees-paid"},{"title":"Wallet PolyUSD Flows","openapi":"GET /v3/wallets/{address}/polyusd-flows","href":"/data/wallets/polyusd-flows"},{"title":"Wallet Maker Rebates","openapi":"GET /v3/wallets/{address}/rebates","href":"/data/wallets/rebates"},{"title":"Wallet Redemptions","openapi":"GET /v3/wallets/{address}/redemptions","href":"/data/wallets/redemptions"},{"title":"Wallet Splits","openapi":"GET /v3/wallets/{address}/splits","href":"/data/wallets/splits"},{"title":"Wallet Merges","openapi":"GET /v3/wallets/{address}/merges","href":"/data/wallets/merges"},{"title":"Wallet NRC","openapi":"GET /v3/wallets/{address}/nrc","href":"/data/wallets/nrc"},{"title":"Wallet Activity","openapi":"GET /v3/wallets/{address}/activity","href":"/data/wallets/activity"}]},{"group":"Credits","pages":[{"title":"Credits Overview","href":"/credits/overview"},{"title":"Liquidity Rewards","href":"/credits/rewards"},{"title":"Yield","href":"/credits/yield"},{"group":"Rebates","pages":[{"title":"Maker Rebates","href":"/credits/maker-rebates"},{"title":"Taker Rebates","href":"/credits/taker-rebates"}]},{"title":"Referral Rewards","href":"/credits/referral-rewards"},{"group":"Credits API Reference","pages":[{"title":"Wallet Credit Totals","openapi":"GET /v3/wallets/{addr}/credits/totals","href":"/credits/wallet-totals"},{"title":"Wallet Credit Events","openapi":"GET /v3/wallets/{addr}/credits","href":"/credits/wallet-events"},{"title":"Wallet Credit Series","openapi":"GET /v3/wallets/{addr}/credits/series","href":"/credits/wallet-series"},{"title":"Credits Leaderboard","openapi":"GET /v3/credits/leaderboard","href":"/credits/leaderboard"},{"title":"Global Credit Stats","openapi":"GET /v3/credits/stats","href":"/credits/stats"},{"title":"Global Credit Feed","openapi":"GET /v3/credits/events","href":"/credits/feed"},{"title":"Credit Distributors","openapi":"GET /v3/credits/distributors","href":"/credits/distributors"},{"title":"Decode Payout Transaction","openapi":"GET /v3/credits/txs/{hash}","href":"/credits/tx"},{"title":"Recipient Growth","openapi":"GET /v3/credits/recipients/stats","href":"/credits/recipients"}]}]},{"group":"Identity","pages":[{"title":"Batch Resolve","openapi":"POST /v3/identities/batch","href":"/identities/batch-resolve"},{"title":"Username Search","openapi":"GET /v3/identities/search","href":"/identities/search"},{"title":"Identity Lookup","openapi":"GET /v3/identities/{addr}","href":"/identities/lookup"}]},{"group":"Fees","pages":[{"title":"Fees Overview","href":"/data/fees/overview"},{"title":"Wallet Fees Paid","href":"/data/fees/wallet-fees-paid"},{"title":"Global Fee Events","href":"/data/fees/global-fees"},{"title":"Fees by Receiver","href":"/data/fees/fees-by-receiver"},{"title":"Builder Fees","href":"/data/fees/builder-fees"},{"title":"Maker Rebates","href":"/data/fees/maker-rebates"},{"title":"Reward Market Configs","href":"/data/fees/reward-market-configs"}]},{"group":"Combos","tag":"New","pages":[{"title":"Combos Overview","href":"/data/combos/overview"},{"title":"Combo Markets","openapi":"GET /v3/combos/markets","href":"/data/combos/markets"},{"title":"Combo Activity","openapi":"GET /v3/combos/activity","href":"/data/combos/activity"},{"title":"Combo Daily Activity","openapi":"GET /v3/combos/activity/daily","href":"/data/combos/daily-activity"},{"title":"Combo P\u0026L Leaderboard","openapi":"GET /v3/combos/leaderboard","href":"/data/combos/leaderboard"},{"title":"Combo Redemptions","openapi":"GET /v3/combos/redemptions","href":"/data/combos/redemptions"},{"title":"Wallet Combo Summary","openapi":"GET /v3/wallets/{address}/combos/summary","href":"/data/combos/wallet-summary"},{"title":"Wallet Combo Positions","openapi":"GET /v3/wallets/{address}/combos/positions","href":"/data/combos/wallet-positions"},{"title":"Wallet Combo Trades","openapi":"GET /v3/wallets/{address}/combos/trades","href":"/data/combos/wallet-trades"},{"title":"Wallet Combo Activity","openapi":"GET /v3/wallets/{address}/combos/activity","href":"/data/combos/wallet-activity"},{"title":"Wallet Combo Redemptions","openapi":"GET /v3/wallets/{address}/combos/redemptions","href":"/data/combos/wallet-redemptions"}]},{"group":"Rewards","pages":[{"title":"Reward Markets","openapi":"GET /v3/rewards/markets","href":"/data/rewards/markets"},{"title":"Reward Market Detail","openapi":"GET /v3/rewards/markets/{condition_id}","href":"/data/rewards/market"}]},{"group":"Markets \u0026 Search","pages":[{"title":"Market Catalog","openapi":"GET /v3/markets","href":"/data/markets/catalog"},{"title":"Market Catalog Stats","openapi":"GET /v3/markets/stats","href":"/data/markets/catalog-stats"},{"title":"Event Catalog","openapi":"GET /v3/events","href":"/data/events/catalog"},{"title":"Event Catalog Stats","openapi":"GET /v3/events/stats","href":"/data/events/catalog-stats"},{"title":"Search Markets","openapi":"GET /v3/markets/search","href":"/data/markets/search"},{"title":"Market by Condition","openapi":"GET /v3/markets/condition/{condition_id}","href":"/data/markets/by-condition"},{"title":"Market Positions (Condition)","openapi":"GET /v3/markets/condition/{condition_id}/positions","href":"/data/markets/condition-positions"},{"title":"Market Trades","openapi":"GET /v3/markets/{token_id}/trades","href":"/data/markets/trades"},{"title":"Market Positions (Token)","openapi":"GET /v3/markets/{token_id}/positions","href":"/data/markets/positions"},{"title":"Token Price","openapi":"GET /v3/markets/{token_id}/price","href":"/data/markets/price"},{"title":"Market Candles","href":"/data/markets/candles"},{"title":"Market by Slug","openapi":"GET /v3/markets/slug/{slug}/trades","description":"Get trades and positions for a market by its URL slug.","href":"/data/markets/by-slug"}]},{"group":"Orderbook","pages":[{"title":"Order Book","openapi":"GET /v1/orderbook/{token_id}","href":"/api-reference/orderbook/order-book"},{"title":"Midpoint Price","openapi":"GET /v1/midpoint/{token_id}","description":"Returns the midpoint price for a token, calculated as the average of the best bid and best ask.\n\nIf the book is one-sided (only bids or only asks), the missing side is treated as 0. Response is enriched with PolyNode market metadata.","href":"/api-reference/orderbook/midpoint"},{"title":"Bid-Ask Spread","openapi":"GET /v1/spread/{token_id}","href":"/api-reference/orderbook/spread"}]},{"group":"Leaderboard \u0026 Tags","pages":[{"title":"Leaderboard","openapi":"GET /v3/leaderboard","href":"/data/leaderboard/global"},{"title":"Leaderboard Scopes","openapi":"GET /v3/leaderboard/scopes","href":"/data/leaderboard/scopes"},{"title":"Tags","openapi":"GET /v3/tags","href":"/data/leaderboard/tags"},{"title":"Tag Markets","openapi":"GET /v3/tags/{slug}","href":"/data/leaderboard/tag-markets"},{"title":"Tag Leaderboard","openapi":"GET /v3/tags/{slug}/leaderboard","href":"/data/leaderboard/tag-leaderboard"}]},{"group":"Builders","pages":[{"title":"Builder Leaderboard","openapi":"GET /v3/builders","href":"/data/builders/list"},{"title":"Builder Detail","openapi":"GET /v3/builders/{code}","href":"/data/builders/detail"},{"title":"Builder Trader P\u0026L Leaderboard","openapi":"GET /v3/builders/{code}/leaderboard","href":"/data/builders/trader-leaderboard"},{"title":"Builder Daily Activity","href":"/data/builders/daily-activity"},{"title":"Compare Builder Daily Activity","href":"/data/builders/activity-comparison"},{"title":"Builder Trades","openapi":"GET /v3/builders/{code}/trades","href":"/data/builders/trades"}]},{"group":"Polymarket Profiles","tag":"Beta","pages":[{"title":"Polymarket Profiles","href":"/api-reference/polymarket-profiles/overview"},{"title":"Check Username Availability","openapi":"GET /v3/polymarket/profiles/username-available","href":"/api-reference/polymarket-profiles/username-available"},{"title":"Create Username Challenge","openapi":"POST /v3/polymarket/profiles/username/challenge","href":"/api-reference/polymarket-profiles/create-challenge"},{"title":"Complete Username Action","openapi":"POST /v3/polymarket/profiles/username/complete","href":"/api-reference/polymarket-profiles/complete-username"},{"title":"Get Public Profile","openapi":"GET /v3/polymarket/profiles/{address}","href":"/api-reference/polymarket-profiles/get-profile"}]},{"group":"Global","pages":[{"title":"Platform Stats","openapi":"GET /v3/stats","href":"/data/global/stats"},{"title":"Global Trades","openapi":"GET /v3/trades","href":"/data/global/trades"},{"title":"Global Positions","openapi":"GET /v3/positions","href":"/data/global/positions"},{"title":"Fee Events","openapi":"GET /v3/fees","href":"/data/global/fees"},{"title":"Market Resolutions","openapi":"GET /v3/resolutions","href":"/data/global/resolutions"},{"title":"Condition Detail","openapi":"GET /v3/conditions/{condition_id}","href":"/data/global/conditions"}]},{"group":"Tokens","pages":[{"title":"Token Info","openapi":"GET /v3/tokens/{token_id}","href":"/data/tokens/info"}]},{"group":"Perps","pages":[{"title":"Perps Overview","href":"/perps/overview"},{"title":"Quickstart","href":"/perps/quickstart"},{"title":"Wallet Mapping","href":"/perps/wallet-mapping"},{"title":"Rate Limits","href":"/perps/rate-limits"}]},{"group":"Perps Market Data","pages":[{"title":"Instruments","openapi":"GET /v3/perps/instruments","href":"/perps/market-data/instruments"},{"title":"Tickers","openapi":"GET /v3/perps/tickers/{instrument}","href":"/perps/market-data/tickers"},{"title":"Screener","openapi":"GET /v3/perps/screener","href":"/perps/market-data/screener"},{"title":"Best Bid/Offer","openapi":"GET /v3/perps/bbo/{instrument}","href":"/perps/market-data/bbo"},{"title":"Orderbook","openapi":"GET /v3/perps/book/{instrument}","href":"/perps/market-data/book"},{"title":"Trades","openapi":"GET /v3/perps/trades/{instrument}","href":"/perps/market-data/trades"},{"title":"24h Statistics","openapi":"GET /v3/perps/statistics/{instrument}","href":"/perps/market-data/statistics"},{"title":"Klines (OHLCV)","openapi":"GET /v3/perps/klines/{instrument}","href":"/perps/market-data/klines"},{"title":"Funding Rates","openapi":"GET /v3/perps/funding/{instrument}","href":"/perps/market-data/funding"},{"title":"Open Interest History","openapi":"GET /v3/perps/oi/{instrument}","href":"/perps/market-data/open-interest"},{"title":"Volume History","openapi":"GET /v3/perps/volume/{instrument}","href":"/perps/market-data/volume"},{"title":"Perps Daily Activity","openapi":"GET /v3/perps/activity/daily","href":"/perps/market-data/daily-activity"},{"title":"Fees \u0026 Exchange Meta","href":"/perps/market-data/meta"},{"title":"Basis History","openapi":"GET /v3/perps/basis/{instrument}","href":"/perps/market-data/basis"},{"title":"Trade Flow / CVD","openapi":"GET /v3/perps/flow/{instrument}","href":"/perps/market-data/flow"},{"title":"Cumulative Funding","openapi":"GET /v3/perps/funding-pnl/{instrument}","href":"/perps/market-data/funding-pnl"}]},{"group":"Perps Wallets","pages":[{"title":"Wallet Overview","openapi":"GET /v3/perps/wallets/{address}","href":"/perps/wallets/overview"},{"title":"Portfolio","openapi":"GET /v3/perps/wallets/{address}/portfolio","href":"/perps/wallets/portfolio"},{"title":"Registered","openapi":"GET /v3/perps/wallets/{address}/registered","href":"/perps/wallets/registered"},{"title":"Registered (batch)","openapi":"GET /v3/perps/wallets/registered","href":"/perps/wallets/batch-registered"},{"title":"Portfolios (batch)","openapi":"GET /v3/perps/wallets/portfolios","href":"/perps/wallets/batch-portfolios"}]},{"group":"Perps Analytics","pages":[{"title":"Perps Analytics","href":"/perps/analytics/overview"},{"title":"Whale Leaderboard","openapi":"GET /v3/perps/leaderboard","href":"/perps/analytics/leaderboard"},{"title":"Positioning","openapi":"GET /v3/perps/positioning/{instrument}","href":"/perps/analytics/positioning"},{"title":"Large Positions","openapi":"GET /v3/perps/positions/large","href":"/perps/analytics/large-positions"},{"title":"Position History","openapi":"GET /v3/perps/wallets/{address}/positions/history","href":"/perps/analytics/position-history"},{"title":"Smart Money","openapi":"GET /v3/perps/traders","href":"/perps/analytics/traders"},{"title":"Position Events","openapi":"GET /v3/perps/events","href":"/perps/analytics/events"},{"title":"Liquidations","openapi":"GET /v3/perps/liquidations","href":"/perps/analytics/liquidations"},{"title":"Coverage","openapi":"GET /v3/perps/coverage","href":"/perps/analytics/coverage"}]},{"group":"Perps On-Chain","pages":[{"title":"TVL \u0026 Collateral","openapi":"GET /v3/perps/tvl","href":"/perps/onchain/tvl"},{"title":"Top Depositors","openapi":"GET /v3/perps/depositors","href":"/perps/onchain/depositors"},{"title":"Top Withdrawers","openapi":"GET /v3/perps/withdrawers","href":"/perps/onchain/withdrawers"},{"title":"Deposits Feed","openapi":"GET /v3/perps/deposits","href":"/perps/onchain/deposits"},{"title":"Withdrawals Feed","openapi":"GET /v3/perps/withdrawals","href":"/perps/onchain/withdrawals"},{"title":"Wallet Flows","openapi":"GET /v3/perps/wallets/{address}/flows","href":"/perps/onchain/flows"}]},{"group":"Perps Streaming","pages":[{"title":"Perps WebSocket","href":"/perps/websocket/overview"},{"title":"Channels","href":"/perps/websocket/channels"}]},{"group":"Crypto","pages":[{"title":"Crypto Markets","openapi":"GET /v1/crypto/markets","href":"/api-reference/crypto/markets"},{"title":"Oracle Candles","openapi":"GET /v1/crypto/candles","href":"/api-reference/crypto/candles"},{"title":"Historical Price Ticks","openapi":"GET /v1/crypto/ticks","href":"/api-reference/crypto/ticks"},{"title":"Price to Beat","openapi":"GET /v1/crypto/price","href":"/api-reference/crypto/price"},{"title":"Active 5-Minute Markets","openapi":"GET /v1/crypto/active","href":"/api-reference/crypto/active"},{"title":"Crypto Series","openapi":"GET /v1/crypto/series","href":"/api-reference/crypto/series"}]},{"group":"Sports","pages":[{"title":"Sports Markets","href":"/api-reference/sports/sports-markets"}]},{"group":"BYOL","pages":[{"title":"BYOL Overview","href":"/api-reference/byol/overview"},{"title":"Get Leaderboard","openapi":"GET /v2/leaderboard/custom","href":"/api-reference/byol/get-leaderboard"},{"title":"Add Wallets","openapi":"POST /v2/leaderboard/wallets","href":"/api-reference/byol/add-wallets"},{"title":"Remove Wallets","openapi":"DELETE /v2/leaderboard/wallets","href":"/api-reference/byol/remove-wallets"},{"title":"List Wallets","openapi":"GET /v2/leaderboard/wallets","href":"/api-reference/byol/list-wallets"}]},{"group":"Backtesting","pages":[{"title":"Backtesting Overview","href":"/api-reference/backtesting/overview"},{"title":"Deprecated: Backtest Copy PnL","openapi":"GET /v2/copy-pnl/{wallet}","href":"/api-reference/backtesting/copy-pnl"},{"title":"Deprecated: Backtest Copy PnL — Batch","openapi":"POST /v2/copy-pnl/batch","href":"/api-reference/backtesting/batch"},{"title":"BYOB — Add Wallets","openapi":"POST /v2/copy-pnl/wallets","href":"/api-reference/backtesting/byob-add-wallets"},{"title":"BYOB — Remove Wallets","openapi":"DELETE /v2/copy-pnl/wallets","href":"/api-reference/backtesting/byob-remove-wallets"},{"title":"BYOB — List Wallets","openapi":"GET /v2/copy-pnl/wallets","href":"/api-reference/backtesting/byob-list-wallets"},{"title":"BYOB — Leaderboard","openapi":"GET /v2/copy-pnl/leaderboard","href":"/api-reference/backtesting/byob-leaderboard"},{"title":"BYOB — Snapshot","openapi":"GET /v2/copy-pnl/snapshot","href":"/api-reference/backtesting/byob-snapshot"}]},{"group":"Market Card","pages":[{"title":"Market Card","sidebarTitle":"Market Card","openapi":"GET /v1/stats/{token_id}","href":"/api-reference/pricing/market-statistics"}]},{"group":"System","pages":[{"title":"System Status","openapi":"GET /v1/status","href":"/api-reference/system/system-status"},{"title":"Generate API Key","openapi":"POST /v1/keys","href":"/api-reference/system/generate-api-key"},{"title":"Health Check","openapi":"GET /healthz","href":"/api-reference/system/health-check"},{"title":"Readiness Check","openapi":"GET /readyz","href":"/api-reference/system/readiness-check"}]},{"group":"Search \u0026 Context","tag":"BETA","pages":[{"title":"Online Search API","sidebarTitle":"Online Search","openapi":"GET /v2/search/online","icon":"search","tag":"BETA","href":"/api-reference/search-online"},{"title":"X Search API","sidebarTitle":"X Search API","openapi":"GET /v2/x/search","icon":"magnifying-glass","tag":"BETA","href":"/api-reference/x-search"}]},{"group":"Onchain V2 (legacy)","pages":[{"title":"Trade History (All)","openapi":"GET /v2/onchain/trades","href":"/api-reference/onchain/trades"},{"title":"Positions (All)","openapi":"GET /v2/onchain/positions","href":"/api-reference/onchain/positions"},{"title":"Positions \u0026 P\u0026L (Wallet)","openapi":"GET /v2/wallets/{address}/positions/onchain","href":"/api-reference/wallets/onchain-positions"},{"title":"Trade History (Wallet)","openapi":"GET /v2/onchain/wallets/{address}/trades","href":"/api-reference/onchain/wallet-trades"},{"title":"Trade History (Wallet) — Bulk","openapi":"GET /v2/onchain/wallets/{address}/trades/all","href":"/api-reference/onchain/wallet-trades-all"},{"title":"Wallet Redemptions","openapi":"GET /v2/onchain/wallets/{address}/redemptions","href":"/api-reference/onchain/wallet-redemptions"},{"title":"Wallet Activity","openapi":"GET /v2/onchain/wallets/{address}/activity","href":"/api-reference/onchain/wallet-activity"},{"title":"Trade History (Market)","openapi":"GET /v2/onchain/markets/{token_id}/trades","href":"/api-reference/onchain/market-trades"},{"title":"Trade History (Market) — Bulk","openapi":"GET /v2/onchain/markets/{token_id}/trades/all","href":"/api-reference/onchain/market-trades-all"},{"title":"Top Traders (Market)","openapi":"GET /v1/markets/{id}/positions","href":"/api-reference/wallets/market-positions"},{"title":"Candles (Trade-Indexed OHLCV)","openapi":"GET /v2/onchain/candles/{token_id}","href":"/api-reference/onchain/candles"},{"title":"Market Volume","openapi":"GET /v2/onchain/markets/{token_id}/volume","href":"/api-reference/onchain/market-volume"},{"title":"Market Open Interest","openapi":"GET /v2/onchain/markets/{condition_id}/oi","href":"/api-reference/onchain/market-oi"},{"title":"Global Open Interest","openapi":"GET /v2/onchain/oi","href":"/api-reference/onchain/global-oi"}]}]},{"tab":"Crypto Prices","pages":[{"title":"Crypto Prices","href":"/crypto/overview"}]},{"tab":"Orderbook","pages":[{"title":"Orderbook","href":"/orderbook/overview"}]},{"tab":"RPC","pages":[{"title":"RPC","href":"/rpc/overview"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"Trading","pages":[{"title":"Trading","href":"/sdks/trading"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"Case Studies","pages":[{"title":"Case Studies","href":"/case-studies/overview"}]}]},"basePath":"","title":"Order Book - PolyNode","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}