# Ip Whois Rdap Lookup (`real-estate-api/ip-whois-rdap-lookup`) Actor

This Actor performs IP lookups and RDAP (Registration Data Access Protocol) queries to retrieve official registration and ownership details for any IP address. It extracts autonomous system (ASN) numbers, network ranges, organization names, contact emails, and country

- **URL**: https://apify.com/real-estate-api/ip-whois-rdap-lookup.md
- **Developed by:** [real-estate-api](https://apify.com/real-estate-api) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 (RDAP) Lookup — IP Ownership and Network Registration Data

![IP WHOIS (RDAP) Lookup cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/ip-whois-rdap-lookup-cover.png)

Look up IP ownership, network registration, CIDR ranges, contact information, and DNS details using public RDAP records from ARIN and other Regional Internet Registries (RIRs). Submit IP addresses, configure a result limit, and export structured data.

### Overview

This actor looks up network registration information for supplied IP addresses and extracts structured details about registered networks, IP ranges, registration dates, network status, contacts, and nameservers.

Results are deduplicated by network handle and capped according to the `maxItems` setting.

### Features

- Look up IPv4 and IPv6 addresses.
- Retrieve network registration details from the appropriate RIR.
- Extract network handles, names, types, and country information.
- Collect IP address ranges and CIDR details.
- Retrieve registration and modification dates.
- Extract network status and contact information.
- Collect nameserver and DNS details.
- Export structured results in JSON, CSV, and Excel formats.

### Collection Mode

**IP WHOIS**

Looks up each supplied IP address and retrieves its associated network registration information.

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `mode` | String | Yes | `ip` | Selects the IP lookup mode. |
| `ips` | Array | Yes | — | List of IP addresses to look up. |
| `maxItems` | Integer | No | `50` | Maximum number of results to collect. |
| `requestDelaySecs` | Number | No | `1` | Delay between lookups in seconds. |

### Example Input

```json
{
  "mode": "ip",
  "ips": ["8.8.8.8"],
  "maxItems": 50,
  "requestDelaySecs": 1
}
```

### Extracted Data

#### Input

| Field | Description |
|---|---|
| `input` | Original input value supplied for the lookup. |
| `query_ip` | IP address used for the lookup. |
| `lookup_type` | Type of lookup performed. |
| `ip_version` | IP version, such as IPv4 or IPv6. |

#### Network Details

| Field | Description |
|---|---|
| `network_handle` | Unique identifier assigned to the registered network. |
| `network_name` | Registered network name. |
| `network_type` | Classification of the network. |
| `parent_handle` | Identifier of the parent network, when available. |
| `country` | Country associated with the network registration. |

#### IP Range

| Field | Description |
|---|---|
| `start_address` | First IP address in the registered range. |
| `end_address` | Last IP address in the registered range. |
| `cidr_count` | Number of CIDR ranges associated with the network. |
| `cidr_ranges` | List of CIDR prefixes associated with the network. |

#### Dates

| Field | Description |
|---|---|
| `registration_date` | Date the network registration was created. |
| `last_changed` | Date the registration information was last changed. |
| `expiration_date` | Network registration expiration date, when available. |
| `deletion_date` | Network deletion date, when available. |

#### Network Status

| Field | Description |
|---|---|
| `network_status` | Current registration status values for the network. |
| `port43` | Port 43 WHOIS server information, when available. |

#### Contacts

| Field | Description |
|---|---|
| `entity_count` | Number of associated entities or contacts. |
| `entity_handles` | Identifiers of associated entities. |
| `entity_roles` | Roles assigned to associated entities. |
| `contact_names` | Names of associated contacts. |
| `organizations` | Organizations associated with the network. |
| `contact_emails` | Email addresses listed for associated contacts. |
| `contact_phones` | Phone numbers listed for associated contacts. |

#### DNS

| Field | Description |
|---|---|
| `nameserver_count` | Number of associated nameservers. |
| `nameservers` | List of nameserver details. |

#### Additional Details

| Field | Description |
|---|---|
| `remarks` | Additional registration remarks. |
| `notices` | Notices included in the registration record. |
| `links` | Related links included in the registration record. |
| `rdap_object_class` | RDAP object classification. |
| `rdap_version` | RDAP version information. |

#### Metadata

| Field | Description |
|---|---|
| `scraped_at` | Date and time when the result was collected. |

### Example Output

```json
{
  "input": "8.8.8.8",
  "query_ip": "8.8.8.8",
  "lookup_type": "ip",
  "ip_version": "IPv4",
  "network_handle": null,
  "network_name": null,
  "network_type": null,
  "parent_handle": null,
  "country": null,
  "start_address": null,
  "end_address": null,
  "cidr_count": null,
  "cidr_ranges": [],
  "registration_date": null,
  "last_changed": null,
  "expiration_date": null,
  "deletion_date": null,
  "network_status": [],
  "port43": null,
  "entity_count": null,
  "entity_handles": [],
  "entity_roles": [],
  "contact_names": [],
  "organizations": [],
  "contact_emails": [],
  "contact_phones": [],
  "nameserver_count": null,
  "nameservers": [],
  "remarks": [],
  "notices": [],
  "links": [],
  "rdap_object_class": null,
  "rdap_version": null,
  "scraped_at": "2026-10-26T00:00:00+00:00"
}
```

### Use Cases

- **Threat intelligence enrichment:** Add network registration and CIDR information to suspicious IP addresses.
- **SEO and bot research:** Investigate the registered networks associated with crawler or scraper IP addresses.
- **Network inventory:** Collect IP ranges and network details for spreadsheets and monitoring workflows.
- **Abuse reports:** Identify registered network information and associated contacts before contacting a provider.
- **DNS research:** Review nameserver information associated with registered network records.

### FAQ

**Who is this actor for?**

It is useful for analysts, security researchers, marketers, and developers who need IP registration, network, contact, and DNS information in a structured dataset.

**What export formats are available?**

You can export dataset results in JSON, CSV, Excel, and other supported Apify dataset formats.

**Can I schedule lookups?**

Yes. You can use Apify Schedules to run the actor automatically at your preferred intervals.

### Is Web Scraping Legal?

Collecting information that is already public is generally legal. There is no single law that bans all forms of web scraping. The limits are the usual ones: do not break into accounts, do not take private or confidential data, and be careful with personal data and copyrighted works. A site's terms can also restrict how you access it. Facts such as a public name, price, or rating are not the same as republishing someone's article or photo.

This actor collects information from public pages. It does not log in and it does not bypass access controls.

For a longer explanation, see Apify's article [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

What to scrape. IP WHOIS resolves each IP through RDAP bootstrap.

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

IPs or CIDRs to look up, one per line.

## `maxItems` (type: `integer`):

Stop after this many successful rows. Hard max is 1000.

## `requestDelaySecs` (type: `number`):

Seconds to wait between requests.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

## `proxyConfiguration` (type: `object`):

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "ip",
  "ips": [
    "8.8.8.8"
  ],
  "maxItems": 100,
  "requestDelaySecs": 1,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("real-estate-api/ip-whois-rdap-lookup").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"] }

# Run the Actor and wait for it to finish
run = client.actor("real-estate-api/ip-whois-rdap-lookup").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"
  ]
}' |
apify call real-estate-api/ip-whois-rdap-lookup --silent --output-dataset

```

## MCP server setup

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

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/L1SJxBRB6H5YRlT2Q/builds/QxcFINDkmrZyJUTD6/openapi.json
