IP2WHOIS WHOIS lookup api helps users to obtain domain information, WHOIS record, by using a domain name. The WHOIS API returns a comprehensive WHOIS data such as creation date, updated date, expiration date, domain age, the contact information of the registrant, mailing address, phone number, email address, nameservers the domain is using and much more. IP2WHOIS supports the query for 1113 TLDs and 634 ccTLDs.
Helps users to obtain domain information, WHOIS record, by using a domain name. Please refer to the documentation for the details of the fields returned.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The IP2WHOIS API is a lookup tool that can fetch WHOIS information for a given IP address or domain. This data includes registration details, contact information, and sometimes even personal or organization-related data of the domain owner. Leveraging this API on Pipedream allows you to create automated workflows that can enrich IP data, monitor domain registration changes, or integrate WHOIS information into security analysis. By tapping into Pipedream's capabilities, you can trigger actions based on this data across various apps and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ip2whois: {
type: "app",
app: "ip2whois",
},
domain: {
type: "string",
default: "greendot.com"
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ip2whois.com/v2?key={your_license_key}&domain={domain_name}`,
params: {
key: `${this.ip2whois.$auth.api_key}`,
domain: `${this.domain}`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})