API Documentation
Get a list of proxies
- Method
- GET
- Route
- https://api.kingproxies.com/v2/proxies.txt
- Response
- TXT
Parameters
Name Type Value Description key string Register to get your free API key REQUIRED
Your API key.type string elite, anonymous, or transparent Add this to retrieve only proxies with a type. Comma-separate multiple values to search with OR condition.
DEFAULT: All typesprotocols string http, socks4, or socks5 Add this to retrieve only proxies with a specific protocol. Comma-separate multiple values to search with OR condition.
DEFAULT: All protocolsalive boolean true/false, 1/0, yes/no Only retrieve proxies that were tested to be working within the last 5 minutes.
DEFAULT: truenew boolean true/false, 1/0, yes/no Only retrieve proxies that were added to the list in the past 24 hours.
DEFAULT: falsecountry_code string Add this to retrieve only proxies at this location. Comma-separate multiple values to search with OR condition.
DEFAULT: All countriesResponse example
https://api.kingproxies.com/v2/proxies.txt?country_code=US
0.0.0.0:6390 0.0.0.0:8938
Response
Each line contains the proxy and port number, separated by a colon.
Get a list of proxies
- Method
- GET
- Route
- https://api.kingproxies.com/v2/proxies.json
- Response
- JSON
Parameters
Name Type Value Description key string Register to get your free API key REQUIRED
Your API key.type string elite, anonymous, or transparent Add this to retrieve only proxies with a type. Comma-separate multiple values to search with OR condition.
DEFAULT: All typesprotocols string http, socks4, or socks5 Add this to retrieve only proxies with a specific protocol. Comma-separate multiple values to search with OR condition.
DEFAULT: All protocolsalive boolean true/false, 1/0, yes/no Only retrieve proxies that were tested to be working within the last 5 minutes.
DEFAULT: truenew boolean true/false, 1/0, yes/no Only retrieve proxies that were added to the list in the past 24 hours.
DEFAULT: falsecountry_code string Add this to retrieve only proxies at this location. Comma-separate multiple values to search with OR condition.
DEFAULT: All countriesResponse example
https://api.kingproxies.com/v2/proxies.json?country_code=US
{ "data":{ "proxies":[ { "ip":"0.0.0.0", "port":1499, "region":"Georgia", "city":"Atlanta", "type":"elite", "protocols":["socks4","socks5"], "alive":true }, { "ip":"0.0.0.0", "port":8938, "region":"Georgia", "city":"Duluth", "type":"elite", "protocols":["socks5"], "alive":true } ], "filters":{ "country_code":"US" } }, "request_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" }
Response object
Name Type Description data object Requested data request_id string Unique 36-character string, identifying the request message string Error or informational message data object
Name Type Description proxies array Proxies matching requested filter conditions filters object Parameters that are common to all proxies Proxy object
Name Type Description ip string IP address port integer Port country_code string Country code region string Region city string City type string Type protocols array List of protocols this proxy supports alive boolean True if the proxy was working when last tested Get a list of proxies
- Method
- GET
- Route
- https://api.kingproxies.com/v2/proxies.csv
- Response
- CSV
Parameters
Name Type Value Description key string Register to get your free API key REQUIRED
Your API key.type string elite, anonymous, or transparent Add this to retrieve only proxies with a type. Comma-separate multiple values to search with OR condition.
DEFAULT: All typesprotocols string http, socks4, or socks5 Add this to retrieve only proxies with a specific protocol. Comma-separate multiple values to search with OR condition.
DEFAULT: All protocolsalive boolean true/false, 1/0, yes/no Only retrieve proxies that were tested to be working within the last 5 minutes.
DEFAULT: truenew boolean true/false, 1/0, yes/no Only retrieve proxies that were added to the list in the past 24 hours.
DEFAULT: falsecountry_code string Add this to retrieve only proxies at this location. Comma-separate multiple values to search with OR condition.
DEFAULT: All countriesResponse example
https://api.kingproxies.com/v2/proxies.csv?country_code=US
ip,port,region,city,type,protocols,alive 0.0.0.0,6390,Georgia,West_Point,elite,http,true 0.0.0.0,8938,Georgia,Duluth,elite,socks5,true
Response columns
Name Type Description ip string IP address port integer Port country_code string Country code region string Region city string City type string Type protocols string List of protocols this proxy supports, comma separated alive boolean True if the proxy was working when last tested Get a list of proxies
- Method
- GET
- Route
- https://api.kingproxies.com/v2/proxies.xml
- Response
- XML
Parameters
Name Type Value Description key string Register to get your free API key REQUIRED
Your API key.type string elite, anonymous, or transparent Add this to retrieve only proxies with a type. Comma-separate multiple values to search with OR condition.
DEFAULT: All typesprotocols string http, socks4, or socks5 Add this to retrieve only proxies with a specific protocol. Comma-separate multiple values to search with OR condition.
DEFAULT: All protocolsalive boolean true/false, 1/0, yes/no Only retrieve proxies that were tested to be working within the last 5 minutes.
DEFAULT: truenew boolean true/false, 1/0, yes/no Only retrieve proxies that were added to the list in the past 24 hours.
DEFAULT: falsecountry_code string Add this to retrieve only proxies at this location. Comma-separate multiple values to search with OR condition.
DEFAULT: All countriesResponse example
https://api.kingproxies.com/v2/proxies.xml?country_code=US
<?xml version="1.0" encoding="UTF-8"?> <response> <data> <proxies> <ip>0.0.0.0</ip> <port>1499</port> <region>Georgia</region> <city>Atlanta</city> <type>elite</type> <protocols>socks4</protocols> <protocols>socks5</protocols> <alive>true</alive> </proxies> <proxies> <ip>0.0.0.0</ip> <port>8938</port> <region>Georgia</region> <city>Duluth</city> <type>elite</type> <protocols>socks5</protocols> <alive>true</alive> </proxies> <filters> <country_code>US</country_code> </filters> </data> <request_id>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</request_id> </response>
Response object
Name Type Description data object Requested data request_id string Unique 36-character string, identifying the request message string Error or informational message data object
Name Type Description proxies array Proxies matching requested filter conditions filters object Parameters that are common to all proxies Proxy object
Name Type Description ip string IP address port integer Port country_code string Country code region string Region city string City type string Type protocols array List of protocols this proxy supports alive boolean True if the proxy was working when last tested