> ## Documentation Index
> Fetch the complete documentation index at: https://docs.namespace.ninja/llms.txt
> Use this file to discover all available pages before exploring further.

# Check Subname Availability

> Determine if a specific ENS subname is available for registration.

Use `isSubnameAvailable` to check if a subname can be registered.

```typescript theme={null}
const response = client.isSubnameAvailable("ns.myensname.eth");
const isAvailable = response.isAvailable; // true if the subname is available, false if already taken.
```

#### Parameters

* `subname`: Subname to check availability for (e.g., `"ns.myensname.eth"`)

#### Return Type

* `isAvailable`: `true` if the subname is available, `false` if already taken.

<Danger>
  Always check subname availability before attempting to create or update a subname.\
  It may overwrite the existing subname.
</Danger>
