Why Nostr? What is Njump?
Mazin
npub18kz…x5sz
2023-08-11 14:08:20

Mazin on Nostr: Very early version of this API is available now. Still need to add some limits and ...

Very early version of this API is available now. Still need to add some limits and improve query flexibility. For now it accepts the following parameters: hours (how many hours back to include in totals), order (sort results by replies, reposts, reactions, zap_count, and zap_amount), and limit (how many results to return). The defaults are set to 4 hours, replies, and 10 results.

For example, here are the 5 most reposted notes in the last 2 hours: https://trending.nostr.wine/api?order=reposts&hours=2&limit=5
Trending Notes API is coming along. Currently it accepts interval hours, order by, and results limit as params. Here are the 3 most replied to events in the last 4 hours:

Author Public Key
npub18kzz4lkdtc5n729kvfunxuz287uvu9f64ywhjz43ra482t2y5sks0mx5sz