{"uid":"cap_LnD8habyNMDI8yfUs3caB","slug":"agent402-tools-jwt-decoder-595cdb72","name":"agent402.tools JWT Decoder","description":"Decode a JWT without verification: header, payload, expiry status, and time remaining. (Decoding only - signatures are NOT verified.)","url":"https://agent402.tools/api/jwt-decode","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"token":{"type":"string","description":"The JWT string"}}},"responseSchema":{"type":"json","example":{"header":{"alg":"HS256"},"expired":false,"payload":{"exp":9999999999,"sub":"agent402"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_k3SJkqK-sPB4mcGYNxaMG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 to extract its header, payload, expiry status, and time remaining — without verifying the signature.","exampleAgentPrompt":"Can you decode this JWT for me and tell me what's in the payload and whether it's expired: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","exampleUseCases":null,"resultDescription":"Returns the decoded JWT header (algorithm, token type), the full payload (all claims such as sub, iat, exp, etc.), whether the token is currently expired, and the time remaining until expiry or time since expiry.","failureModes":["Malformed JWT string causes a parse error","Empty or missing token field returns a validation error","Token with non-standard structure may fail to decode cleanly","Network timeout on the API request"],"whenToPreferThis":"Use this endpoint when you need to inspect or debug a JWT token's contents — its claims, issuer, subject, or expiry — without needing to cryptographically verify its signature. Ideal for debugging, logging, or extracting user info from tokens in trusted contexts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:06:37.092Z","isFirstParty":false}