CLI

Query IP intelligence directly from your terminal. Fast, scriptable, and designed for developers.

One-line install

Install with npm, brew, or curl. Up and running in seconds.

Familiar commands

Unix-inspired interface. Works like grep, curl, or jq.

Multiple formats

Output as JSON, CSV, or plain text. Pipe to other tools.

Batch lookups

Process thousands of IPs in a single command.

Installation

# npm

npm install -g @datasentry/cli

# Homebrew

brew tap datasentry/datasentry && brew install datasentry-cli

# curl

curl -fsSL https://cli.datasentry.io/install.sh | sh

Quick Start

# Lookup a single IP
$ datasentry lookup 8.8.8.8

# Bulk lookup from file
$ datasentry lookup --file ips.txt --output json

# Check threat score
$ datasentry threat 192.168.1.1

# Export to CSV
$ datasentry lookup 8.8.8.8 --format csv

Start Using the CLI