Skip to content

Repository files navigation

InternetData InternetData n8n Node

npm license

The official InternetData node for n8n.

It looks up an IP address, an AS or a domain in a workflow. No key is needed to try it, and a free key answers more (pricing).

Getting Started

In n8n, open Settings > Community Nodes, choose Install, and enter n8n-nodes-internetdata. Then add the InternetData node to a workflow. Self-hosted n8n can also take it with npm install --legacy-peer-deps n8n-nodes-internetdata in ~/.n8n/nodes: without that flag, npm also installs n8n's own n8n-workflow, whose native module fails to build in n8n's Docker image.

Operations

Resource Operation Answers
IP Address Look Up Country, the AS without its type, reverse DNS, Tor, relays, anycast and bogon with no key; the company, the abuse contact, VPNs, proxies, hosting, bots, carrier, satellite, the service flags, city-level location and the rest with a paid plan or a free key's full answers
Autonomous System Look Up The AS's name, country, registry, allocation date and domain with no key; its type, prefixes, peers, upstreams and the domains it hosts with a paid plan or a free key's full answers
Domain Look Up Whether it's registered and which record types it has with no key; the records, their networks and more with a paid plan or a free key's full answers

Each answer is the API's JSON as is, one item per input item. The node is usable as a tool by n8n's AI Agent.

Once your organization's lookups with every field are used up, a lookup with a key fails. Turn on Continue On Fail to carry on with the basics: the item holds the error, and the answer as result. A lookup the API refuses fails with the API's own message.

Example Workflow

Paste this into an n8n canvas: a manual trigger, then the InternetData node looking up 8.8.8.8 with no key.

{
  "nodes": [
    {"name": "When clicking 'Execute workflow'", "type": "n8n-nodes-base.manualTrigger", "typeVersion": 1, "position": [0, 0], "parameters": {}},
    {"name": "InternetData", "type": "n8n-nodes-internetdata.internetData", "typeVersion": 1, "position": [220, 0],
     "parameters": {"resource": "ip", "operation": "lookup", "ip": "8.8.8.8"}}
  ],
  "connections": {
    "When clicking 'Execute workflow'": {"main": [[{"node": "InternetData", "type": "main", "index": 0}]]}
  }
}

Credentials

Authentication defaults to None, which needs no key and answers the fields in the table above. For a paid plan's or a free key's full answers, set Authentication to API Key and create an InternetData API credential with a key from the console, with the Lookups scope. The credential's test checks the key without spending a lookup.

Compatibility

Tested with n8n 2.48.7 (scripts/e2e.sh, which runs the node inside n8n's own image).

Development

scripts/e2e.sh builds and lints the node and runs its workflows in e2e/ against the API, all in Docker. With INTERNETDATA_KEY set it also runs the keyed one, and two run against a stand-in for the API.

Other Integrations

There are official InternetData client libraries available for many languages including PHP, Python, Go, Java, and Ruby. See our GitHub at https://github.com/internetdata for more.

About InternetData

Geolocation, anonymity, ownership, network, service and domain data for any IP address, AS or domain, by API or as databases you download.

InternetData

License

This project is licensed under the MIT License.

Releases

Packages

Used by

Contributors

Languages