Skip to main content

Client API

danger

For submitting POST requests use the "form-data" format, other formats not supported.

Get traffic usage

Path:

https://dashboard.infatica.io/includes/api/client/get_traffic.php

note

If you do not send the login parameter, it will return you all the traffic of the package/subscription.

If the login parameter is sent, it will return you all the traffic of the package/subscription.

Traffic is calculated in bytes. API works with a cache, updated every 10 minutes.

  • Method: POST
  • Summary: Get traffic usage
  • Parameters in body:
    • "email" - required, your email of account
    • "password" - required, password of account
    • "pid" - required, package id, can be found in the URL when you go to package in account
    • "login" optional, (login of proxy list from the package)
  • Responses:
    • You get a response in JSON format

Example of success response:

{
"YYYY-MM-DD HH:mm:ss": "47354668",
"YYYY-MM-DD HH:mm:ss": "9673457u8",
"YYYY-MM-DD HH:mm:ss": "9673457u8",
"YYYY-MM-DD HH:mm:ss": "536345643016",
"YYYY-MM-DD HH:mm:ss": "1687569911"
}

Get traffic statistics (subscription)

Path:

https://dashboard.infatica.io/includes/api/client/remaining_traffic.php

  • Method: POST
  • Summary: Get traffic statistics
  • Parameters in body:
    • "email" - required, your email of account
    • "password" - required, password of account
    • "pid" - required, package id, can be found in the URL when you go to package in account
  • Responses:
    • "trafInPackage" - total traffic in the package (bytes)
    • "trafUsed" - total used traffic (bytes)
    • "trafLeft" - total of remaining traffic (bytes)

Example of success response:

{
"trafInPackage": 429496729600,
"trafUsed": 1175719925,
"trafLeft": 428321009675
}

Get balance

Path:

https://dashboard.infatica.io/includes/api/client/get_balance.php

  • Method: POST

  • Summary: Get balance

  • Parameters in body:

    • "email" - required, your email of account
    • "password" - required, password of account
  • Responses:

    • The request will return the balance of money on your account

Example of success response:

{
"balance": "100.00"
}

Get active online locations

Path:

https://dashboard.infatica.io/includes/api/client/geo_nodes.php

note

Data is updated every 5 minutes.

  • Method: POST

  • Summary: Get active online locations of Residential or Mobile proxies

  • Parameters in body:

    • "email" - required, your email of account
    • "password" - required, password of account
    • "mobile" - optional, send parameter "mobile" with value "1" to get online locations for Mobile proxies
  • Responses:

    • The request will return active online locations in JSON format

Example of success response:

[
[
{
"county": "US",
"subdivision": "New York",
"city": "Albany",
"isp": "UUNET"
},
{
"county": "US",
"subdivision": "New York",
"city": "Albany",
"isp": "VIRTUALSHIELD"
}
]
]

Get ISP codes

Path:

https://dashboard.infatica.io/includes/api/client/isp_codes.php

  • Method: POST

  • Summary: Get ISP codes

  • Parameters in body:

    • "email" - required, your email of account
    • "password" - required, password of account
  • Responses:

    • The request will return list of all available ISP codes

Example of success response:

[
[
{
"isp": "# 160,North Usman Road, Third Floor",
"code": 1
},
{
"isp": "# 203, Express tower",
"code": 2
}
]
]