{"uid":"cap_G6PCEGAfZZdAoJr_UyzFO","slug":"relaystation-jwt-decode-4461147a","name":"Relaystation JWT Decode","description":"$0.0001/call. Decode a JWT's header and payload (no verification) — inspect claims fast. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/utils/jwt-decode","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":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"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":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zhxvmq7lvqQp-9VYUya-Q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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's header and payload without signature verification, exposing all claims instantly","exampleAgentPrompt":"Decode this JWT for me so I can see what claims are in it — no verification needed, just show me the header and payload: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","exampleUseCases":[{"title":"Debug expired auth token","prompt":"Can you decode this JWT and tell me when it expires and who issued it? Here's the token: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzEyMyIsImlzcyI6ImF1dGgubXlhcHAuY29tIiwiZXhwIjoxNjAwMDAwMDAwfQ.signature"},{"title":"Inspect user claims in token","prompt":"Look inside this JWT and pull out all the user claims from the payload — I want to see the subject, roles, and any custom fields without needing to verify the signature."},{"title":"Check JWT algorithm before processing","prompt":"Before I process this token, can you decode its header so I can see which signing algorithm was used? The token is: eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImtleS0xIn0.eyJ1c2VyIjoiYWxpY2UifQ.sig"}],"resultDescription":"Returns the decoded JWT header (algorithm, token type, key ID) and payload (all claims such as sub, iss, exp, iat, aud, and any custom claims) as structured JSON. Does not validate the signature — purely structural decoding.","failureModes":["Malformed JWT (not three dot-separated base64 segments) returns a parse error","Empty or missing token field returns a validation error","Non-JWT strings (e.g. opaque tokens) cannot be decoded and return an error","Payment failure or insufficient x402 credit returns a 402 response"],"whenToPreferThis":"Use this endpoint when you need to quickly inspect JWT contents — claims, expiry, algorithm, issuer — without needing cryptographic verification. Ideal for debugging, logging, or extracting user identity data from a token when you already trust the source. Prefer this over a full JWT verification endpoint when you don't have the secret/public key available or when verification is handled elsewhere.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:48:01.545Z","isFirstParty":false}