Datacenter Proxy List API
Returns the rotating datacenter proxy list available to your account.
With no optional filters, the backend uses output=json, type=rotating, protocol=both, and country=all.
Static proxies are not included in the default response. Request type=static explicitly when you need the account-specific static proxy file.
Endpoint details
import json
import requests
endpoint = "https://proxytitan.com/api/v1.0/datacenter/proxies"
api_key = "xxx"
params = {
"apiKey": api_key,
}
response = requests.get(
endpoint,
params=params,
timeout=30
)
print("Status:", response.status_code)
print("Content-Type:", response.headers.get("content-type"))
try:
print(json.dumps(response.json(), indent=2))
except requests.exceptions.JSONDecodeError:
print(response.text)
Set output=plain to return one proxy address per line.
The backend also accepts format=plain as a compatibility alias.
Plain output contains only address values. Metadata remains available only in JSON output.
Endpoint details
import json
import requests
endpoint = "https://proxytitan.com/api/v1.0/datacenter/proxies"
api_key = "xxx"
params = {
"apiKey": api_key,
"output": "plain",
}
response = requests.get(
endpoint,
params=params,
timeout=30
)
print("Status:", response.status_code)
print("Content-Type:", response.headers.get("content-type"))
try:
print(json.dumps(response.json(), indent=2))
except requests.exceptions.JSONDecodeError:
print(response.text)
Set protocol=socks5 to return only SOCKS5 entries.
Supported protocol values are http, https, socks5, and both.
The default protocol is both.
Endpoint details
import json
import requests
endpoint = "https://proxytitan.com/api/v1.0/datacenter/proxies"
api_key = "xxx"
params = {
"apiKey": api_key,
"protocol": "socks5",
}
response = requests.get(
endpoint,
params=params,
timeout=30
)
print("Status:", response.status_code)
print("Content-Type:", response.headers.get("content-type"))
try:
print(json.dumps(response.json(), indent=2))
except requests.exceptions.JSONDecodeError:
print(response.text)
Set country=us to return proxies from the US rotating definition.
Supported selectors are world, eu, us, and all.
The default selector is all.
Endpoint details
import json
import requests
endpoint = "https://proxytitan.com/api/v1.0/datacenter/proxies"
api_key = "xxx"
params = {
"apiKey": api_key,
"country": "us",
}
response = requests.get(
endpoint,
params=params,
timeout=30
)
print("Status:", response.status_code)
print("Content-Type:", response.headers.get("content-type"))
try:
print(json.dumps(response.json(), indent=2))
except requests.exceptions.JSONDecodeError:
print(response.text)
Set type=static to load the customer-specific static proxy file.
This example combines type=static, protocol=socks5, and output=plain.
The returned amount is based on the valid matching entries in the account proxy file; it is not hard-coded by this endpoint.
Endpoint details
import json
import requests
endpoint = "https://proxytitan.com/api/v1.0/datacenter/proxies"
api_key = "xxx"
params = {
"apiKey": api_key,
"type": "static",
"protocol": "socks5",
"output": "plain",
}
response = requests.get(
endpoint,
params=params,
timeout=30
)
print("Status:", response.status_code)
print("Content-Type:", response.headers.get("content-type"))
try:
print(json.dumps(response.json(), indent=2))
except requests.exceptions.JSONDecodeError:
print(response.text)
