{"uid":"cap_dN9_-AAKwt3omjAEOUd8g","slug":"jwt-decode-header-payload-claims-inspector-0604e8ad","name":"JWT Decode (Header/Payload/Claims Inspector)","description":"Decode a JWT header/payload/claims (no verification) — quick inspection of API tokens for debugging agents","url":"https://money-reactor.makar52nn2016.workers.dev/api/jwt-decode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","properties":{}}}},"output":{"type":"object","properties":{"example":{"status":"ok"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_msTfau1FFaFqz3_DLxmgl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes a JWT token into its header, payload, and claims for inspection without performing signature verification","exampleAgentPrompt":"Can you decode this JWT token for me so I can see what claims and expiration are in it? eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","exampleUseCases":[{"title":"Debugging expired API token","prompt":"I'm getting auth errors with this token — can you decode it and tell me what the expiration time is and who issued it? eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzEyMyIsImV4cCI6MTY5MDAwMDAwMCwiaXNzIjoiYXV0aC5leGFtcGxlLmNvbSJ9.signature"},{"title":"Checking token scopes before API call","prompt":"Before I make this API request, can you parse this JWT and tell me what scopes or permissions are listed in the payload? eyJhbGciOiJIUzI1NiJ9.eyJzY29wZXMiOlsicmVhZDp1c2VycyIsIndyaXRlOnBvc3RzIl0sInN1YiI6ImFnZW50XzQ1NiJ9.abc123"},{"title":"Inspecting third-party token claims","prompt":"I received this token from a third-party service and want to know what user ID, roles, and expiry are embedded in it without needing their secret key — can you decode it? eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI5ODciLCJyb2xlIjoiYWRtaW4iLCJleHAiOjE3MjAwMDAwMDB9.sig"}],"resultDescription":"Returns the decoded JWT header (algorithm, token type), payload (all claims such as sub, iss, iat, exp, scopes, roles, and any custom fields), and raw claims as structured JSON — without performing any signature verification","failureModes":["Malformed or non-JWT string returns an error response","Missing token parameter results in a bad request error","No signature verification is performed so tampered tokens still decode successfully","Network or Cloudflare Worker errors may return a 5xx response","Payment failure via x402 protocol returns a 402 status requiring USDC payment"],"whenToPreferThis":"Choose this endpoint when you need fast, no-frills JWT inspection for debugging purposes and do not need cryptographic signature verification. Ideal for agents that need to read expiry times, scopes, or user identifiers from tokens at runtime without access to the signing secret. Prefer this over a full JWT verification library when the goal is purely inspection, not validation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T00:32:52.462Z","isFirstParty":false,"canonicalSlug":"jwt-decode-header-payload-claims-inspector-0604e8ad"}