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. Thisis 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, described by an AsyncAPI event-driven specification.
Tagged areas include NIP-01, Event, WebSocket, Subscription, and Signature. The published artifact set on APIs.io includes an AsyncAPI specification.
Requests are made against the base URL wss://relay.example.
Metadata
The identity and technical contract details declared by the specification.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Nostr 3
Other APIs Nostr publishes across the network.