{"uid":"cap_bqCWhsk4kFJDqvXnz-_VQ","slug":"jwt-decode-no-verification-03f4a7e6","name":"JWT Decode (No Verification)","description":"817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.","url":"https://x402.agentutility.ai/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":{"required":["jwt"],"properties":{"jwt":{"type":"string","description":"Compact-serialization JWT string (three base64url segments separated by '.'). May be prefixed with 'Bearer ' — that prefix is stripped automatically."}}},"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","properties":{"note":{"type":"string"},"type":{"type":"null"},"claims":{"type":"object","properties":{"jti":{"type":"null"},"issuer":{"type":"null"},"subject":{"type":"string"},"audience":{"type":"null"},"issued_at":{"type":"null"},"expires_at":{"type":"null"},"not_before":{"type":"null"},"ttl_seconds":{"type":"null"}}},"header":{"type":"object","properties":{"alg":{"type":"string"}}},"key_id":{"type":"null"},"payload":{"type":"object","properties":{"sub":{"type":"string"}}},"algorithm":{"type":"string"},"signature":{"type":"string"},"is_expired":{"type":"boolean"},"is_not_yet_valid":{"type":"boolean"},"payload_size_bytes":{"type":"integer"},"is_currently_valid_by_clock":{"type":"boolean"}}}}}}},"responseSchema":{"type":"json","example":{"note":"Signature is NOT verified. Do not trust this output for authentication decisions.","type":null,"claims":{"jti":null,"issuer":null,"subject":"123","audience":null,"issued_at":null,"expires_at":null,"not_before":null,"ttl_seconds":null},"header":{"alg":"HS256"},"key_id":null,"payload":{"sub":"123"},"algorithm":"HS256","signature":"abc","is_expired":false,"is_not_yet_valid":false,"payload_size_bytes":14,"is_currently_valid_by_clock":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dVnlOSrECcKejReTX7EFY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 and extracts its header, payload, and claims without verifying the signature.","exampleAgentPrompt":"Can you decode this JWT for me and show me what claims and header fields are inside: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjMifQ.abc — I just need to see the payload, not verify it.","exampleUseCases":[{"title":"Debug expired session token","prompt":"I have this JWT from a user session and I want to know when it expires and what the subject claim is — can you decode it without verifying the signature? Here it is: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1c2VyXzQ1NiIsImV4cCI6MTcwMDAwMDAwMH0.xyz"},{"title":"Inspect third-party API token","prompt":"We got a JWT back from a third-party API and I want to understand what algorithm it uses and what claims are in the payload — can you decode eyJhbGciOiJSUzI1NiIsImtpZCI6ImtleS0xIn0.eyJpc3MiOiJodHRwczovL2V4YW1wbGUuY29tIn0.sig and tell me the header and all the fields?"},{"title":"Check if auth token is still valid by clock","prompt":"I have a JWT token and I need to know if it's currently valid based on its expiry time — just decode it and check the is_currently_valid_by_clock field, no signature verification needed: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0ZXN0IiwiZXhwIjo5OTk5OTk5OTk5fQ.tok"}],"resultDescription":"Returns a structured breakdown of the JWT including: the decoded header (algorithm, key ID), the full payload object, extracted standard claims (issuer, subject, audience, issued_at, expires_at, not_before, TTL in seconds, JTI), the raw signature string, algorithm name, payload size in bytes, and boolean flags for is_expired, is_not_yet_valid, and is_currently_valid_by_clock. Includes a note that the signature is NOT verified and the output should not be trusted for authentication decisions.","failureModes":["Malformed JWT (not three base64url segments) returns an error","Empty or missing jwt field returns validation error","Non-JWT string passed causes parse failure","Payment failure (insufficient USDC balance) returns 402","Network timeout returns 5xx error"],"whenToPreferThis":"Use this endpoint when you need to inspect or debug JWT contents — headers, claims, expiry — without needing signature verification. Ideal for logging, debugging, analytics, or extracting user metadata from tokens where trust is already established by other means. Not suitable for authenticating users or verifying token integrity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T06:17:43.047Z","isFirstParty":false,"canonicalSlug":"jwt-decode-no-verification-03f4a7e6"}