WHOIS JSON API

Retrieve WHOIS data for domains and IP addresses in structured JSON format. Built for security teams, OSINT analysts and infrastructure monitoring.

What is a WHOIS Lookup?

A WHOIS lookup provides registration and ownership details for a domain name or an IP address. It reveals registrar information, registration dates, name servers and network allocation data.

The IP Ninja WHOIS JSON API supports both:

All responses are returned in clean, structured JSON format for easy integration.

WHOIS JSON API Example

curl -H "x-ninja: YOUR_API_KEY" https://ip-ninja.com/api/v1/whois/tesla.com
{
  "domain": "TESLA.COM",
  "status": [
    "client delete prohibited",
    "client transfer prohibited",
    "client update prohibited",
    "server delete prohibited",
    "server transfer prohibited",
    "server update prohibited"
  ],
  "dates": {
    "created": "1992-11-04T05:00:00Z",
    "updated": "2024-10-02T10:15:20Z",
    "expires": "2026-11-03T05:00:00Z"
  },
  "nameservers": [
    "A1-12.AKAM.NET",
    "A10-67.AKAM.NET",
    "A12-64.AKAM.NET",
    "A28-65.AKAM.NET",
    "A7-66.AKAM.NET",
    "A9-67.AKAM.NET",
    "EDNS69.ULTRADNS.BIZ",
    "EDNS69.ULTRADNS.COM",
    "EDNS69.ULTRADNS.NET",
    "EDNS69.ULTRADNS.ORG"
  ],
  "dnssec": false,
  "registrar": {
    "name": "MarkMonitor Inc.",
    "organization": null,
    "address": null,
    "email": null,
    "phone": null,
    "handle": null
  },
  "contacts": {
    "registrant": [],
    "admin": [],
    "technical": [],
    "abuse": [
      {
        "name": "",
        "organization": null,
        "address": null,
        "email": "abusecomplaints@markmonitor.com",
        "phone": "tel:+1.2086851750",
        "handle": null
      }
    ]
  }
}
curl -H "x-ninja: YOUR_API_KEY" https://ip-ninja.com/api/v1/ipwhois/8.8.8.8
{
  "range": "8.8.8.0 - 8.8.8.255",
  "cidr": "8.8.8.0/24",
  "name": "GOGL",
  "handle": "NET-8-8-8-0-2",
  "type": "DIRECT ALLOCATION",
  "organization": {
    "name": "Google LLC",
    "organization": null,
    "address": "",
    "email": null,
    "phone": null,
    "handle": null
  },
  "registration_date": "2023-12-28T17:24:33-05:00",
  "updated_date": "2023-12-28T17:24:56-05:00",
  "contacts": {
    "abuse": [
      {
        "name": "Abuse",
        "organization": "Abuse",
        "address": "",
        "email": "network-abuse@google.com",
        "phone": "+1-650-253-0000",
        "handle": null
      }
    ],
    "technical": [
      {
        "name": "Google LLC",
        "organization": "Google LLC",
        "address": "",
        "email": "arin-contact@google.com",
        "phone": "+1-650-253-0000",
        "handle": null
      }
    ],
    "administrative": [
      {
        "name": "Google LLC",
        "organization": "Google LLC",
        "address": "",
        "email": "arin-contact@google.com",
        "phone": "+1-650-253-0000",
        "handle": null
      }
    ]
  }
}

Why WHOIS Data Matters for Security & OSINT

WHOIS intelligence helps identify asset ownership, infrastructure relationships and network attribution.

Explore the Full IP Ninja OSINT API

The WHOIS endpoint integrates seamlessly with other intelligence APIs for comprehensive infrastructure analysis.

Frequently Asked Questions

Does the API support both domain and IP WHOIS?

Yes. The WHOIS JSON API supports domain WHOIS and IP WHOIS lookups using a single unified endpoint.

Is the data returned in structured JSON?

All WHOIS responses are normalized and returned in structured JSON format for easy integration.

Is WHOIS included in all plans?

WHOIS access is available across subscription tiers with different rate limits.

Access Structured WHOIS Intelligence

Query domains and IP addresses with a single API key — part of the complete IP Ninja OSINT platform.

View Plans