Format
country → state → city. You can stop at any level — country-us alone targets the whole US, country-us-state-ny narrows to New York state, and adding city-nyc narrows further.
Country targeting
Use any ISO 3166-1 alpha-2 country code. Lowercase.State targeting
Available for countries with state / region subdivisions (US, Canada, Australia, Germany, Brazil, etc.). Use the standard regional subdivision code.City targeting
Append-city-<code> for city-level targeting. Use a specific city code, or ran to get a random city within the targeted state.
city-ran or drop to state-level targeting.
Combining with sessions
Any targeting can be combined with a sticky session and TTL:session-asdas1. See Sessions for the full mechanics.
Full code examples
Troubleshooting
454 invalid country code
454 invalid country code
The country code isn’t recognised. Check it’s lowercase ISO 3166-1 alpha-2 (
us, not US or usa).454 invalid state code
454 invalid state code
The state code isn’t recognised for that country. Use standard regional subdivision codes (e.g.
ny, ca for US states, on, qc for Canadian provinces).454 invalid city code
454 invalid city code
The city isn’t recognised, or has no IPs available. Try
city-ran to let the network pick any city in the targeted state.Slow or timing out
Slow or timing out
Narrow targeting means a smaller pool. For high concurrency, widen to state or country level — or split workloads across regional gateways.
