{"name":"api.txid.uk","version":"1.0.0","description":"Bitcoin education platform API — identity (LNURL-auth, NIP-07, passkey, OAuth2/OIDC), community boards, unified search, notifications, Nostr, NIP-05, lokl sync","endpoints":{"health":"GET /health","auth":{"challenge":"GET /auth/challenge","verify":"GET /auth/verify","status":"GET /auth/status/:k1 (SSE)","session":"POST /auth/session","me":"GET /auth/me","logout":"POST /auth/logout","sessions":"GET /auth/sessions","logoutAll":"POST /auth/logout-all","identities":"GET /auth/identities","unlinkIdentity":"DELETE /auth/identities/:id","tokens":"GET|POST /auth/tokens","revokeToken":"DELETE /auth/tokens/:id","scopes":"GET /auth/scopes"},"nip07":{"challenge":"GET /auth/nip07/challenge","verify":"POST /auth/nip07/verify"},"passkey":{"registerOptions":"POST /auth/passkey/register-options","register":"POST /auth/passkey/register","authOptions":"POST /auth/passkey/auth-options","auth":"POST /auth/passkey/auth","list":"GET /auth/passkey/list","remove":"DELETE /auth/passkey/:id"},"oauth":{"authorize":"GET /oauth/authorize","token":"POST /oauth/token","userinfo":"GET /oauth/userinfo","metadata":"GET /.well-known/oauth-authorization-server","openidConfiguration":"GET /.well-known/openid-configuration","jwks":"GET /.well-known/jwks.json"},"search":"GET /search?q=&types=posts,glossary,users","notifications":{"channels":"GET /notifications/channels","recent":"GET /notifications/recent?channel=","stats":"GET /notifications/stats/public","list":"GET /notifications","read":"PATCH /notifications/:id/read","readAll":"POST /notifications/read-all","subscriptions":"GET /notifications/subscriptions","subscribe":"PUT /notifications/subscriptions/:channelId"},"board":{"categories":"GET /board/categories","posts":"GET /board/:slug/posts","createPost":"POST /board/:slug/posts","post":"GET /board/posts/:id (comments 내장)","createComment":"POST /board/posts/:id/comments","vote":"POST /board/posts/:id/vote","search":"GET /board/search?q="},"nip05":{"verify":"GET /.well-known/nostr.json?name=","check":"GET /nip05/check/:username","register":"POST /nip05/register","payment":"GET /nip05/payment/:hash","profile":"GET /nip05/profile/:identifier"},"nostr":{"me":"GET /nostr/me","relays":"GET /nostr/relays","archive":"GET /nostr/archive/:postId"},"lokl":{"plans":"GET /lokl/plans","subscription":"GET /lokl/subscription","subscribe":"POST /lokl/subscribe","payment":"GET /lokl/payment/:paymentHash"},"progress":"GET|PUT /progress","portfolio":"GET|PUT|DELETE /portfolio (deprecated — portfolio app retired; kept only for existing data)","account":{"summary":"GET /account/summary","profile":"GET /account/profile"},"macro":{"prices":"GET /macro/prices","fearGreed":"GET /macro/fear-greed","briefing":"GET /macro/briefing","briefings":"GET /macro/briefings","createBriefing":"POST /macro/briefing (admin)","history":"GET /macro/history/:key","stream":"GET /macro/stream (SSE)","health":"GET /macro/health"},"glossary":{"all":"GET /glossary?lang=ko&cat=basics","single":"GET /glossary/:id?lang=ko","random":"GET /glossary/random?lang=ko"}},"auth":"LNURL-auth (Lightning wallet QR), NIP-07 (Nostr extension), passkey (WebAuthn), OAuth2/OIDC (api.txid.uk is the IdP), Bearer API tokens","docs":"https://api.txid.uk/docs"}