Nostr Relay WebSocket Interface
A Nostr relay is a WebSocket server that accepts signed events,stores them subject to its own policy, and responds to subscriptionfilters from clients. The relay surface is intentionally minimal:no accounts, no shared state, no canonical ordering. Operatorschoose retention, content policy, paid-access, and authentication(NIP-42) independently. Reference implementations include strfry(C++), nostream (TypeScript), and khatru (Go).
Nostr Relay WebSocket Interface is one of 4 APIs that Nostr publishes on the APIs.io network, described by an AsyncAPI event-driven specification.
Tagged areas include Relay, WebSocket, strfry, khatru, and nostream. 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.
This is an independent, third-party profile of Nostr Relay WebSocket Interface, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.