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.
Each event contains a markets array with full market details including outcomes and prices. This is useful for building dashboards or comparing outcomes across an event’s markets:
Filter events by their parent series. Accepts the venue-native series id / ticker / slug (e.g. Kalshi "KXATPMATCH", Polymarket "wta"). Passed through to the vendor where supported, otherwise applied to sourceMetadata after fetch.
Filter by category. Each event belongs to a venue-assigned category such as "Sports", "Politics", "Crypto", "Bitcoin", "Soccer", "Economic Policy" (Polymarket) or "Sports", "Mentions" (Kalshi).
Filter by tags. Returns events matching ANY of the provided tags. Tags are more specific than categories -- for example a "Politics" event might carry tags ["Politics", "Geopolitics", "Middle East", "Iran"]. Common tags include "Crypto", "Elections", "Fed Rates", "FIFA World Cup", "Trump".
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.
A grouped collection of related markets (e.g., "Who will be Fed Chair?" contains multiple candidate markets).
Show child attributes
Was this page helpful?
{"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/fetch-event","slug":"/api-reference/fetch-event","pageMetadata":{"title":"Fetch Event","openapi":"GET /api/{exchange}/fetchEvent","description":"Fetch a single event by lookup parameters. Convenience wrapper around fetchEvents() that returns a single result or throws EventNotFound.","href":"/api-reference/fetch-event"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Fetch a single event by lookup parameters. Convenience wrapper around fetchEvents() that returns a single result or throws EventNotFound.\"\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={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Info}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`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. `,_jsx(_components.a,{href:`/concepts/unified-schema`,children:`Learn more`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`use-cases`,children:`Use cases`}),`\n`,_jsx(Heading,{level:`3`,id:`look-up-by-slug`,children:`Look up by slug`}),`\n`,_jsx(_components.p,{children:`Slugs are the most reliable way to look up a specific event — they are human-readable, stable, and easy to share or store in config:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Python`,numberOfLines:`6`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` pmxt`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Optional: pass pmxt_api_key for ~100x faster catalog-backed lookups`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`api `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` pmxt.Polymarket()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`event `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` api.fetch_event(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`slug`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"presidential-election-winner-2028\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(event.title, event.volume_24h)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`6`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Polymarket`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"pmxtjs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Optional: pass pmxtApiKey for ~100x faster catalog-backed lookups`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` api`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Polymarket`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` event`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` api`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fetchEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`slug:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"presidential-election-winner-2028\"`}),_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\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`event`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`event`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`volume24h`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`curl`,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.pmxt.dev/api/polymarket/fetchEvent?slug=presidential-election-winner-2028\"`}),_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:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$PMXT_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`look-up-by-event-id`,children:`Look up by event ID`}),`\n`,_jsxs(_components.p,{children:[`When you already have an event ID from a previous API call or webhook, use `,_jsx(_components.code,{children:`eventId`}),` for a direct lookup:`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Python`,numberOfLines:`5`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` pmxt`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`api `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` pmxt.Polymarket()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`event `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` api.fetch_event(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`event_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a49db286-39ca-4119-9de5-1335a92ef92a\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(event.title, event.url)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`5`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Polymarket`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"pmxtjs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` api`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Polymarket`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` event`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` api`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fetchEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`eventId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"a49db286-39ca-4119-9de5-1335a92ef92a\"`}),_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\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`event`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`event`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`curl`,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.pmxt.dev/api/polymarket/fetchEvent?eventId=a49db286-39ca-4119-9de5-1335a92ef92a\"`}),_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:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$PMXT_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`access-markets-within-an-event`,children:`Access markets within an event`}),`\n`,_jsxs(_components.p,{children:[`Each event contains a `,_jsx(_components.code,{children:`markets`}),` array with full market details including outcomes and prices. This is useful for building dashboards or comparing outcomes across an event’s markets:`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Python`,numberOfLines:`7`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` pmxt`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`api `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` pmxt.Limitless()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`event `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` api.fetch_event(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`slug`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"presidential-election-winner-2028-1769010522121\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` market `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` event.markets:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`market.title`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`market.outcomes[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`].price`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:.0%}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`8`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Limitless`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"pmxtjs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` api`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Limitless`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` event`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` api`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fetchEvent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`slug:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"presidential-election-winner-2028-1769010522121\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` market`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` of`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` event`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`markets`}),_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\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_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:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`market`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`title`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`market`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`outcomes`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`].`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`price`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` *`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 100`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`toFixed`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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(CodeBlock,{filename:`curl`,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.pmxt.dev/api/limitless/fetchEvent?slug=presidential-election-winner-2028-1769010522121\"`}),_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:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$PMXT_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\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":"Fetch Event","openapi":"GET /api/{exchange}/fetchEvent","description":"Fetch a single event by lookup parameters. Convenience wrapper around fetchEvents() that returns a single result or throws EventNotFound.","href":"/api-reference/fetch-event"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Use cases","slug":"use-cases","depth":2,"children":[{"title":"Look up by slug","slug":"look-up-by-slug","depth":3,"children":[]},{"title":"Look up by event ID","slug":"look-up-by-event-id","depth":3,"children":[]},{"title":"Access markets within an event","slug":"access-markets-within-an-event","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/pmxt/85e8314434873745/mcp-override.js"],"openApiReferenceData":{"operation":{"summary":"Fetch Event","operationId":"fetchEvent","parameters":["8bcc3d97-8b42-4629-862a-a9dd1bd5990e","a44a7507-ec6f-4785-ab13-a0319c5df523","4965746d-e6db-4794-a25d-7d29e9597782","a73e7c4b-94cd-470d-bb2f-9a6232b8de2b","510fd8ee-1d77-4ba4-bfb9-b8f4f0039a64","23fbee4f-5572-4d10-880b-f7c473d8a958","cd48657c-ae45-4c27-99fc-572ad1931f18","cbb587a4-24af-4f4f-aeca-b3de9b92d449","bd5a6f40-b121-488d-a175-a4baed1c3876","c94ce759-5184-438c-895b-a53995e56377","b2b7cf9e-49f0-4d1f-a243-808bfdfef9dd","8de14c79-ad75-4d73-8f4b-b637784dabf3","57308582-893a-4f5f-96ef-6d80ad0a32b6","94d3cb44-379d-41f3-82fd-b80e67a9d136","9417c33e-326b-428d-8f06-843ca728a3e5","faa7d94c-8b3a-46c6-982a-450f967816ed"],"responses":{"200":"c84caba1-ec41-4849-9073-08a905c672f8"},"description":"Fetch a single event by lookup parameters. Convenience wrapper around fetchEvents() that returns a single result or throws EventNotFound.","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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"}],"method":"get","type":"path","servers":["3ebdf33a-141b-469f-a624-0bbe573308e4"],"path":"/api/{exchange}/fetchEvent","baseUrlOptions":["https://api.pmxt.dev"],"title":"Fetch Event","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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetch_event(event_id=\"12345\")"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"},{"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.fetchEvent({ eventId: \"12345\" });"}],"requestExampleLanguages":["python","javascript","bash","go","java"],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"8bcc3d97-8b42-4629-862a-a9dd1bd5990e":{"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."},"a44a7507-ec6f-4785-ab13-a0319c5df523":{"in":"query","name":"query","required":false,"schema":{"type":"string","isRequired":false,"description":"For keyword search","uniqueKey":"","typeLabel":"string"},"description":"For keyword search"},"4965746d-e6db-4794-a25d-7d29e9597782":{"in":"query","name":"limit","required":false,"schema":{"type":"number","isRequired":false,"description":"Maximum number of results to return","uniqueKey":"","typeLabel":"number"},"description":"Maximum number of results to return"},"a73e7c4b-94cd-470d-bb2f-9a6232b8de2b":{"in":"query","name":"cursor","required":false,"schema":{"type":"string","isRequired":false,"description":"Opaque venue pagination cursor, where supported.","uniqueKey":"","typeLabel":"string"},"description":"Opaque venue pagination cursor, where supported."},"510fd8ee-1d77-4ba4-bfb9-b8f4f0039a64":{"in":"query","name":"offset","required":false,"schema":{"type":"number","isRequired":false,"description":"Pagination offset — number of results to skip","uniqueKey":"","typeLabel":"number"},"description":"Pagination offset — number of results to skip"},"23fbee4f-5572-4d10-880b-f7c473d8a958":{"in":"query","name":"sort","required":false,"schema":{"type":"string","enum":["volume","liquidity","newest"],"isRequired":false,"description":"Sort order for results","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Sort order for results"},"cd48657c-ae45-4c27-99fc-572ad1931f18":{"in":"query","name":"status","required":false,"schema":{"type":"string","enum":["active","inactive","closed","all"],"isRequired":false,"description":"Filter by event status (default: 'active', 'inactive' and 'closed' are interchangeable)","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Filter by event status (default: 'active', 'inactive' and 'closed' are interchangeable)"},"cbb587a4-24af-4f4f-aeca-b3de9b92d449":{"in":"query","name":"searchIn","required":false,"schema":{"type":"string","enum":["title","description","both"],"isRequired":false,"description":"Where to search (default: 'title')","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Where to search (default: 'title')"},"bd5a6f40-b121-488d-a175-a4baed1c3876":{"in":"query","name":"eventId","required":false,"schema":{"type":"string","isRequired":false,"description":"Direct lookup by event ID","uniqueKey":"","typeLabel":"string"},"description":"Direct lookup by event ID"},"c94ce759-5184-438c-895b-a53995e56377":{"in":"query","name":"slug","required":false,"schema":{"type":"string","isRequired":false,"description":"Lookup by event slug","uniqueKey":"","typeLabel":"string"},"description":"Lookup by event slug"},"b2b7cf9e-49f0-4d1f-a243-808bfdfef9dd":{"in":"query","name":"series","required":false,"schema":{"type":"string","isRequired":false,"description":"Filter events by their parent series. Accepts the venue-native series id / ticker / slug (e.g. Kalshi `\"KXATPMATCH\"`, Polymarket `\"wta\"`). Passed through to the vendor where supported, otherwise applied to `sourceMetadata` after fetch.","uniqueKey":"","typeLabel":"string"},"description":"Filter events by their parent series. Accepts the venue-native series id / ticker / slug (e.g. Kalshi `\"KXATPMATCH\"`, Polymarket `\"wta\"`). Passed through to the vendor where supported, otherwise applied to `sourceMetadata` after fetch."},"8de14c79-ad75-4d73-8f4b-b637784dabf3":{"in":"query","name":"filter","required":false,"schema":{"type":"object","properties":{"text":{"type":"string","uniqueKey":"text","typeLabel":"string"},"searchIn":{"type":"array","items":{"type":"string","enum":["title","description","category","tags"],"uniqueKey":"searchIn.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Default: ['title']","uniqueKey":"searchIn","typeLabel":"enum\u003cstring>[]"},"category":{"type":"string","description":"Filter by category. Common values: \"Sports\", \"Politics\", \"Crypto\", \"Bitcoin\", \"Soccer\", \"Economic Policy\" (Polymarket) or \"Sports\", \"Mentions\" (Kalshi).","uniqueKey":"category","typeLabel":"string"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"description":"Match events that have ANY of these tags. Examples: [\"Crypto\"], [\"Politics\", \"Geopolitics\", \"Middle East\"], [\"Sports\", \"FIFA World Cup\"].","uniqueKey":"tags","typeLabel":"string[]"},"marketCount":{"type":"object","properties":{"min":{"type":"number","uniqueKey":"marketCount.min","typeLabel":"number"},"max":{"type":"number","uniqueKey":"marketCount.max","typeLabel":"number"}},"uniqueKey":"marketCount","typeLabel":"object"},"totalVolume":{"type":"object","properties":{"min":{"type":"number","uniqueKey":"totalVolume.min","typeLabel":"number"},"max":{"type":"number","uniqueKey":"totalVolume.max","typeLabel":"number"}},"description":"Sum of market volumes","uniqueKey":"totalVolume","typeLabel":"object"}},"isRequired":false,"description":"Optional client-side filter applied after fetching","uniqueKey":"","typeLabel":"object"},"description":"Optional client-side filter applied after fetching"},"57308582-893a-4f5f-96ef-6d80ad0a32b6":{"in":"query","name":"category","required":false,"schema":{"type":"string","isRequired":false,"description":"Filter by category. Each event belongs to a venue-assigned category such as \"Sports\", \"Politics\", \"Crypto\", \"Bitcoin\", \"Soccer\", \"Economic Policy\" (Polymarket) or \"Sports\", \"Mentions\" (Kalshi).","uniqueKey":"","typeLabel":"string"},"description":"Filter by category. Each event belongs to a venue-assigned category such as \"Sports\", \"Politics\", \"Crypto\", \"Bitcoin\", \"Soccer\", \"Economic Policy\" (Polymarket) or \"Sports\", \"Mentions\" (Kalshi)."},"94d3cb44-379d-41f3-82fd-b80e67a9d136":{"in":"query","name":"tags","required":false,"schema":{"type":"array","items":{"type":"string","uniqueKey":"items.[INDEX]","typeLabel":"string"},"isRequired":false,"description":"Filter by tags. Returns events matching ANY of the provided tags. Tags are more specific than categories -- for example a \"Politics\" event might carry tags [\"Politics\", \"Geopolitics\", \"Middle East\", \"Iran\"]. Common tags include \"Crypto\", \"Elections\", \"Fed Rates\", \"FIFA World Cup\", \"Trump\".","uniqueKey":"","typeLabel":"string[]"},"description":"Filter by tags. Returns events matching ANY of the provided tags. Tags are more specific than categories -- for example a \"Politics\" event might carry tags [\"Politics\", \"Geopolitics\", \"Middle East\", \"Iran\"]. Common tags include \"Crypto\", \"Elections\", \"Fed Rates\", \"FIFA World Cup\", \"Trump\"."},"9417c33e-326b-428d-8f06-843ca728a3e5":{"in":"query","name":"sourceExchange","required":false,"schema":{"type":"string","isRequired":false,"description":"Filter by source venue (e.g. 'polymarket', 'kalshi', 'myriad'). `exchange` is an alias.","uniqueKey":"","typeLabel":"string"},"description":"Filter by source venue (e.g. 'polymarket', 'kalshi', 'myriad'). `exchange` is an alias."},"faa7d94c-8b3a-46c6-982a-450f967816ed":{"in":"query","name":"exchange","required":false,"schema":{"type":"string","isRequired":false,"description":"Alias for `sourceExchange`.","uniqueKey":"","typeLabel":"string"},"description":"Alias for `sourceExchange`."}},"responses":{"c84caba1-ec41-4849-9073-08a905c672f8":{"description":"Fetch Event 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","description":"A grouped collection of related markets (e.g., \"Who will be Fed Chair?\" contains multiple candidate markets).","properties":{"id":{"type":"string","description":"The unique identifier for this event.","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"title":{"type":"string","description":"The event title (e.g., \"Who will be Fed Chair?\").","isRequired":true,"uniqueKey":"data.title","typeLabel":"string"},"description":{"type":"string","description":"Long-form event description.","isRequired":true,"uniqueKey":"data.description","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly slug for the event.","isRequired":true,"uniqueKey":"data.slug","typeLabel":"string"},"markets":{"type":"array","items":{"type":"object","properties":{"marketId":{"type":"string","description":"The unique identifier for this market","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].marketId","typeLabel":"string"},"title":{"type":"string","description":"The market title (e.g., \"Will BTC close above $100k on Dec 31?\").","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].title","typeLabel":"string"},"description":{"type":"string","description":"Long-form market description or resolution criteria.","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].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.markets.items.[INDEX].outcomes.items.[INDEX].outcomeId","typeLabel":"string"},"label":{"type":"string","description":"Human-readable outcome label (e.g., \"Yes\", \"No\", candidate name).","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].outcomes.items.[INDEX].label","typeLabel":"string"},"price":{"type":"number","description":"Probability between 0.0 and 1.0.","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].outcomes.items.[INDEX].price","typeLabel":"number"},"marketId":{"type":"string","description":"The market this outcome belongs to (set automatically when outcomes are built)","uniqueKey":"data.markets.items.[INDEX].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.markets.items.[INDEX].outcomes.items.[INDEX].priceChange24h","typeLabel":"number"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.markets.items.[INDEX].outcomes.items.[INDEX].metadata.additionalProperties","typeLabel":"any"},"description":"Exchange-specific metadata (e.g., clobTokenId for Polymarket)","uniqueKey":"data.markets.items.[INDEX].outcomes.items.[INDEX].metadata","typeLabel":"object"}},"required":["outcomeId","label","price"],"uniqueKey":"data.markets.items.[INDEX].outcomes.items.[INDEX]","typeLabel":"object"},"description":"The possible outcomes for this market.","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].outcomes","typeLabel":"object[]"},"volume24h":{"type":"number","description":"Trading volume over the past 24 hours (USD).","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].volume24h","typeLabel":"number"},"liquidity":{"type":"number","description":"Current market liquidity (USD).","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].liquidity","typeLabel":"number"},"url":{"type":"string","description":"Canonical URL to view the market on the venue.","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].url","typeLabel":"string"},"eventId":{"type":"string","description":"Link to parent event","uniqueKey":"data.markets.items.[INDEX].eventId","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly slug for the market.","uniqueKey":"data.markets.items.[INDEX].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.markets.items.[INDEX].resolutionDate","typeLabel":"string\u003cdate-time>"},"volume":{"type":"number","description":"Total / Lifetime volume","uniqueKey":"data.markets.items.[INDEX].volume","typeLabel":"number"},"openInterest":{"type":"number","description":"Total value of outstanding contracts (USD).","uniqueKey":"data.markets.items.[INDEX].openInterest","typeLabel":"number"},"image":{"type":"string","description":"Optional image URL for the market.","uniqueKey":"data.markets.items.[INDEX].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.markets.items.[INDEX].category","typeLabel":"string"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"data.markets.items.[INDEX].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.markets.items.[INDEX].tags","typeLabel":"string[]"},"tickSize":{"type":"number","description":"Minimum price increment (e.g., 0.01, 0.001)","uniqueKey":"data.markets.items.[INDEX].tickSize","typeLabel":"number"},"status":{"type":"string","description":"Venue-native lifecycle status (e.g. 'active', 'closed', 'archived').","uniqueKey":"data.markets.items.[INDEX].status","typeLabel":"string"},"contractAddress":{"type":"string","description":"On-chain contract / condition identifier where applicable (Polymarket conditionId, etc.).","uniqueKey":"data.markets.items.[INDEX].contractAddress","typeLabel":"string"},"sourceMetadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.markets.items.[INDEX].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.markets.items.[INDEX].sourceMetadata","typeLabel":"object"},"sourceExchange":{"type":"string","description":"The exchange/venue this market originates from (e.g. 'polymarket', 'kalshi'). Populated by the Router.","uniqueKey":"data.markets.items.[INDEX].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.markets.items.[INDEX].yes.outcomeId","typeLabel":"string"},"label":{"type":"string","description":"Human-readable outcome label (e.g., \"Yes\", \"No\", candidate name).","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].yes.label","typeLabel":"string"},"price":{"type":"number","description":"Probability between 0.0 and 1.0.","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].yes.price","typeLabel":"number"},"marketId":{"type":"string","description":"The market this outcome belongs to (set automatically when outcomes are built)","uniqueKey":"data.markets.items.[INDEX].yes.marketId","typeLabel":"string"},"priceChange24h":{"type":"number","description":"Change in price over the past 24 hours, as an absolute probability delta.","uniqueKey":"data.markets.items.[INDEX].yes.priceChange24h","typeLabel":"number"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.markets.items.[INDEX].yes.metadata.additionalProperties","typeLabel":"any"},"description":"Exchange-specific metadata (e.g., clobTokenId for Polymarket)","uniqueKey":"data.markets.items.[INDEX].yes.metadata","typeLabel":"object"}},"uniqueKey":"data.markets.items.[INDEX].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.markets.items.[INDEX].no.outcomeId","typeLabel":"string"},"label":{"type":"string","description":"Human-readable outcome label (e.g., \"Yes\", \"No\", candidate name).","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].no.label","typeLabel":"string"},"price":{"type":"number","description":"Probability between 0.0 and 1.0.","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].no.price","typeLabel":"number"},"marketId":{"type":"string","description":"The market this outcome belongs to (set automatically when outcomes are built)","uniqueKey":"data.markets.items.[INDEX].no.marketId","typeLabel":"string"},"priceChange24h":{"type":"number","description":"Change in price over the past 24 hours, as an absolute probability delta.","uniqueKey":"data.markets.items.[INDEX].no.priceChange24h","typeLabel":"number"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.markets.items.[INDEX].no.metadata.additionalProperties","typeLabel":"any"},"description":"Exchange-specific metadata (e.g., clobTokenId for Polymarket)","uniqueKey":"data.markets.items.[INDEX].no.metadata","typeLabel":"object"}},"uniqueKey":"data.markets.items.[INDEX].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.markets.items.[INDEX].up.outcomeId","typeLabel":"string"},"label":{"type":"string","description":"Human-readable outcome label (e.g., \"Yes\", \"No\", candidate name).","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].up.label","typeLabel":"string"},"price":{"type":"number","description":"Probability between 0.0 and 1.0.","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].up.price","typeLabel":"number"},"marketId":{"type":"string","description":"The market this outcome belongs to (set automatically when outcomes are built)","uniqueKey":"data.markets.items.[INDEX].up.marketId","typeLabel":"string"},"priceChange24h":{"type":"number","description":"Change in price over the past 24 hours, as an absolute probability delta.","uniqueKey":"data.markets.items.[INDEX].up.priceChange24h","typeLabel":"number"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.markets.items.[INDEX].up.metadata.additionalProperties","typeLabel":"any"},"description":"Exchange-specific metadata (e.g., clobTokenId for Polymarket)","uniqueKey":"data.markets.items.[INDEX].up.metadata","typeLabel":"object"}},"uniqueKey":"data.markets.items.[INDEX].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.markets.items.[INDEX].down.outcomeId","typeLabel":"string"},"label":{"type":"string","description":"Human-readable outcome label (e.g., \"Yes\", \"No\", candidate name).","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].down.label","typeLabel":"string"},"price":{"type":"number","description":"Probability between 0.0 and 1.0.","isRequired":true,"uniqueKey":"data.markets.items.[INDEX].down.price","typeLabel":"number"},"marketId":{"type":"string","description":"The market this outcome belongs to (set automatically when outcomes are built)","uniqueKey":"data.markets.items.[INDEX].down.marketId","typeLabel":"string"},"priceChange24h":{"type":"number","description":"Change in price over the past 24 hours, as an absolute probability delta.","uniqueKey":"data.markets.items.[INDEX].down.priceChange24h","typeLabel":"number"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.markets.items.[INDEX].down.metadata.additionalProperties","typeLabel":"any"},"description":"Exchange-specific metadata (e.g., clobTokenId for Polymarket)","uniqueKey":"data.markets.items.[INDEX].down.metadata","typeLabel":"object"}},"uniqueKey":"data.markets.items.[INDEX].down","typeLabel":"object"}},"required":["marketId","title","description","outcomes","volume24h","liquidity","url"],"uniqueKey":"data.markets.items.[INDEX]","typeLabel":"object"},"description":"Markets grouped under this event.","isRequired":true,"uniqueKey":"data.markets","typeLabel":"object[]"},"volume24h":{"type":"number","description":"Trading volume over the past 24 hours (USD).","isRequired":true,"uniqueKey":"data.volume24h","typeLabel":"number"},"url":{"type":"string","description":"Canonical URL to view the event on the venue.","isRequired":true,"uniqueKey":"data.url","typeLabel":"string"},"volume":{"type":"number","description":"Total / Lifetime volume (sum across markets; undefined if no market provides it)","uniqueKey":"data.volume","typeLabel":"number"},"image":{"type":"string","description":"Optional image URL for the event.","uniqueKey":"data.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.category","typeLabel":"string"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"data.tags.items.[INDEX]","typeLabel":"string"},"description":"Optional list of tags. More granular than category — e.g. [\"Sports\", \"FIFA World Cup\", \"2026 FIFA World Cup\"] or [\"Politics\", \"Geopolitics\", \"Middle East\"]. Tags vary by venue: Polymarket markets carry several, Kalshi typically one.","uniqueKey":"data.tags","typeLabel":"string[]"},"sourceMetadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"data.sourceMetadata.additionalProperties","typeLabel":"any"},"description":"Raw venue-specific metadata not captured by first-class fields (e.g. Kalshi series_ticker / series_title, Polymarket series). Passed through verbatim so downstream consumers can recover anything the unified shape omits. Each venue populates what it has.","uniqueKey":"data.sourceMetadata","typeLabel":"object"},"sourceExchange":{"type":"string","description":"The exchange/venue this event originates from (e.g. 'polymarket', 'kalshi'). Populated by the Router.","uniqueKey":"data.sourceExchange","typeLabel":"string"}},"required":["id","title","description","slug","markets","volume24h","url"],"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":{"id":"\u003cstring>","title":"\u003cstring>","description":"\u003cstring>","slug":"\u003cstring>","markets":[{"marketId":"\u003cstring>","title":"\u003cstring>","description":"\u003cstring>","outcomes":[{"outcomeId":"\u003cstring>","label":"\u003cstring>","price":123,"marketId":"\u003cstring>","priceChange24h":123,"metadata":{}}],"volume24h":123,"liquidity":123,"url":"\u003cstring>","eventId":"\u003cstring>","slug":"\u003cstring>","resolutionDate":"2023-11-07T05:31:56Z","volume":123,"openInterest":123,"image":"\u003cstring>","category":"\u003cstring>","tags":["\u003cstring>"],"tickSize":123,"status":"\u003cstring>","contractAddress":"\u003cstring>","sourceMetadata":{},"sourceExchange":"\u003cstring>","yes":{"outcomeId":"\u003cstring>","label":"\u003cstring>","price":123,"marketId":"\u003cstring>","priceChange24h":123,"metadata":{}},"no":{"outcomeId":"\u003cstring>","label":"\u003cstring>","price":123,"marketId":"\u003cstring>","priceChange24h":123,"metadata":{}},"up":{"outcomeId":"\u003cstring>","label":"\u003cstring>","price":123,"marketId":"\u003cstring>","priceChange24h":123,"metadata":{}},"down":{"outcomeId":"\u003cstring>","label":"\u003cstring>","price":123,"marketId":"\u003cstring>","priceChange24h":123,"metadata":{}}}],"volume24h":123,"url":"\u003cstring>","volume":123,"image":"\u003cstring>","category":"\u003cstring>","tags":["\u003cstring>"],"sourceMetadata":{},"sourceExchange":"\u003cstring>"}}}},"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":"Fetch Event - PMXT","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-18T09:57:23.913Z","originalFileLocation":"api-reference/fetch-event.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=\"Fetch a single event by lookup parameters. Convenience wrapper around fetchEvents() that returns a single result or throws EventNotFound.\">\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=\"Fetch Event - PMXT\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fetch a single event by lookup parameters. Convenience wrapper around fetchEvents() that returns a single result or throws EventNotFound.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PMXT\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://pmxt.dev/docs/api-reference/fetch-event\">\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=Events+%26+Markets\u0026amp;title=Fetch+Event\u0026amp;description=Fetch+a+single+event+by+lookup+parameters.+Convenience+wrapper+around+fetchEvents%28%29+that+returns+a+single+result+or+throws+EventNotFound.\u0026amp;theme=9d0a33f37283fe0c0c33a8ab\u0026amp;signature=f1ba543729ce134f38ff2242016939a1ef451262f5e5d733bb3d9b495d80ee2c\">\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=\"Fetch Event - PMXT\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fetch a single event by lookup parameters. Convenience wrapper around fetchEvents() that returns a single result or throws EventNotFound.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pmxt.mintlify.site/docs/_mintlify/api/og/v2?division=Events+%26+Markets\u0026amp;title=Fetch+Event\u0026amp;description=Fetch+a+single+event+by+lookup+parameters.+Convenience+wrapper+around+fetchEvents%28%29+that+returns+a+single+result+or+throws+EventNotFound.\u0026amp;theme=9d0a33f37283fe0c0c33a8ab\u0026amp;signature=f1ba543729ce134f38ff2242016939a1ef451262f5e5d733bb3d9b495d80ee2c\">\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/fetch-event\">\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/fetch-event.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/fetch-event#webpage\",\"url\":\"https://pmxt.dev/docs/api-reference/fetch-event\",\"name\":\"Fetch Event\",\"description\":\"Fetch a single event by lookup parameters. Convenience wrapper around fetchEvents() that returns a single result or throws EventNotFound.\",\"dateModified\":\"2026-06-18T09:57:23.913Z\",\"isPartOf\":{\"@id\":\"https://pmxt.dev/docs#website\"},\"breadcrumb\":{\"@id\":\"https://pmxt.dev/docs/api-reference/fetch-event#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://pmxt.dev/docs/api-reference/fetch-event#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Events \u0026 Markets\",\"item\":\"https://pmxt.dev/docs/api-reference/fetch-events\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fetch Event\",\"item\":\"https://pmxt.dev/docs/api-reference/fetch-event\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://pmxt.dev/docs/api-reference/fetch-event#apireference\",\"headline\":\"Fetch Event\",\"name\":\"Fetch Event\",\"description\":\"Fetch a single event by lookup parameters. Convenience wrapper around fetchEvents() that returns a single result or throws EventNotFound.\",\"url\":\"https://pmxt.dev/docs/api-reference/fetch-event\",\"mainEntityOfPage\":{\"@id\":\"https://pmxt.dev/docs/api-reference/fetch-event#webpage\"},\"dateModified\":\"2026-06-18T09:57:23.913Z\",\"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/fetch-event.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","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","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","description":"Paginated variant of {@link fetchEvents}. On the first call (no `cursor`), all events are fetched from the exchange and cached in an in-memory snapshot. A cursor is returned along with the first page. Subsequent calls with that cursor serve additional pages directly from the cached snapshot -- no additional API calls are made. The snapshot is invalidated after `snapshotTTL` ms (configured via `ExchangeOptions` in the constructor). A request using a cursor from an expired snapshot throws `'Cursor has expired'`.","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","description":"Fetch markets with optional filtering, search, or slug lookup. Always hits the exchange API — results reflect the live state at the time of the call.","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":"Fetch Event - 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"]}