
Description
Check domain name availability and pricing using the dn CLI. Use when the user wants to know if a domain is available, see domain pricing, or verify multiple domains at once. Supports both partner mode (Domain Services API) and user mode (WordPress.com API).
SKILL.md
dn check
Check availability and pricing for one or more domain names.
Usage
# Check a single domain
dn check example.com
# Check multiple domains at once
dn check example.com example.net example.org
Output
Partner mode table columns: Domain, Available, Fee Class, Price, Zone Active, TLD Maintenance
User mode table columns: Domain, Available, Status, Cost, Privacy
Behavior by Mode
- Partner mode: Queries the Domain Services API. Returns pricing in dollars, fee class, zone/TLD status.
- User mode: Queries WPCOM
rest/v1.3/domains/{domain}/is-available. Availability is based onstatus === "available"(string, not boolean).
Notes
- Accepts multiple domain arguments (space-separated)
- Requires prior
dn configuresetup
More skills from the dn-cli repository
View all 18 skillsdn-cart
view WordPress.com domain cart
Apr 6CLIDomainsWordPressdn-checkout
open WordPress.com checkout for domain purchases
Apr 6CLIDomainsWordPressdn-configure
configure dn CLI credentials
Apr 6AuthenticationCLIDomainsdn-contacts-set
update domain WHOIS contacts
Apr 6CLIDomainsWordPressdn-delete
delete domain registrations via dn CLI
Apr 6CLIDomainsWordPressdn-dns-get
retrieve DNS records for domains
Apr 6CLIDNSDomains
More from Automattic
View publisherannotate
collect visual feedback with browser annotation tools
studio
May 6FrontendProductivityUX CopyUX Designblock-content
write editable WordPress block markup
studio
May 27Block EditorCSSHTMLWordPresshosting-plans-helper
provide WordPress.com hosting plan information
studio
Jul 2PricingReferenceWordPressliberate
migrate websites to WordPress
studio
Jul 9CMSMigrationWeb DevelopmentWordPressneed-for-speed
run frontend performance audits for WordPress sites
studio
May 6AuditFrontendPerformanceWordPressplugin-recommendations
recommend WordPress plugins for site features
studio
May 27Content CreationPlugin DevelopmentWordPress