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}/records
https://api.dev.name.com/core/v1/domains/{domainName}/records
curl -i -X GET \
-u <username>:<password> \
'https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}/records?page=0&perPage=0'
A successful response.
LastPage is the identifier for the final page of results. It is only populated if there is another page of results after the current page.
NextPage is the identifier for the next page of results. It is only populated if there is another page of results after the current page.
Answer is either the IP address for A or AAAA records; the target for ANAME, CNAME, MX, or NS records; the text for TXT records. For SRV records, answer has the following format: "{weight} {port} {target}" e.g. "1 5061 sip.example.org".
FQDN is the Fully Qualified Domain Name. It is the combination of the host and the domain name. It always ends in a ".". FQDN is ignored in CreateRecord, specify via the Host field instead.
Host is the hostname relative to the zone: e.g. for a record for blog.example.org, domain would be "example.org" and host would be "blog". An apex record would be specified by either an empty host "" or "@". A SRV record would be specified by "{service}.{protocol}.{host}": e.g. "_sip._tcp.phone" for _sip._tcp.phone.example.org.
Unique record id. Value is ignored on Create, and must match the URI on Update.
Priority is only required for MX and SRV records, it is ignored for all others.
TTL is the time this record can be cached for in seconds. Name.com allows a minimum TTL of 300, or 5 minutes.
{ "lastPage": 0, "nextPage": 0, "totalCount": 0, "from": 0, "to": 0, "records": [ { … } ] }
Answer is either the IP address for A or AAAA records; the target for ANAME, CNAME, MX, or NS records; the text for TXT records. For SRV records, answer has the following format: "{weight} {port} {target}" e.g. "1 5061 sip.example.org".
FQDN is the Fully Qualified Domain Name. It is the combination of the host and the domain name. It always ends in a ".". FQDN is ignored in CreateRecord, specify via the Host field instead.
Host is the hostname relative to the zone: e.g. for a record for blog.example.org, domain would be "example.org" and host would be "blog". An apex record would be specified by either an empty host "" or "@". A SRV record would be specified by "{service}.{protocol}.{host}": e.g. "_sip._tcp.phone" for _sip._tcp.phone.example.org.
Priority is only required for MX and SRV records, it is ignored for all others.
TTL is the time this record can be cached for in seconds. Name.com allows a minimum TTL of 300, or 5 minutes.
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}/records
https://api.dev.name.com/core/v1/domains/{domainName}/records
curl -i -X POST \
-u <username>:<password> \
'https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}/records' \
-H 'Content-Type: application/json' \
-d '{
"answer": "string",
"fqdn": "string",
"host": "string",
"id": 0,
"priority": 0,
"ttl": 0,
"type": "string"
}'
A successful response.
Answer is either the IP address for A or AAAA records; the target for ANAME, CNAME, MX, or NS records; the text for TXT records. For SRV records, answer has the following format: "{weight} {port} {target}" e.g. "1 5061 sip.example.org".
FQDN is the Fully Qualified Domain Name. It is the combination of the host and the domain name. It always ends in a ".". FQDN is ignored in CreateRecord, specify via the Host field instead.
Host is the hostname relative to the zone: e.g. for a record for blog.example.org, domain would be "example.org" and host would be "blog". An apex record would be specified by either an empty host "" or "@". A SRV record would be specified by "{service}.{protocol}.{host}": e.g. "_sip._tcp.phone" for _sip._tcp.phone.example.org.
Unique record id. Value is ignored on Create, and must match the URI on Update.
Priority is only required for MX and SRV records, it is ignored for all others.
TTL is the time this record can be cached for in seconds. Name.com allows a minimum TTL of 300, or 5 minutes.
{ "answer": "string", "domainName": "string", "fqdn": "string", "host": "string", "id": 0, "priority": 0, "ttl": 0, "type": "string" }
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}/records/{id}
https://api.dev.name.com/core/v1/domains/{domainName}/records/{id}
curl -i -X DELETE \
-u <username>:<password> \
'https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}/records/{id}'
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}/records/{id}
https://api.dev.name.com/core/v1/domains/{domainName}/records/{id}
curl -i -X GET \
-u <username>:<password> \
'https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}/records/{id}'
A successful response.
Answer is either the IP address for A or AAAA records; the target for ANAME, CNAME, MX, or NS records; the text for TXT records. For SRV records, answer has the following format: "{weight} {port} {target}" e.g. "1 5061 sip.example.org".
FQDN is the Fully Qualified Domain Name. It is the combination of the host and the domain name. It always ends in a ".". FQDN is ignored in CreateRecord, specify via the Host field instead.
Host is the hostname relative to the zone: e.g. for a record for blog.example.org, domain would be "example.org" and host would be "blog". An apex record would be specified by either an empty host "" or "@". A SRV record would be specified by "{service}.{protocol}.{host}": e.g. "_sip._tcp.phone" for _sip._tcp.phone.example.org.
Unique record id. Value is ignored on Create, and must match the URI on Update.
Priority is only required for MX and SRV records, it is ignored for all others.
TTL is the time this record can be cached for in seconds. Name.com allows a minimum TTL of 300, or 5 minutes.
{ "answer": "string", "domainName": "string", "fqdn": "string", "host": "string", "id": 0, "priority": 0, "ttl": 0, "type": "string" }
Replaces an existing DNS record with new data. This is a full overwrite — all required fields (host, type, answer, ttl) must be included in the request body. If you omit a field, the existing value will not be preserved and the request may fail. Use GetRecord beforehand to retrieve the current values if you intend to modify just one field. The record ID must belong to a domain you manage.
Answer is either the IP address for A or AAAA records; the target for ANAME, CNAME, MX, or NS records; the text for TXT records. For SRV records, answer has the following format: "{weight} {port} {target}" e.g. "1 5061 sip.example.org".
FQDN is the Fully Qualified Domain Name. It is the combination of the host and the domain name. It always ends in a ".". FQDN is ignored in CreateRecord, specify via the Host field instead.
Host is the hostname relative to the zone: e.g. for a record for blog.example.org, domain would be "example.org" and host would be "blog". An apex record would be specified by either an empty host "" or "@". A SRV record would be specified by "{service}.{protocol}.{host}": e.g. "_sip._tcp.phone" for _sip._tcp.phone.example.org.
Priority is only required for MX and SRV records, it is ignored for all others.
TTL is the time this record can be cached for in seconds. Name.com allows a minimum TTL of 300, or 5 minutes.
https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}/records/{id}
https://api.dev.name.com/core/v1/domains/{domainName}/records/{id}
curl -i -X PUT \
-u <username>:<password> \
'https://docs.name.com/_mock/coreapi/namecom.api/core/v1/domains/{domainName}/records/{id}' \
-H 'Content-Type: application/json' \
-d '{
"answer": "string",
"fqdn": "string",
"host": "string",
"priority": 0,
"ttl": 0,
"type": "string"
}'
A successful response.
Answer is either the IP address for A or AAAA records; the target for ANAME, CNAME, MX, or NS records; the text for TXT records. For SRV records, answer has the following format: "{weight} {port} {target}" e.g. "1 5061 sip.example.org".
FQDN is the Fully Qualified Domain Name. It is the combination of the host and the domain name. It always ends in a ".". FQDN is ignored in CreateRecord, specify via the Host field instead.
Host is the hostname relative to the zone: e.g. for a record for blog.example.org, domain would be "example.org" and host would be "blog". An apex record would be specified by either an empty host "" or "@". A SRV record would be specified by "{service}.{protocol}.{host}": e.g. "_sip._tcp.phone" for _sip._tcp.phone.example.org.
Unique record id. Value is ignored on Create, and must match the URI on Update.
Priority is only required for MX and SRV records, it is ignored for all others.
TTL is the time this record can be cached for in seconds. Name.com allows a minimum TTL of 300, or 5 minutes.
{ "answer": "string", "domainName": "string", "fqdn": "string", "host": "string", "id": 0, "priority": 0, "ttl": 0, "type": "string" }