---
id: "ens_name"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["cryptocurrency", "internet"]
langs: ["common"]
quality: 80
url: "http://registry.apicrafter.io/datatype/ens_name"
---

# ENS name (.eth) (`ens_name`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Name in the Ethereum Name Service (ENS), such as foo.eth, that resolves to an Ethereum address and other records. A name is a sequence of labels separated by dots and normalized by ENSIP-15, which is based on Unicode UTS-46, so labels may contain non-Latin letters and emoji. The regexp covers names under the .eth top-level domain; ENS can also resolve imported DNS names, which look like ordinary domain names.

- Personal data (PII): no
- Categories: Cryptocurrency (cryptocurrency), Internet (internet)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:[^.\s]+\.)+eth$
```

## Examples

- `beercoin.eth` — Example name of ENSIP-1
- `foo.eth` — Example name of ENSIP-1
- `mysite.swarm` (invalid example) — not under .eth

## Translations

- ru: Имя ENS (.eth)

## Sources

- doc: <https://docs.ens.domains/ensip/1>
- doc: <https://docs.ens.domains/ensip/15>

## Quality

Score 80/100. Missing: mapping (Wikidata, Schema.org, ...), detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/ens_name.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/cryptocurrency/ens_name.yaml>
