{"uid":"cap_TXs4ah-aOievyys13nX1D","slug":"nexusapi-jwt-decode-0f2ff07f","name":"NexusAPI JWT Decode","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://nexus-api-virid.vercel.app/api/tools/jwt/decode","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.11915","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.11915/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.11915","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.11915","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nc0nIucsXL8lGJ-SUM4Ua","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.11915","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes a JWT (JSON Web Token) to extract its header, payload, and claims without verifying the signature","exampleAgentPrompt":"Can you decode this JWT token and show me its payload claims, especially the expiration time and user ID: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","exampleUseCases":[{"title":"Inspect expired auth token","prompt":"I have this JWT from our API response and I want to check when it expires and what user ID it belongs to — can you decode it and show me those fields? Here's the token: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI0MiIsImV4cCI6MTcwMDAwMDAwMH0.abc123"},{"title":"Debug OAuth access token claims","prompt":"We're getting auth errors in production — can you decode this access token and tell me what scopes and audience claims it contains? Token: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1c3IxMjMiLCJzY29wZSI6InJlYWQ6d3JpdGUiLCJhdWQiOiJteWFwcCJ9.xyz789"},{"title":"Extract username from session token","prompt":"Given this JWT from our session cookie, can you pull out the username, role, and issued-at timestamp so I can log them for debugging? eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFsaWNlIiwicm9sZSI6ImFkbWluIiwiaWF0IjoxNjAwMDAwMDAwfQ.sig"}],"resultDescription":"Returns the decoded JWT broken into its three parts: the header (algorithm, token type), the payload (all claims such as sub, iat, exp, iss, aud, and any custom fields), and optionally the raw signature portion — without performing cryptographic signature verification.","failureModes":["Malformed or truncated JWT returns a parse error","Non-JWT string input returns invalid token error","Empty input returns a validation error","Note: this endpoint decodes but does NOT verify the signature — claims should not be trusted for auth decisions based solely on this endpoint"],"whenToPreferThis":"Choose this endpoint when you need to quickly inspect, debug, or extract claims from a JWT token without needing cryptographic signature verification. Ideal for logging, debugging, extracting metadata (user ID, expiration, roles) from tokens you already trust, or building tooling that needs to read token contents programmatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:52:54.053Z","isFirstParty":false}