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 Domain Research Suite (DRS) credits
  --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.

Files for pywhoisxmlapi, version 2.1.7
Filename, size File type Python version Upload date Hashes
Filename, size pywhoisxmlapi-2.1.7-py2.py3-none-any.whl (14.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pywhoisxmlapi-2.1.7.tar.gz (11.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page