Skip to content

ClearProxy/clearproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClearProxy CLI & SDK

ClearProxy is a fast, modern CLI and SDK for checking, validating proxy lists using the ClearProxy.io API.
Built for developers and automation environments that need accurate proxy health results in seconds.


Installation

Using npm

# Install CLI globally
npm install -g clearproxy

# Or install SDK for Node.js usage
npm install clearproxy

Quick Start (CLI)

Set your API key

clearproxy set-key clearpx_yourkey

Check your account

clearproxy me

Check proxies from a file

clearproxy check proxies.txt

CLI Examples

Basic check

clearproxy check proxies.txt

Specify region and type

clearproxy check proxies.txt --region sg1 --type socks5

Save as plain text

clearproxy check proxies.txt --format txt --out working.txt --simple

Inline proxies

clearproxy check 1.1.1.1:8080 8.8.8.8:3128

Note

For more information about the CLI, run clearproxy check --help to see all available options.

Show API regions

clearproxy regions

SDK Usage (Node.js)

import { ClearProxy } from "clearproxy";
import fs from "fs";

const client = new ClearProxy("clearpx_yourkey");

(async () => {
  const result = await client.check("proxies.txt", {
    region: "us1",
    timeout: 4000,
    type: "http"
  });

  console.log("Summary:", result.summary);
  console.log("Working:", result.working.length);

  // Save to file
  fs.writeFileSync("working.txt", client.export(result.working, "txt", true));
})();


Documentation


License

MIT License © 2025 ClearProxy

About

Official ClearProxy SDK & CLI easily check, verify proxy lists with ClearProxy.io API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published