RESTful API for managing domains, DNS records, and related services at Name.com. Access via HTTPS at api.name.com (production) or api.dev.name.com (testing). Supports standard authentication, rate-limited to 20 requests/second.
https://docs.name.com/_mock/coreapi/namecom.api/
https://api.dev.name.com/
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}
https://api.dev.name.com/core/v1/domains/{domainName}
curl -i -X GET \
-u <username>:<password> \
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/example.com
A successful response.
The date and time when the domain was created at the registry.
The date and time when the domain will expire.
Indicates whether the domain is set to renew automatically before expiration.
Indicates if the domain is locked, preventing transfers to another registrar.
Contacts stores the contact information for the roles related to domains.
Contact contains all relevant contact data for a domain registrant.
Contact contains all relevant contact data for a domain registrant.
The list of nameservers assigned to this domain. If unspecified, it defaults to the account's default nameservers.
{ "domainName": "example.com", "createDate": "2023-01-15T14:30:00Z", "expireDate": "2025-01-15T14:30:00Z", "autorenewEnabled": true, "locked": true, "privacyEnabled": true, "contacts": { "admin": { … }, "billing": { … }, "registrant": { … }, "tech": { … } }, "nameservers": [ "ns1.example.com", "ns2.example.com" ], "renewalPrice": 12.99 }
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}
https://api.dev.name.com/core/v1/domains/{domainName}
curl -i -X PATCH \
-u <username>:<password> \
'https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}' \
-H 'Content-Type: application/json' \
-d '{
"autorenewEnabled": true,
"privacyEnabled": true,
"locked": true
}'
A successful response will return the updated domain.
The date and time when the domain was created at the registry.
The date and time when the domain will expire.
Indicates whether the domain is set to renew automatically before expiration.
Indicates if the domain is locked, preventing transfers to another registrar.
Contacts stores the contact information for the roles related to domains.
Contact contains all relevant contact data for a domain registrant.
Contact contains all relevant contact data for a domain registrant.
The list of nameservers assigned to this domain. If unspecified, it defaults to the account's default nameservers.
{ "domainName": "example.com", "createDate": "2023-01-15T14:30:00Z", "expireDate": "2025-01-15T14:30:00Z", "autorenewEnabled": true, "locked": true, "privacyEnabled": true, "contacts": { "admin": { … }, "billing": { … }, "registrant": { … }, "tech": { … } }, "nameservers": [ "ns1.example.com", "ns2.example.com" ], "renewalPrice": 12.99 }
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}:getAuthCode
https://api.dev.name.com/core/v1/domains/{domainName}:getAuthCode
curl -i -X GET \
-u <username>:<password> \
'https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}:getAuthCode'
{ "authCode": "string" }