How to hit the RDAP (domain and IP registration) API

RDAP is the JSON successor to WHOIS. rdap.org redirects each query to the right registry, so one URL pattern works for any domain or IP.

Authentication

None — no key, no signup. Every example runs as-is.

Full reference: https://about.rdap.org/

Domain registration

Registrar, status, and key dates in events.

curl https://rdap.org/domain/example.com
Run in PostTaco
Example response (trimmed)
{
  "objectClassName": "domain",
  "handle": "2336799_DOMAIN_COM-VRSN",
  "ldhName": "EXAMPLE.COM",
  "links": [
    {
      "value": "https://rdap.verisign.com/com/v1/domain/example.com",
      "rel": "self",
      "href": "https://rdap.verisign.com/com/v1/domain/example.com",
      "type": "application/rdap+json"
    }
  ],
  "status": [
    "client delete prohibited",
    "client transfer prohibited"
  ],
  "entities": [
    {
      "objectClassName": "entity",
      "handle": "376",
      "roles": [
        "registrar"
      ],
      "publicIds": [
        {
          "type": "IANA Registrar ID",
          "identifier": "376"
        }
      ],
      "vcardArray": [
        "vcard",
        []
      ],
      "entities": [
        {
          "objectClassName": "entity"
        }
      ]
    }
  ],
  "events": [
    {
      "eventAction": "registration",
      "eventDate": "1995-08-14T04:00:00Z"
    },
    {
      "eventAction": "expiration",
      "eventDate": "2027-08-13T04:00:00Z"
    }
  ],
  "secureDNS": {
    "delegationSigned": true,
    "dsData": [
      {
        "keyTag": 2371,
        "algorithm": 13,
        "digestType": 2,
        "digest": "C988EC423E3880EB8DD8A46FE06CA230EE23F35B578D64E78B29C3E1C83D245A"
      }
    ]
  },
  "nameservers": [
    {
      "objectClassName": "nameserver",
      "ldhName": "ELLIOTT.NS.CLOUDFLARE.COM"
    },
    {
      "objectClassName": "nameserver",
      "ldhName": "HERA.NS.CLOUDFLARE.COM"
    }
  ],
  "rdapConformance": [
    "rdap_level_0",
    "icann_rdap_technical_implementation_guide_1"
  ],
  "notices": [
    {
      "title": "Terms of Service",
      "description": [
        "Service subject to Terms of Use."
      ],
      "links": [
        {
          "href": "https://www.verisign.com/domain-names/registration-data-access-protocol/terms-service/index.xhtml",
          "type": "text/html",
          "value": "https://rdap.verisign.com/com/v1/domain/example.com",
          "rel": "terms-of-service"
        }
      ]
    },
    {
      "title": "Status Codes",
      "description": [
        "For more information on domain status codes, please visit https://icann.org/epp"
      ],
      "links": [
        {
          "href": "https://icann.org/epp",
          "type": "text/html",
          "value": "https://rdap.verisign.com/com/v1/domain/example.com",
          "rel": "glossary"
        }
      ]
    }
  ]
}

IP address allocation

curl https://rdap.org/ip/8.8.8.8
Run in PostTaco
Example response (trimmed)
{
  "arin_originas0_originautnums": [],
  "cidr0_cidrs": [
    {
      "v4prefix": "8.8.8.0",
      "length": 24
    }
  ],
  "endAddress": "8.8.8.255",
  "entities": [
    {
      "entities": [
        {
          "handle": "ABUSE5250-ARIN",
          "objectClassName": "entity",
          "port43": "whois.arin.net"
        },
        {
          "handle": "ZG39-ARIN",
          "objectClassName": "entity",
          "port43": "whois.arin.net"
        }
      ],
      "events": [
        {
          "eventAction": "last changed",
          "eventDate": "2019-10-31T15:45:45-04:00"
        },
        {
          "eventAction": "registration",
          "eventDate": "2000-03-30T00:00:00-05:00"
        }
      ],
      "handle": "GOGL",
      "links": [
        {
          "href": "https://rdap.arin.net/registry/entity/GOGL",
          "rel": "self",
          "type": "application/rdap+json",
          "value": "https://rdap.arin.net/registry/ip/8.8.8.8"
        },
        {
          "href": "https://whois.arin.net/rest/org/GOGL",
          "rel": "alternate",
          "type": "application/xml",
          "value": "https://rdap.arin.net/registry/ip/8.8.8.8"
        }
      ],
      "objectClassName": "entity",
      "port43": "whois.arin.net",
      "remarks": [
        {
          "title": "Registration Comments"
        }
      ],
      "roles": [
        "registrant"
      ],
      "vcardArray": [
        "vcard",
        []
      ]
    }
  ],
  "events": [
    {
      "eventAction": "last changed",
      "eventDate": "2023-12-28T17:24:56-05:00"
    },
    {
      "eventAction": "registration",
      "eventDate": "2023-12-28T17:24:33-05:00"
    }
  ],
  "handle": "NET-8-8-8-0-2",
  "ipVersion": "v4",
  "links": [
    {
      "href": "https://rdap.arin.net/registry/ip/8.8.8.0",
      "rel": "self",
      "type": "application/rdap+json",
      "value": "https://rdap.arin.net/registry/ip/8.8.8.8"
    },
    {
      "href": "https://whois.arin.net/rest/net/NET-8-8-8-0-2",
      "rel": "alternate",
      "type": "application/xml",
      "value": "https://rdap.arin.net/registry/ip/8.8.8.8"
    }
  ],
  "name": "GOGL",
  "notices": [
    {
      "description": [
        "By using the ARIN RDAP/Whois service, you are agreeing to the RDAP/Whois Terms of Use"
      ],
      "links": [
        {
          "href": "https://www.arin.net/resources/registry/whois/tou/",
          "rel": "terms-of-service",
          "type": "text/html",
          "value": "https://rdap.arin.net/registry/ip/8.8.8.8"
        }
      ],
      "title": "Terms of Service"
    },
    {
      "description": [
        "If you see inaccuracies in the results, please visit: "
      ],
      "links": [
        {
          "href": "https://www.arin.net/resources/registry/whois/inaccuracy_reporting/",
          "rel": "inaccuracy-report",
          "type": "text/html",
          "value": "https://rdap.arin.net/registry/ip/8.8.8.8"
        }
      ],
      "title": "Whois Inaccuracy Reporting"
    }
  ],
  "objectClassName": "ip network",
  "parentHandle": "NET-8-0-0-0-0",
  "port43": "whois.arin.net",
  "rdapConformance": [
    "nro_rdap_profile_0",
    "rdap_level_0"
  ],
  "startAddress": "8.8.8.0"
}