Authentication
Your ClearProxy API key (format: clearpx_yourkey)
Alternatively, you can use Bearer token authentication:
Bearer token (format: Bearer clearpx_yourkey)
Request Body
Optional client-side generated job ID for real-time progress tracking via WebSockets
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": "sg1",
"type": "http",
"timeout": 2000,
"jobId": "my_unique_job_id_123"
}'
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
Detailed metadata about the request
If the UnlimitedPro plan is active
Expiration date of the unlimited plan
URL to download full results