sk_live_[random_string]Authorization: Bearer sk_live_....env.local).Authorization: Nostr [base64_encoded_event]POST https://tunnelsats.com/api/v1)HTTP 402): Returns WWW-Authenticate: L402 macaroon="...", invoice="lnbc..." (interoperable binary V2 L402 macaroon) and PAYMENT-REQUIRED (experimental x402 v2 discovery adapter envelope with scheme: "l402", network: "bip122:000000000019d6689c085ae165831e93", asset: "SAT", and extra.adapterRole: "discovery").Authorization: L402 <macaroon>:<preimage> (where SHA256(preimage) == paymentHash), or X-PAYMENT / PAYMENT-SIGNATURE base64 JSON carrying { "macaroon": "...", "preimage": "..." }./api/public/* paths:| Endpoint | Limit | Per |
|---|---|---|
GET /api/v1 | 60/min | IP |
POST /api/v1 | 10/min | IP |
GET /servers | 60/min | IP |
POST /create | 10/min | IP |
POST /claim | 10/min | IP |
GET /{paymentHash} | 60/min | IP |
POST /status | 30/min | IP |
POST /renew | 20/min | IP |
POST /bandwidth-reset | 10/min | IP |
POST /{paymentHash}/sync | 5/min | Subscription |
GET /list | 30/min | Account |
POST /ping/lookup | 5/min | IP |
POST /ping/test | 3/min | IP |
ERR_RATE_LIMIT_EXCEEDED (429), your application MUST implement exponential backoff: