How to specify a city or ASN requirement for a proxy
Every extra location or network condition narrows the set of addresses we can select from. A city or ASN requirement is worth it when the target behaves differently at that level, and a waste when country level already shows what you need to see.
When a city is truly needed
Most sites localise by country: language, currency, taxes and national search results. A city matters only when the content itself changes inside the country.
- Needed: local search results, delivery zones, store pickup availability, regional prices.
- Usually not needed: language, currency, VAT, national promotions, legal notices.
- Check first: open the page from two cities you can reach and compare. If nothing differs, country level is enough.
Why ASN or carrier requests must be justified
An ASN is the network that announces an IP range; for mobile it usually corresponds to a carrier. Asking for one ASN restricts us to addresses of that single network, which reduces availability and may raise the price.
Justify it with a concrete difference: carrier-specific landing pages, zero-rated content, an allowlist keyed to a network, or ads targeted by carrier. Without such a reason, ask for the proxy type and country and let us choose the network.
How to phrase acceptance criteria
Write criteria that can be checked by anyone, with the tool used for the check. That way the selection is accepted or rejected on facts, not impressions.
- Location: "Exit IP is placed in Munich by at least two of the GeoIP services we name."
- Network: "Exit IP belongs to the requested ASN according to a public WHOIS lookup."
- Behaviour: "The store locator on our site shows the Munich store as nearest without manual input."
- Stability: "The exit IP is the same at the first and last step of each flow."
Worked calculation: a city-level check
Assumptions: you test 3 cities; each city check is one flow of 6 pages; you want 3 independent runs per city on different exit IPs, so that one misplaced IP cannot decide the result; each IP is first checked against 2 GeoIP services; average page weight is 2 MB; you add a 20% margin for retries.
IPs needed: 3 cities × 3 runs = 9 distinct exit IPs, each held in a sticky session for one flow.
Test runs: 3 cities × 3 runs = 9 flows; plus 9 × 2 = 18 GeoIP lookups, which are small and can be ignored for traffic.
Traffic: 9 flows × 6 pages × 2 MB = 108 MB; with the 20% margin about 130 MB per full check.
Decision rule: a city passes if at least 2 of 3 runs meet the acceptance criteria. If GeoIP services disagree on an IP, replace the IP before running the flow, and count the replacement in the run total.