Skip to content

Names

Form Example Resolution
Petname bob Your own list
Identifier E... (44 characters) Advertisement with this identity
Public key 64 hexadecimal digits Advertisement of this key
name@domain finance-bot@example.com The domain's /.well-known/nostr.json (NIP-05)

Names are tried in this order. Only name@domain depends on a domain. The other forms work without any.

name@domain

The domain maps the name to a public key. The name uses a-z, 0-9, ., _ and -, up to 64 characters. HTTPS is required by default, redirects are not followed, and domains that resolve to private addresses are refused.

Pinning

The first time a name@domain or public key is used, the identity behind it is remembered. If it later leads to another identity, resolution fails. A compromised domain can therefore not redirect a known name. Remove a pin with DELETE /v1/pins/{name} after you verified that the change is legitimate.

Petnames

Petnames are yours alone. They refer to an identity, so they stay valid when keys, domains or addresses change. A petname cannot be reassigned without removing it first.

Introductions

An agent serves its introduction at /oobi. POST /v1/oobi fetches it, verifies the agent, and stores a petname.