---
agentTools:
  projectIndex: https://help.logichub.com/llms.txt
---

# ARIN Whois

Version: 2.0.0

ARIN Whois is a directory service for accessing registration data contained within ARIN's registration database.

# Connect ARIN Whois with LogicHub

1. Navigate to **Automations** > **Integrations**.
2. Search for **ARIN Whois**.
3. Click **Details**, then the **+** icon. Enter the required information in the following fields.
   * **Label**: Enter a connection name.
   * **Reference Values**: Define variables here to templatize integration connections and actions. For example, you can use <https://www.{{hostname}}.com> where, hostname is a variable defined in this input. For more information on how to add data, see ['Add Data' Input Type for Integrations](add-an-integration-connection#add-data-input-type-for-integrations).
   * **Verify SSL**: Select option to verify connecting server's SSL certificate (Default is Verify SSL Certificate).
   * **Remote Agent**: Run this integration using the LogicHub Remote Agent.
4. After you've entered all the details, click **Connect**.

# Actions for ARIN Whois

## Lookup IP

Retrieve ARIN Whois data for an IP address.

### Input Field

Choose a connection that you have previously created and then fill in the necessary information in the following input fields to complete the connection.

[block:parameters]
{
  "data": {
    "0-0": "IPs column name",
    "0-1": "Select a column that contains IP addresses.",
    "h-0": "Input Name",
    "h-1": "Description",
    "h-2": "Required",
    "0-2": "Required"
  },
  "cols": 3,
  "rows": 1
}
[/block]

### Output

A JSON object containing multiple rows of result:

* has\_error: True/False
* error: message/null
* lookup: IP address whose data was fetched
* start\_ip: Net - Start Address of IP
* end\_ip: Net - End Address of IP
* full: raw API JSON response

[block:code]
{
  "codes": [
    {
      "code": "{\n   \"has_error\":false,\n   \"end_ip\":\"125.231.255.255\",\n   \"lookup\":\"125.227.70.80\",\n   \"full\":{\n      \"handle\":\"125.224.0.0 - 125.231.255.255\",\n      \"name\":\"HINET-NET\",\n      \"links\":[\n         {\n            \"href\":\"https://rdap.apnic.net/ip/125.224.0.0/13\",\n            \"type\":\"application/rdap+json\",\n            \"rel\":\"self\",\n            \"value\":\"https://rdap.apnic.net/ip/125.227.70.80\"\n         },\n         {\n            \"href\":\"https://netox.apnic.net/search/125.224.0.0%2F13?utm_source=rdap&utm_medium=result&utm_campaign=rdap_result\",\n            \"type\":\"text/html\",\n            \"rel\":\"related\",\n            \"value\":\"https://rdap.apnic.net/ip/125.227.70.80\"\n         }\n      ],\n      \"entities\":[\n         {\n            \"handle\":\"IRT-TWNIC-AP\",\n            \"roles\":[\n               \"abuse\"\n            ],\n            \"links\":[\n               {\n                  \"href\":\"https://rdap.apnic.net/entity/IRT-TWNIC-AP\",\n                  \"type\":\"application/rdap+json\",\n                  \"rel\":\"self\",\n                  \"value\":\"https://rdap.apnic.net/ip/125.227.70.80\"\n               }\n            ],\n            \"vcardArray\":[\n               \"vcard\",\n               [\n                  [\n                     \"version\",\n                     {\n                        \n                     },\n                     \"text\",\n                     \"4.0\"\n                  ],\n                  [\n                     \"fn\",\n                     {\n                        \n                     },\n                     \"text\",\n                     \"IRT-TWNIC-AP\"\n                  ],\n                  [\n                     \"kind\",\n                     {\n                        \n                     },\n                     \"text\",\n                     \"group\"\n                  ],\n                  [\n                     \"adr\",\n                     {\n                        \"label\":\"Taipei, Taiwan, 100\"\n                     },\n                     \"text\",\n                     [\n                        \"\",\n                        \"\",\n                        \"\",\n                        \"\",\n                        \"\",\n                        \"\",\n                        \"\"\n                     ]\n                  ],\n                  [\n                     \"email\",\n                     {\n                        \n                     },\n                     \"text\",\n                     \"hostmaster@twnic.net.tw\"\n                  ],\n                  [\n                     \"email\",\n                     {\n                        \"pref\":\"1\"\n                     },\n                     \"text\",\n                     \"hostmaster@twnic.net.tw\"\n                  ]\n               ]\n            ],\n            \"remarks\":[\n               {\n                  \"description\":[\n                     \"Please note that TWNIC is not an ISP and is not empowered\",\n                     \"to investigate complaints of network abuse.\"\n                  ],\n                  \"title\":\"remarks\"\n               }\n            ],\n            \"objectClassName\":\"entity\",\n            \"events\":[\n               {\n                  \"eventAction\":\"last changed\",\n                  \"eventDate\":\"2015-10-08T07:58:24Z\"\n               }\n            ]\n         },\n         {\n            \"handle\":\"HN27-AP\",\n            \"roles\":[\n               \"administrative\",\n               \"technical\"\n            ],\n            \"links\":[\n               {\n                  \"href\":\"https://rdap.apnic.net/entity/HN27-AP\",\n                  \"type\":\"application/rdap+json\",\n                  \"rel\":\"self\",\n                  \"value\":\"https://rdap.apnic.net/ip/125.227.70.80\"\n               }\n            ],\n            \"vcardArray\":[\n               \"vcard\",\n               [\n                  [\n                     \"version\",\n                     {\n                        \n                     },\n                     \"text\",\n                     \"4.0\"\n                  ],\n                  [\n                     \"fn\",\n                     {\n                        \n                     },\n                     \"text\",\n                     \"HINET Network-Adm\"\n                  ],\n                  [\n                     \"kind\",\n                     {\n                        \n                     },\n                     \"text\",\n                     \"individual\"\n                  ],\n                  [\n                     \"adr\",\n                     {\n                        \"label\":\"CHTD, Chunghwa Telecom Co., Ltd.\\nNo. 21, Sec. 21, Hsin-Yi Rd.,\\nTaipei Taiwan 100\"\n                     },\n                     \"text\",\n                     [\n                        \"\",\n                        \"\",\n                        \"\",\n                        \"\",\n                        \"\",\n                        \"\",\n                        \"\"\n                     ]\n                  ],\n                  [\n                     \"tel\",\n                     {\n                        \"type\":\"voice\"\n                     },\n                     \"text\",\n                     \"+886 2 2322 3495\"\n                  ],\n                  [\n                     \"tel\",\n                     {\n                        \"type\":\"voice\"\n                     },\n                     \"text\",\n                     \"+886 2 2322 3442\"\n                  ],\n                  [\n                     \"tel\",\n                     {\n                        \"type\":\"voice\"\n                     },\n                     \"text\",\n                     \"+886 2 2344 3007\"\n                  ],\n                  [\n                     \"tel\",\n                     {\n                        \"type\":\"fax\"\n                     },\n                     \"text\",\n                     \"+886 2 2344 2513\"\n                  ],\n                  [\n                     \"tel\",\n                     {\n                        \"type\":\"fax\"\n                     },\n                     \"text\",\n                     \"+886 2 2395 5671\"\n                  ],\n                  [\n                     \"email\",\n                     {\n                        \n                     },\n                     \"text\",\n                     \"network-adm@hinet.net\"\n                  ]\n               ]\n            ],\n            \"remarks\":[\n               {\n                  \"description\":[\n                     \"same as TWNIC nic-handle HN184-TW\"\n                  ],\n                  \"title\":\"remarks\"\n               }\n            ],\n            \"objectClassName\":\"entity\",\n            \"events\":[\n               {\n                  \"eventAction\":\"last changed\",\n                  \"eventDate\":\"2011-08-22T06:04:01Z\"\n               }\n            ]\n         }\n      ],\n      \"port43\":\"whois.apnic.net\",\n      \"country\":\"TW\",\n      \"endAddress\":\"125.231.255.255\",\n      \"ipVersion\":\"v4\",\n      \"remarks\":[\n         {\n            \"description\":[\n               \"Data Communication Business Group,\",\n               \"Chunghwa Telecom Co.,Ltd.\",\n               \"No.21, Sec.1, Xinyi Rd., Taipei City\",\n               \"10048, Taiwan\"\n            ],\n            \"title\":\"description\"\n         }\n      ],\n      \"startAddress\":\"125.224.0.0\",\n      \"cidr0_cidrs\":[\n         {\n            \"v4prefix\":\"125.224.0.0\",\n            \"length\":13\n         }\n      ],\n      \"rdapConformance\":[\n         \"history_version_0\",\n         \"cidr0\",\n         \"rdap_level_0\"\n      ],\n      \"notices\":[\n         {\n            \"description\":[\n               \"Objects returned came from source\",\n               \"APNIC\"\n            ],\n            \"title\":\"Source\"\n         },\n         {\n            \"description\":[\n               \"This is the APNIC WHOIS Database query service. The objects are in RDAP format.\"\n            ],\n            \"links\":[\n               {\n                  \"href\":\"http://www.apnic.net/db/dbcopyright.html\",\n                  \"type\":\"text/html\",\n                  \"rel\":\"terms-of-service\",\n                  \"value\":\"https://rdap.apnic.net/ip/125.227.70.80\"\n               }\n            ],\n            \"title\":\"Terms and Conditions\"\n         }\n      ],\n      \"objectClassName\":\"ip network\",\n      \"type\":\"ALLOCATED PORTABLE\",\n      \"events\":[\n         {\n            \"eventAction\":\"last changed\",\n            \"eventDate\":\"2013-12-04T12:38:04Z\"\n         }\n      ]\n   },\n   \"error\":null,\n   \"start_ip\":\"125.224.0.0\"\n}",
      "language": "json"
    }
  ]
}
[/block]

# Release Notes

* `v2.0.0` - Updated architecture to support IO via filesystem