Replying to Avatar Mazin

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.

One last before bed update from #[0]​. Multiple kind values are now accepted in search query as a comma separated list. Example: https://api.nostr.wine/search?kind=0,3&pubkey=3d842afecd5e293f28b6627933704a3fb8ce153aa91d790ab11f6a752d44a42d #[1]

Reply to this note

Please Login to reply.

Discussion

No replies yet.