2xt-customer-a1b2-proxy-my-scraper
Username with Geo-Targeting: 2xt-customer-a1b2-proxy-my-scraper-country-de-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) (coming soon). You cannot use both in the same request.
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 (-state) US Only
Target a specific state within the United States.
Parameter Details
Parameter Details
- Format:
-state-[code] - Value: A 2-letter state code (e.g.,
cafor California,nyfor New York). - Dependencies: Requires
-country-usto be present in the username. - Example Username:
...-my-scraper-country-us-state-ca - Result: Your request will be routed through an IP in California.
- View full list of US states
City (-city)
Target a specific city.
Parameter Details
Parameter Details
- Format:
-city-[name] - Value: The name of the city in lowercase, with spaces removed (e.g.,
newyork,sanfrancisco). - Dependencies: Requires a
-countryparameter. Can be combined with-statefor disambiguation. - Example (Simple):
...-my-scraper-country-fr-city-paris - Example (With State):
...-my-scraper-country-us-state-il-city-springfield - Result: Your request will be routed through an IP in the specified city.
- Note on Ambiguity: If a country has multiple cities with the same name, you must provide a
-stateto clarify. Otherwise, the gateway will return an error.
ZIP Code (-zip) US Only (Coming Soon)
Target a specific ZIP code within the United States. Ideal for hyper-local data collection.
Parameter Details
Parameter Details
- Format:
-zip-[code] - Value: A 5-digit US ZIP code.
- Dependencies: Requires
-country-us. Mutually exclusive with-stateand-city. - Example Username:
...-my-scraper-country-us-zip-90210 - Result: Your request will be routed through an IP in the Beverly Hills area.
Network Targeting Parameters
This parameter controls the network origin of the proxy.ASN (-asn) (Coming Soon)
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.