{"uid":"cap_DfATWC14YsK3bXqH3-j9v","slug":"minia2a-jwt-decode-ae7b07f1","name":"minia2a JWT Decode","description":"Decode a JWT token — header, payload, and expiry.","url":"https://minia2a.uk/x402/jwt-decode","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","properties":{"type":{"type":"string"},"method":{"type":"string"},"bodyType":{"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","properties":{"type":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wn7kyn03rX_hzmsAbx7uJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","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 and returns its header, payload, and expiry information.","exampleAgentPrompt":"Can you decode this JWT token for me and show me the header, payload, and when it expires? Here's the token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","exampleUseCases":[{"title":"Debug expired auth token","prompt":"This API call keeps failing with an auth error — can you decode this JWT token and tell me if it's expired? eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzQ1NiIsImV4cCI6MTYwMDAwMDAwMH0.abc123"},{"title":"Inspect user claims in token","prompt":"Can you decode this bearer token and tell me what user information and permissions are embedded in it? Token: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI3ODkiLCJyb2xlIjoiYWRtaW4ifQ.xyz789"},{"title":"Verify token algorithm and structure","prompt":"I need to check what signing algorithm and token type is in the header of this JWT — can you decode it and show me the full header and payload? eyJhbGciOiJIUzM4NCIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0ZXN0In0.sig456"}],"resultDescription":"Returns the decoded JWT broken into three parts: the header (algorithm, token type), the payload (claims such as subject, user ID, roles, issued-at), and the expiry information parsed from the token's exp claim.","failureModes":["Invalid or malformed JWT string returns a decode error","Token with missing or corrupted segments fails parsing","Expired tokens may still be decoded but flagged as expired","Network timeout or service unavailability returns a 5xx error","Insufficient payment (missing x402 header) results in a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need a quick, paid-per-call JWT decode operation without running a local library — ideal for agents that encounter raw JWT strings in API responses, headers, or logs and need to inspect claims, check expiry, or understand token structure on the fly without setting up JWT libraries in their environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:52:29.917Z","isFirstParty":false}