Nostr Protocol (NIP-01)

NIP-01 defines the core Nostr protocol: event format (id, pubkey, created_at, kind, tags, content, sig), client-to-relay messages (EVENT, REQ, CLOSE), and relay-to-client messages (EVENT, OK, EOSE, CLOSED, NOTICE) exchanged over a single WebSocket connection. This is the minimum surface every client and relay must implement.

Nostr Protocol (NIP-01) is one of 4 APIs that Nostr publishes on the APIs.io network.

Tagged areas include NIP-01, Event, WebSocket, Subscription, and Signature.

API entry from apis.yml

apis.yml Raw ↑
aid: nostr:nostr-protocol
name: Nostr Protocol (NIP-01)
description: 'NIP-01 defines the core Nostr protocol: event format (id, pubkey,

  created_at, kind, tags, content, sig), client-to-relay messages

  (EVENT, REQ, CLOSE), and relay-to-client messages (EVENT, OK, EOSE,

  CLOSED, NOTICE) exchanged over a single WebSocket connection. This

  is the minimum surface every client and relay must implement.

  '
humanURL: https://github.com/nostr-protocol/nips/blob/master/01.md
baseURL: wss://relay.example
tags:
- NIP-01
- Event
- WebSocket
- Subscription
- Signature
properties:
- type: Specification
  url: https://github.com/nostr-protocol/nips/blob/master/01.md
- type: SpecificationIndex
  url: https://github.com/nostr-protocol/nips
- type: Repository
  url: https://github.com/nostr-protocol