# owner()

Canonical URL: https://developers.iagenify.com/zh/sdk/ref/domain/owner/
Language: zh

`domain.owner() → Promise<Owner>`

What the registry publishes about the name: its registrar, when it expires, whether it is locked.

Status: read at the registry · no key needed · never estimated

```javascript
await domain.owner();
// { known: true, registrar: "…", expiresAt: "2027-11-30T13:09:02.000Z", daysLeft: 53,
//   locked: true, dnssecAtRegistrar: false, servedByUs: true, source: "rdap" }
```

## Why an expiry deserves a call of its own {#why}

A domain that lapses takes the site, the mail and the certificates down together, and nothing inside the platform warns you. [api.domains.expiring()](/zh/sdk/ref/domains/expiring) is the same reading across every domain of the account.

## What the registry does not publish stays null {#unknown}

Registries publish different amounts, and some publish nothing. A missing field is `null`, never guessed, and `known: false` says the lookup found nothing at all.

## Buying, renewing and transferring are not here {#buying}

`owner()` is read-only. Domain registration and renewal are separate, customer-confirmed checkout flows; they are not agent actions or methods on `api.domains`. See the [domain purchase API](/zh/api/reference/domain-purchases/get-quote). `servedByUs` only says whether the name currently points at us.

- [expiring()](/zh/sdk/ref/domains/expiring): The whole account at once.
- [dnssec](/zh/sdk/ref/domain/dnssec): Signing the zone.

```python
domain.owner()
# {"known": True, "registrar": "…", "expiresAt": "2027-11-30T13:09:02.000Z", "daysLeft": 53,
#  "locked": True, "dnssecAtRegistrar": False, "servedByUs": True, "source": "rdap"}
```
