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/
PurchasePrice is the amount in USD to pay for the domain renewal at the minimum renewal period (typically 1 year). If VAT tax applies, it will also be added automatically. PurchasePrice is required if this is a premium domain.
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}:renew
https://api.dev.name.com/core/v1/domains/{domainName}:renew
curl -i -X POST \
-u <username>:<password> \
'https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}:renew' \
-H 'Content-Type: application/json' \
-d '{
"purchasePrice": 10.99,
"years": 3
}'
{ "domain": { "domainName": "example.com", "createDate": "2023-01-15T14:30:00Z", "expireDate": "2025-01-15T14:30:00Z", "autorenewEnabled": true, "locked": true, "privacyEnabled": true, "contacts": { … }, "nameservers": [ … ], "renewalPrice": 12.99 }, "order": 0, "totalPaid": 5.95 }
Updates WHOIS contact information for a domain. This includes the registrant, administrative, technical, and billing contacts. All contact objects must be complete — partial updates are not supported. You should fetch the existing contact data first (e.g., via GetDomain and modify only the values you wish to change. This call replaces all four contact sets at once.
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}:setContacts
https://api.dev.name.com/core/v1/domains/{domainName}:setContacts
curl -i -X POST \
-u <username>:<password> \
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/example.com:setContacts \
-H 'Content-Type: application/json' \
-d '{
"contacts": {
"admin": {
"firstName": "John",
"lastName": "Doe",
"companyName": "Example Inc.",
"address1": "123 Main Street",
"address2": "Suite 400",
"city": "New York",
"state": "NY",
"zip": "10001",
"country": "US",
"email": "john.doe@example.com",
"phone": "+1.5551234567",
"fax": "+1.5557654321"
},
"billing": {
"firstName": "John",
"lastName": "Doe",
"companyName": "Example Inc.",
"address1": "123 Main Street",
"address2": "Suite 400",
"city": "New York",
"state": "NY",
"zip": "10001",
"country": "US",
"email": "john.doe@example.com",
"phone": "+1.5551234567",
"fax": "+1.5557654321"
},
"registrant": {
"firstName": "John",
"lastName": "Doe",
"companyName": "Example Inc.",
"address1": "123 Main Street",
"address2": "Suite 400",
"city": "New York",
"state": "NY",
"zip": "10001",
"country": "US",
"email": "john.doe@example.com",
"phone": "+1.5551234567",
"fax": "+1.5557654321"
},
"tech": {
"firstName": "John",
"lastName": "Doe",
"companyName": "Example Inc.",
"address1": "123 Main Street",
"address2": "Suite 400",
"city": "New York",
"state": "NY",
"zip": "10001",
"country": "US",
"email": "john.doe@example.com",
"phone": "+1.5551234567",
"fax": "+1.5557654321"
}
}
}'
A successful response with updated domain contact information.
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.
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}:setNameservers
https://api.dev.name.com/core/v1/domains/{domainName}:setNameservers
curl -i -X POST \
-u <username>:<password> \
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/example.com:setNameservers \
-H 'Content-Type: application/json' \
-d '{
"nameservers": [
"ns1.name.com",
"ns2.name.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.
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 }