Exchange all proxies on an order — every assigned IP is released and a fresh set of the same quantity is allocated, preferring servers that did not hold your previous IPs.The endpoint also supports cross-product exchange: send a target product and the same quantity is reassigned from a different datacenter pool. Omit the body (or send {}) to exchange within the same pool with unchanged behavior.
This feature requires the proxy_exchange feature to be enabled for your organization. Without it, requests return 403 Forbidden. Contact support if you need access. This endpoint only works on active datacenter orders (orders scheduled to cancel keep exchange rights until they expire).
Rate limits. Exchange and replace are limited two ways:
Per order: one exchange per 15 minutes (a 429 response includes retry_after_seconds).
Per API key: at most 10 exchange/replace calls per minute combined, on top of the general 60 req/min limit.
The product ID of the datacenter product to move the order into, for example sprint or captcha. Case-sensitive. If it matches the order’s current product, a normal same-pool exchange runs. The aliases product_type and target_product_id are also accepted.
For a same-pool exchange, previous_product_type and product_type are identical. Some responses also include details.proxies, the full list of new proxies in ip:port:username:password format.
{ "response": "error", "message": "Proxies for this order were exchanged recently. You can exchange again in about N minute(s).", "retry_after_seconds": 840}
One exchange per order is allowed every 15 minutes, including exchanges made from the dashboard. The retry_after_seconds field tells you how long to wait.Going over the per-key limit of 10 calls per minute returns a different body:
{ "error": "rate_limited", "message": "Rate limit for proxy-mutating operations exceeded for this key."}
The exchange process takes a few seconds to complete
Your proxy username and password remain the same
The new IPs are usually different from your previous ones; overlapping_ips reports any that were reassigned
Always compare new_count to requested_count. If they differ, the exchange finished with fewer IPs than ordered; contact support
A same-pool exchange does not affect your billing or subscription
A cross-product exchange switches your subscription to the new product’s price with no proration, and can change your proxy port. Use details.proxy_port from the response
To swap a single IP instead of the whole set, use Replace Proxy
When moving an order to a different product, changes happen in a safe order:
If the target pool cannot fully assign the requested quantity, the old proxies, the order record, and the Stripe subscription are all left unchanged.
Stripe is updated only after the new target proxies are fully assigned.
Source proxies are deleted only after target assignment and the Stripe update both succeed.
If the old proxies can’t be fully removed after the switch, you get a 500 asking you to contact support. Your new proxies and the subscription change are kept.
If you need the proxy exchange feature enabled for your organization:
Contact Support
Email us to enable proxy exchange for your organization.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Stat Proxies","colors":{"primary":"#10B981","light":"#34D399","dark":"#059669"},"logo":{"light":"https://mintcdn.com/statproxies/F50S_mnKvy2HL5XJ/logo/header-logo-nav.png?fit=max\u0026auto=format\u0026n=F50S_mnKvy2HL5XJ\u0026q=85\u0026s=559f073447efcad1ac3df69f669af0aa","dark":"https://mintcdn.com/statproxies/F50S_mnKvy2HL5XJ/logo/header-logo-nav.png?fit=max\u0026auto=format\u0026n=F50S_mnKvy2HL5XJ\u0026q=85\u0026s=559f073447efcad1ac3df69f669af0aa"},"favicon":"https://mintcdn.com/statproxies/F50S_mnKvy2HL5XJ/favicon.ico?fit=max\u0026auto=format\u0026n=F50S_mnKvy2HL5XJ\u0026q=85\u0026s=c381978d14b178e29d4461e03eb64195","navbar":{"links":[{"href":"https://discord.gg/6gExKHK","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.statproxies.com"}},"footer":{"socials":{"discord":"https://discord.gg/6gExKHK","x":"https://x.com/statproxies"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://dashboard.statproxies.com"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/6gExKHK"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"statproxies","hasAudioNarration":false,"actualSubdomain":"statproxies","customDomains":["docs.statproxies.com"],"gitSource":{"type":"github","owner":"limitedhype","repo":"stat-proxies-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ad039a11b140aa9ff57e883","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":16},{"language":"default","tag":"Help Center","count":14},{"language":"default","tag":"Order API","count":11},{"language":"default","tag":"Getting Started","count":7},{"language":"default","tag":"Billing \u0026 Account","count":4},{"language":"default","tag":"Troubleshooting","count":3},{"language":"default","tag":"Integration Guides","count":3},{"language":"default","tag":"Account API","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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/order/exchange-proxies","slug":"/api-reference/order/exchange-proxies","pageMetadata":{"title":"Exchange Proxies","description":"Replace all IP addresses in an order with new ones, optionally swapping to a different product.","api":"POST https://dashboard.statproxies.com/api/v2/order/exchange/{order_id}","href":"/api-reference/order/exchange-proxies"},"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: \"Replace all IP addresses in an order with new ones, optionally swapping to a different product.\"\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`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CodeBlock,Heading,Info,ParamField,ResponseField,Step,Steps,Table,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Exchange all proxies on an order — every assigned IP is released and a fresh set of the same quantity is allocated, preferring servers that did not hold your previous IPs.`}),`\n`,_jsxs(_components.p,{children:[`The endpoint also supports `,_jsx(_components.strong,{children:`cross-product exchange`}),`: send a target product and the same quantity is reassigned from a different datacenter pool. Omit the body (or send `,_jsx(_components.code,{children:`{}`}),`) to exchange within the same pool with unchanged behavior.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`This feature requires the `,_jsx(_components.code,{children:`proxy_exchange`}),` feature to be enabled for your organization. Without it, requests return `,_jsx(_components.strong,{children:`403 Forbidden`}),`. Contact support if you need access. This endpoint only works on `,_jsx(_components.strong,{children:`active datacenter`}),` orders (orders scheduled to cancel keep exchange rights until they expire).`]})}),`\n`,_jsxs(Info,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Rate limits.`}),` Exchange and replace are limited two ways:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Per order:`}),` one exchange per `,_jsx(_components.strong,{children:`15 minutes`}),` (a `,_jsx(_components.strong,{children:`429`}),` response includes `,_jsx(_components.code,{children:`retry_after_seconds`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Per API key:`}),` at most `,_jsx(_components.strong,{children:`10 exchange/replace calls per minute`}),` combined, on top of the general 60 req/min limit.`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Header`}),_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Required`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Authorization`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bearer {your_api_key}`})}),_jsx(_components.td,{children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Content-Type`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`application/json`})}),_jsx(_components.td,{children:`Only for cross-product exchange`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`order_id`,type:`string`,required:true,id:`param-order-id`,children:_jsx(_components.p,{children:`The order ID for which to exchange proxies.`})}),`\n`,_jsx(Heading,{level:`3`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsxs(_components.p,{children:[`The body is optional. Omit it (or send `,_jsx(_components.code,{children:`{}`}),`) for a same-pool exchange. To exchange into a different datacenter pool, provide the target product:`]}),`\n`,_jsx(ParamField,{body:`target_product_type`,type:`string`,id:`param-target-product-type`,children:_jsxs(_components.p,{children:[`The product ID of the datacenter product to move the order into, for example `,_jsx(_components.code,{children:`sprint`}),` or `,_jsx(_components.code,{children:`captcha`}),`. Case-sensitive. If it matches the order’s current product, a normal same-pool exchange runs. The aliases `,_jsx(_components.code,{children:`product_type`}),` and `,_jsx(_components.code,{children:`target_product_id`}),` are also accepted.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`example-request`,children:`Example Request`}),`\n`,_jsx(_components.p,{children:`Same-pool exchange (unchanged behavior):`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://dashboard.statproxies.com/api/v2/order/exchange/sub_1rqjp3jb4g9i6pkhdwmkpjob\"`}),_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 {your_api_key}\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Cross-product exchange:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://dashboard.statproxies.com/api/v2/order/exchange/sub_1rqjp3jb4g9i6pkhdwmkpjob\"`}),_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 {your_api_key}\"`}),_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:` \"Content-Type: application/json\"`}),_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:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"target_product_type\": \"captcha\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The aliases `,_jsx(_components.code,{children:`product_type`}),` and `,_jsx(_components.code,{children:`target_product_id`}),` accept the same value:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"product_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"captcha\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"target_product_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"captcha\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(Heading,{level:`3`,id:`success-response`,children:`Success Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"response\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Proxies exchanged successfully\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"order_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub_1rqjp3jb4g9i6pkhdwmkpjob\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"previous_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"new_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"requested_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"overlapping_ips\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"previous_product_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sprint\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"product_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"captcha\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"proxy_port\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3128`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`For a same-pool exchange, `,_jsx(_components.code,{children:`previous_product_type`}),` and `,_jsx(_components.code,{children:`product_type`}),` are identical. Some responses also include `,_jsx(_components.code,{children:`details.proxies`}),`, the full list of new proxies in `,_jsx(_components.code,{children:`ip:port:username:password`}),` format.`]}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ResponseField,{name:`response`,type:`string`,id:`param-response`,children:_jsx(_components.p,{children:`Status of the request.`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Human-readable result message.`})}),`\n`,_jsx(ResponseField,{name:`details`,type:`object`,id:`param-details`,children:_jsx(_components.p,{children:`Exchange operation details.`})}),`\n`,_jsx(ResponseField,{name:`details.order_id`,type:`string`,id:`param-details-order-id`,children:_jsx(_components.p,{children:`The order ID that was processed.`})}),`\n`,_jsx(ResponseField,{name:`details.previous_count`,type:`integer`,id:`param-details-previous-count`,children:_jsx(_components.p,{children:`Number of IPs before the exchange.`})}),`\n`,_jsx(ResponseField,{name:`details.new_count`,type:`integer`,id:`param-details-new-count`,children:_jsx(_components.p,{children:`Number of IPs after the exchange.`})}),`\n`,_jsx(ResponseField,{name:`details.requested_count`,type:`integer`,id:`param-details-requested-count`,children:_jsx(_components.p,{children:`Number of IPs requested (based on order quantity).`})}),`\n`,_jsx(ResponseField,{name:`details.overlapping_ips`,type:`integer`,id:`param-details-overlapping-ips`,children:_jsx(_components.p,{children:`Number of IPs that are the same between old and new (should be 0 ideally).`})}),`\n`,_jsx(ResponseField,{name:`details.previous_product_type`,type:`string`,id:`param-details-previous-product-type`,children:_jsxs(_components.p,{children:[`The product the order was on before the exchange. Matches `,_jsx(_components.code,{children:`product_type`}),` for a same-pool exchange.`]})}),`\n`,_jsx(ResponseField,{name:`details.product_type`,type:`string`,id:`param-details-product-type`,children:_jsx(_components.p,{children:`The product the order is on after the exchange.`})}),`\n`,_jsx(ResponseField,{name:`details.proxy_port`,type:`integer`,id:`param-details-proxy-port`,children:_jsx(_components.p,{children:`The proxy port for the order’s current product.`})}),`\n`,_jsx(Heading,{level:`3`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsx(Heading,{level:`4`,id:`403-forbidden-feature-not-enabled`,children:`403 Forbidden - Feature Not Enabled`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"response\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Proxy exchange feature is not enabled for your organization. Contact support to enable this feature.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`404-not-found`,children:`404 Not Found`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"response\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Order not found or you don't have permission to access it\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`400-bad-request-order-not-active`,children:`400 Bad Request - Order Not Active`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"response\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Can only exchange proxies for active or cancelled (not yet expired) orders\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Orders scheduled to cancel keep exchange rights until they expire; only expired or terminated orders are refused.`}),`\n`,_jsx(Heading,{level:`4`,id:`400-bad-request-wrong-product-type`,children:`400 Bad Request - Wrong Product Type`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"response\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Proxy exchange is only available for datacenter products\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`429-too-many-requests-rate-limited`,children:`429 Too Many Requests - Rate Limited`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"response\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Proxies for this order were exchanged recently. You can exchange again in about N minute(s).\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"retry_after_seconds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`840`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`One exchange per order is allowed every 15 minutes, including exchanges made from the dashboard. The `,_jsx(_components.code,{children:`retry_after_seconds`}),` field tells you how long to wait.`]}),`\n`,_jsx(_components.p,{children:`Going over the per-key limit of 10 calls per minute returns a different body:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rate_limited\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Rate limit for proxy-mutating operations exceeded for this key.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`500-internal-server-error`,children:`500 Internal Server Error`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"response\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Internal server error during proxy exchange\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`other-errors`,children:`Other Errors`}),`\n`,_jsxs(_components.p,{children:[`All of these use the `,_jsx(_components.code,{children:`{\"response\": \"error\", \"message\": \"...\"}`}),` shape. Unless the message says otherwise, nothing on the order was changed.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Message`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Invalid target_product_type`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Target product must be a datacenter product`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`No active servers available for target product`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Insufficient inventory for target product`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`This order uses dedicated IP ranges and cannot be exchanged. Contact support if you need changes to these ranges.`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Not enough eligible inventory is available to exchange this order right now; nothing was changed. Please contact support.`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Order already has proxies in the target product pool. Contact support before retrying.`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`We could not verify this order's current proxies, so nothing was changed. Please retry in a few minutes or contact support.`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Could not fully assign proxies from the target product. Source proxies were left unchanged.`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Failed to update subscription product. Source proxies were left unchanged.`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Could not assign a full replacement set; your current proxies were left unchanged. Please retry or contact support.`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Target proxies were assigned, but source proxy cleanup did not fully complete. Contact support.`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`The exchange could not be verified and has been paused for review; support has been notified. Please do not retry until you hear from us.`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How It Works`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Request Exchange`,children:_jsx(_components.p,{children:`You call the exchange endpoint with your order ID.`})}),_jsx(Step,{title:`Current IPs Removed`,children:_jsx(_components.p,{children:`Your current proxy IPs are released.`})}),_jsx(Step,{title:`New IPs Assigned`,children:_jsx(_components.p,{children:`Fresh IPs from the available pool are assigned to your order.`})}),_jsx(Step,{title:`Confirmation`,children:_jsx(_components.p,{children:`The response confirms the exchange with before/after counts.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`requirements`,children:`Requirements`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Active order`}),`: The order must be active, or cancelled but not yet expired (orders scheduled to cancel keep exchange rights until expiration)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Datacenter product`}),`: Exchange is only available for datacenter proxy products`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Feature enabled`}),`: Your organization must have the `,_jsx(_components.code,{children:`proxy_exchange`}),` feature enabled`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Within rate limits`}),`: One exchange per order every 15 minutes, and at most 10 exchange/replace calls per minute per API key`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`use-cases`,children:`Use Cases`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`IP blocked`}),`: Get fresh IPs if your current ones are blocked`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Clean slate`}),`: Start with unused IPs for a new project`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Rotation`}),`: Periodic IP rotation for long-running operations`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The exchange process takes a few seconds to complete`}),`\n`,_jsx(_components.li,{children:`Your proxy username and password remain the same`}),`\n`,_jsxs(_components.li,{children:[`The new IPs are usually different from your previous ones; `,_jsx(_components.code,{children:`overlapping_ips`}),` reports any that were reassigned`]}),`\n`,_jsxs(_components.li,{children:[`Always compare `,_jsx(_components.code,{children:`new_count`}),` to `,_jsx(_components.code,{children:`requested_count`}),`. If they differ, the exchange finished with fewer IPs than ordered; contact support`]}),`\n`,_jsx(_components.li,{children:`A same-pool exchange does not affect your billing or subscription`}),`\n`,_jsxs(_components.li,{children:[`A cross-product exchange switches your subscription to the new product’s price with no proration, and can change your proxy port. Use `,_jsx(_components.code,{children:`details.proxy_port`}),` from the response`]}),`\n`,_jsxs(_components.li,{children:[`To swap a `,_jsx(_components.strong,{children:`single`}),` IP instead of the whole set, use `,_jsx(_components.a,{href:`/api-reference/order/replace-proxy`,children:`Replace Proxy`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`cross-product-exchange-safety`,children:`Cross-product exchange safety`}),`\n`,_jsx(_components.p,{children:`When moving an order to a different product, changes happen in a safe order:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`If the target pool cannot fully assign the requested quantity, the old proxies, the order record, and the Stripe subscription are `,_jsx(_components.strong,{children:`all left unchanged`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Stripe is updated `,_jsx(_components.strong,{children:`only after`}),` the new target proxies are fully assigned.`]}),`\n`,_jsxs(_components.li,{children:[`Source proxies are deleted `,_jsx(_components.strong,{children:`only after`}),` target assignment and the Stripe update both succeed.`]}),`\n`,_jsxs(_components.li,{children:[`If the old proxies can’t be fully removed after the switch, you get a `,_jsx(_components.strong,{children:`500`}),` asking you to contact support. Your new proxies and the subscription change are kept.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`getting-access`,children:`Getting Access`}),`\n`,_jsx(_components.p,{children:`If you need the proxy exchange feature enabled for your organization:`}),`\n`,_jsx(Card,{title:`Contact Support`,icon:`envelope`,href:`mailto:sales@statproxies.com`,children:_jsx(_components.p,{children:`Email us to enable proxy exchange for your organization.`})})]})}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":"Exchange Proxies","description":"Replace all IP addresses in an order with new ones, optionally swapping to a different product.","api":"POST https://dashboard.statproxies.com/api/v2/order/exchange/{order_id}","href":"/api-reference/order/exchange-proxies"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Path Parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Body Parameters","slug":"body-parameters","depth":3,"children":[]},{"title":"Example Request","slug":"example-request","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Success Response","slug":"success-response","depth":3,"children":[]},{"title":"Response Fields","slug":"response-fields","depth":3,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":3,"children":[]},{"title":"403 Forbidden - Feature Not Enabled","slug":"403-forbidden-feature-not-enabled","depth":4,"children":[]},{"title":"404 Not Found","slug":"404-not-found","depth":4,"children":[]},{"title":"400 Bad Request - Order Not Active","slug":"400-bad-request-order-not-active","depth":4,"children":[]},{"title":"400 Bad Request - Wrong Product Type","slug":"400-bad-request-wrong-product-type","depth":4,"children":[]},{"title":"429 Too Many Requests - Rate Limited","slug":"429-too-many-requests-rate-limited","depth":4,"children":[]},{"title":"500 Internal Server Error","slug":"500-internal-server-error","depth":4,"children":[]},{"title":"Other Errors","slug":"other-errors","depth":4,"children":[]}]},{"title":"How It Works","slug":"how-it-works","depth":2,"children":[]},{"title":"Requirements","slug":"requirements","depth":2,"children":[]},{"title":"Use Cases","slug":"use-cases","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[{"title":"Cross-product exchange safety","slug":"cross-product-exchange-safety","depth":3,"children":[]}]},{"title":"Getting Access","slug":"getting-access","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Exchange Proxies","path":"/api/v2/order/exchange/{order_id}","servers":[{"url":"https://dashboard.statproxies.com"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{"order_id":{"schema":[{"type":"string","description":"The order ID for which to exchange proxies.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"target_product_type":[{"type":"string","description":"The product ID of the datacenter product to move the order into, for example `sprint` or `captcha` . Case-sensitive. If it matches the order’s current product, a normal same-pool exchange runs. The aliases `product_type` and `target_product_id` are also accepted."}]}}],"examples":{"example":{"value":{"target_product_type":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"response":[{"type":"string","description":"Status of the request."}],"message":[{"type":"string","description":"Human-readable result message."}],"details":[{"type":"object","properties":{},"description":"Exchange operation details."}],"details.order_id":[{"type":"string","description":"The order ID that was processed."}],"details.previous_count":[{"type":"integer","description":"Number of IPs before the exchange."}],"details.new_count":[{"type":"integer","description":"Number of IPs after the exchange."}],"details.requested_count":[{"type":"integer","description":"Number of IPs requested (based on order quantity)."}],"details.overlapping_ips":[{"type":"integer","description":"Number of IPs that are the same between old and new (should be 0 ideally)."}],"details.previous_product_type":[{"type":"string","description":"The product the order was on before the exchange. Matches `product_type` for a same-pool exchange."}],"details.product_type":[{"type":"string","description":"The product the order is on after the exchange."}],"details.proxy_port":[{"type":"integer","description":"The proxy port for the order’s current product."}]}}],"examples":{"example":{"value":{"response":"\u003cstring>","message":"\u003cstring>","details":{},"details.order_id":"\u003cstring>","details.previous_count":123,"details.new_count":123,"details.requested_count":123,"details.overlapping_ips":123,"details.previous_product_type":"\u003cstring>","details.product_type":"\u003cstring>","details.proxy_port":123}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"statproxies","siteName":"Stat Proxies","title":"Exchange Proxies - Stat Proxies","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-05T04:03:30.661Z","originalFileLocation":"api-reference/order/exchange-proxies.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=\"Replace all IP addresses in an order with new ones, optionally swapping to a different product.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Stat Proxies\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/statproxies/XwrgOIj1Mk9LcHto/_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/statproxies/XwrgOIj1Mk9LcHto/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/statproxies/XwrgOIj1Mk9LcHto/_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/statproxies/XwrgOIj1Mk9LcHto/_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/statproxies/XwrgOIj1Mk9LcHto/_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/statproxies/XwrgOIj1Mk9LcHto/_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/statproxies/XwrgOIj1Mk9LcHto/_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/statproxies/XwrgOIj1Mk9LcHto/_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/statproxies/XwrgOIj1Mk9LcHto/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Exchange Proxies - Stat Proxies\">\u003cmeta data-mint-head property=\"og:description\" content=\"Replace all IP addresses in an order with new ones, optionally swapping to a different product.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Stat Proxies\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.statproxies.com/api-reference/order/exchange-proxies\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://statproxies.mintlify.site/_mintlify/api/og/v2?division=Order+API\u0026amp;title=Exchange+Proxies\u0026amp;description=Replace+all+IP+addresses+in+an+order+with+new+ones%2C+optionally+swapping+to+a+different+product.\u0026amp;theme=67d37c0441cee6590ffcec3f\u0026amp;signature=0785c8d7879146f6abc5c861a8efdde23d86f7b1cbe1bb9f32ebd725ff1ff65a\">\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=\"Exchange Proxies - Stat Proxies\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Replace all IP addresses in an order with new ones, optionally swapping to a different product.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://statproxies.mintlify.site/_mintlify/api/og/v2?division=Order+API\u0026amp;title=Exchange+Proxies\u0026amp;description=Replace+all+IP+addresses+in+an+order+with+new+ones%2C+optionally+swapping+to+a+different+product.\u0026amp;theme=67d37c0441cee6590ffcec3f\u0026amp;signature=0785c8d7879146f6abc5c861a8efdde23d86f7b1cbe1bb9f32ebd725ff1ff65a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/statproxies/XwrgOIj1Mk9LcHto/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Stat Proxies\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#10B981\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.statproxies.com/api-reference/order/exchange-proxies\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/order/exchange-proxies.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.statproxies.com/#organization\",\"name\":\"Stat Proxies\",\"url\":\"https://docs.statproxies.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/statproxies/F50S_mnKvy2HL5XJ/logo/header-logo-nav.png?fit=max\u0026auto=format\u0026n=F50S_mnKvy2HL5XJ\u0026q=85\u0026s=559f073447efcad1ac3df69f669af0aa\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.statproxies.com#website\",\"name\":\"Stat Proxies\",\"url\":\"https://docs.statproxies.com\",\"publisher\":{\"@id\":\"https://docs.statproxies.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.statproxies.com/api-reference/order/exchange-proxies#webpage\",\"url\":\"https://docs.statproxies.com/api-reference/order/exchange-proxies\",\"name\":\"Exchange Proxies\",\"description\":\"Replace all IP addresses in an order with new ones, optionally swapping to a different product.\",\"dateModified\":\"2026-10-05T04:03:30.661Z\",\"isPartOf\":{\"@id\":\"https://docs.statproxies.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.statproxies.com/api-reference/order/exchange-proxies#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.statproxies.com/api-reference/order/exchange-proxies#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Order API\",\"item\":\"https://docs.statproxies.com/api-reference/order/create-order\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Exchange Proxies\",\"item\":\"https://docs.statproxies.com/api-reference/order/exchange-proxies\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.statproxies.com/api-reference/order/exchange-proxies#apireference\",\"headline\":\"Exchange Proxies\",\"name\":\"Exchange Proxies\",\"description\":\"Replace all IP addresses in an order with new ones, optionally swapping to a different product.\",\"url\":\"https://docs.statproxies.com/api-reference/order/exchange-proxies\",\"mainEntityOfPage\":{\"@id\":\"https://docs.statproxies.com/api-reference/order/exchange-proxies#webpage\"},\"dateModified\":\"2026-10-05T04:03:30.661Z\",\"publisher\":{\"@id\":\"https://docs.statproxies.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.statproxies.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Stat Proxies\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Stat Proxies\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/order/exchange-proxies.md","siteName":"Stat Proxies","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://dashboard.statproxies.com"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/6gExKHK"}]},"tabs":[{"tab":"Help Center","pages":[{"title":"Help Center","href":"/articles/quick-start"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"API Reference","sidebarTitle":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"TCP Fingerprint Profiles","href":"/api-reference/fingerprint-profiles"}]},{"group":"Order API","pages":[{"title":"Create Order","api":"POST https://dashboard.statproxies.com/api/v2/order/newscale","href":"/api-reference/order/create-order"},{"title":"List Orders","api":"GET https://dashboard.statproxies.com/api/v2/order/list","href":"/api-reference/order/list-orders"},{"title":"Get Order","api":"GET https://dashboard.statproxies.com/api/v2/order/fetch/{order_id}","href":"/api-reference/order/get-order"},{"title":"Get Order Details","api":"GET https://dashboard.statproxies.com/api/v2/order/details/fetch","href":"/api-reference/order/get-order-details"},{"title":"Get Customer Orders","api":"GET https://dashboard.statproxies.com/api/v2/order/fetch/customer/{customer_id}","href":"/api-reference/order/get-customer-orders"},{"title":"Get Usage Statistics","description":"Retrieve live proxy usage statistics for a datacenter order.","api":"GET https://dashboard.statproxies.com/api/v2/order/usage/{order_id}","href":"/api-reference/order/get-usage"},{"title":"Exchange Proxies","api":"POST https://dashboard.statproxies.com/api/v2/order/exchange/{order_id}","href":"/api-reference/order/exchange-proxies"},{"title":"Replace Proxy","description":"Replace a single proxy IP on an order with a new one.","api":"POST https://dashboard.statproxies.com/api/v2/order/replace/{order_id}","href":"/api-reference/order/replace-proxy"},{"title":"Delete Order","api":"DELETE https://dashboard.statproxies.com/api/v2/order/delete/{subscription_id}/{product_id}","href":"/api-reference/order/delete-order"},{"title":"Uncancel Order","api":"POST https://dashboard.statproxies.com/api/v2/order/uncancel/{subscription_id}/{product_id}","href":"/api-reference/order/uncancel-order"},{"title":"Cancel \u0026 Refund","api":"POST https://dashboard.statproxies.com/api/v2/order/cancel-refund/{subscription_id}/{product_id}","href":"/api-reference/order/cancel-refund-order"}]},{"group":"Account API","pages":[{"title":"Get Order History","api":"GET https://dashboard.statproxies.com/api/v2/account/fetch/details/{customer_id}","href":"/api-reference/account/get-order-history"},{"title":"Get Active Orders","api":"GET https://dashboard.statproxies.com/api/v2/account/fetch/all/{customer_id}","href":"/api-reference/account/get-active-orders"}]}]}]},"basePath":"","title":"Exchange Proxies - Stat Proxies","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js"]}