{"uid":"cap_QtmQEkQOug2K6gpSUCSqV","slug":"agent-services-x402-jwt-decode-55c53b5b","name":"agent-services x402 JWT Decode","description":"Paid per-call web tools for AI agents: DNS, TLS, robots.txt, hashing, JavaScript rendering and screenshots. Payment over x402 (USDC on Base).","url":"https://49112-hjhjtioxvirqvcvo.splox.app/jwt-decode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["v","algo"],"properties":{"v":{"type":"string","description":"value to hash/encode/decode"},"key":{"type":"string","description":"HMAC key (hmac-sha256 only)"},"algo":{"type":"string","description":"sha256|sha512|sha1|md5|hmac-sha256|base64enc|base64dec|jwt-decode"}}},"responseSchema":{"type":"object","required":["algo"],"properties":{"algo":{"type":"string","description":"echo of the requested algorithm"},"error":{"type":"string"},"digest":{"type":"string","description":"hex digest for sha256/sha512/sha1/md5/hmac-sha256"},"header":{"type":"object","description":"jwt-decode: decoded header","additionalProperties":true},"result":{"type":"string","description":"base64enc/base64dec output"},"payload":{"type":"object","description":"jwt-decode: decoded payload","additionalProperties":true},"input_bytes":{"type":"integer"},"signature_present":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0005","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.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ChjFegN0x250Nc2mQhPSr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","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 into its header and payload components, reporting whether a signature is present, paid per-call via x402/USDC.","exampleAgentPrompt":"Decode this JWT for me and show me the header and payload: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c — also tell me if a signature is present.","exampleUseCases":[{"title":"Inspect auth token claims","prompt":"I have this JWT from our API response and I need to see what claims and expiration are inside it — can you decode it? Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiYWJjMTIzIiwiZXhwIjoxNzAwMDAwMDAwfQ.abc123"},{"title":"Debug JWT authentication issue","prompt":"Our login is failing and I think the JWT might have wrong claims — can you decode this token and show me the full header and payload so I can see what's in it? Token: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzQ1NiIsInJvbGUiOiJhZG1pbiIsImlhdCI6MTYwMDAwMDAwMH0.signature"},{"title":"Check JWT signature presence","prompt":"Can you decode this JWT and tell me whether it actually has a signature attached or if it's unsigned? Token: eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiJ0ZXN0In0."}],"resultDescription":"Returns a JSON object containing the decoded JWT header (object with alg, typ, etc.), the decoded payload (object with claims such as sub, exp, iat, roles), a boolean signature_present flag indicating whether the third JWT segment exists, an echo of the requested algo, and the input byte count. On error, returns an error string.","failureModes":["Malformed JWT (not three base64url segments) returns an error field","Missing required parameter 'v' (the token) returns a validation error","Missing required parameter 'algo' returns a validation error","algo set to anything other than 'jwt-decode' for this endpoint returns wrong tool output","Payment failure over x402 returns HTTP 402 before processing"],"whenToPreferThis":"Choose this endpoint when you need to quickly inspect the contents of a JWT — reading claims, checking expiration, or verifying header algorithm — without needing cryptographic signature verification. Ideal for debugging auth flows, logging token metadata, or extracting user claims from a bearer token in an agent pipeline. Prefer this over local decoding when operating in a sandboxed or stateless agent environment without access to a crypto library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:31:21.731Z","isFirstParty":false,"canonicalSlug":"agent-services-x402-jwt-decode-55c53b5b"}