{"uid":"cap_2l9ds7Mxo63lgOtKRxvdR","slug":"x402-tools-jwt-decode-2cda9497","name":"x402-tools JWT Decode","description":"Pay-per-call utility APIs for AI agents, settled in USDC via the x402 protocol.","url":"https://x402.nichospt.net/jwt-decode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"token":{"type":"string","description":"A JWT (header.payload.signature). NOT verified."}}},"responseSchema":{"type":"json","example":{"header":{"alg":"HS256","typ":"JWT"},"expired":null,"payload":{"sub":"1234","name":"Ada"},"verified":false,"signature":"SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_FNjTJDxVpfJmEOhr2U-AX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes and inspects a JWT token (header, payload, signature) without verifying its signature, returning structured JSON components.","exampleAgentPrompt":"Can you decode this JWT and show me what's in the header and payload? eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0IiwibmFtZSI6IkFkYSJ9.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","exampleUseCases":null,"resultDescription":"Returns a JSON object with the decoded JWT header (e.g. algorithm, type), payload (e.g. sub, name, custom claims), raw signature string, and an expiration status field indicating if the token is expired. A 'verified' field is always false since signature verification is not performed.","failureModes":["Malformed JWT string (not three dot-separated base64 segments) returns an error","Empty or missing token field returns a validation error","Token with non-standard encoding may fail to parse correctly","Network or service downtime returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need to quickly inspect or debug the contents of a JWT token and do not need cryptographic signature verification. Ideal for extracting claims, reading expiration metadata, or identifying the algorithm used, without needing access to the signing secret or public key.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:31:40.940Z","isFirstParty":false,"canonicalSlug":"x402-tools-jwt-decode-2cda9497"}