Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

check

Check a list of proxies you already have. check reads host:port addresses from stdin (or a file), dials each through the same checking pipeline as find, and streams the working ones to output. Unlike find, it does not scrape providers — you supply the candidates.

cat proxies.txt | proxybroker check --types HTTP HTTPS

--types is required unless --load is used (which emits already-checked proxies without re-checking).

Input

OptionValueDefaultMeaning
--infilePATH(stdin)Read host:port addresses from this file instead of stdin.
--loadPATH(none)Load already-checked proxies from an NDJSON file (from a prior --save) and emit them without re-checking. Stats restart from empty (a warm start, not a resumed history). Conflicts with --infile and --types.

With --load, no network activity occurs and --types is ignored; the saved proxies are streamed straight to output. Timing fields are not persisted, so under --show-stats the avg_resp_time/error counters read zero while total/working and the protocol/anonymity/country breakdowns remain meaningful.

Selection & filtering

OptionValueDefaultMeaning
--typesprotocols(required unless --load)Protocols to check. E.g. --types HTTP HTTPS SOCKS5 CONNECT:80. Case-insensitive.
--lvllevels(any)Anonymity levels to accept for HTTP: Transparent, Anonymous, High. HTTP only.
--limitinteger0Stop after this many working proxies. 0 means unlimited.
--countries, --only-ccISO codes(all)Keep only proxies in these ISO country codes. Space- or comma-separated.
--strictflagoffRequire the anonymity level to match exactly.

Judges, timing & concurrency

OptionValueDefaultMeaning
--judgesURLsbundledJudge URLs to use instead of the bundled defaults.
--dnsblzones(none)DNS blocklist zones; reject proxies listed in any (e.g. zen.spamhaus.org).
--timeoutseconds8Per-request timeout.
--max-conninteger200Maximum concurrent checks.
--max-triesinteger3Attempts per protocol before giving up.
--postflagoffUse POST instead of GET for the test request.

check uses a plain retry-on-timeout policy (--max-tries attempts); the richer --retry-on/--backoff-ms and capability filters of find are find-only.

Output & reporting

OptionValueDefaultMeaning
--formatdefault|txt|json|json-array|url|csvdefaultOutput format. See Output Formats.
--output-formattemplate(none)Per-proxy template, overriding --format. Tokens: {{proxy}} {{host}} {{port}} {{scheme}} {{protocols}} {{anon}} {{country}} {{asn}} {{asn_org}} {{duration}} {{error_rate}}.
--outfilePATH(stdout)Write to this file instead of stdout.
--savePATH(none)Also append every working proxy as NDJSON to this file (reloadable via --load). Independent of --format/--outfile.
--show-statsflagoffPrint an aggregate summary to stderr when done.
--stats-formattext|jsontextFormat for the --show-stats summary. Inert without --show-stats.

Input parsing is lenient: addresses are extracted line-by-line, and if nothing parses, check prints a notice to stderr and exits cleanly.

Examples

Check a file of addresses for working HTTPS proxies, saving winners:

proxybroker check --infile candidates.txt --types HTTPS \
  --save working.ndjson --show-stats

Re-emit a previously saved pool without touching the network:

proxybroker check --load working.ndjson --format url

Pipe grabbed candidates directly into a check:

proxybroker grab --limit 500 | proxybroker check --types HTTP --limit 50

See grab for producing an unchecked candidate list and find for the scrape-and-check path.