2xt-customer-a1b2-proxy-my_scraper
Username with Geo-Targeting: 2xt-customer-a1b2-proxy-my_scraper-country-de-state-stateofberlin-city-berlin
Targeting Logic
Our gateway processes geo-parameters with the following rules:- Specificity Wins: The most specific parameter is always used. For example, if you provide both
-cityand-country, the city will be prioritized. - Dependencies: Some parameters require others. For example, you cannot target a city without specifying a country.
- Mutual Exclusivity: You can either target by geography (
country,state,city,zip) OR by network (asn,isp). You cannot use both in the same request. - Operating System Combines With Everything: The
osparameter works alongside both groups. Add it to a geographic or a network username, with or without session parameters. - Sticky Sessions Freeze Targeting: If your username contains a
-sessionparameter, the targeting is bound to that session ID at its first request. Changing the targeting while reusing the same session ID has no effect until the session expires - generate a new session ID instead. See Session Control Parameters.
Geographic Targeting Parameters
These parameters control the physical location of the proxy.Country (-country)
This is the most common targeting parameter. It allows you to select an IP from a specific country.
Parameter Details
Parameter Details
- Format:
-country-[code] - Value: A 2-letter ISO 3166-1 alpha-2 country code (e.g.,
us,de,gb). - Dependencies: None.
- Example Username:
...-my_scraper-country-de - Result: Your request will be routed through a random IP in Germany.
- View full list of supported countries
State / Region (-state)
Target a specific state or region within the selected country.
Parameter Details
Parameter Details
- Format:
-state-[code] - Value: The region’s
extract_parameterfrom the region lookup (e.g.,californiafor California,newyorkfor New York). - Dependencies: Requires
-countryto be present in the username. - Example Username:
...-my_scraper-country-us-state-california - Result: Your request will be routed through an IP in California.
- View the full list of regions/states
City (-city)
Target a specific city.
Parameter Details
Parameter Details
- Format:
-city-[name] - Value: The city’s
extract_parameterfrom the city lookup (e.g.,newyork,sanfrancisco). - Dependencies: Use the country and region for the selected city.
- Paris:
...-my_scraper-country-fr-state-iledefrance-city-paris - Springfield, Illinois:
...-my_scraper-country-us-state-illinois-city-springfield - Result: Your request will be routed through an IP in the specified city.
- View the full list of cities
ZIP Code (-zip)
Target a specific ZIP code. Ideal for hyper-local data collection.
Parameter Details
Parameter Details
- Format:
-zip-[code] - Value: A ZIP code.
- Dependencies: Requires
-country. Use ZIP as the only location filter within that country. - Example Username:
...-my_scraper-country-us-zip-90210 - Result: Your request will be routed through an IP in the Beverly Hills area.
- View the full list of ZIP codes
Network Targeting Parameters
These parameters control the network origin of the proxy. They are mutually exclusive with all geographic parameters.ASN (-asn)
Target a specific Internet Service Provider (ISP) by its Autonomous System Number (ASN).
Parameter Details
Parameter Details
- Format:
-asn-[number] - Value: The numerical ASN of the provider (e.g.,
7922for Comcast). - Dependencies: Mutually exclusive with all geographic parameters (
-country,-state,-city,-zip). - Example Username:
...-my_scraper-asn-7922 - Result: Your request will be routed through an IP belonging to the Comcast network.
- Tip: You can find ASN numbers for major providers on sites like ipinfo.io.
ISP (-isp) - Mobile Proxies Only
Target a specific mobile network operator by its numeric ISP code. Available for mobile proxies only.
Parameter Details
Parameter Details
- Format:
-isp-[code] - Value: The numeric code of the mobile operator as provided in the ISP reference list (e.g.,
76506for T-Mobile USA). - Dependencies: Mutually exclusive with all geographic parameters (
-country,-state,-city,-zip). Available on mobile proxies only. - Example Username:
...-my_scraper-isp-76506 - Result: Your request will be routed through an IP on the T-Mobile USA network.
- Note: The ISP code is a numeric identifier, not a name slug. Use the code from the ISP selector in your proxy dashboard.
- View the full list of ISPs
Device Targeting Parameters
These parameters filter exit devices by the software they run. Unlike network parameters, they combine with geographic parameters.Operating System (-os)
Route your requests through exit devices running a specific operating system. Without this parameter, devices with any operating system are used.
The typical use is anti-detect browsers: match the exit device’s OS to the OS declared in the browser profile.
Parameter Details
Parameter Details
- Format:
-os-[value] - Value: Exactly one value per username. Lists of values are not supported.
- Residential proxies:
windows,macos,linux - Mobile proxies:
android,ios
- Residential proxies:
- Dependencies: None. Combines with geographic parameters (
-country,-state,-city,-zip), with-asn(residential) or-isp(mobile), and with session parameters (-session,-time,-const). - Example Username:
...-my_scraper-country-us-os-windows - Example (With Session):
...-my_scraper-country-us-os-windows-session-ab12cd-time-30 - Result: Your request will be routed through a device in the United States running Windows.
- Note on Narrow Filters: An operating system combined with a city, a ZIP code or an ISP can leave fewer exit devices to choose from, the same as any narrow filter. If such a combination does not connect reliably, widen the location or remove
-os.