Get DNS hosts
List Namecheap DNS host records for a domain managed through this Vee3 account.
← All Domains endpoints · Capability overview
/v1/domains/managed/{domain}/dns-hostshttps://api.vee3.io/v1/domains/managed/{domain}/dns-hosts
List Namecheap DNS host records for a domain managed through this Vee3 account.
Authorization
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
MCP
The same capability is available as an MCP tool on Vee3 hosted MCP.
Tool name
domains.get_dns_hostsParameters1 field
domainstringRequiredManaged domain name (for example example.com).
Response9 fields
domainstringManaged domain name.
is_using_namecheap_dnsbooleanWhether the domain currently uses Namecheap DNS.
hostsarrayitems6 fieldsDNS host records. Each item includes host_id, host_name, record_type, address, optional mx_pref, and optional ttl.
hostsarrayitemshost_idstringNamecheap host record id.
host_namestringHost label, for example @ or www.
record_typestringDNS record type.
addressstringRecord value.
mx_prefstringMX preference when record_type is MX or MXE.
ttlintegerTTL in seconds.
HTTP errors: unauthorized, validation_error, insufficient_tokens, payment_required, domains_not_configured, domains_upstream_error, domain_not_found