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

Code Examples

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

curl "http://lumtest.com/myip.json" \ 
    --proxy brd.superproxy.io:22225 \
    --proxy-user brd-customer-hl_6d74fc42-zone-residential_proxy4:812qoxo6po44

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!