Reuse one connection for every request, and where we run.
Opening an HTTPS connection costs two round trips before your request is sent. On
an order that is dead time, and it is the single largest thing you control.
Create one client when your process starts and reuse it, rather than creating
one per request.The Python SDK holds its connection open for you from 3.2.3, with nothing to set:
Python
from parlayx import ParlayXclient = ParlayX()
On the TypeScript SDK, from 1.4.3, it is an option, because the setting it needs
is process-wide and we will not reach into a transport you configured yourself:
We advertise no keep-alive, so whatever your client does by default is what
happens. Most hang up after a few seconds of quiet, which means a request sent
after a pause pays for a new connection.Raise your idle timeout to 50 seconds and reuse one client. We hold an idle
connection for at least 90 seconds, so 50 leaves room. Nothing breaks if you go
higher or lower; you simply pay for more reconnects.
The API is served from edge locations worldwide, so your TLS handshake finishes
near you wherever you are. Orders are then routed from US East (Ohio).If you run your own infrastructure and latency is what you care about most, place
it in that region. A client already there, holding its connection open, is as
close to us as you can get.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ParlayX","colors":{"primary":"#0e73d9","light":"#38bdf8","dark":"#2681dd"},"logo":"https://mintcdn.com/parlayx-354f6e31/kGR2m84YMVNG4tFk/logo/parlayx.svg?fit=max\u0026auto=format\u0026n=kGR2m84YMVNG4tFk\u0026q=85\u0026s=06febd929246e16d28377394b6b434e1","favicon":"https://mintcdn.com/parlayx-354f6e31/1kQxPpqooxrF0_2C/logo/favicon.svg?fit=max\u0026auto=format\u0026n=1kQxPpqooxrF0_2C\u0026q=85\u0026s=b89ae9a3f19cc0daa4d50f98a0167386","navbar":{"links":[{"href":"https://www.npmjs.com/package/@parlayx/sdk","label":"npm"}],"primary":{"type":"button","label":"App","href":"https://app.parlayx.com/"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"parlayx-354f6e31","hasAudioNarration":false,"actualSubdomain":"parlayx-354f6e31","customDomains":["docs.parlayx.com"],"gitSource":{"type":"github","owner":"parlayx","repo":"aggregator","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ace932a800a49acfafacfab","collectionId":"378e96a1-e25b-404f-ae6c-6c5ec936702a","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ace932a800a49acfafacfab"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ace932a800a49acfafacfab","clientVersion":"0.0.3908","searchFilterCounts":[{"language":"default","tag":"API Reference","count":49},{"language":"default","tag":"Guides","count":23},{"language":"default","tag":"Reference","count":13},{"language":"default","tag":"Kalshi","count":12},{"language":"default","tag":"Limitless","count":11},{"language":"default","tag":"SDK","count":10},{"language":"default","tag":"ProphetX","count":10},{"language":"default","tag":"WebSocket API","count":9},{"language":"default","tag":"Polymarket","count":9},{"language":"default","tag":"Core Concepts","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-branches-v2-autocommit","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-branches-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"teamspace","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"client-snapshot-docs-config","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"div:has(>.nav-tag-pill>[data-nav-tag=WSS]){order:-1}[data-component-part=update-tag]{padding:.125rem .5rem;border:1px solid color-mix(in srgb,currentColor 35%,transparent);border-radius:.375rem}"}],"page":{"pagePath":"connections","slug":"/connections","pageMetadata":{"title":"Connections","description":"Reuse one connection for every request, and where we run.","href":"/connections"},"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: \"Reuse one connection for every request, and where we run.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Opening an HTTPS connection costs two round trips before your request is sent. On\nan order that is dead time, and it is the single largest thing you control.`}),`\n`,_jsx(Heading,{level:`2`,id:`reuse-one-connection`,children:`Reuse one connection`}),`\n`,_jsx(_components.p,{children:`Create one client when your process starts and reuse it, rather than creating\none per request.`}),`\n`,_jsx(_components.p,{children:`The Python SDK holds its connection open for you from 3.2.3, with nothing to set:`}),`\n`,_jsx(CodeBlock,{filename:`Python`,numberOfLines:`3`,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:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` parlayx `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ParlayX`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ParlayX()`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`On the TypeScript SDK, from 1.4.3, it is an option, because the setting it needs\nis process-wide and we will not reach into a transport you configured yourself:`}),`\n`,_jsx(CodeBlock,{filename:`TypeScript`,numberOfLines:`7`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,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:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`createClient`}),_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:` \"@parlayx/sdk\"`}),_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:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` createClient`}),_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:` keyId:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`PARLAYX_KEY_ID`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_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:` privateKeyHex:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`PARLAYX_PRIVATE_KEY_HEX`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_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:` keepAliveConnections:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Leave it off if you reach us through a proxy or with custom TLS, and set the\nidle timeout on your own transport instead.`}),`\n`,_jsx(Heading,{level:`2`,id:`on-your-own-http-client`,children:`On your own HTTP client`}),`\n`,_jsx(_components.p,{children:`We advertise no keep-alive, so whatever your client does by default is what\nhappens. Most hang up after a few seconds of quiet, which means a request sent\nafter a pause pays for a new connection.`}),`\n`,_jsxs(_components.p,{children:[`Raise your idle timeout to `,_jsx(_components.strong,{children:`50 seconds`}),` and reuse one client. We hold an idle\nconnection for at least 90 seconds, so 50 leaves room. Nothing breaks if you go\nhigher or lower; you simply pay for more reconnects.`]}),`\n`,_jsx(Heading,{level:`2`,id:`where-we-run`,children:`Where we run`}),`\n`,_jsxs(_components.p,{children:[`The API is served from edge locations worldwide, so your TLS handshake finishes\nnear you wherever you are. Orders are then routed from `,_jsx(_components.strong,{children:`US East (Ohio)`}),`.`]}),`\n`,_jsx(_components.p,{children:`If you run your own infrastructure and latency is what you care about most, place\nit in that region. A client already there, holding its connection open, is as\nclose to us as you can get.`})]})}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":"Connections","description":"Reuse one connection for every request, and where we run.","href":"/connections"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Reuse one connection","slug":"reuse-one-connection","depth":2,"children":[]},{"title":"On your own HTTP client","slug":"on-your-own-http-client","depth":2,"children":[]},{"title":"Where we run","slug":"where-we-run","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"parlayx-354f6e31","siteName":"ParlayX","title":"Connections - ParlayX","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-26T23:12:56.746Z","originalFileLocation":"connections.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=\"Reuse one connection for every request, and where we run.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ParlayX\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/parlayx-354f6e31/SG1KgLRVYP9mzviX/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/parlayx-354f6e31/SG1KgLRVYP9mzviX/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/parlayx-354f6e31/SG1KgLRVYP9mzviX/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/parlayx-354f6e31/SG1KgLRVYP9mzviX/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/parlayx-354f6e31/SG1KgLRVYP9mzviX/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/parlayx-354f6e31/SG1KgLRVYP9mzviX/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/parlayx-354f6e31/SG1KgLRVYP9mzviX/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/parlayx-354f6e31/SG1KgLRVYP9mzviX/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/parlayx-354f6e31/SG1KgLRVYP9mzviX/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Connections - ParlayX\">\u003cmeta data-mint-head property=\"og:description\" content=\"Reuse one connection for every request, and where we run.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ParlayX\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.parlayx.com/connections\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Connections - ParlayX\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Reuse one connection for every request, and where we run.\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/parlayx-354f6e31/SG1KgLRVYP9mzviX/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ParlayX\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0e73d9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.parlayx.com/connections\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/connections.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.parlayx.com/#organization\",\"name\":\"ParlayX\",\"url\":\"https://docs.parlayx.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/parlayx-354f6e31/kGR2m84YMVNG4tFk/logo/parlayx.svg?fit=max\u0026auto=format\u0026n=kGR2m84YMVNG4tFk\u0026q=85\u0026s=06febd929246e16d28377394b6b434e1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.parlayx.com#website\",\"name\":\"ParlayX\",\"url\":\"https://docs.parlayx.com\",\"publisher\":{\"@id\":\"https://docs.parlayx.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.parlayx.com/connections#webpage\",\"url\":\"https://docs.parlayx.com/connections\",\"name\":\"Connections\",\"description\":\"Reuse one connection for every request, and where we run.\",\"dateModified\":\"2026-09-26T23:12:56.746Z\",\"isPartOf\":{\"@id\":\"https://docs.parlayx.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.parlayx.com/connections#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.parlayx.com/connections#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Reference\",\"item\":\"https://docs.parlayx.com/faq\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connections\",\"item\":\"https://docs.parlayx.com/connections\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.parlayx.com/connections#article\",\"headline\":\"Connections\",\"name\":\"Connections\",\"description\":\"Reuse one connection for every request, and where we run.\",\"url\":\"https://docs.parlayx.com/connections\",\"mainEntityOfPage\":{\"@id\":\"https://docs.parlayx.com/connections#webpage\"},\"dateModified\":\"2026-09-26T23:12:56.746Z\",\"publisher\":{\"@id\":\"https://docs.parlayx.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.parlayx.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ParlayX\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"ParlayX","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Welcome","pages":[{"title":"Welcome to ParlayX","href":"/welcome"}]},{"group":"Core Concepts","pages":[{"title":"Core Concepts","href":"/core-concepts"},{"title":"Organization","href":"/organization"},{"title":"Pods","href":"/pods"},{"title":"Traders and Permissions","href":"/traders-and-permissions"},{"title":"Custody and Key Management","href":"/custody-and-key-management"},{"title":"Off-Boarding \u0026 Revocation","href":"/off-boarding-and-revocation"},{"title":"Security","href":"/security"}]},{"group":"Get Started","pages":[{"title":"Getting Started","href":"/getting-started"},{"title":"Deposit","href":"/deposit"},{"title":"Withdraw","href":"/withdraw"}]},{"group":"Venues \u0026 Markets","pages":[{"title":"Venues","href":"/venues"},{"title":"Polymarket","href":"/polymarket"},{"title":"Kalshi","href":"/kalshi"},{"title":"ProphetX","href":"/prophetx"},{"title":"Limitless","href":"/limitless"},{"title":"Market Mappings","href":"/market-mappings"}]},{"group":"Balance","pages":[{"title":"Portfolio and Positions","href":"/portfolio-and-positions"},{"title":"Transfer (Move Funds)","href":"/rebalance"}]},{"group":"Reference","pages":[{"title":"FAQ","href":"/faq"},{"title":"Authentication","href":"/authentication"},{"title":"Rate limits","description":"Your request budget, the headers that report it, and how to handle a 429.","href":"/rate-limits"},{"title":"Connections","href":"/connections"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/authentication/get-identity"}]},{"tab":"WebSocket API","pages":[{"title":"WebSocket API","href":"/streaming/overview"}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk/installation"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"title":"Connections - ParlayX","buildId":"dpl_CUnGQP1HgFUzoxatVC37y4zP83Vx","deploymentId":"dpl_CUnGQP1HgFUzoxatVC37y4zP83Vx","dynamics":[],"chunks":[]}