browser_settings / browserSettings when you create a V4 run to choose
another country:
The current TypeScript SDK type requires
proxyCountryCode whenever
browserSettings is present. Use "us" to keep the default, or null to
disable the managed proxy.Disable proxies
Passnull for QA or internal sites that do not need a residential proxy:
Custom proxy
Custom proxies are available to all accounts, including free and pay-as-you-go accounts. No subscription is required. Normal credit, spend, and concurrency limits still apply. The request format depends on what you are creating:browser_settings is the Python SDK keyword for agent runs. In REST JSON,
the agent-run field is browserSettings.
Standalone browsers
For a browser you control with Playwright, Puppeteer, or another CDP client, putcustomProxy directly in the request body:
curl
username and password if
your proxy does not require authentication. Do not wrap these settings in
browserSettings or browser_settings on /api/v4/browsers.
Keep the returned browser ID and stop the browser with
PATCH /api/v4/browsers/{id} and {"action":"stop"} when finished. See the
Create browser reference and
Browser quickstart.
Agent runs
For a hosted agent, pass the proxy in the run’s browser settings:proxyCountryCode and must be passed again when a
follow-up provisions a new browser. See the Create run
reference for the complete settings object.