n
n
nostr.wine
Search
K

Search

Documentation for nostr event search
get
https://api.nostr.wine
/search
Search for nostr events. At least one search parameter is required.
Example: https://api.nostr.wine/search?query=wine&kind=1 Free rate limit: 1 request per second.
Parameters
Query
query
String
Search keyword(s) * allowed
kind
Integer
Comma separated list of kind integers to include in search (e.g. kind=1,2,3)
pubkey
String
Nostr pubkey in hex
since
Integer
UNIX timestamp
until
Integer
UNIX timestamp
sort
String
Sort results by "time", "relevance", or "first_seen" (default: relevance)
order
String
"ascending" or "descending", available only if sorting by time or first_seen (default: descending)
first_seen
Boolean
Include first_seen timestamp on kind 0 and 3 results (default: false, automatically set to true if sort=first_seen)
limit
Integer
Number of results per page (default: 20, max: 100)
page
Integer
Pagination (default: 1)
Responses
200: OK
Response for https://api.nostr.wine/search?query=wine&kind=1
Last modified 24d ago