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}:enableWhoisPrivacy
https://api.dev.name.com/core/v1/domains/{domainName}:enableWhoisPrivacy
curl -i -X POST \
-u <username>:<password> \
'https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}:enableWhoisPrivacy' \
-H 'Content-Type: application/json'
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.
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}:lock
https://api.dev.name.com/core/v1/domains/{domainName}:lock
curl -i -X POST \
-u <username>:<password> \
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/example.com:lock \
-H 'Content-Type: application/json'
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.
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}:unlock
https://api.dev.name.com/core/v1/domains/{domainName}:unlock
curl -i -X POST \
-u <username>:<password> \
'https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}:unlock' \
-H 'Content-Type: application/json'
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.
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 }