---
title: "Get domain by name"
method: GET
path: "/v1/domains/{name}"
tags: ["Domains"]
---

# Get domain by name

`GET /v1/domains/{name}`

Returns the domain with the specified name.

## Path parameters

- `name` string, required

## Response `200`

- Domain
  - `id` integer — Internal TzKT id. **[sortable]**
  - `level` integer — Domain level (i.e. tez has level=1, domain.tez has level=2, subdomain.domain.tez has level=3, etc.).
  - `name` string, required — Domain record name. **[sortable]**
  - `owner` Alias, required
    - `alias` string, nullable — Account alias name (off-chain data).
    - `address` string, required — Account address (public key hash).
  - `address` Alias
    - `alias` string, nullable — Account alias name (off-chain data).
    - `address` string, required — Account address (public key hash).
  - `reverse` boolean — Whether or not the domain is on the reverse records list
  - `expiration` string, date-time — Expiration datetime
  - `data` unknown
  - `firstLevel` integer — Level of the block where the domain was first seen. **[sortable]**
  - `firstTime` string, date-time — Timestamp of the block where the domain was first seen.
  - `lastLevel` integer — Level of the block where the domain was last seen. **[sortable]**
  - `lastTime` string, date-time — Timestamp of the block where the domain was last seen.

---

[API](https://skmtc.dev/tzkt/apis/tzkt-api.md) · [All operations](https://skmtc.dev/tzkt/apis/tzkt-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tzkt/tzkt-api/revisions/a2e2aba5e534/schema)
