domaintools-api
DomainTools Official Python API
Decision gist · record as of 2026-08-14
Yes, if you have DomainTools API credentials and need to query domain threat intelligence or enrichment data from Python. The package is actively maintained, has low install friction, uses permissive MIT licensing, and supports current Python versions (3.9+). No known vulnerabilities. Install only if you have a valid DomainTools subscription or API access.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires valid DomainTools API credentials (username and API key) to make requests; unauthenticated calls will fail.
- Low friction installation via pip with a pure-Python wheel.
- Actively maintained as of 2026-07-29 with recent releases.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive). You may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2026-07-29 (16 days) · last repo commit 2026-07-29 · 94 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 227,799 downloads/mo, #9,166 on PyPI
Alternatives
Verify before relying
pip install domaintools_api
from domaintools import API
api = API(username, api_key)
result = api.iris_enrich('example.com')
print(result.response())- Whether the package supports all current DomainTools API endpoints beyond those shown in the description excerpt.
- Rate limiting or quota behavior when making high-volume requests.
- Whether async operations have performance benefits or are primarily for non-blocking I/O.
- Specific error handling and retry strategies for network failures or API timeouts.
What it is and what it does
The DomainTools API wrapper is an official Python client for accessing DomainTools' cybersecurity and domain intelligence services. It exposes endpoints from Iris Investigate (complex domain searches via IrisQL query language), Iris Enrich (domain enrichment and metadata), and Iris Detect (threat detection) as methods on an API object, handling authentication, request formatting, and response parsing automatically.
The package supports both synchronous and asynchronous usage patterns, with results accessible as native Python objects, JSON, XML, or HTML. It includes a command-line interface for direct API calls and handles exceptions with detailed error information. Runtime dependencies (httpx, pyyaml, rich, typer) provide HTTP transport, configuration parsing, formatted output, and CLI scaffolding.
Use it for
- Query domain risk scores and threat intelligence data for security investigations or incident response.
- Enrich domain metadata (WHOIS, DNS, SSL certificate data) for automated threat analysis workflows.
- Execute complex multi-field domain searches using IrisQL for phishing, malware, or suspicious domain discovery.
- Build command-line tools or scripts to check domain reputation without writing HTTP requests manually.
- Integrate domain threat feeds into security monitoring or SIEM platforms via Python automation.
- Perform bulk domain lookups asynchronously to reduce latency in high-throughput security scanning.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you have DomainTools API credentials and need to query domain threat intelligence or enrichment data from Python.
The package is actively maintained, has low install friction, uses permissive MIT licensing, and supports current Python versions (3.9+). No known vulnerabilities. Install only if you have a valid DomainTools subscription or API access.
Install
domaintools-api on PyPI
Before you install
Low friction installation via pip with a pure-Python wheel. Actively maintained as of 2026-07-29 with recent releases. Depends on httpx, pyyaml, rich, and typer—all stable, widely-used libraries.
Requires valid DomainTools API credentials (username and API key) to make requests; unauthenticated calls will fail.
License in practice
MIT license (permissive). You may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install domaintools_api
from domaintools import API
api = API(username, api_key)
result = api.iris_enrich('example.com')
print(result.response())
Verify before relying
- Whether the package supports all current DomainTools API endpoints beyond those shown in the description excerpt.
- Rate limiting or quota behavior when making high-volume requests.
- Whether async operations have performance benefits or are primarily for non-blocking I/O.
- Specific error handling and retry strategies for network failures or API timeouts.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packageshttpxpyyamlrichtyper |
| Maintenance | Actively maintained 16 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 227,799 / month, #9,166 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Utilities |
Evidence: domaintools_api-2.9.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “domaintools api python wrapper”
- domaintools-apiProvides a Python interface to DomainTools cybersecurity APIs (Iris…
- twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…
- asyncprawAsync PRAW provides asynchronous access to Reddit's API, allowing you…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also dnstwist · OTXv2 · intersystems-irispython · proxycurl-py · ipinfo · vt-py · threatwire · whois · taxii2-client · python-whois