Get Proxy Pool Stats
GET
/api/v1/admin/proxy/statsnote
This endpoint requires Admin API Key authentication via the X-Admin-Key header.
Response
total_locationsintegerTotal number of registered locations
online_locationsintegerNumber of locations currently online
total_modemsintegerTotal number of registered modems
online_modemsintegerNumber of modems currently online
healthy_modemsintegerNumber of modems healthy and ready for traffic
total_iphonesintegerTotal number of registered iPhones (SpideriPhone)
online_iphonesintegerNumber of iPhones currently online
total_devicesintegerTotal devices (modems + iPhones)
healthy_devicesintegerTotal healthy devices ready for traffic
total_requests_todayintegerTotal proxy requests processed today
total_rotations_todayintegerTotal IP rotations performed today
by_countryobjectDevice count breakdown by country code
by_device_typeobjectDevice count breakdown by type
Request Example
curl -X GET "https://spideriq.ai/api/v1/admin/proxy/stats" \
-H "X-Admin-Key: your_admin_key"
import requests
response = requests.get(
"https://spideriq.ai/api/v1/admin/proxy/stats",
headers={"X-Admin-Key": "your_admin_key"}
)
stats = response.json()
print(f"Healthy proxies: {stats['healthy_devices']}/{stats['total_devices']}")
Response Example
{
"total_locations": 1,
"online_locations": 1,
"total_modems": 4,
"online_modems": 4,
"healthy_modems": 4,
"total_iphones": 0,
"online_iphones": 0,
"healthy_iphones": 0,
"total_devices": 4,
"healthy_devices": 4,
"total_requests_today": 0,
"total_rotations_today": 0,
"by_country": {
"UA": 4
},
"by_device_type": {
"modem": 4,
"iphone": 0
}
}