Basic Query

Basic queries require only username and password to be passed. No other parameters are required. Such queries will result in requests being made from random IP addresses (proxies). Each new request will use a different proxy.

Code Sample

In this example, the query with command prompt is performed from a random IP:

curl -x as.proxys5.net:6200 -U "USERNAM:PASSWORD" ipinfo.io

Query Parameters

Parameter

Description

USERNAME

Username

region

Custom country, case-insensitive country code, using region-country code. For example, DE for Germany, GB for the United Kingdom. You can find more details about how to use a proxy for a specific country in the Country Code List.

state

Case-insensitive US state names, beginning with us, e.g. rugion-us-state-california, rugion-us-state-illinois.

city

Custom city, case-insensitive English city name. For better accuracy, this parameter must be used with the country code, for example, region-GB-city-london for London, UK; region-DE-city-berlin for Berlin, Germany. For cities with more than two words, simply remove the spaces, for example, city-losangeles.

sessid

Session ID, the same session ID keeps the same IP for a long time. Supports random strings, 0-9 and AZ characters.

sesstime

The session time parameter keeps the same IP for a certain period of time. We support custom settings from 1 to 120 minutes. After the set time expires, a new IP address will be assigned to the session ID.

password

Password

Last updated