API.RDAP is a PowerShell 7+ module for querying RDAP (Registration Data Access Protocol) services using a clean, typed command surface. It supports common lookup and search operations for domains, nameservers, entities, IP networks, and autonomous system numbers.
API.RDAP helps you automate registration and ownership lookups without manually building RDAP URLs or parsing raw JSON for every request.
- Typed return objects for core RDAP entities
- Consistent PowerShell cmdlets for lookup and search operations
- Configurable RDAP server endpoint (defaults to
https://rdap.org) - Built-in utility commands for server capability checks and object existence tests
Required:
- PowerShell 7.0+
Install the module from the PowerShell Gallery:
Install-Module -Name API.RDAP -Scope CurrentUserImport the module and use its commands:
Import-Module API.RDAP
Get-Command -Module API.RDAPLookup a domain:
Get-RDAPDomain -Name 'example.com'Lookup an autonomous system number:
Get-RDAPAutnum -Asn 15169Search domains by nameserver name:
Search-RDAPDomain -NsName '*.iana.org'Check if an entity handle exists:
Test-RDAPObject -Type Entity -Handle 'IANA'Query an alternate RDAP server:
Get-RDAPIpNetwork -Address '8.8.8.0/24' -Server 'https://rdap.arin.net/registry'Comprehensive documentation is available in the docs/ directory:
- 🚀 Getting Started - Practical examples and usage scenarios
- 📘 Module Help - Help files for cmdlets and functions
Contributions are welcome. Please see CONTRIBUTING.md for details on:
- Pull request workflow
- Code style and conventions
- Testing and quality requirements
If this module helps your workflow, consider supporting the project:
- ⭐ Star the repository to show your support
- 🔁 Share it with other PowerShell developers
- 💬 Provide feedback via issues or discussions
- ❤️ Sponsor ongoing development via GitHub Sponsors
Built with ❤️ by mmccormick2211