Installation

Easily make single and bulk IP lookups from your terminal with ipdata's Command Line Interface.

asciicast

Install the latest version of the cli with pip.

pip install ipdata

or

easy_install ipdata

Available commands

ipdata --help
Usage: ipdata [OPTIONS] COMMAND [ARGS]...
CLI for ipdata API
Options:
--api-key TEXT ipdata API Key
--help Show this message and exit.
Commands:
batch
info
init
me

Initialize the cli with your API Key

You need a valid API key from ipdata to use the cli. You can get a free key by signing up here.

ipdata init <API Key>

You can also pass the --api-key <API Key> parameter to any command to specify a different API Key.