Skip to main content

A unofficial client for WhoisXMLAPI

Project description

Build Status

An unofficial client for WhoisXMLAPI


  • Python 2 and 3 support
  • CLI utility for common queries with JSON and CSV output
  • Pythonic access to every WhoisXMLAPI service

CLI help - A CLI for WhoisXMLAPI

Usage: balances [-d | --debug] [--verbose] <domain> [-o | --output=<output_file>] bulk [-d | --debug] (<domain>... | [-i |--input <input_file>]) [--csv] [ -o | --output=<output_file>] reverse [-d | --debug] [-p | --purchase] [--historic] <term>... [--exclude <exclude_term>... --since=<since> --days-back=<days_back> [-o | --output=<output_file>]] history [-d | --debug] [-p | --purchase] <domain> [--since=<since>  [-o | --output=<output_file>]] brand [-d | --debug] [-p | --purchase] <term>... [--exclude <exclude_term>... --since=<since> [--csv]  [-o | --output=<output_file>]] registrant [-d | --debug] [-p | --purchase] <term>... [--exclude <exclude_term>... --since=<since> [--csv] [-o |--output=<output_file>]] reverse-ip [-d | --debug] [--verbose] <ip> [--csv] [-o | --output=<output_file>] reverse-mx [-d | --debug] [--verbose] <mx> [--csv] [-o | --output=<output_file>] reverse-ns [-d | --debug] [--verbose] <ns> [--csv] [-o | --output=<output_file>] -h | --help --version

  -h --help                    Show this screen
  -d --debug                   Enable debug output
  -i --input=<input_file>      A path to a file containing one domain per line
  -o --output=<output_file>    Output to a file with this file name; the file extension is added automatically
  -p --purchase                Purchase the results with a Domain Research Suite (DRS) credit
  --since=<since>              Only include results since this date YYY-MM0DD format
  --days-back=<days_back>      Search back through this number of days (12 maximum)
  --historic                   Include historic results
  --csv                        Output in CSV format
  --verbose                    Return verbose data
  --version                    Show version


The CLI utility expects the API key to be stored in an environment variable called WHOIS_KEY.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pywhoisxmlapi-2.0.2-py2.py3-none-any.whl (13.8 kB) Copy SHA256 hash SHA256 Wheel py2.py3
pywhoisxmlapi-2.0.2.tar.gz (9.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page