HTTP 402 Paywall

NIP-98 authenticated API demo

Your Account

DID Not loaded
Balance -- GSAT

How NIP-98 Works

Create Event
Build a kind 27235 Nostr event with URL and method tags
Sign Event
Sign the event with your Nostr private key (schnorr)
Send Request
Base64 encode the event and send in Authorization header
Pay & Access
Server deducts GSAT tokens and returns the content

API Endpoint

URL GET /api/quote
Cost 1 GSAT
Returns Current GSAT price

NIP-98 Event (Debug)

Click button to see the signed event...