Synthient's official CLI tool. Currently in beta.
| System | Install Command |
|---|---|
| macOS | brew install synthient/tap/synthient or go install github.com/synthient/cli |
| Linux | go install github.com/synthient/cli |
| Windows | go install github.com/synthient/cli |
Authenticate the CLI with your Synthient API key. This API key will then be stored in your system's keychain for secure storage. If you want to authenticate a different way there are two other options:
- Provide your API key as an environment variable with the key being
SYNTHIENT_API_KEY. - Store it in a
.envfile in the current directory with the keySYNTHIENT_API_KEY.
Note
You need to be authenticated to run this command.
Lookup a given IP address. Works with piped input and/or multiple IP address as seen here:
synthient lookup 213.149.183.127synthient lookup 213.149.183.127 168.205.174.84echo "213.149.183.127 168.205.174.84" | synthient lookupHere is a full look into all of the options for the lookup command:
Usage:
synthient lookup [flags]
Flags:
-f, --format string Output format [text|json|csv] (default "text")
-h, --help help for lookup
-o, --output string Where to write output: '-' for stdout, or a file path (e.g. 'lookup.json' or 'lookup.csv) (default "-")Note
You need to be authenticated to run this command.
Want to stream data from a anonymizer feed? Do this using the synthient CLI with the following command:
synthient stream \
--provider IPIDEA \
--type RESIDENTIAL_PROXY \
--last_observed 24H \
--format CSV \
--country_code US \
--order descThis will then stream the data and output it to the standard out as it comes in.
Note
You need to be authenticated to run this command.
The same can be done for streaming but instead it goes directly into a file. This can be done by using the download command with the same flags available but with the file specified as an argument (e.g. feed.csv):
synthient download feed.csv \
--provider IPIDEA \
--type RESIDENTIAL_PROXY \
--last_observed 24H \
--format CSV \
--country_code US \
--order descConfiguration for the synthient CLI is located in ~/.config/synthient/config.toml. Right now the customizable fields are the hosts for API and feeds data:
[endpoints]
base_api = "https://customhost.com"
base_feeds = "https://otherhost.com"


