Load and cache all markets from the exchange into this.markets and this.marketsBySlug. Subsequent calls return the cached result without hitting the API again. This is the correct way to paginate or iterate over markets without drift. Because fetchMarkets() always hits the API, repeated calls with different offset values may return inconsistent results if the exchange reorders or adds markets between requests. Use loadMarkets() once to get a stable snapshot, then paginate over Object.values(exchange.markets) locally.
Structured error envelope returned inside BaseResponse.error and ErrorResponse.error. Hosted-mode endpoints populate code, retryable, and optionally exchange / detail; legacy local-mode endpoints may still return only message.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"PMXT","colors":{"primary":"#0B0B0B","light":"#FAFAFA","dark":"#0B0B0B"},"logo":{"light":"https://mintcdn.com/pmxt/yNKlhpZ-Vdlsto1c/logo-light.png?fit=max\u0026auto=format\u0026n=yNKlhpZ-Vdlsto1c\u0026q=85\u0026s=ec1c43df58167b9e9f00e0ba0ce97498","dark":"https://mintcdn.com/pmxt/yNKlhpZ-Vdlsto1c/logo-dark.png?fit=max\u0026auto=format\u0026n=yNKlhpZ-Vdlsto1c\u0026q=85\u0026s=0bcdd0403b4bb8e639c527a689c72345"},"favicon":"https://mintcdn.com/pmxt/_TNRmPqxeVjK8ViK/favicon.png?fit=max\u0026auto=format\u0026n=_TNRmPqxeVjK8ViK\u0026q=85\u0026s=55658b8f181f181a21afc0eb9590dfc5","api":{"examples":{"languages":["python","javascript","curl","go","java"]}},"navbar":{"links":[{"href":"https://pmxt.dev/dashboard","label":"Dashboard"}],"primary":{"type":"button","label":"Get API Key","href":"https://pmxt.dev/dashboard"}},"footer":{"socials":{"github":"https://github.com/pmxt-dev/pmxt"}},"contextual":{"options":["copy","claude","chatgpt","cursor"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pmxt","hasAudioNarration":false,"actualSubdomain":"pmxt","customDomains":["pmxt.dev"],"gitSource":{"type":"github","owner":"pmxt-dev","repo":"pmxt","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae954a663c5420c1493c745:success","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":49},{"language":"default","tag":"Documentation","count":18},{"language":"default","tag":"Data Feeds","count":10},{"language":"default","tag":"Get Started","count":7},{"language":"default","tag":"Events \u0026 Markets","count":6},{"language":"default","tag":"Order Book \u0026 Trades","count":6},{"language":"default","tag":"Other","count":6},{"language":"default","tag":"Realtime","count":5},{"language":"default","tag":"Concepts","count":5},{"language":"default","tag":"Router","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/load-markets","slug":"/api-reference/load-markets","pageMetadata":{"title":"Load Markets","description":"Load and cache all markets from the exchange into `this.markets` and `this.marketsBySlug`. Subsequent calls return the cached result without hitting the API again. This is the correct way to paginate or iterate over markets without drift. Because `fetchMarkets()` always hits the API, repeated calls with different `offset` values may return inconsistent results if the exchange reorders or adds markets between requests. Use `loadMarkets()` once to get a stable snapshot, then paginate over `Object.values(exchange.markets)` locally.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/{exchange}/loadMarkets","href":"/api-reference/load-markets","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Load and cache all markets from the exchange into \", _jsx(_components.code, {\n children: \"this.markets\"\n }), \" and \", _jsx(_components.code, {\n children: \"this.marketsBySlug\"\n }), \". Subsequent calls return the cached result without hitting the API again. This is the correct way to paginate or iterate over markets without drift. Because \", _jsx(_components.code, {\n children: \"fetchMarkets()\"\n }), \" always hits the API, repeated calls with different \", _jsx(_components.code, {\n children: \"offset\"\n }), \" values may return inconsistent results if the exchange reorders or adds markets between requests. Use \", _jsx(_components.code, {\n children: \"loadMarkets()\"\n }), \" once to get a stable snapshot, then paginate over \", _jsx(_components.code, {\n children: \"Object.values(exchange.markets)\"\n }), \" locally.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Load Markets","description":"Load and cache all markets from the exchange into `this.markets` and `this.marketsBySlug`. Subsequent calls return the cached result without hitting the API again. This is the correct way to paginate or iterate over markets without drift. Because `fetchMarkets()` always hits the API, repeated calls with different `offset` values may return inconsistent results if the exchange reorders or adds markets between requests. Use `loadMarkets()` once to get a stable snapshot, then paginate over `Object.values(exchange.markets)` locally.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/{exchange}/loadMarkets","href":"/api-reference/load-markets","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/pmxt/85e8314434873745/mcp-override.js"],"openApiReferenceData":{"operation":{"summary":"Load Markets","operationId":"loadMarkets","parameters":["661b11ae-1a2b-4c11-8e7d-fe37d203aa2b"],"requestBody":"4fe03378-c1e0-4f14-a693-911a62a15aa6","responses":{"200":"2323978b-a8f0-4149-bf40-648141099921"},"description":"Load and cache all markets from the exchange into `this.markets` and `this.marketsBySlug`. Subsequent calls return the cached result without hitting the API again. This is the correct way to paginate or iterate over markets without drift. Because `fetchMarkets()` always hits the API, repeated calls with different `offset` values may return inconsistent results if the exchange reorders or adds markets between requests. Use `loadMarkets()` once to get a stable snapshot, then paginate over `Object.values(exchange.markets)` locally.","security":[],"x-mint":{"content":"\u003cInfo>\n**Faster with an API key** — With a PMXT API key this endpoint is served from an indexed catalog (~10 ms) instead of proxying to the venue (~500 ms). No code changes required — same request, same response, just faster. [Learn more](/concepts/catalog-vs-live).\n\u003c/Info>"},"x-codeSamples":[{"lang":"python","label":"Polymarket","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Polymarket(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"python","label":"Limitless","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Limitless(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"python","label":"Kalshi","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Kalshi(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"python","label":"KalshiDemo","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.KalshiDemo(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"python","label":"Probable","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Probable(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"python","label":"Baozi","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Baozi(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"python","label":"Myriad","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Myriad(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"python","label":"Opinion","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Opinion(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"python","label":"Metaculus","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Metaculus(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"python","label":"Smarkets","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Smarkets(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"python","label":"PolymarketUS","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.PolymarketUS(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"python","label":"Hyperliquid","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Hyperliquid(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"python","label":"GeminiTitan","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.GeminiTitan(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"python","label":"SuiBets","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.SuiBets(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"python","label":"Rain","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Rain(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"python","label":"Hunch","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Hunch(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"lang":"javascript","label":"Polymarket","source":"import { Polymarket } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Polymarket({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"lang":"javascript","label":"Limitless","source":"import { Limitless } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Limitless({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"lang":"javascript","label":"Kalshi","source":"import { Kalshi } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Kalshi({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"lang":"javascript","label":"KalshiDemo","source":"import { KalshiDemo } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new KalshiDemo({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"lang":"javascript","label":"Probable","source":"import { Probable } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Probable({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"lang":"javascript","label":"Baozi","source":"import { Baozi } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Baozi({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"lang":"javascript","label":"Myriad","source":"import { Myriad } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Myriad({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"lang":"javascript","label":"Opinion","source":"import { Opinion } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Opinion({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"lang":"javascript","label":"Metaculus","source":"import { Metaculus } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Metaculus({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"lang":"javascript","label":"Smarkets","source":"import { Smarkets } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Smarkets({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"lang":"javascript","label":"PolymarketUS","source":"import { PolymarketUS } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new PolymarketUS({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"lang":"javascript","label":"Hyperliquid","source":"import { Hyperliquid } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Hyperliquid({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"lang":"javascript","label":"GeminiTitan","source":"import { GeminiTitan } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new GeminiTitan({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"lang":"javascript","label":"SuiBets","source":"import { SuiBets } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new SuiBets({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"lang":"javascript","label":"Rain","source":"import { Rain } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Rain({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"lang":"javascript","label":"Hunch","source":"import { Hunch } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Hunch({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"}],"method":"post","type":"path","servers":["3ebdf33a-141b-469f-a624-0bbe573308e4"],"path":"/api/{exchange}/loadMarkets","baseUrlOptions":["https://api.pmxt.dev"],"title":"Load Markets","codeSamples":[{"label":"Polymarket","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Polymarket(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"Limitless","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Limitless(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"Kalshi","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Kalshi(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"KalshiDemo","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.KalshiDemo(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"Probable","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Probable(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"Baozi","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Baozi(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"Myriad","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Myriad(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"Opinion","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Opinion(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"Metaculus","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Metaculus(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"Smarkets","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Smarkets(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"PolymarketUS","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.PolymarketUS(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"Hyperliquid","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Hyperliquid(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"GeminiTitan","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.GeminiTitan(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"SuiBets","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.SuiBets(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"Rain","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Rain(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"Hunch","lang":"python","source":"import pmxt\n\n# API key optional — enables faster catalog-backed lookups\nexchange = pmxt.Hunch(\n pmxt_api_key=\"YOUR_PMXT_API_KEY\",\n)\nresult = exchange.load_markets()"},{"label":"Polymarket","lang":"javascript","source":"import { Polymarket } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Polymarket({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"label":"Limitless","lang":"javascript","source":"import { Limitless } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Limitless({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"label":"Kalshi","lang":"javascript","source":"import { Kalshi } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Kalshi({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"label":"KalshiDemo","lang":"javascript","source":"import { KalshiDemo } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new KalshiDemo({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"label":"Probable","lang":"javascript","source":"import { Probable } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Probable({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"label":"Baozi","lang":"javascript","source":"import { Baozi } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Baozi({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"label":"Myriad","lang":"javascript","source":"import { Myriad } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Myriad({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"label":"Opinion","lang":"javascript","source":"import { Opinion } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Opinion({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"label":"Metaculus","lang":"javascript","source":"import { Metaculus } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Metaculus({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"label":"Smarkets","lang":"javascript","source":"import { Smarkets } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Smarkets({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"label":"PolymarketUS","lang":"javascript","source":"import { PolymarketUS } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new PolymarketUS({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"label":"Hyperliquid","lang":"javascript","source":"import { Hyperliquid } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Hyperliquid({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"label":"GeminiTitan","lang":"javascript","source":"import { GeminiTitan } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new GeminiTitan({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"label":"SuiBets","lang":"javascript","source":"import { SuiBets } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new SuiBets({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"label":"Rain","lang":"javascript","source":"import { Rain } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Rain({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"},{"label":"Hunch","lang":"javascript","source":"import { Hunch } from \"pmxtjs\";\n\n// API key optional — enables faster catalog-backed lookups\nconst exchange = new Hunch({\n pmxtApiKey: \"YOUR_PMXT_API_KEY\",\n});\nconst result = await exchange.loadMarkets();"}],"requestExampleLanguages":["python","javascript","bash","go","java"],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"661b11ae-1a2b-4c11-8e7d-fe37d203aa2b":{"in":"path","name":"exchange","schema":{"type":"string","enum":["polymarket","kalshi","kalshi-demo","limitless","probable","baozi","myriad","opinion","metaculus","smarkets","polymarket_us","gemini-titan","hyperliquid","suibets","rain","hunch","router"],"isRequired":true,"description":"The prediction market exchange to target.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":true,"description":"The prediction market exchange to target."}},"requestBody":{"content":{"application/json":{"schema":{"title":"LoadMarketsRequest","type":"object","properties":{"args":{"type":"array","maxItems":1,"items":{"type":"boolean","uniqueKey":"args.items.[INDEX]","typeLabel":"boolean"},"uniqueKey":"args","typeLabel":"boolean[]"},"credentials":{"type":"object","description":"Optional authentication credentials for exchange operations.","properties":{"apiKey":{"type":"string","uniqueKey":"credentials.apiKey","typeLabel":"string"},"apiSecret":{"type":"string","description":"Standard API secret for HMAC-authenticated exchanges","uniqueKey":"credentials.apiSecret","typeLabel":"string"},"passphrase":{"type":"string","description":"Standard API passphrase for HMAC-authenticated exchanges","uniqueKey":"credentials.passphrase","typeLabel":"string"},"apiToken":{"type":"string","description":"Metaculus: `Authorization: Token \u003capiToken>` for higher rate limits","uniqueKey":"credentials.apiToken","typeLabel":"string"},"privateKey":{"type":"string","description":"Required for Polymarket L1 auth","uniqueKey":"credentials.privateKey","typeLabel":"string"},"signatureType":{"oneOf":[{"type":"number","description":"0 = EOA, 1 = Poly Proxy, 2 = Gnosis Safe (Can also use 'eoa', 'polyproxy', 'gnosis_safe')","uniqueKey":"credentials.signatureType.oneOf.0","typeLabel":"number"},{"type":"string","description":"0 = EOA, 1 = Poly Proxy, 2 = Gnosis Safe (Can also use 'eoa', 'polyproxy', 'gnosis_safe')","uniqueKey":"credentials.signatureType.oneOf.1","typeLabel":"string"}],"uniqueKey":"credentials.signatureType","typeLabel":"number | string"},"funderAddress":{"type":"string","description":"The address funding the trades (defaults to signer address)","uniqueKey":"credentials.funderAddress","typeLabel":"string"},"walletAddress":{"type":"string","uniqueKey":"credentials.walletAddress","typeLabel":"string"},"baseUrl":{"type":"string","uniqueKey":"credentials.baseUrl","typeLabel":"string"}},"uniqueKey":"credentials","typeLabel":"object"}},"uniqueKey":"","typeLabel":"LoadMarketsRequest · object"},"examples":{"Example":{"title":"Example","value":{"args":[true],"credentials":{"apiKey":"\u003cstring>","apiSecret":"\u003cstring>","passphrase":"\u003cstring>","apiToken":"\u003cstring>","privateKey":"\u003cstring>","signatureType":123,"funderAddress":"\u003cstring>","walletAddress":"\u003cstring>","baseUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"2323978b-a8f0-4149-bf40-648141099921":{"description":"Load Markets response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"object","description":"Structured error envelope returned inside `BaseResponse.error` and `ErrorResponse.error`. Hosted-mode endpoints populate `code`, `retryable`, and optionally `exchange` / `detail`; legacy local-mode endpoints may still return only `message`.","properties":{"message":{"type":"string","description":"Human-readable error message.","uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code. Hosted-mode errors use the `HostedTradingError` family (e.g. `INSUFFICIENT_ESCROW_BALANCE`, `BUILT_ORDER_EXPIRED`); pre-hosted local errors use the legacy family (e.g. `BAD_REQUEST`, `NOT_FOUND`).","enum":["HOSTED_TRADING_ERROR","INSUFFICIENT_ESCROW_BALANCE","ORDER_SIZE_TOO_SMALL","INVALID_API_KEY","OUTCOME_NOT_FOUND","CATALOG_UNAVAILABLE","BUILT_ORDER_EXPIRED","INVALID_SIGNATURE","NO_LIQUIDITY","MISSING_WALLET_ADDRESS","BAD_REQUEST","AUTHENTICATION_ERROR","PERMISSION_DENIED","NOT_FOUND","ORDER_NOT_FOUND","MARKET_NOT_FOUND","EVENT_NOT_FOUND","RATE_LIMIT_EXCEEDED","INVALID_ORDER","INSUFFICIENT_FUNDS","VALIDATION_ERROR","NETWORK_ERROR","EXCHANGE_NOT_AVAILABLE","NOT_SUPPORTED"],"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Hint for clients: when `true`, the same request may succeed on retry (e.g. transient network or rate-limit conditions); when `false`, the caller should not retry without modifying the request.","uniqueKey":"error.retryable","typeLabel":"boolean"},"exchange":{"oneOf":[{"type":"string","description":"Venue the error originated from, when known (e.g. 'polymarket', 'kalshi').","uniqueKey":"error.exchange.oneOf.0","typeLabel":"string"},{"type":"null","description":"Venue the error originated from, when known (e.g. 'polymarket', 'kalshi').","uniqueKey":"error.exchange.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.exchange","typeLabel":"string | null"},"detail":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"error.detail.oneOf.0.additionalProperties","typeLabel":"any"},"description":"Free-form hosted-mode detail blob. Shape depends on `code` — e.g. for `INSUFFICIENT_ESCROW_BALANCE` it may include `{ requested, available }`; for `ORDER_SIZE_TOO_SMALL` it may include `{ min }`; for `BUILT_ORDER_EXPIRED` it may include `{ expiry }`.","uniqueKey":"error.detail.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{}],"uniqueKey":"error.detail.oneOf.1.additionalProperties","typeLabel":"any"},"description":"Free-form hosted-mode detail blob. Shape depends on `code` — e.g. for `INSUFFICIENT_ESCROW_BALANCE` it may include `{ requested, available }`; for `ORDER_SIZE_TOO_SMALL` it may include `{ min }`; for `BUILT_ORDER_EXPIRED` it may include `{ expiry }`.","uniqueKey":"error.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.detail","typeLabel":"object | null"}},"uniqueKey":"error","typeLabel":"object"},"data":{"type":"object","additionalProperties":{"type":"object","properties":{"marketId":{"type":"string","description":"The unique identifier for this market","isRequired":true,"uniqueKey":"data.additionalProperties.marketId","typeLabel":"string"},"title":{"type":"string","description":"The market title (e.g., \"Will BTC close above $100k on Dec 31?\").","isRequired":true,"uniqueKey":"data.additionalProperties.title","typeLabel":"string"},"description":{"type":"string","description":"Long-form market description or resolution criteria.","isRequired":true,"uniqueKey":"data.additionalProperties.description","typeLabel":"string"},"outcomes":{"type":"array","items":{"type":"object","properties":{"outcomeId":{"type":"string","description":"Outcome ID for trading operations (CLOB Token ID for Polymarket, Market Ticker for Kalshi)","isRequired":true,"uniqueKey":"data.additionalProperties.outcomes.items.[INDEX].outcomeId","typeLabel":"string"},"label":{"type":"string","description":"Human-readable outcome label (e.g., \"Yes\", \"No\", candidate name).","isRequired":true,"uniqueKey":"data.additionalProperties.outcomes.items.[INDEX].label","typeLabel":"string"},"price":{"type":"number","description":"Probability between 0.0 and 1.0.","isRequired":true,"uniqueKey":"data.additionalProperties.outcomes.items.[INDEX].price","typeLabel":"number"},"marketId":{"type":"string","description":"The market this outcome belongs to (set automatically when outcomes are built)","uniqueKey":"data.additionalProperties.outcomes.items.[INDEX].marketId","typeLabel":"string"},"priceChange24h":{"type":"number","description":"Change in price over the past 24 hours, as an absolute probability delta.","uniqueKey":"data.additionalProperties.outcomes.items.[INDEX].priceChange24h","typeLabel":"number"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.additionalProperties.outcomes.items.[INDEX].metadata.additionalProperties","typeLabel":"any"},"description":"Exchange-specific metadata (e.g., clobTokenId for Polymarket)","uniqueKey":"data.additionalProperties.outcomes.items.[INDEX].metadata","typeLabel":"object"}},"required":["outcomeId","label","price"],"uniqueKey":"data.additionalProperties.outcomes.items.[INDEX]","typeLabel":"object"},"description":"The possible outcomes for this market.","isRequired":true,"uniqueKey":"data.additionalProperties.outcomes","typeLabel":"object[]"},"volume24h":{"type":"number","description":"Trading volume over the past 24 hours (USD).","isRequired":true,"uniqueKey":"data.additionalProperties.volume24h","typeLabel":"number"},"liquidity":{"type":"number","description":"Current market liquidity (USD).","isRequired":true,"uniqueKey":"data.additionalProperties.liquidity","typeLabel":"number"},"url":{"type":"string","description":"Canonical URL to view the market on the venue.","isRequired":true,"uniqueKey":"data.additionalProperties.url","typeLabel":"string"},"eventId":{"type":"string","description":"Link to parent event","uniqueKey":"data.additionalProperties.eventId","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly slug for the market.","uniqueKey":"data.additionalProperties.slug","typeLabel":"string"},"resolutionDate":{"type":"string","format":"date-time","description":"When the market is scheduled to resolve. Optional because some venues do not publish a cutoff for every market (e.g. Opinion categorical children) — emit `undefined` rather than coercing to epoch.","uniqueKey":"data.additionalProperties.resolutionDate","typeLabel":"string\u003cdate-time>"},"volume":{"type":"number","description":"Total / Lifetime volume","uniqueKey":"data.additionalProperties.volume","typeLabel":"number"},"openInterest":{"type":"number","description":"Total value of outstanding contracts (USD).","uniqueKey":"data.additionalProperties.openInterest","typeLabel":"number"},"image":{"type":"string","description":"Optional image URL for the market.","uniqueKey":"data.additionalProperties.image","typeLabel":"string"},"category":{"type":"string","description":"Optional category label. Venue-defined — common values include \"Sports\", \"Politics\", \"Crypto\", \"Economics\", \"Science\", \"Culture\". Polymarket uses finer-grained categories like \"Bitcoin\", \"Soccer\", \"Economic Policy\"; Kalshi uses broader ones like \"Sports\" or \"Mentions\".","uniqueKey":"data.additionalProperties.category","typeLabel":"string"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"data.additionalProperties.tags.items.[INDEX]","typeLabel":"string"},"description":"Optional list of tags. More granular than category — e.g. [\"Crypto\", \"Crypto Prices\", \"Bitcoin\"] or [\"Politics\", \"Elections\", \"Trump\"]. Tags vary by venue: Polymarket markets carry several, Kalshi typically one.","uniqueKey":"data.additionalProperties.tags","typeLabel":"string[]"},"tickSize":{"type":"number","description":"Minimum price increment (e.g., 0.01, 0.001)","uniqueKey":"data.additionalProperties.tickSize","typeLabel":"number"},"status":{"type":"string","description":"Venue-native lifecycle status (e.g. 'active', 'closed', 'archived').","uniqueKey":"data.additionalProperties.status","typeLabel":"string"},"contractAddress":{"type":"string","description":"On-chain contract / condition identifier where applicable (Polymarket conditionId, etc.).","uniqueKey":"data.additionalProperties.contractAddress","typeLabel":"string"},"sourceMetadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.additionalProperties.sourceMetadata.additionalProperties","typeLabel":"any"},"description":"Raw venue-specific metadata not captured by first-class fields (e.g. Kalshi series_ticker / series_title from the parent event, Polymarket series). Passed through verbatim so downstream consumers can recover anything the unified shape omits. Each venue populates what it has.","uniqueKey":"data.additionalProperties.sourceMetadata","typeLabel":"object"},"sourceExchange":{"type":"string","description":"The exchange/venue this market originates from (e.g. 'polymarket', 'kalshi'). Populated by the Router.","uniqueKey":"data.additionalProperties.sourceExchange","typeLabel":"string"},"yes":{"type":"object","description":"Convenience accessor for the YES outcome on a binary market.","required":["outcomeId","label","price"],"properties":{"outcomeId":{"type":"string","description":"Outcome ID for trading operations (CLOB Token ID for Polymarket, Market Ticker for Kalshi)","isRequired":true,"uniqueKey":"data.additionalProperties.yes.outcomeId","typeLabel":"string"},"label":{"type":"string","description":"Human-readable outcome label (e.g., \"Yes\", \"No\", candidate name).","isRequired":true,"uniqueKey":"data.additionalProperties.yes.label","typeLabel":"string"},"price":{"type":"number","description":"Probability between 0.0 and 1.0.","isRequired":true,"uniqueKey":"data.additionalProperties.yes.price","typeLabel":"number"},"marketId":{"type":"string","description":"The market this outcome belongs to (set automatically when outcomes are built)","uniqueKey":"data.additionalProperties.yes.marketId","typeLabel":"string"},"priceChange24h":{"type":"number","description":"Change in price over the past 24 hours, as an absolute probability delta.","uniqueKey":"data.additionalProperties.yes.priceChange24h","typeLabel":"number"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.additionalProperties.yes.metadata.additionalProperties","typeLabel":"any"},"description":"Exchange-specific metadata (e.g., clobTokenId for Polymarket)","uniqueKey":"data.additionalProperties.yes.metadata","typeLabel":"object"}},"uniqueKey":"data.additionalProperties.yes","typeLabel":"object"},"no":{"type":"object","description":"Convenience accessor for the NO outcome on a binary market.","required":["outcomeId","label","price"],"properties":{"outcomeId":{"type":"string","description":"Outcome ID for trading operations (CLOB Token ID for Polymarket, Market Ticker for Kalshi)","isRequired":true,"uniqueKey":"data.additionalProperties.no.outcomeId","typeLabel":"string"},"label":{"type":"string","description":"Human-readable outcome label (e.g., \"Yes\", \"No\", candidate name).","isRequired":true,"uniqueKey":"data.additionalProperties.no.label","typeLabel":"string"},"price":{"type":"number","description":"Probability between 0.0 and 1.0.","isRequired":true,"uniqueKey":"data.additionalProperties.no.price","typeLabel":"number"},"marketId":{"type":"string","description":"The market this outcome belongs to (set automatically when outcomes are built)","uniqueKey":"data.additionalProperties.no.marketId","typeLabel":"string"},"priceChange24h":{"type":"number","description":"Change in price over the past 24 hours, as an absolute probability delta.","uniqueKey":"data.additionalProperties.no.priceChange24h","typeLabel":"number"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.additionalProperties.no.metadata.additionalProperties","typeLabel":"any"},"description":"Exchange-specific metadata (e.g., clobTokenId for Polymarket)","uniqueKey":"data.additionalProperties.no.metadata","typeLabel":"object"}},"uniqueKey":"data.additionalProperties.no","typeLabel":"object"},"up":{"type":"object","description":"Convenience accessor for the UP outcome on a binary market.","required":["outcomeId","label","price"],"properties":{"outcomeId":{"type":"string","description":"Outcome ID for trading operations (CLOB Token ID for Polymarket, Market Ticker for Kalshi)","isRequired":true,"uniqueKey":"data.additionalProperties.up.outcomeId","typeLabel":"string"},"label":{"type":"string","description":"Human-readable outcome label (e.g., \"Yes\", \"No\", candidate name).","isRequired":true,"uniqueKey":"data.additionalProperties.up.label","typeLabel":"string"},"price":{"type":"number","description":"Probability between 0.0 and 1.0.","isRequired":true,"uniqueKey":"data.additionalProperties.up.price","typeLabel":"number"},"marketId":{"type":"string","description":"The market this outcome belongs to (set automatically when outcomes are built)","uniqueKey":"data.additionalProperties.up.marketId","typeLabel":"string"},"priceChange24h":{"type":"number","description":"Change in price over the past 24 hours, as an absolute probability delta.","uniqueKey":"data.additionalProperties.up.priceChange24h","typeLabel":"number"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.additionalProperties.up.metadata.additionalProperties","typeLabel":"any"},"description":"Exchange-specific metadata (e.g., clobTokenId for Polymarket)","uniqueKey":"data.additionalProperties.up.metadata","typeLabel":"object"}},"uniqueKey":"data.additionalProperties.up","typeLabel":"object"},"down":{"type":"object","description":"Convenience accessor for the DOWN outcome on a binary market.","required":["outcomeId","label","price"],"properties":{"outcomeId":{"type":"string","description":"Outcome ID for trading operations (CLOB Token ID for Polymarket, Market Ticker for Kalshi)","isRequired":true,"uniqueKey":"data.additionalProperties.down.outcomeId","typeLabel":"string"},"label":{"type":"string","description":"Human-readable outcome label (e.g., \"Yes\", \"No\", candidate name).","isRequired":true,"uniqueKey":"data.additionalProperties.down.label","typeLabel":"string"},"price":{"type":"number","description":"Probability between 0.0 and 1.0.","isRequired":true,"uniqueKey":"data.additionalProperties.down.price","typeLabel":"number"},"marketId":{"type":"string","description":"The market this outcome belongs to (set automatically when outcomes are built)","uniqueKey":"data.additionalProperties.down.marketId","typeLabel":"string"},"priceChange24h":{"type":"number","description":"Change in price over the past 24 hours, as an absolute probability delta.","uniqueKey":"data.additionalProperties.down.priceChange24h","typeLabel":"number"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.additionalProperties.down.metadata.additionalProperties","typeLabel":"any"},"description":"Exchange-specific metadata (e.g., clobTokenId for Polymarket)","uniqueKey":"data.additionalProperties.down.metadata","typeLabel":"object"}},"uniqueKey":"data.additionalProperties.down","typeLabel":"object"}},"required":["marketId","title","description","outcomes","volume24h","liquidity","url"],"uniqueKey":"data.additionalProperties","typeLabel":"object"},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"error":{"message":"\u003cstring>","code":"HOSTED_TRADING_ERROR","retryable":true,"exchange":"\u003cstring>","detail":{}},"data":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"3ebdf33a-141b-469f-a624-0bbe573308e4":{"url":"https://api.pmxt.dev","description":"Hosted PMXT (production)"}}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"pmxt","siteName":"PMXT","title":"Load Markets - PMXT","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-18T01:46:03.821Z","originalFileLocation":"api-reference/load-markets.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=\"Load and cache all markets from the exchange into this.markets and this.marketsBySlug. Subsequent calls return the cached result without hitting the API again. This is the correct way to paginate or iterate over markets without drift. Because fetchMarkets() always hits the API, repeated calls with different offset values may return inconsistent results if the exchange reorders or adds markets between requests. Use loadMarkets() once to get a stable snapshot, then paginate over Object.values(exchange.markets) locally.\">\u003cmeta data-mint-head name=\"application-name\" content=\"PMXT\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/pmxt/nI6ZNH5zN6ncgA0S/_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=\"/docs/mintlify-assets/_mintlify/favicons/pmxt/nI6ZNH5zN6ncgA0S/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/pmxt/nI6ZNH5zN6ncgA0S/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/pmxt/nI6ZNH5zN6ncgA0S/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/pmxt/nI6ZNH5zN6ncgA0S/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/pmxt/nI6ZNH5zN6ncgA0S/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/pmxt/nI6ZNH5zN6ncgA0S/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/pmxt/nI6ZNH5zN6ncgA0S/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/pmxt/nI6ZNH5zN6ncgA0S/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Load Markets - PMXT\">\u003cmeta data-mint-head property=\"og:description\" content=\"Load and cache all markets from the exchange into this.markets and this.marketsBySlug. Subsequent calls return the cached result without hitting the API again. This is the correct way to paginate or iterate over markets without drift. Because fetchMarkets() always hits the API, repeated calls with different offset values may return inconsistent results if the exchange reorders or adds markets between requests. Use loadMarkets() once to get a stable snapshot, then paginate over Object.values(exchange.markets) locally.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PMXT\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://pmxt.dev/docs/api-reference/load-markets\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pmxt.mintlify.site/docs/_mintlify/api/og/v2?division=System\u0026amp;title=Load+Markets\u0026amp;description=Load+and+cache+all+markets+from+the+exchange+into+%60this.markets%60+and+%60this.marketsBySlug%60.+Subsequent+calls+return+the+cached+result+without+hitting+the+API+aga\u0026amp;theme=9d0a33f37283fe0c0c33a8ab\u0026amp;signature=4a83930c1d0ade2cbc47c529d832375477476c8ffca3b18c147461ae0aabe3f6\">\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=\"Load Markets - PMXT\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Load and cache all markets from the exchange into this.markets and this.marketsBySlug. Subsequent calls return the cached result without hitting the API again. This is the correct way to paginate or iterate over markets without drift. Because fetchMarkets() always hits the API, repeated calls with different offset values may return inconsistent results if the exchange reorders or adds markets between requests. Use loadMarkets() once to get a stable snapshot, then paginate over Object.values(exchange.markets) locally.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pmxt.mintlify.site/docs/_mintlify/api/og/v2?division=System\u0026amp;title=Load+Markets\u0026amp;description=Load+and+cache+all+markets+from+the+exchange+into+%60this.markets%60+and+%60this.marketsBySlug%60.+Subsequent+calls+return+the+cached+result+without+hitting+the+API+aga\u0026amp;theme=9d0a33f37283fe0c0c33a8ab\u0026amp;signature=4a83930c1d0ade2cbc47c529d832375477476c8ffca3b18c147461ae0aabe3f6\">\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=\"/docs/mintlify-assets/_mintlify/favicons/pmxt/nI6ZNH5zN6ncgA0S/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PMXT\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0B0B0B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://pmxt.dev/docs/api-reference/load-markets\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/load-markets.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://pmxt.dev/#organization\",\"name\":\"PMXT\",\"url\":\"https://pmxt.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pmxt/yNKlhpZ-Vdlsto1c/logo-light.png?fit=max\u0026auto=format\u0026n=yNKlhpZ-Vdlsto1c\u0026q=85\u0026s=ec1c43df58167b9e9f00e0ba0ce97498\"}},{\"@type\":\"WebSite\",\"@id\":\"https://pmxt.dev/docs#website\",\"name\":\"PMXT\",\"url\":\"https://pmxt.dev/docs\",\"publisher\":{\"@id\":\"https://pmxt.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://pmxt.dev/docs/api-reference/load-markets#webpage\",\"url\":\"https://pmxt.dev/docs/api-reference/load-markets\",\"name\":\"Load Markets\",\"description\":\"Load and cache all markets from the exchange into this.markets and this.marketsBySlug. Subsequent calls return the cached result without hitting the API again. This is the correct way to paginate or iterate over markets without drift. Because fetchMarkets() always hits the API, repeated calls with different offset values may return inconsistent results if the exchange reorders or adds markets between requests. Use loadMarkets() once to get a stable snapshot, then paginate over Object.values(exchange.markets) locally.\",\"dateModified\":\"2026-07-18T01:46:03.821Z\",\"isPartOf\":{\"@id\":\"https://pmxt.dev/docs#website\"},\"breadcrumb\":{\"@id\":\"https://pmxt.dev/docs/api-reference/load-markets#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://pmxt.dev/docs/api-reference/load-markets#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"System\",\"item\":\"https://pmxt.dev/docs/api-reference/server-health-check\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Load Markets\",\"item\":\"https://pmxt.dev/docs/api-reference/load-markets\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://pmxt.dev/docs/api-reference/load-markets#apireference\",\"headline\":\"Load Markets\",\"name\":\"Load Markets\",\"description\":\"Load and cache all markets from the exchange into this.markets and this.marketsBySlug. Subsequent calls return the cached result without hitting the API again. This is the correct way to paginate or iterate over markets without drift. Because fetchMarkets() always hits the API, repeated calls with different offset values may return inconsistent results if the exchange reorders or adds markets between requests. Use loadMarkets() once to get a stable snapshot, then paginate over Object.values(exchange.markets) locally.\",\"url\":\"https://pmxt.dev/docs/api-reference/load-markets\",\"mainEntityOfPage\":{\"@id\":\"https://pmxt.dev/docs/api-reference/load-markets#webpage\"},\"dateModified\":\"2026-07-18T01:46:03.821Z\",\"publisher\":{\"@id\":\"https://pmxt.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://pmxt.dev/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PMXT\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"PMXT\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/load-markets.md","siteName":"PMXT","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Router","pages":[{"title":"Router","href":"/router/overview"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Overview","href":"/api-reference/overview"}]},{"group":"System","pages":[{"title":"Server Health Check","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /health","href":"/api-reference/server-health-check"},{"title":"Load Markets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/{exchange}/loadMarkets","href":"/api-reference/load-markets"},{"title":"Close","description":"Close all WebSocket connections and clean up resources. Call this when you're done streaming to properly release connections.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/{exchange}/close","href":"/api-reference/close"}]},{"group":"Events \u0026 Markets","pages":[{"title":"Fetch Events","openapi":"GET /api/{exchange}/fetchEvents","href":"/api-reference/fetch-events"},{"title":"Fetch Events Paginated","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/{exchange}/fetchEventsPaginated","href":"/api-reference/fetch-events-paginated"},{"title":"Fetch Event","openapi":"GET /api/{exchange}/fetchEvent","href":"/api-reference/fetch-event"},{"title":"Fetch Markets","openapi":"GET /api/{exchange}/fetchMarkets","href":"/api-reference/fetch-markets"},{"title":"Fetch Markets Paginated","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/{exchange}/fetchMarketsPaginated","href":"/api-reference/fetch-markets-paginated"},{"title":"Fetch Market","openapi":"GET /api/{exchange}/fetchMarket","href":"/api-reference/fetch-market"}]},{"group":"Trading","pages":[{"title":"Create Order","deprecated":null,"version":null,"openapi":"/api-reference/openapi-hosted-trading.json post /v0/trade/create-order","href":"/api-reference/trading/create-order"},{"title":"Build Order","deprecated":null,"version":null,"openapi":"/api-reference/openapi-hosted-trading.json post /v0/trade/build-order","href":"/api-reference/trading/build-order"},{"title":"Submit Order","deprecated":null,"version":null,"openapi":"/api-reference/openapi-hosted-trading.json post /v0/trade/submit-order","href":"/api-reference/trading/submit-order"},{"title":"Cancel Order","deprecated":null,"version":null,"openapi":"/api-reference/openapi-hosted-trading.json post /v0/orders/cancel/build","href":"/api-reference/trading/cancel-order"}]},{"group":"Orders \u0026 Positions","pages":[{"title":"Fetch Order","deprecated":null,"version":null,"openapi":"/api-reference/openapi-hosted-trading.json get /v0/orders/{order_id}","href":"/api-reference/orders-\u0026-positions/fetch-order"},{"title":"Fetch Open Orders","deprecated":null,"version":null,"openapi":"/api-reference/openapi-hosted-trading.json get /v0/orders/open","href":"/api-reference/orders-\u0026-positions/fetch-open-orders"},{"title":"Fetch My Trades","deprecated":null,"version":null,"openapi":"/api-reference/openapi-hosted-trading.json get /v0/user/{address}/trades","href":"/api-reference/orders-\u0026-positions/fetch-my-trades"},{"title":"Fetch Positions","deprecated":null,"version":null,"openapi":"/api-reference/openapi-hosted-trading.json get /v0/user/{address}/positions","href":"/api-reference/orders-\u0026-positions/fetch-positions"},{"title":"Fetch Balance","deprecated":null,"version":null,"openapi":"/api-reference/openapi-hosted-trading.json get /v0/user/{address}/balances","href":"/api-reference/orders-\u0026-positions/fetch-balance"}]},{"group":"Cross Exchange","pages":[{"title":"Fetch matched event clusters","deprecated":null,"version":null,"openapi":"/api-reference/openapi-hosted.json get /v0/matched-event-clusters","href":"/api-reference/matchedmarkets/fetch-matched-event-clusters"},{"title":"Fetch matched market clusters","deprecated":null,"version":null,"openapi":"/api-reference/openapi-hosted.json get /v0/matched-market-clusters","href":"/api-reference/matchedmarkets/fetch-matched-market-clusters"}]},{"group":"Order Book \u0026 Trades","pages":[{"title":"Fetch OHLCV","openapi":"GET /api/{exchange}/fetchOHLCV","href":"/api-reference/fetch-ohlcv"},{"title":"Fetch Order Book","openapi":"GET /api/{exchange}/fetchOrderBook","href":"/api-reference/fetch-order-book"},{"title":"Fetch Order Books","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/{exchange}/fetchOrderBooks","href":"/api-reference/fetch-order-books"},{"title":"Fetch Trades","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/{exchange}/fetchTrades","href":"/api-reference/fetch-trades"},{"title":"Get Execution Price","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/{exchange}/getExecutionPrice","href":"/api-reference/get-execution-price"},{"title":"Get Execution Price Detailed","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/{exchange}/getExecutionPriceDetailed","href":"/api-reference/get-execution-price-detailed"}]},{"group":"Realtime","pages":[{"title":"WebSocket Overview","href":"/api-reference/websocket"},{"title":"watchAllOrderBooks","href":"/api-reference/watch-all-order-books"},{"title":"watchOrderBook","href":"/api-reference/watch-order-book"},{"title":"watchOrderBooks","href":"/api-reference/watch-order-books"},{"title":"watchTrades","href":"/api-reference/watch-trades"}]},{"group":"Data Feeds","pages":[{"title":"List Available Feeds","deprecated":null,"version":null,"tag":"Data Feeds","openapi":"/api-reference/openapi.json get /api/feeds","href":"/api-reference/data-feeds/list-available-feeds"},{"title":"Load Feed Markets","deprecated":null,"version":null,"tag":"Data Feeds","openapi":"/api-reference/openapi.json get /api/feeds/{feed}/loadMarkets","href":"/api-reference/data-feeds/load-feed-markets"},{"title":"Fetch Ticker","deprecated":null,"version":null,"tag":"Data Feeds","openapi":"/api-reference/openapi.json get /api/feeds/{feed}/fetchTicker","href":"/api-reference/data-feeds/fetch-ticker"},{"title":"Fetch Tickers","deprecated":null,"version":null,"tag":"Data Feeds","openapi":"/api-reference/openapi.json get /api/feeds/{feed}/fetchTickers","href":"/api-reference/data-feeds/fetch-tickers"},{"title":"Fetch OHLCV","deprecated":null,"version":null,"tag":"Data Feeds","openapi":"/api-reference/openapi.json get /api/feeds/{feed}/fetchOHLCV","href":"/api-reference/data-feeds/fetch-ohlcv"},{"title":"Fetch Order Book","deprecated":null,"version":null,"tag":"Data Feeds","openapi":"/api-reference/openapi.json get /api/feeds/{feed}/fetchOrderBook","href":"/api-reference/data-feeds/fetch-order-book"},{"title":"Watch Ticker (WebSocket)","deprecated":null,"version":null,"tag":"Data Feeds","openapi":"/api-reference/openapi.json get /api/feeds/{feed}/watchTicker","href":"/api-reference/data-feeds/watch-ticker-websocket"},{"title":"Fetch Oracle Round","deprecated":null,"version":null,"tag":"Data Feeds","openapi":"/api-reference/openapi.json get /api/feeds/{feed}/fetchOracleRound","href":"/api-reference/data-feeds/fetch-oracle-round"},{"title":"Fetch Oracle History","deprecated":null,"version":null,"tag":"Data Feeds","openapi":"/api-reference/openapi.json get /api/feeds/{feed}/fetchOracleHistory","href":"/api-reference/data-feeds/fetch-oracle-history"},{"title":"Fetch Historical Prices","deprecated":null,"version":null,"tag":"Data Feeds","openapi":"/api-reference/openapi.json get /api/feeds/{feed}/fetchHistoricalPrices","href":"/api-reference/data-feeds/fetch-historical-prices"}]},{"group":"Other","pages":[{"title":"Get Auth Nonce","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/{exchange}/getAuthNonce","href":"/api-reference/get-auth-nonce"},{"title":"Login With Signature","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/{exchange}/loginWithSignature","href":"/api-reference/login-with-signature"},{"title":"Logout","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/{exchange}/logout","href":"/api-reference/logout"},{"title":"Is Session Active","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/{exchange}/isSessionActive","href":"/api-reference/is-session-active"},{"title":"Fetch Series","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/{exchange}/fetchSeries","href":"/api-reference/fetch-series"},{"title":"Fetch Event Metadata","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/{exchange}/fetchEventMetadata","href":"/api-reference/fetch-event-metadata"}]},{"group":"Enterprise","pages":[{"title":"Execute a read-only SQL query against ClickHouse","deprecated":null,"version":null,"openapi":"/api-reference/openapi-hosted.json post /v0/sql","href":"/api-reference/sql/execute-a-read-only-sql-query-against-clickhouse"}]}]}]},"basePath":"","title":"Load Markets - PMXT","buildId":"dpl_2AK98Hxhwu4fUXpx9atbv41cC328","deploymentId":"dpl_2AK98Hxhwu4fUXpx9atbv41cC328","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-EBSrFTg1.js","utils-Y_7TcRh4.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D1wvvkPH.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-aT0ty6oN.js","snippetPresets-DoNRuyJc.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-CXRajFpn.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BAyOsINj.js","shallow-CIcHqV1v.js","getApiPlaygroundDisplay-C5igZwEf.js","CodeSnippet-BFWnQLNh.js","CodeSnippets-Cx2mFgZW.js","Page-DCFaZE46.js","getPastedJson-BOy09PZp.js","icon-BwmYtB6R.js","MethodPill-DAIhq-iu.js","DuplicateIcon-DFM8Q3ph.js","createIcon-0UdvzB4Z.js","DynamicMarkdown-DYYZTGpa.js","SectionHeading-BFCDRUuH.js","axios-vUo_bRtp.js","Markdown-C6TcKjiR.js","clsx-Y_UC780V.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-PCbBHBTv.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-D4q_oRML.js"]}