Sending the Request
To retrieve a list of all server and accounts registered to your email address or username, send an HTTPS POST to https://getfoxyproxy.org/webservices/get-accounts.php
Curl example
curl --header "Content-Type: application/json" --request POST --data '{"username":"AAAAA","password":"BBBBB"}' https://getfoxyproxy.org/webservices/get-accounts.php
Note that HTTPS is required.
username is either:
- One of the email addresses under which you are registered
- One of the usernames under which you are registered
password is the password associated with username. If you have more than one username, be sure to use the correct password.
Parsing the Response
A successful response has an HTTP status code of 200. The body is a JSON array. Each element in the array has the following properties:
Property | Type | Always Present in Response? | Description |
active | string of “true” or “false“ | yes | stringified boolean. if “true” then this account can be used. If “false”, the account is inactive and should not be used. |
city | string | no | City in which this server located. Usually present in all responses but occasionally empty or property does not exist. Example: “Oslo” |
country | string | yes | Full name of country in which this server is located; e.g. “Norway” |
country_code | string | yes | 2-letter abbreviated country name in which this server is located; e.g. “NO” for Norway |
hasPPTP | string of “true” or “false“ | no | stringified boolean. “true” if this server supports legacy PPTP VPN connections; false otherwise or property does not exist |
hostname | string | yes | FQDN of the server’s DNS name. Typically of the form aaa.getfoxyproxy.org or aaa.foxyproxy.com or aaa.foxyproxy.io, etc. |
ipaddress | string | yes | IPv4 address for this server |
ip | string | yes | alias to ipaddress; IPv4 address for this server |
ipsec | string of “true” or “false“ | no | stringified boolean. “true” if this server supports IPSec VPN connections; false otherwise or property does not exist if this server does not support IPSec VPN |
ovpnFile | string | no | If this property is present, then its value is an ovpn configuration including PKI certificate. If not present, the server does not support OpenVPN |
password | string | yes | Password for this account. For v3 accounts, this is a salted SHA-256 hash of the password. For v1 accounts, this is plaintext. It does not necessarily match the password which was sent in the request. |
port | array of strings | yes | A stringified list of ports on which the HTTP proxy server is listening; e.g. [“19222”, “43819”, “31001”] |
ssl_port | string | yes | A stringified port on which the SSL/TLS proxy server is listening; e.g. “7891” |
socks5_port | string | no | A stringified port on which the SOCKS5 proxy server is listening; e.g. “22819”. If not present, this server does not support SOCKS5. |
username | string | yes | Username for this account. It does not necessarily match the username/email address which was sent in the request. |