Mercury Index-Relay

Mercury Index-Relay

by GitCitadel  ·  v0.2.34

A Nostr index relay for the HTTP protocol. Specialises in swift retrieval of publications, repos, and graphs of related events.

Browse

Catalogue

Indexed publications, articles, specs, and wikis on this relay.

Publications / E-Books 📚 (1,277,431)
Articles (2) Specifications (2) Wikis (5,666,876)

Developer

Swagger UI API Index
REST API

Full event lifecycle over HTTP — publish, query, fetch by ID, delete.

NIP-01 Filters

Filter by kind, author pubkey, time window, and single-letter tags (#d, #T, #N, #i, #s, …). Multi-letter keys like #title / #author are rejected on /api/events/filter (use publication search instead).

Publications

Metadata search (kind 30040: d/T/N/s/i plus multi-letter title/author) and section search (kind 30041: body + d/T/title).

NIP-11 & NIP-70

Relay info at GET / with Accept: application/nostr+json. Protected events are rejected.

Endpoints

GET /api

List available endpoints

GET /api/events

Cacheable query (since, until, limit; single-letter tags)

POST /api/events/filter

Filter query with JSON body (single-letter # tags only)

POST /api/publications/search

Publication metadata search (kind 30040: d/T/N/s/i + title/author)

POST /api/publications/sections/search

Publication section search (kind 30041, body + d/T/title)

POST /api/wiki/search

Wiki search (kind 30818, body + d/T/s/i/title)

GET /api/events/:id

Fetch a single event by ID

POST /api/events

Publish a new event

DELETE /api/events/:id

Admin-only delete (Bearer token)

GET /api/swagger

Interactive Swagger UI