{"uid":"cap_AQFEIA2oeXCaz5X82Xkwr","slug":"agentbit-jwt-decode-2c25210d","name":"AgentBIT JWT Decode","description":"Live web, business, finance and security tools for AI agents. Pay per call with x402 — no signup, no API keys.","url":"https://agentbit.app/v1/jwt/decode","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string"}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0015","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.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pFwSUUHlWB4B798XEsw99","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","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 signature components without verification","exampleAgentPrompt":"Can you decode this JWT for me and show me what's inside it — especially the payload claims like exp, sub, and iat? Here's the token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","exampleUseCases":[{"title":"Inspect auth token expiry","prompt":"I have this JWT from our auth system and I need to know when it expires and what user it belongs to — can you decode it and pull out the exp, sub, and iat fields? Token: eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ1c2VyXzQ1NiIsImV4cCI6MTcwMDAwMDAwMH0.abc123"},{"title":"Debug API token claims","prompt":"We're getting auth errors in our app and I think the JWT claims might be wrong — decode this token and tell me exactly what claims are in the payload: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYWRtaW4iLCJ0ZW5hbnQiOiJhY21lIn0.xyz789"},{"title":"Extract user identity from bearer token","prompt":"Given this bearer token from the request header, can you decode the JWT and tell me the user ID, email, and any role or permission claims embedded in it? Token: eyJhbGciOiJSUzI1NiIsImtpZCI6ImtleS0xIn0.eyJlbWFpbCI6ImJvYkBleGFtcGxlLmNvbSIsInJvbGUiOiJ2aWV3ZXIifQ.sig"}],"resultDescription":"A JSON object containing the decoded JWT broken into its three parts: the header (algorithm, token type, key ID), the payload (all embedded claims such as sub, iat, exp, email, roles, and any custom fields), and the raw base64url-encoded signature string — returned without cryptographic verification.","failureModes":["Malformed or non-JWT string returns an error indicating invalid token format","Missing or empty input field returns a validation error","Truncated JWT with fewer than 3 dot-separated segments fails to parse","Payment failure via x402 results in 402 response before processing"],"whenToPreferThis":"Choose this endpoint when you need a fast, no-signup, pay-per-call JWT decode without standing up your own parsing library or managing API keys. Ideal for AI agents that occasionally need to inspect token claims on the fly, debug authentication issues, or extract identity fields from bearer tokens without performing full signature verification. Prefer this over a full JWT validation endpoint when you only need to read the payload rather than verify its authenticity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:33:33.511Z","isFirstParty":false}