Zum Inhalt
HALOWERK

Nostrwerk

relay health

Every relay is measured twice over. Over WebSocket a genuine REQ query is sent and the connection time, the time to end of stored events and the number of events returned are recorded — a relay that accepts the connection and then stays silent is the failure mode a reachability ping cannot see.

POST https://nostr.halowerk.com/relay-health

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
relaysarrayNeinwss relay addresses. Left empty, ten measured default relays are used.
timeout_msintegerNeinTime limit per relay in milliseconds.
probe_kindintegerNeinEvent kind used for the probe query.
read_nip11booleanNeinAlso read the NIP-11 information document over https.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "relays": {
      "type": "array",
      "maxItems": 12,
      "minItems": 1,
      "items": {
        "type": "string"
      },
      "description": "wss relay addresses. Left empty, ten measured default relays are used."
    },
    "timeout_ms": {
      "type": "integer",
      "minimum": 500,
      "maximum": 6000,
      "default": 4000,
      "description": "Time limit per relay in milliseconds."
    },
    "probe_kind": {
      "type": "integer",
      "minimum": 0,
      "maximum": 65535,
      "default": 1,
      "description": "Event kind used for the probe query."
    },
    "read_nip11": {
      "type": "boolean",
      "default": true,
      "description": "Also read the NIP-11 information document over https."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "timeout_ms": 4000,
  "probe_kind": 1,
  "read_nip11": true
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://nostr.halowerk.com/relay-health/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →