Skip to content

mmccormick2211/API.RDAP

API.RDAP

Build Status PowerShell Gallery Downloads License

About

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.

Why API.RDAP?

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

🚀 Getting Started

Prerequisites

Required:

  • PowerShell 7.0+

Installation

Install the module from the PowerShell Gallery:

Install-Module -Name API.RDAP -Scope CurrentUser

Usage

Import the module and use its commands:

Import-Module API.RDAP
Get-Command -Module API.RDAP

Quick Examples

Lookup a domain:

Get-RDAPDomain -Name 'example.com'

Lookup an autonomous system number:

Get-RDAPAutnum -Asn 15169

Search 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'

📘 Documentation

Comprehensive documentation is available in the docs/ directory:

🤝 Contributing

Contributions are welcome. Please see CONTRIBUTING.md for details on:

  • Pull request workflow
  • Code style and conventions
  • Testing and quality requirements

⭐ Support This Project

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

About

PwerShell wrapper module for the RDAP service

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors