Namecheap API guide
namecheap.com
Check domain availability with Namecheap, list domains in your account, and inspect their DNS host records and nameservers.
Actions and inputs
domains checkCheck whether one or more domain names are available.
Inputs domain names
domains get-listList domains registered in your account.
Inputs page, page size, optional filters
dns get-hostsRead the DNS host records for one of your domains.
Inputs domain name and top-level domain
dns get-listRead the nameserver type and nameservers for one of your domains.
Inputs domain name and top-level domain
Namecheap DNS host record
- Create
Add a host record by submitting the full DNS record set with the new entry.
Inputs domain, existing records, host name, record type, address, TTL
- Read
Read a host record from the domain's DNS record set.
Inputs domain, host name, record type
- Update
Change a host record by submitting the full DNS record set with the revised entry.
Inputs domain, current record set, revised host record
- Delete
Remove a host record by submitting the DNS record set without that entry.
Inputs domain, remaining host records