Base information

Getting basic information about a proxy package

Link for request:

https://api.proxyred.net/proxylist/your_token?info

Response:

{ "list_of_IP": [ "127.0.0.1", "0.0.0.0" ], "max_number_of_IP": 3, "status": "running", "total_threads": 100, "active_threads": 10, "latest_threads_update": "2022-08-06 13:46 +0200", "date_expiration": "2022-08-06 15:47 +0200" }

Fields:

  • list_of_IP — All IP addresses connected to the package
  • max_number_of_IP — The maximum possible number of addresses connected to the package. If need more slots, it can be purchased in addition 1 slot = 1 USD
  • status — There are two types of status: running and stopped
  • total_threads — Number of threads in the package
  • active_threads — How many threads are active
  • latest_threads_update — When was the last time information about current threads was updated
  • date_expiration — Package expiration date

Errors:

 When trying to send a request for an invalid token

{ "error": "Token not found" }
Add IP

Adding an IP address to a package. Changes take effect immediately

Link for request:

https://api.proxyred.net/proxylist/your_token?add=127.0.0.1

Response:

{ "status": "OK" }

Errors:

 When trying to send a request for an invalid token

{ "error": "Token not found" }

 If the IP address format is incorrect

{ "error": "Incorrect IP" }

 When all free slots are already taken

{ "error": "All slots are occupied, you can buy additional slots or delete an existing IP address" }

 If such an IP has already been added to the package

{ "error": "IP address already set" }
Delete IP

Removing an IP address from the package. Changes take effect immediately

Link for request:

https://api.proxyred.net/proxylist/your_token?delete=127.0.0.1

Response:

{ "status": "OK" }

Errors:

 When trying to send a request for an invalid token

{ "error": "Token not found" }

 If the IP address format is incorrect

{ "error": "Incorrect IP" }

 If no such IP has been added to the package

{ "error": "IP not found" }
Reload

This method restarts the package, but not more often than once a minute

Link for request:

https://api.proxyred.net/proxylist/your_token?reload

Response:

{ "status": "OK" }

Errors:

 When trying to send a request for an invalid token

{ "error": "Token not found" }

 More than one request per minute

{ "error": "Too Many Requests" }

 Package not running

{ "error": "Failed to restart service" }