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
All endpoints return JSON responses in the following format:
{
"success": true|false,
"data": <response_data>,
"error": "error message if any"
}