ZIP/Postal code
To connect to a proxy using a ZIP code, add and specify the postalcode
parameter with a five-digit ZIP code in the username. This parameter must be used combined with the country code parameter cc
and a case-insensitive country code in 2-letter 3166-1 alpha-2 format.
Here is an example of the username:
customer-USERNAME-cc-US-postalcode-90210
Code examples
In this example, a query to ip.oxylabs.io/location
is performed from a proxy located in the United States with a ZIP code 90210
:
curl -x pr.oxylabs.io:7777 -U "customer-USERNAME-cc-US-postalcode-90210:PASSWORD" https://ip.oxylabs.io/location
Last updated
Was this helpful?