To get started, you need your proxy credentials, your Username and Password along with the Host name. You can find these credentials in the Overview tab of the proxy product.

Code Examples

Once you have your proxy credentials, use the following code to send your first request:

The code above uses the residential proxy to send a request to http://lumtest.com/myip.json. It returns your IP information in a JSON format:

Output
{
  "ip": "ALLOCATED_IP",
  "country": "PK",
  "asn": {
    "asnum": 203020,
    "org_name": "HostRoyale Technologies Pvt Ltd"
  },
  "geo": {
    "city": "Islamabad",
    "region": "IS",
    "region_name": "Islamabad",
    "postal_code": "44040",
    "latitude": 33.7233,
    "longitude": 73.0435,
    "tz": "Asia/Karachi",
    "lum_city": "islamabad",
    "lum_region": "is"
  }
}

Now, replace “https://lumtest.com/myip.json” with the website of your choice and …

That’s it!