# Get nameservers

`GET /v1/domain/@id/ns` · scope `domains:read`

The nameservers the domain uses.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/v1/domain/@id/ns` |
| Method | `GET` |
| Scope | `domains:read` |
| Header | `Authorization: Bearer <token>` |
| Content-Type | — (no body) |
| Tokens that can call it | app tokens (`tinoat_`), personal API tokens (`tinopat_`) |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | Domain ID |

## Example request

```bash
curl "https://api.tino.vn/v1/domain/200001/ns" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` is a token with the scope `domains:read`. Path parameters in the example are sample values.

SDK ([SDK & examples](/en/docs/sdk)): Python `client.domains.get_nameservers(id)`, Node.js `await client.domains.getNameservers(id);`, PHP `$client->domains->getNameservers($id);`.

## Example response

```json
{
 "success": true,
 "domain_id": "200001",
 "nameservers": [
  "ns1.tino.vn",
  "ns2.tino.vn"
 ]
}
```

Live sample from a test account with personal data masked; long arrays and strings are trimmed (`… N more item(s)`, `… N more line(s)`).
