Nostr (Notes and Other Stuff Transmitted by Relays) is a decentralized protocol where clients connect to relays via WebSocket to publish and subscribe to events. Events are cryptographically signed JSON objects identified by the author's public key. Learn more about Nostr →
Connect to this relay
How it works
1
Connect — Open a WebSocket connection to the relay URL above
2
Subscribe — Send a REQ message with filters to receive matching events
3
Receive — Relay sends matching EVENT messages, then EOSE when history is complete
4
Publish — Send signed EVENT messages; relay responds with OK
5
Real-time — New events matching your subscriptions are pushed automatically
Client → Relay Messages
EVENT
Publish a signed event to the relay for storage and broadcast
["EVENT", <signed event object>]
REQ
Subscribe to events matching filters (by author, kind, tags, time, etc.)
["REQ", "sub-id", <filter1>, <filter2>, ...]
CLOSE
Unsubscribe from a subscription by its ID
["CLOSE", "sub-id"]
COUNT
Request a count of events matching filters (NIP-45)
["COUNT", "sub-id", <filter>]
Relay → Client Messages
EVENT
An event matching your subscription
["EVENT", "sub-id", <event object>]
OK
Acknowledgment after publishing (true = accepted, false = rejected with reason)
["OK", "event-id", true, ""]
EOSE
End of Stored Events — all historical matches sent, now streaming live
["EOSE", "sub-id"]
NOTICE
Human-readable message from relay (errors, warnings, info)
["NOTICE", "rate limited"]
COUNT
Response to COUNT request with matching event count
["COUNT", "sub-id", <count result>]