{"uid":"cap_FcAVDh2dleR_W9ql5bur5","slug":"finmath-jwt-decode-9b198127","name":"finmath JWT Decode","description":"Deterministic finance and crypto math for AI agents: TradFi (NPV, IRR, XIRR, Black-Scholes + Greeks, bonds, VaR, Sharpe) and DeFi (impermanent loss, perp liquidation, funding, Uniswap v3, health factor, cost basis). Exact, model-free arithmetic that LLMs get wrong — priced per call in USDC.","url":"https://finmath.qzqh5rrbkz.workers.dev/v1/jwt_decode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"token"}}},"responseSchema":{"type":"object","required":["result","meta"],"properties":{"meta":{"type":"object"},"result":{}}},"example":{"request":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"},"response":{"meta":{"tool":"jwt_decode","disclaimer":"Deterministic calculation utility. Not financial, investment, or trading advice.","deterministic":true},"result":{"note":"Decoded only — signature NOT verified.","header":{"alg":"HS256","typ":"JWT"},"payload":{"iat":1516239022,"sub":"1234567890","name":"John Doe"},"signature_present":true}}},"exampleRequest":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_wn8Ot3hvp-DFkFUsaV05d","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 token, returning its parsed claims and metadata","exampleAgentPrompt":"Can you decode this JWT token for me and tell me what claims and expiry are inside: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","exampleUseCases":null,"resultDescription":"Returns a result object containing the decoded JWT payload (claims such as sub, iat, exp, etc.) and a meta object with additional information about the token structure","failureModes":["Invalid or malformed JWT string returns an error result","Expired tokens may still be decoded but expiry will be visible in claims","Missing required 'token' field returns a 400-style error","Tokens with non-standard encodings may fail to parse"],"whenToPreferThis":"Use this endpoint when you need to deterministically decode a JWT token to inspect its claims, payload, or metadata — especially when you want exact, reliable arithmetic-free parsing rather than relying on an LLM to guess at token contents. Part of the finmath suite which is priced per call in USDC via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T00:47:13.160Z","isFirstParty":false,"canonicalSlug":"finmath-jwt-decode-9b198127"}