To set up your endpoints manually, follow the instructions below.
Make a request to https://ipinfo.io using a residential proxy from a random location through our backconnect entry. Replace USERNAME and PASSWORD with your proxy user credentials. Keep in mind that each request returns a new IP address as EastProxy Residential Proxies rotate automatically.
curl -x p.eastproxy.com:81 -U "USERNAME:PASSWORD" https://ipinfo.io
curl -x p.eastproxy.com:81 -U "USERNAME-cc-US:PASSWORD" https://ipinfo.io
curl -x p.eastproxy.com:81 -U "USERNAME-cc-US-city-Los Angeles:PASSWORD" https://ipinfo.io
curl -x p.eastproxy.com:81 -U "USERNAME-session-r123456:PASSWORD" https://ipinfo.io
Adding a country flag to the authorization header enables one to specify which country IP to use to process the request. The value of this parameter is a case insensitive country code in 2-letter 3166-1 alpha-2 format. For example, US for United States, GB for the United Kingdom , IN for the India, and FR for France proxy. See the examples for more details.
curl -x p.eastproxy.com:81 -U "USERNAME-cc-US:PASSWORD" https://ipinfo.io
To get a proxy from a specific US state, add the state flag to the authorization string. For example, -cc-US-st-Ca
curl -x p.eastproxy.com:81 -U "USERNAME-cc-US-st-Ca:PASSWORD" https://ipinfo.io
Add a city parameter to narrow down to city-level targeting. For example, cc-US-city-Los Angeles means that a proxy from Los Angeles, United States, will handle the query. We support every city in the world, but we do not guarantee we will have proxies there. Most popular cities are well covered and will have many proxies to choose from.
Here are a few examples of valid combinations of city parameters:
cc-US-city-los_angeles
cc-IT-city-rome
cc-TH-city-bangkok
cc-JP-city-tokyo
curl -x p.eastproxy.com:81 -U "USERNAME-cc-US-city-Los Angeles:PASSWORD" https://ipinfo.io
The session ID parameter allows you to keep the same IP address to run multiple requests. To reuse the same IP multiple times, use sessid parameter after username with randomly created alphanumeric string, for example, session-r123456
The standard session time is 10 minutes or up to 60s of inactivity (no requests). After that, a new IP address is assigned automatically. To adjust desired session time please refer to Session time.
Credentials list example:
Example represents a list of credentials that establish different sessions.
USERNAME-sessid-r123456:PASSWORD USERNAME-sessid-r123457:PASSWORD USERNAME-sessid-r123458:PASSWORD USERNAME-sessid-r123459:PASSWORD USERNAME-sessid-r123460:PASSWORD
curl -x p.eastproxy.com:81 -U "USERNAME-sessid-r1234567:PASSWORD" https://ipinfo.io