City and state targeting

Go below country level, including US and Canadian states.

City targeting matters wherever pricing, inventory or search results vary below the national level — retail, travel, local SERP tracking and food delivery are the usual suspects. It costs the same as country targeting.

Cities

text
wp-acc4821-country-de-city-frankfurt
wp-acc4821-country-us-city-new-york      # spaces become hyphens
wp-acc4821-country-br-city-sao-paulo     # diacritics are stripped

City always needs a country

City names are not globally unique — there are dozens of Springfields. A -city- flag without a -country- flag returns 400.

States

State targeting is available in the United States and Canada, where it is often the right granularity: broad enough to keep the pool healthy, specific enough to capture regional pricing and tax behaviour.

text
wp-acc4821-country-us-state-california
wp-acc4821-country-us-state-new-york
wp-acc4821-country-ca-state-ontario

Fallback behaviour

Smaller cities have thinner pools, and at any given moment a specific city may have no available exit. Rather than failing the request, the gateway falls back to the nearest metro within the same country and sets a response header so you can detect it.

http
x-wproxy-exit-city: dortmund
x-wproxy-exit-requested: bochum
x-wproxy-fallback: nearest-metro

If a fallback is worse than an error for your workload, add -strict to the username and the gateway will return 503 instead.

Something inaccurate?Tell support