Voor developers
Maak de bron onderdeel van je eigen site.
Een Nostr-client kan via WebSocket advertenties bij een compatibele relay opvragen. Dit NIP-01-verzoek vraagt maximaal twintig bestaande NIP-99-berichten van kind 30402 en blijft luisteren naar nieuwe overeenkomende berichten, voor zover de relay dat toestaat.
De Nostr-standaard voor advertenties
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 specificationVan principe naar praktijk
Bouw je eigen overzicht
Een compatibele client kan advertenties opvragen, versies groeperen en relevante velden tonen. Je kiest zelf de filters en presentatie.
Controleer onafhankelijk
Tools kunnen bericht-ID en handtekening zelfstandig verifiëren. Dat helpt de herkomst te controleren, maar vervangt geen controle van prijs, woninggegevens of bevoegdheid.
Geef AI een duidelijke bron
Een AI-toepassing heeft een client, indexer of andere toegestane toegang nodig. JSON alleen geeft geen automatische toegang, toestemming of correcte interpretatie.
Read, verify, then display
- Connect to a compatible relay using WebSocket. Send a NIP-01 subscription for kind 30402; relay access and retention policies still apply.
- 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.
- Group versions by kind, public key and d-tag. Select the newest valid version, and handle later updates without creating duplicate listings.
- Display the source and update time. Handle unavailable images and connection failures, and do not present cached prices as guaranteed current offers.
Advertenties opvragen
["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.