State

To get a proxy from a specific US state, add the st flag to the authorization string. For example, us_california, us_illinois. Click here for a complete list of US states.

Here are a few examples of valid combinations of state parameters:

st-us_california-city-los_angeles st-us_illinois-city-springfield st-us_michigan-city-detroit st-us_ohio-city-columbus st-us_maine-city-portland st-us_tennessee-city-memphis

Code example

In this example, a query to ip.oxylabs.io/location is performed from a random IP address from California, USA:

curl -x pr.oxylabs.io:7777 -U "customer-USERNAME-st-us_california:PASSWORD" https://ip.oxylabs.io/location

Find the complete list of US states by clicking the file below:

Last updated