{"uid":"cap_nekowtdWiCrW0azUNDnBl","slug":"jwt-decode-ac47c69d","name":"JWT Decode","description":"Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.","url":"https://x402-gateway-production-1f21.up.railway.app/jwt/decode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["token"],"properties":{"token":{"type":"string","maxLength":200000}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"status":"ready"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_b392EAMVlSGNtfHA3AIOW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes a JWT token string and returns its decoded header, payload, and signature components without verification.","exampleAgentPrompt":"Can you decode this JWT token for me and show me what's in the payload: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","exampleUseCases":[{"title":"Inspect access token claims","prompt":"I have this JWT access token from our auth system — can you decode it and tell me what claims are in it, like the user ID, roles, and expiry time? Here it is: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."},{"title":"Debug expired session token","prompt":"Our users are getting logged out unexpectedly. Can you decode this JWT session token and check what the expiration time is set to? Token: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2OTAwMDAwMDB9.abc123"},{"title":"Audit third-party API token","prompt":"We received a JWT from a third-party vendor and I need to understand what's inside it before we use it — can you decode it and list all the fields in the payload? Here's the token: eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ2ZW5kb3IuY29tIn0.signature"}],"resultDescription":"Returns the decoded JWT broken into its constituent parts: the header (algorithm, token type), the payload (all claims such as sub, iat, exp, roles, and any custom fields), and the signature component — presented as structured JSON objects rather than base64-encoded strings.","failureModes":["Malformed JWT string (not in three-part base64 format) returns an error","Token exceeds 200,000 character limit returns validation error","Empty or missing token field returns required field error","Non-JWT base64 strings passed as tokens may produce garbled output or errors"],"whenToPreferThis":"Use this endpoint when you need a machine-payable, infrastructure-free way to decode JWTs without setting up a local library — ideal for AI agents, serverless pipelines, or quick inspection of tokens from third-party systems. Prefer this over rolling your own decoder when operating in an x402 micropayment context or when you need a consistent, hosted utility callable by any agent regardless of runtime environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:47:29.211Z","isFirstParty":false,"canonicalSlug":"jwt-decode-ac47c69d"}