{"uid":"cap_1XqIolMVxwPKTPiGpyRQ6","slug":"scriptmasterlabs-jwt-decode-api-7c50bf28","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-discovery.onrender.com/x402/jwt-decode","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_wB8IbeVkiVMeTdAU06wDq","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 a JWT (JSON Web Token) to extract its header, payload, and claims, paid per-call via x402 USDC on Base.","exampleAgentPrompt":"Can you decode this JWT for me and show me the claims inside it: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","exampleUseCases":[{"title":"Debug expired auth token","prompt":"I'm getting 401 errors on my app and I have this bearer token — can you decode it so I can check if it's expired and what the 'exp' claim says? Here's the token: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzEyMyIsImV4cCI6MTYwMDAwMDAwMH0.signature"},{"title":"Inspect user identity claims","prompt":"Decode this JWT from our OAuth provider and tell me the user ID, email, and roles in the payload: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJhYmMxMjMiLCJlbWFpbCI6InVzZXJAZXhhbXBsZS5jb20iLCJyb2xlcyI6WyJhZG1pbiJdfQ.sig"},{"title":"Audit JWT algorithm and issuer","prompt":"I need to check what signing algorithm and issuer are in this JWT header for a security audit — please decode it: eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJpc3MiOiJodHRwczovL2V4YW1wbGUuY29tIn0."}],"resultDescription":"Returns the decoded JWT structure including the header (algorithm, token type), payload (all claims such as sub, iat, exp, email, roles), and potentially a verification status. The response is a JSON object with parsed fields from the token's base64url-encoded segments.","failureModes":["Malformed or non-JWT string returns a parsing error","Payment failure via x402 results in 402 response before decode occurs","Empty or missing token parameter returns a 400 bad request","Network timeout from the Render-hosted service may cause intermittent failures","Token with encrypted payload (JWE) may not be fully decodable without a key"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, no-setup JWT decoding utility settled in USDC via x402, especially within crypto-native or agentic workflows already using the ScriptMasterLabs x402 API suite. Useful for one-off token inspection without standing up your own decode library, or when operating in a context where micropayment-settled APIs are preferred over subscription-gated services.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:49:16.966Z","isFirstParty":false}