Overview
The node provides a way to query domain information using the IP2Whois service, specifically for the "Get" operation on the "IP2Whois Domain" resource. It allows users to input a domain name and retrieve detailed WHOIS data about that domain. This is useful for scenarios such as domain research, cybersecurity investigations, or verifying domain ownership and registration details.
For example, a user might input "google.com" to get its WHOIS information in JSON or XML format, which can then be used for further processing or reporting within an n8n workflow.
Properties
| Name | Meaning |
|---|---|
| Domain | The domain name to query, e.g., "google.com". |
| Format | The response format of the WHOIS data. Options: JSON (default) or XML. |
Output
The node outputs the WHOIS information of the queried domain in the selected format (JSON or XML). The main output field json contains the parsed WHOIS data when JSON format is selected. If XML format is chosen, the raw XML response is provided accordingly.
No binary data output is indicated.
Dependencies
- Requires an API key credential for the IP2Location service to authenticate requests.
- The node depends on the IP2Whois API endpoint to fetch domain WHOIS data.
- Proper configuration of the API key credential in n8n is necessary for successful execution.
Troubleshooting
Common issues:
- Invalid or missing API key credential will cause authentication failures.
- Querying an invalid or non-existent domain may result in errors or empty responses.
- Selecting XML format requires handling raw XML data downstream; improper parsing may cause issues.
Error messages:
- Authentication errors typically indicate problems with the API key setup.
- Network or timeout errors suggest connectivity issues with the IP2Whois service.
- Response format errors may occur if the requested format is unsupported or malformed.
To resolve these, verify API credentials, ensure domain names are valid, and handle response formats correctly in subsequent nodes.
Links and References
- IP2Location Official Website
- IP2Whois API Documentation
- n8n Documentation on Credentials and HTTP Request Node (for custom API calls)