{"uid":"cap_OLBHMu6AcCNOh6AHAAABh","slug":"scriptmasterlabs-jwt-decode-api-f0b85fbc","name":"ScriptMasterLabs JWT Decode API","description":"Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).","url":"https://acp-x402-scriptmasterlabs.onrender.com/x402/jwt-decode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8Wjy9-MWogLq7D6GhYkPL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes and inspects the contents of a JWT (JSON Web Token) for its claims, header, and payload via a pay-per-call endpoint settled in USDC on Base.","exampleAgentPrompt":"Can you decode this JWT for me and show me what claims and payload it contains: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","exampleUseCases":[{"title":"Debug auth token in dev flow","prompt":"I'm seeing a 401 error and I want to inspect what's actually inside this JWT to check if the expiry or issuer is wrong: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzEyMyIsImV4cCI6MTcwMDAwMDAwMH0.signature — can you decode it for me?"},{"title":"Compliance audit of token claims","prompt":"For our compliance audit I need to extract and log all the claims from this JWT token so we can verify the roles and permissions it encodes: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYWRtaW4iLCJvcmciOiJhY21lIn0.sig"},{"title":"Check token expiry before API call","prompt":"Before I make this downstream API call, can you decode this JWT and tell me if it's expired and who the issuer is? Token: eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MDAwMDAwMDAsImV4cCI6MTYwMDAwMzYwMH0.abc123"}],"resultDescription":"Returns the decoded JWT structure including the header (algorithm, token type), payload (all claims such as sub, iss, exp, iat, roles, and any custom fields), and optionally signature metadata — without requiring a secret key for verification.","failureModes":["Malformed or non-JWT string input returns an error or empty response","Expired payment or failed USDC settlement on Base results in 402 Payment Required","Network timeout due to cold-start on Render free tier","Missing or empty token parameter returns a 400 Bad Request","Encrypted JWTs (JWE) may not be decodable without the private key"],"whenToPreferThis":"Choose this endpoint when you need a quick, lightweight, pay-per-call JWT decode without deploying your own library, especially in agentic workflows where installing dependencies is not feasible, or when you need to audit/log JWT contents at $0.001 per call with USDC micropayment settlement on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:45:00.450Z","isFirstParty":false,"canonicalSlug":"scriptmasterlabs-jwt-decode-api-f0b85fbc"}