All systems operational HTTP · HTTPS · SOCKS5 Global network
Documentation home Quickstart Engineering guides Code examples Global network Pricing Solutions overview Custom proxy pools Managed data scraping Contact Console
PRODUCT GUIDE

Encode country and session in proxy credentials.

Premium Residential routes public requests through residential exits. Supply the supported country or region and SESSION in the assigned authentication format.

Pool100M+ residentialCoverage190+ locationsTargetingCountry / regionBillingTraffic
01
ROUTING MODEL

Premium Residential behavior.

Premium Residential routes public requests through residential exits. Supply the supported country or region and SESSION in the assigned authentication format.

01

Residential identity

Requests leave through eligible residential network resources.

Network identity
02

Country targeting

Add a supported country or region to the assigned username format.

Geo control
03

Sticky SESSION

Reuse the same session token for a related request group.

Continuity
04

Standard gateway

Keep normal proxy configuration in requests, Scrapy, or browser clients.

No custom SDK
02
ENDPOINT AND AUTH

Connect through a standard proxy client.

Use the endpoint and the complete username assigned for the product. The examples use placeholder credentials; copy current credentials from the console.

Gatewayresidential.lundproxy.com:36000Username shapeuser-country-us-session-market01
import requests

proxy = "http://user-country-us-session-market01:[email protected]:36000"
response = requests.get(
    "https://httpbin.org/ip",
    proxies={"http": proxy, "https": proxy},
    timeout=(10, 30),
)
response.raise_for_status()
print(response.json())
03
ROUTING POLICY

Keep route intent with queue state.

ControlImplementation behavior
CountryUse a supported two-letter country token from the current console format.
RegionUse only when the product exposes that region option.
SESSIONReuse a stable token for pagination or multi-step workflows.
FallbackTreat an exit change as recoverable; residential resources can become unavailable.
04
PRODUCTION CHECKLIST

Scale only after representative validation.

Keep the market code with the queue and telemetry.
Use stable SESSION tokens only for related requests.
Validate returned content, not only the observed exit country.
Measure success and traffic independently for each market.
Recreate connections when changing country or SESSION.
05
ERROR BOUNDARIES

Respond to the layer that failed.

SignalMeaningFirst action
407Malformed routing usernameCopy the full username generated by the console.
Geo mismatchExit does not match intentConfirm product, country token, and a fresh connection.
Session changedPrevious route unavailableRecover the workflow and allow a matching replacement exit.
High trafficUnexpected byte usageMeasure response bodies, browser subresources, and retries.
06
DEVELOPER FAQ

Premium Residential questions.

When is the country selected?

It is supplied when credentials are generated or used, not permanently locked when purchasing the traffic plan.

Does SESSION guarantee one IP forever?

No. It requests route continuity for the supported window. An unavailable exit may be replaced by another matching residential route.

Should each worker use a different SESSION?

Use one token per independent workflow. Workers processing the same related sequence can share a token only when that is intentional.

Can browser traffic consume more data than API requests?

Yes. A page can load scripts, images, fonts, media, and background APIs through the proxy.

How do I validate geo behavior?

Test representative public targets, use a fresh connection, record the requested market, and validate the returned content and observed exit.