Route individual sites through specific proxies, or straight out, using nine condition types.
In Auto mode, every request is matched against your rules in order. The first rule that matches decides where the request goes: through one of your profiles, or direct. If nothing matches, the fallback applies.Rules live on the Rules page in the extension’s options.
Condition types
Type
Matches
Example pattern
Exact domain
That host and nothing else
example.com
Domain + subdomains
The host and anything under it
example.com matches api.example.com
Host wildcard
Host with * wildcards
*.eu.example.org
URL wildcard
Full URL with * wildcards
https://example.com/api/*
Regex
Regular expression against the URL
^https?://cdn\d+\.example\.net
Exact URL
That URL and nothing else
https://example.com/login
URL prefix
URL starts with the pattern
https://example.com/admin
URL suffix
URL ends with the pattern
.pdf
URL contains
Pattern appears anywhere in the URL
/internal/
Order matters
Rules are evaluated top to bottom and the first match wins, so put the specific ones above the general ones. A rule for api.example.com placed below a example.com domain-and-subdomains rule will never fire.Reorder rules with the arrows on each row. Any rule can be disabled without deleting it.
The fallback
The fallback is what happens when no rule matches. It can be Direct or any profile. Set it at the bottom of the Rules page.
Path matching on HTTPS in Chrome
On Chrome and Edge, the four URL-based types — URL wildcard, exact URL, URL prefix, URL suffix — and any regex that depends on the path only see the hostname when the request is HTTPS.Chrome strips the path before handing the URL to the PAC script, so https://example.com/admin and https://example.com/anything-else are indistinguishable. Host-based conditions are unaffected and remain reliable.The extension flags affected rules in the interface rather than letting them silently under-match. Firefox resolves each request directly and sees the full URL.
Bypass list
The bypass list sits in front of the rules: anything it matches goes direct, regardless of mode. It accepts hostnames, globs, and CIDR ranges.These are bypassed by default:
Plain hostnames with no dot — the kind you get from an internal DNS suffix — are also treated as local and bypassed.
Regex safety
Regex patterns are validated before they are accepted. A pattern that could backtrack catastrophically is rejected with an explanation instead of being compiled into the PAC script, where it would stall every request in the browser.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ProxyJam API","description":"API documentation for ProxyJam, a static residential (ISP) proxy service.","colors":{"primary":"#0066FF","light":"#3385FF","dark":"#0047B3"},"logo":{"light":"https://mintcdn.com/proxyjam/kPBTrE2a37c1nnsv/images/logo-light.svg?fit=max\u0026auto=format\u0026n=kPBTrE2a37c1nnsv\u0026q=85\u0026s=de31db4ad6adcfb5d0a552eb56a9ff08","dark":"https://mintcdn.com/proxyjam/kPBTrE2a37c1nnsv/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=kPBTrE2a37c1nnsv\u0026q=85\u0026s=21e0dd5aa2cd0ab837fd9ffd1a6d04a5"},"favicon":"https://mintcdn.com/proxyjam/HIh9JWQwb4C4tepC/favicon.svg?fit=max\u0026auto=format\u0026n=HIh9JWQwb4C4tepC\u0026q=85\u0026s=cc34b466df1e0b4e9c5ed2820e2bac90","api":{"mdx":{"auth":{"method":"key","name":"X-API-Key"},"server":"https://api.proxyjam.com/public/v1"}},"appearance":{"default":"system","strict":false},"navbar":{"links":[{"href":"mailto:support@ProxyJam.com","label":"Support"}]},"footer":{"socials":{}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"proxyjam","hasAudioNarration":false,"actualSubdomain":"proxyjam","customDomains":["docs.proxyjam.com"],"gitSource":{"type":"github","owner":"getproxyjam","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b000c0a28dc5e301d81c735","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API Reference","count":29},{"language":"default","tag":"Browser extension","count":12},{"language":"default","tag":"ProxyJam Connector","count":12},{"language":"default","tag":"Overview","count":11},{"language":"default","tag":"IP reputation","count":6},{"language":"default","tag":"Mobile rotating proxies","count":6},{"language":"default","tag":"Proxy management","count":6},{"language":"default","tag":"Concepts","count":6},{"language":"default","tag":"Orders","count":5},{"language":"default","tag":"Getting started","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"extension/auto-switch-rules","slug":"/extension/auto-switch-rules","pageMetadata":{"title":"Auto-switch rules","description":"Route individual sites through specific proxies, or straight out, using nine condition types.","href":"/extension/auto-switch-rules"},"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: \"Route individual sites through specific proxies, or straight out, using nine condition types.\"\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`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`In Auto mode, every request is matched against your rules in order. The first rule that matches decides where the request goes: through one of your profiles, or direct. If nothing matches, the fallback applies.`}),`\n`,_jsx(_components.p,{children:`Rules live on the Rules page in the extension’s options.`}),`\n`,_jsx(Heading,{level:`2`,id:`condition-types`,children:`Condition types`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Matches`}),_jsx(_components.th,{children:`Example pattern`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Exact domain`}),_jsx(_components.td,{children:`That host and nothing else`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`example.com`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Domain + subdomains`}),_jsx(_components.td,{children:`The host and anything under it`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`example.com`}),` matches `,_jsx(_components.code,{children:`api.example.com`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Host wildcard`}),_jsxs(_components.td,{children:[`Host with `,_jsx(_components.code,{children:`*`}),` wildcards`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`*.eu.example.org`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`URL wildcard`}),_jsxs(_components.td,{children:[`Full URL with `,_jsx(_components.code,{children:`*`}),` wildcards`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://example.com/api/*`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Regex`}),_jsx(_components.td,{children:`Regular expression against the URL`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`^https?://cdn\\\\d+\\\\.example\\\\.net`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Exact URL`}),_jsx(_components.td,{children:`That URL and nothing else`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://example.com/login`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`URL prefix`}),_jsx(_components.td,{children:`URL starts with the pattern`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://example.com/admin`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`URL suffix`}),_jsx(_components.td,{children:`URL ends with the pattern`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`.pdf`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`URL contains`}),_jsx(_components.td,{children:`Pattern appears anywhere in the URL`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`/internal/`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`order-matters`,children:`Order matters`}),`\n`,_jsxs(_components.p,{children:[`Rules are evaluated top to bottom and the first match wins, so put the specific ones above the general ones. A rule for `,_jsx(_components.code,{children:`api.example.com`}),` placed below a `,_jsx(_components.code,{children:`example.com`}),` domain-and-subdomains rule will never fire.`]}),`\n`,_jsx(_components.p,{children:`Reorder rules with the arrows on each row. Any rule can be disabled without deleting it.`}),`\n`,_jsx(Heading,{level:`2`,id:`the-fallback`,children:`The fallback`}),`\n`,_jsx(_components.p,{children:`The fallback is what happens when no rule matches. It can be Direct or any profile. Set it at the bottom of the Rules page.`}),`\n`,_jsx(Heading,{level:`2`,id:`path-matching-on-https-in-chrome`,children:`Path matching on HTTPS in Chrome`}),`\n`,_jsxs(Warning,{children:[_jsx(_components.p,{children:`On Chrome and Edge, the four URL-based types — URL wildcard, exact URL, URL prefix, URL suffix — and any regex that depends on the path only see the hostname when the request is HTTPS.`}),_jsxs(_components.p,{children:[`Chrome strips the path before handing the URL to the PAC script, so `,_jsx(_components.code,{children:`https://example.com/admin`}),` and `,_jsx(_components.code,{children:`https://example.com/anything-else`}),` are indistinguishable. Host-based conditions are unaffected and remain reliable.`]}),_jsx(_components.p,{children:`The extension flags affected rules in the interface rather than letting them silently under-match. Firefox resolves each request directly and sees the full URL.`})]}),`\n`,_jsx(Heading,{level:`2`,id:`bypass-list`,children:`Bypass list`}),`\n`,_jsx(_components.p,{children:`The bypass list sits in front of the rules: anything it matches goes direct, regardless of mode. It accepts hostnames, globs, and CIDR ranges.`}),`\n`,_jsx(_components.p,{children:`These are bypassed by default:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`localhost`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`127.0.0.0/8`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`10.0.0.0/8`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`172.16.0.0/12`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`192.168.0.0/16`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`169.254.0.0/16`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`::1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`fc00::/7`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`fe80::/10`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Plain hostnames with no dot — the kind you get from an internal DNS suffix — are also treated as local and bypassed.`}),`\n`,_jsx(Heading,{level:`2`,id:`regex-safety`,children:`Regex safety`}),`\n`,_jsx(_components.p,{children:`Regex patterns are validated before they are accepted. A pattern that could backtrack catastrophically is rejected with an explanation instead of being compiled into the PAC script, where it would stall every request in the browser.`})]})}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":"Auto-switch rules","description":"Route individual sites through specific proxies, or straight out, using nine condition types.","href":"/extension/auto-switch-rules"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Condition types","slug":"condition-types","depth":2,"children":[]},{"title":"Order matters","slug":"order-matters","depth":2,"children":[]},{"title":"The fallback","slug":"the-fallback","depth":2,"children":[]},{"title":"Path matching on HTTPS in Chrome","slug":"path-matching-on-https-in-chrome","depth":2,"children":[]},{"title":"Bypass list","slug":"bypass-list","depth":2,"children":[]},{"title":"Regex safety","slug":"regex-safety","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"proxyjam","siteName":"ProxyJam API","title":"Auto-switch rules - ProxyJam API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-28T04:22:46.654Z","originalFileLocation":"extension/auto-switch-rules.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=\"Route individual sites through specific proxies, or straight out, using nine condition types.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ProxyJam API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/proxyjam/v6IlxhSulm7dlRBE/_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/proxyjam/v6IlxhSulm7dlRBE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/proxyjam/v6IlxhSulm7dlRBE/_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/proxyjam/v6IlxhSulm7dlRBE/_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/proxyjam/v6IlxhSulm7dlRBE/_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/proxyjam/v6IlxhSulm7dlRBE/_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/proxyjam/v6IlxhSulm7dlRBE/_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/proxyjam/v6IlxhSulm7dlRBE/_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/proxyjam/v6IlxhSulm7dlRBE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Auto-switch rules - ProxyJam API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Route individual sites through specific proxies, or straight out, using nine condition types.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ProxyJam API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.proxyjam.com/extension/auto-switch-rules\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://proxyjam.mintlify.site/_mintlify/api/og/v2?division=ProxyJam+Connector\u0026amp;title=Auto-switch+rules\u0026amp;description=Route+individual+sites+through+specific+proxies%2C+or+straight+out%2C+using+nine+condition+types.\u0026amp;theme=cdf72b5050cc6fcb9115fdd8\u0026amp;signature=a4ee97953aa140fad5d5038f2f95955d732851f9c402bd3bcc7be47194f01a5c\">\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=\"Auto-switch rules - ProxyJam API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Route individual sites through specific proxies, or straight out, using nine condition types.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://proxyjam.mintlify.site/_mintlify/api/og/v2?division=ProxyJam+Connector\u0026amp;title=Auto-switch+rules\u0026amp;description=Route+individual+sites+through+specific+proxies%2C+or+straight+out%2C+using+nine+condition+types.\u0026amp;theme=cdf72b5050cc6fcb9115fdd8\u0026amp;signature=a4ee97953aa140fad5d5038f2f95955d732851f9c402bd3bcc7be47194f01a5c\">\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/proxyjam/v6IlxhSulm7dlRBE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ProxyJam API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0066FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.proxyjam.com/extension/auto-switch-rules\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/extension/auto-switch-rules.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.proxyjam.com/#organization\",\"name\":\"ProxyJam API\",\"url\":\"https://docs.proxyjam.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/proxyjam/kPBTrE2a37c1nnsv/images/logo-light.svg?fit=max\u0026auto=format\u0026n=kPBTrE2a37c1nnsv\u0026q=85\u0026s=de31db4ad6adcfb5d0a552eb56a9ff08\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.proxyjam.com#website\",\"name\":\"ProxyJam API\",\"url\":\"https://docs.proxyjam.com\",\"publisher\":{\"@id\":\"https://docs.proxyjam.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.proxyjam.com/extension/auto-switch-rules#webpage\",\"url\":\"https://docs.proxyjam.com/extension/auto-switch-rules\",\"name\":\"Auto-switch rules\",\"description\":\"Route individual sites through specific proxies, or straight out, using nine condition types.\",\"dateModified\":\"2026-09-28T04:22:46.654Z\",\"isPartOf\":{\"@id\":\"https://docs.proxyjam.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.proxyjam.com/extension/auto-switch-rules#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.proxyjam.com/extension/auto-switch-rules#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"ProxyJam Connector\",\"item\":\"https://docs.proxyjam.com/extension\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Auto-switch rules\",\"item\":\"https://docs.proxyjam.com/extension/auto-switch-rules\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.proxyjam.com/extension/auto-switch-rules#article\",\"headline\":\"Auto-switch rules\",\"name\":\"Auto-switch rules\",\"description\":\"Route individual sites through specific proxies, or straight out, using nine condition types.\",\"url\":\"https://docs.proxyjam.com/extension/auto-switch-rules\",\"mainEntityOfPage\":{\"@id\":\"https://docs.proxyjam.com/extension/auto-switch-rules#webpage\"},\"dateModified\":\"2026-09-28T04:22:46.654Z\",\"publisher\":{\"@id\":\"https://docs.proxyjam.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.proxyjam.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ProxyJam API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ProxyJam API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/extension/auto-switch-rules.md","siteName":"ProxyJam API","nav":{"global":null,"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/overview/introduction"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api/auth/me"}]},{"tab":"MCP server","pages":[{"title":"MCP server","href":"/mcp-server"}]},{"tab":"Browser extension","groups":[{"group":"ProxyJam Connector","pages":[{"title":"ProxyJam Connector","sidebarTitle":"Overview","href":"/extension"},{"title":"Profiles","description":"Create, edit, and organise the proxies the extension switches between.","href":"/extension/profiles"},{"title":"Auto-switch rules","href":"/extension/auto-switch-rules"},{"title":"Rule sets","description":"Group auto-switch rules and turn a whole group on or off without deleting anything.","href":"/extension/rule-sets"},{"title":"Checker","href":"/extension/checker"},{"title":"Health checks and failover","href":"/extension/health-checks"},{"title":"DNS-leak test","href":"/extension/dns-leak"},{"title":"Per-container proxies","href":"/extension/containers"},{"title":"ProxyJam account","href":"/extension/proxyjam-account"},{"title":"Import / Export","href":"/extension/import-export"},{"title":"Settings","href":"/extension/settings"},{"title":"Support and troubleshooting","sidebarTitle":"Support","href":"/extension/support"}]}]}]},"basePath":"","title":"Auto-switch rules - ProxyJam API","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":[],"chunks":[]}