Für Entwickler

Binde die Quelle in deine eigene Website ein.

Ein Nostr-Client kann Inserate über WebSocket von einem kompatiblen Relay abrufen. Diese NIP-01-Anfrage fordert bis zu zwanzig vorhandene NIP-99-Events des Typs 30402 an und wartet auf neue passende Events, soweit die Regeln des Relays dies erlauben.

Der Nostr-Standard für Inserate

Read the separate technical reference for event structure, validation rules and implementation guidance. Technical documentation is in English; switching language preserves the UI locale.

Technical specification

Vom Prinzip zur Praxis

  1. Eine eigene Übersicht erstellen

    Ein kompatibler Client kann Inserate abrufen, Versionen gruppieren und relevante Felder anzeigen. Filter und Darstellung bestimmst du selbst.

  2. Unabhängig überprüfen

    Werkzeuge können Event-IDs und Signaturen unabhängig prüfen. Das hilft bei der Herkunftskontrolle, ersetzt aber keine Prüfung von Preis, Objektdaten oder Verkaufsberechtigung.

  3. KI eine klare Quelle geben

    Eine KI-Anwendung benötigt einen Client, Indexer oder einen anderen erlaubten Zugangsweg. JSON allein schafft weder automatischen Zugriff noch Berechtigung oder korrektes Verständnis.

Read, verify, then display

  1. Connect to a compatible relay using WebSocket. Send a NIP-01 subscription for kind 30402; relay access and retention policies still apply.
  2. Verify the event ID and signature before accepting an event. Validate listing fields rather than trusting a valid signature to prove the property's details or the publisher's authority.
  3. Group versions by kind, public key and d-tag. Select the newest valid version, and handle later updates without creating duplicate listings.
  4. Display the source and update time. Handle unavailable images and connection failures, and do not present cached prices as guaranteed current offers.

Inserate abrufen

["REQ", "vastgoed", { "kinds": [30402], "limit": 20 }]

This is a request example, not a live connection or a signed listing. A subscription can keep receiving matching events after its initial results.

Kontakt