Why Nostr? What is Njump?
2023-04-01 05:00:20
in reply to

Mazin on Nostr: I can add our “stealth” URL to the new search API as well so our friends in ...

I can add our “stealth” URL to the new search API as well so our friends in 🇨🇳 can use it too.

If you’re in China and can’t access nostr.wine, DM me for an alternate URL.
Our new Search API is now live at https://api.nostr.wine/search. The documentation is available here: https://docs.nostr.wine

The following parameters are supported:
- query (search string, * supported in front and back of string)
- kind (event kind)
- pubkey (nostr pubkey in hex)
- since (unix timestamp)
- until (unix timestamp)
- sort (“time” or “relevance”, default: relevance)
- limit (number of results per page)
- page (pagination)

Example query: https://api.nostr.wine/search?query=*wine*&kind=1

Current rate limit: 1 request/second. We’ll see how that goes. Try it out, and let me know if you have any issues! I have not thoroughly tested this yet.
Author Public Key
npub18kzz4lkdtc5n729kvfunxuz287uvu9f64ywhjz43ra482t2y5sks0mx5sz