{"uid":"cap_2NpGQgk4NzpQjB-fhrhNt","slug":"x402-toolbox-jwt-decode-93cd443e","name":"x402-toolbox JWT Decode","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/util/jwt-decode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ua_ehe6agTflLLH4MLNeg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 to extract its header, payload, and claims without verifying the signature","exampleAgentPrompt":"Can you decode this JWT for me so I can see what claims are inside: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","exampleUseCases":[{"title":"Inspect token expiry and subject","prompt":"Decode this JWT for me so I can check when it expires and who it belongs to: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzEyMyIsImV4cCI6MTcwMDAwMDAwMH0.signature"},{"title":"Debug auth token claims","prompt":"I'm getting an auth error and want to see what's inside the token my app is sending — can you decode this JWT: eyJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiYWRtaW4iLCJpYXQiOjE2OTAwMDAwMDB9.abc123"},{"title":"Extract user role from token","prompt":"Pull out the role and user ID from this JWT so I know what permissions this session has: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI0MiIsInJvbGUiOiJlZGl0b3IifQ.xyz"}],"resultDescription":"Returns a JSON object with ok and paid flags, along with the decoded JWT broken into its header, payload, and signature components, exposing all embedded claims such as sub, iat, exp, roles, and any custom fields in plain readable form.","failureModes":["Malformed or invalid JWT string returns an error","Missing or empty schema/token input returns a 400-level error","Expired payment (x402) causes 402 Payment Required response","Network timeout on Cloudflare Worker edge"],"whenToPreferThis":"Choose this endpoint when you need a quick, no-signup, pay-per-use JWT decoder that requires no API key registration — ideal for AI agents operating autonomously with USDC micropayments. Prefer this over client-side JWT libraries when running in environments without native crypto libraries, or when you need a deterministic server-side decode as part of an automated workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:48:03.457Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-jwt-decode-93cd443e"}