Skip to main content

Installation

1

Install via npm

2

Set API Key

3

Verify Installation

Quick Start


Commands

set-key

Save your ClearProxy.io API key locally for use in all subsequent requests.
string
required
Your ClearProxy.io API key from the dashboard

check

Main command for checking proxy lists. Supports input from file, stdin, or inline arguments.

Parameters

string
Path to proxy file or inline proxies (optional)
string
Region to use for checking (us1, us2, sg1, jp1, etc.)
number
default:"4000"
Request timeout per proxy in milliseconds (1000-30000)
string
default:"http"
Proxy type: http, socks4, or socks5
string
default:"result.json"
Output file path
string
default:"json"
Output format: json, txt, or yaml
boolean
default:"false"
Simplified output (only ip:port or user:pass@ip:port)
string|file
Custom URL validation as JSON array or file path (.json)

Custom URL Validation

Test working proxies against specific URLs with custom validation rules. JSON Format:
Fields:
  • url (string, required) - Target URL to test
  • requiredStatusCodes (array, optional) - Valid HTTP status codes (default: [200])
  • requiredText (string, optional) - Text that must appear in response body
  • caseSensitive (boolean, optional) - Case-sensitive text matching (default: false)
Platform-Specific Usage:
  • Windows: Use file method (recommended) - --custom custom.json
  • Linux/Mac: Can use direct JSON string or file

Supported Proxy Formats

Examples

Output Details

Console Output (Standard):
Console Output (UnlimitedPro):
When using custom URL validation, the output file will contain the complete response including custom validation results, regardless of --format and --simple flags.

me

Display account information and remaining quota.
boolean
default:"false"
Show raw JSON response from API
boolean
default:"false"
Display last 10 proxy checks
boolean
default:"false"
Show usage chart for last 30 days
Output includes:
  • User ID and email
  • Remaining checks quota
  • Recent check history (with —history)
  • Usage statistics for last 30 days (with —usage)

Examples


regions

List all available regions for proxy checking.
boolean
default:"false"
Output in JSON format
Each region represents a different geographical location where your proxies will be tested from.

Examples


health

Check the health and availability of ClearProxy API.
Returns status, version, uptime and active regions information.

Troubleshooting

Problem: Windows CMD/PowerShell cannot parse JSON strings correctlySolution: Use file method instead
Problem: CLI cannot find saved API keySolution: Set your API key again
Problem: CLI cannot parse proxy fileSolution: Ensure your proxy file uses supported formats:
  • ip:port
  • user:pass@ip:port
  • ip:port:user:pass
Problem: Custom validation results not in outputSolution:
  • Verify JSON format is correct
  • Check API response includes custom_url_validation field
  • Ensure you’re using the latest CLI version

Version

Current version: 1.5.0 Use clearproxy --version or clearproxy -v to check your installed version.