Authentication
Your ClearProxy API key (format: clearpx_yourkey)
Alternatively, you can use Bearer token authentication:
Bearer token (format: Bearer clearpx_yourkey)
Request Body
Region code (default: us1)
Proxy type: http, socks4, socks5 (default: http)
Timeout in ms (1000-20000)
Array of custom URLs to validate working proxies against
Custom URL Parameters
Target URL to test proxies against
customUrls[].requiredStatusCodes
HTTP status codes to accept (default: [200])
customUrls[].requiredText
Text that must appear in response body
customUrls[].caseSensitive
Case-sensitive text matching (default: false)
Example Request
curl -X POST https://api.clearproxy.io/check \
-H "X-API-Key: clearpx_yourkey" \
-H "Content-Type: application/json" \
-d '{
"proxies": ["1.2.3.4:8080", "user:[email protected]:3128"],
"region": "us1",
"type": "http",
"timeout": 2000
}'
Example with Custom URL Validation
curl -X POST https://api.clearproxy.io/check \
-H "X-API-Key: clearpx_yourkey" \
-H "Content-Type: application/json" \
-d '{
"proxies": ["1.2.3.4:8080"],
"customUrls": [
{
"url": "https://discord.com",
"requiredStatusCodes": [200, 301, 302]
}
]
}'
Response
Summary of check results
Number of working proxies found
URL to download full results