# IP WHOIS Lookup: Owner, Network, Abuse Contact (RDAP) (`ponderable_hydrometer/ip-whois`) Actor

IP address WHOIS lookup via official RDAP: who owns an IP, network name and range (CIDR), organisation, country, registry (ARIN, RIPE, APNIC, LACNIC, AFRINIC), abuse contact email and registration dates. Bulk IPv4 and IPv6. No key.

- **URL**: https://apify.com/ponderable_hydrometer/ip-whois.md
- **Developed by:** [Ponderable Hydrometer](https://apify.com/ponderable_hydrometer) (community)
- **Categories:** Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## IP WHOIS Lookup — Owner, Network, Abuse Contact via RDAP

**Who runs an IP address, from the registries themselves.** Network name and range (CIDR), owner organisation, country, regional registry and the abuse mailbox, through RDAP, the modern, structured replacement for WHOIS. Bulk IPv4 and IPv6 lookup for log triage, fraud checks and abuse reports, with no key.

### What you can do with it

- **Find the owner of an IP address** seen in server logs or alerts.
- **Get the abuse contact** (role mailbox) to report spam, attacks or scraping.
- **Identify the network block** (start/end address and CIDR) an address belongs to.
- **Bulk-enrich** lists of IPs with organisation, country and registry.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `ips` | array | — | IPv4 or IPv6 addresses. Duplicates and values that are not IP addresses are dropped. |

Example: `{"ips": ["8.8.8.8", "1.1.1.1", "2a00:1450:4001:80b::200e"]}`

### What you get

One row per IP: `ip`, `startAddress`, `endAddress`, `cidr`, `ipVersion`, `networkName`, `handle`, `type`, `country`, `organization`, `abuseEmail`, `registry`, `registered`, `lastChanged`, `parentHandle`.

### Output sample

```json
{
  "ip": "8.8.8.8",
  "startAddress": "8.8.8.0",
  "endAddress": "8.8.8.255",
  "cidr": [
    "8.8.8.0/24"
  ],
  "ipVersion": "v4",
  "networkName": "GOGL",
  "handle": "NET-8-8-8-0-2",
  "type": "DIRECT ALLOCATION",
  "country": null,
  "organization": "Google LLC",
  "abuseEmail": "network-abuse@google.com",
  "registry": "ARIN",
  "registered": "2023-12-28T17:24:33-05:00",
  "lastChanged": "2023-12-28T17:24:56-05:00",
  "parentHandle": "NET-8-0-0-0-2"
}
```

### Use it from the API or an AI agent

```bash
curl -X POST "https://api.apify.com/v2/acts/ponderable_hydrometer~ip-whois/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"ips": ["8.8.8.8", "1.1.1.1"]}'
```

Through the Apify MCP server, an AI agent can call it as a tool: `https://mcp.apify.com?tools=ponderable_hydrometer/ip-whois`.

### Limits and good to know

- **This is registry data, not geolocation.** `country` is the country in the registry record (often empty for ARIN), not where a device is. There is no city, no ASN and no reputation or VPN/proxy detection.
- Only organisation records and role mailboxes are returned; personal contact details are not collected, and `organization` is empty when the registrant is an individual.
- Registries differ in which fields they fill; empty means the registry did not publish it.
- Private and reserved ranges (10.x, 192.168.x…) have no owner record and produce no row.
- RDAP queries go through the public rdap.org redirector to the right registry, so very large bulk runs can be rate-limited by the registries; failed IPs are logged and skipped.
- If no row is returned, the run ends as FAILED.

### FAQ

**Is this the same as WHOIS?** It returns the same kind of registration data, from the RDAP service that registries now offer next to the old text WHOIS.

**Can it look up domains?** No, only IP addresses.

**Does it return ASN numbers?** No.

### Pricing

Pay per result — **$0.50 per 1,000 results** (one IP = one result), plus Apify's standard per-run start event ($0.00005 per GB of memory, so a fraction of a cent per run). No subscription.

# Actor input Schema

## `ips` (type: `array`):

IPv4 or IPv6 addresses.

## Actor input object example

```json
{
  "ips": [
    "8.8.8.8",
    "1.1.1.1",
    "2a00:1450:4001:80b::200e"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

All rows produced by this run, as JSON.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "ips": [
        "8.8.8.8",
        "1.1.1.1",
        "2a00:1450:4001:80b::200e"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ponderable_hydrometer/ip-whois").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "ips": [
        "8.8.8.8",
        "1.1.1.1",
        "2a00:1450:4001:80b::200e",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("ponderable_hydrometer/ip-whois").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "ips": [
    "8.8.8.8",
    "1.1.1.1",
    "2a00:1450:4001:80b::200e"
  ]
}' |
apify call ponderable_hydrometer/ip-whois --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ponderable_hydrometer/ip-whois"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/nbqa4a0hBhJV0yWBW/builds/exEafBXKgpzWO0IY0/openapi.json
