Tài liệu tham khảo API
domains
49 điểm cuối trong khu vực này. Mỗi điểm cuối có trang riêng với các tham số, phản hồi và một yêu cầu bạn có thể chạy.
| Phương thức | Đường dẫn | Chức năng | Quyền |
|---|---|---|---|
| GET | /v1/domain-watches | The domains this customer is watching — ours, theirs and third parties'. | — |
| POST | /v1/domain-watches | Watch a domain — any domain, including one registered elsewhere. | — |
| DELETE | /v1/domain-watches/{watchId} | Stop watching a domain. | — |
| POST | /v1/domain-watches/{watchId}/mute | Silence a watched domain's alerts without removing it. | — |
| GET | /v1/domains | List the caller's domains. | sites.view |
| POST | /v1/domains/check | Authority metrics for any domain, owned or not. | — |
| GET | /v1/domains/checked | The domains this organisation has checked. | — |
| POST | /v1/domains/connect | Host DNS for a domain the customer already owns. | domains.dns.manage |
| GET | /v1/domains/routes | The registrar routes this organisation can buy a domain through. | — |
| POST | /v1/domains/search | Search domain availability. | sites.view |
| GET | /v1/domains/tld-pricing | The TLD price table, flat, in the caller's currency. | — |
| POST | /v1/domains/transfer/preflight | Check and price a bulk transfer-in. | sites.view |
| GET | /v1/domains/{domainId} | Get a domain. | — |
| POST | /v1/domains/{domainId}/auth-code | Reveal a domain's EPP transfer code. | domains.dns.manage |
| POST | /v1/domains/{domainId}/cache/purge | Purge a domain's CDN cache. | sites.cache.purge |
| GET | /v1/domains/{domainId}/contacts | The registrant contact on public WHOIS for this domain. | — |
| PUT | /v1/domains/{domainId}/contacts | Change the registrant contact (drives the registrar first). | — |
| GET | /v1/domains/{domainId}/delegation | Whether a domain's delegation actually points at us. | sites.view |
| POST | /v1/domains/{domainId}/delegation | Check the delegation again now, and restart the fast poll. | sites.view |
| DELETE | /v1/domains/{domainId}/disconnect | Stop hosting a connected domain's DNS, and delete its zone. | domains.dns.manage |
| GET | /v1/domains/{domainId}/dns/records | List a page of a domain's DNS records. | sites.view |
| POST | /v1/domains/{domainId}/dns/records | Create a DNS record. | domains.dns.manage |
| DELETE | /v1/domains/{domainId}/dns/records/{recordId} | Delete a DNS record. | domains.dns.manage |
| PUT | /v1/domains/{domainId}/dns/records/{recordId} | Update a DNS record. | domains.dns.manage |
| POST | /v1/domains/{domainId}/dns/sync | Trigger immediate DNS propagation. | domains.dns.manage |
| GET | /v1/domains/{domainId}/email-routing | Read a domain's inbound email routing, and what enabling it would cost. | sites.view |
| POST | /v1/domains/{domainId}/email-routing/addresses | Register a destination address. | domains.dns.manage |
| DELETE | /v1/domains/{domainId}/email-routing/addresses/{addressId} | Remove a destination address from the account. | domains.dns.manage |
| PUT | /v1/domains/{domainId}/email-routing/catch-all | Set what happens to mail matching no other rule. | domains.dns.manage |
| DELETE | /v1/domains/{domainId}/email-routing/enabled | Turn inbound email routing off for a domain. | domains.dns.manage |
| POST | /v1/domains/{domainId}/email-routing/enabled | Turn inbound email routing on for a domain. | domains.dns.manage |
| POST | /v1/domains/{domainId}/email-routing/rules | Add a forwarding rule. | domains.dns.manage |
| DELETE | /v1/domains/{domainId}/email-routing/rules/{ruleId} | Remove a forwarding rule. | domains.dns.manage |
| PUT | /v1/domains/{domainId}/email-routing/rules/{ruleId} | Change a forwarding rule. | domains.dns.manage |
| GET | /v1/domains/{domainId}/index-check | Get a domain's search-index status. | — |
| GET | /v1/domains/{domainId}/index-check/history | List a domain's recent search-index checks. | — |
| POST | /v1/domains/{domainId}/index-check/run | Run a fresh search-index check for a domain. | — |
| GET | /v1/domains/{domainId}/nameservers | Get a domain's nameservers. | sites.view |
| PUT | /v1/domains/{domainId}/nameservers | Set a domain's nameservers. | domains.dns.manage |
| GET | /v1/domains/{domainId}/premium-dns | Whether Premium DNS can be sold for this domain, and which row to sell. | sites.view |
| GET | /v1/domains/{domainId}/registrar-guide | Where and how to change this domain's nameservers. | sites.view |
| POST | /v1/domains/{domainId}/registrar-guide/verify | Check now whether this domain's nameserver change has taken effect. | sites.view |
| GET | /v1/domains/{domainId}/registry | What the public registry says about a domain (the WHOIS card). | sites.view |
| GET | /v1/domains/{domainId}/restore-quote | What it costs to restore a lapsed domain. | sites.view |
| GET | /v1/domains/{domainId}/seo-metrics | Get a domain's SEO authority metrics. | — |
| GET | /v1/domains/{domainId}/seo-metrics/history | A domain's authority readings over time. | — |
| POST | /v1/domains/{domainId}/seo-metrics/refresh | Fetch a fresh SEO authority reading for a domain. | — |
| GET | /v1/domains/{domainId}/settings | Get a domain's registrar settings. | sites.view |
| PUT | /v1/domains/{domainId}/settings | Change a domain's registrar settings. | domains.dns.manage |