A Go program that automatically parses and checks proxy servers from various sources.
make build
./proxy_parser_checker
make build_static
./proxy_parser_checker_static
All endpoints are prefixed with /api/v1
- URL:
/proxies/working
- Method:
GET
- Response: List of all working proxy servers
- URL:
/proxies/working/first
- Method:
GET
- Response: Returns a single working proxy server
- URL:
/proxies
- Method:
GET
- Response: List of all proxy servers (working and non-working)
- URL:
/proxies
- Method:
POST
- Body:
{ "ip": "192.168.1.1", "port": "8080", "protocol": "http" }
- Response: Added proxy details
- URL:
/proxies
- Method:
DELETE
- Body:
{ "ip": "192.168.1.1", "port": "8080", "protocol": "http" }
- Response: Success message
- URL:
/sites
- Method:
GET
- Response: List of all proxy source sites
- URL:
/sites
- Method:
POST
- Body:
{ "url": "https://example.com/proxies" }
- Response: Added site URL
- URL:
/sites
- Method:
DELETE
- Body:
{ "url": "https://example.com/proxies" }
- Response: Success message
- URL:
/stats
- Method:
GET
- Response: Returns statistics about proxies and checking process
{ "success": true, "data": { "total_proxies": 1000, "worked_proxies": 400, "blocked_proxies": 50, "not_checked_proxies": 550, "check_rate": 2.5, "estimated_minutes": 220.0, "estimated_time": "3h 40m" } }
All endpoints return JSON responses in the following format:
{
"success": true|false,
"data": <response_data>,
"error": "error message if any"
}