Registration Data Access Protocol (RDAP)


The rdap vocabulary provides an implementation of the Registration Data Access Protocol used to retrieve information about domain names, autonomous system numbers, and IP addresses.

Some words for performing RDAP lookups:
lookup-asn ( asn -- results )

lookup-domain ( domain -- results )

lookup-ipv4 ( ipv4 -- results )

lookup-ipv6 ( ipv6 -- results )

lookup-entity ( entity -- results )


Some words for performing RDAP searches:
search-domains-by-name ( pattern -- results )

search-domains-by-nameserver ( pattern -- results )

search-domains-by-nameserver-ip ( ip -- results )

search-nameservers-by-name ( pattern -- results )

search-nameservers-by-ip ( ip -- results )

search-entities-by-name ( pattern -- results )

search-entities-by-handle ( pattern -- results )


By default, RDAP lookups are directed to RDAP servers specified by the RDAP bootstrap files while RDAP searches are directed to https://root.rdap.org/. To override this behavior and direct to a particular server you can set the rdap-url symbol or using the with-rdap word.

The results generated from these lookups and searches are hierarchical RDAP documents. You can use the print-rdap word to render them in a simple hierarchy of key/value strings.

The RDAP bootstrap files will be cached for the duration specified in the bootstrap-cache symbol. The RDAP bootstrap files can be removed by using the reset-bootstrap word.