Mazin on Nostr: Our new Search API is now live at . The documentation is available here: The ...
Our new Search API is now live at
https://api.nostr.wine/search. The documentation is available here:
https://docs.nostr.wineThe 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=1Current 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.
Published at
2023-03-31 16:41:47Event JSON
{
"id": "8db2343e9cf9f2da80a152a8f7dd32f82dbd9a18c316accaf1d9c064fbf21de5",
"pubkey": "3d842afecd5e293f28b6627933704a3fb8ce153aa91d790ab11f6a752d44a42d",
"created_at": 1680280907,
"kind": 1,
"tags": [],
"content": "Our new Search API is now live at https://api.nostr.wine/search. The documentation is available here: https://docs.nostr.wine\n\nThe following parameters are supported:\n- query (search string, * supported in front and back of string)\n- kind (event kind)\n- pubkey (nostr pubkey in hex)\n- since (unix timestamp)\n- until (unix timestamp)\n- sort (“time” or “relevance”, default: relevance)\n- limit (number of results per page)\n- page (pagination)\n\nExample query: https://api.nostr.wine/search?query=*wine*\u0026kind=1\n\nCurrent 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.",
"sig": "fb137c7f2e3897b4a78010452af9c7f2e18bd23bf258c6fa4ecc9b0e66451049beb0d6f1ed5cfa7ca350442c9941c1c3706a0c7dc516651c8acf318097f67ba5"
}