{"uid":"cap_fVrU-6B2CPSqXor9BrkOL","slug":"primeapi-jwt-decode-bce04d35","name":"PrimeAPI JWT Decode","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://prime-api-seven.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.160058","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.160058/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.160058","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.160058","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_btq7Y1QD8UYD2cVWU0bcF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.160058","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 signature components without verification","exampleAgentPrompt":"Can you decode this JWT for me and show me the payload claims, especially the expiration and subject fields? Here's the token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyMTIzIiwiZXhwIjoxNzAwMDAwMDAwfQ.signature","exampleUseCases":null,"resultDescription":"Returns the decoded JWT broken into its constituent parts: the header (algorithm, token type), the payload (all claims such as sub, iss, iat, exp, and any custom fields), and the raw signature. The payload claims are returned as a readable JSON object.","failureModes":["Invalid or malformed JWT string returns a parse error","Empty query input returns a 400-level error","Token with non-standard encoding may fail to decode correctly","Network or server error returns a 5xx response","Payment failure (insufficient USDC balance) returns a 402 error before processing"],"whenToPreferThis":"Use this endpoint when you need to quickly inspect the contents of a JWT without setting up a local library or when operating in an agent workflow that needs to read token claims (e.g., checking expiry, extracting user identity) as a standalone paid microservice call via x402/USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:04:51.033Z","isFirstParty":false}