# Domain details by name

`GET /v1/domain/name/@name` · scope `domains:read`

Domain details by name (for example `example.com`) instead of ID.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/v1/domain/name/@name` |
| 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 |
| --- | --- | --- | --- | --- |
| `name` | path | string | yes | Domain name |

## Example request

```bash
curl "https://api.tino.vn/v1/domain/name/example.com" \
  -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_by_name(name)`, Node.js `await client.domains.getByName(name);`, PHP `$client->domains->getByName($name);`.

## Example response

```json
{
 "success": true,
 "domains": [
  {
   "id": "200001",
   "name": "example.com",
   "date_created": "2025-12-07",
   "firstpayment": "50000.00",
   "recurring_amount": "585366.00",
   "period": "1",
   "expires": "2026-12-07",
   "status": "Active",
   "next_due": "2026-12-07",
   "next_invoice": "2026-11-22",
   "idprotection": "1",
   "nameservers": [
    "ns1.tino.vn",
    "ns2.tino.vn"
   ],
   "autorenew": "1"
  }
 ],
 "page": {
  "current": 0,
  "total": 1
 }
}
```

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