Skip to main content
Run browser sessions from specific geographic locations by specifying a country code.

Setting Country

Pass a 2-letter ISO country code when creating a session:
const session = await client.browser.session.create({
  type: "hosted",
  country: "US", // United States
});

Availability

Available countries depend on node availability. If no nodes are available in a requested country, the API will return an error.

Notes

  • Country filtering is best-effort based on available nodes
  • Some countries may have limited node availability