Tools

Filter playground

Build NIP-01 filters visually, see them as JSON, test them against sample events or, with live mode on, real relays.

Filter builder

Flip the switches and watch the relay's shelf: matching events light up, everything else fades.

Try a recipe
Filter fields
authors

Who signed the event (hex pubkey or npub1…).

Quick picks for authors

kinds

What sort of event: 1 = note, 7 = reaction, 0 = profile…

Quick picks for kinds

#t

Hashtags (t tags), lowercase, without the #.

Quick picks for #t

#p

Events with a p tag mentioning this person.

Quick picks for #p

#e

Events with an e tag pointing at this event: replies, reactions, reposts.

ids

Exact event ids (hex or note1…). Tip: pick a card and pin its id.

since
until
limit

An empty filter: give me everything you have! 60 of 60 events match

The filter, as JSON

  {  } 

…wrapped in a REQ message

["REQ","ch05",{}]

60 of 60 events match

Pick any card to see which conditions it passes.

Send it to a relay

Sample relays

Wrap the filter in a REQ and watch the real conversation: events stream in, then EOSE says 'that's all I have stored'.

Nothing sent yet.

Wire log

  1. Nothing sent yet.

No events came back.

Filters →