{"uid":"cap_K7DwxeBizAauOpraRuDb9","slug":"agentresolver-jwt-decode-ecc9be5f","name":"AgentResolver JWT Decode","description":"Verify an x402 endpoint before paying: live payTo, USDC quote, network, asset, resource binding, TLS and endpoint safety for $0.001 on Base or Solana.","url":"https://agentresolver.vercel.app/api/jwt-decode","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":131072}}},"responseSchema":{"type":"json","example":{}},"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_MHOpBxSEEVp9X8o7XTn4M","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 into its header, payload, and signature components without verifying signature validity","exampleAgentPrompt":"Can you decode this JWT for me and show me the header and payload claims: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","exampleUseCases":[{"title":"Inspect expiring session token claims","prompt":"I have this JWT from a user session and I need to see the payload claims to check when it expires and who it belongs to — can you decode it? Here's the token: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiYWJjMTIzIiwiZXhwIjoxNzAwMDAwMDAwfQ.signature"},{"title":"Debug malformed authentication token","prompt":"A user is getting an auth error and I need to inspect what's actually inside their JWT to diagnose the problem — decode this token for me: eyJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiYWRtaW4iLCJzdWIiOiJ1c2VyQGV4YW1wbGUuY29tIn0.abc123"},{"title":"Audit third-party token structure","prompt":"We received a JWT from a third-party OAuth provider and I need to understand what algorithm and claims it contains before we integrate it — can you decode this token and show me the header and payload? eyJhbGciOiJFUzI1NiIsImtpZCI6ImtleS0xIn0.eyJpc3MiOiJodHRwczovL2V4YW1wbGUuY29tIiwic3ViIjoiMTIzIn0.sig"}],"resultDescription":"Returns a JSON object containing the decoded JWT header object, payload object, and signature string, along with the input byte size, the operation name ('jwt-decode'), and a verified field always set to false (indicating no signature verification is performed).","failureModes":["Malformed or non-JWT input string returns an error or empty component fields","Missing or empty input field returns a validation error","Very large JWT input may exceed byte limits","Network timeout on the remote endpoint","Payment failure if USDC balance is insufficient for the $0.001 call fee"],"whenToPreferThis":"Choose this endpoint when you need to quickly inspect the contents of a JWT — its header algorithm, payload claims, or expiry — without needing to cryptographically verify the signature. It is suitable for debugging, auditing, or extracting claims from trusted internal tokens where signature verification is handled elsewhere. Note that the verified field is always false, so do not use this endpoint as a security gate for untrusted tokens requiring full validation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T12:50:38.780Z","isFirstParty":false}