{"uid":"cap_E__2ZUgSDHEPtXOD32VKO","slug":"pitchpilot-jwt-decode-tool-ffb3f33a","name":"PitchPilot JWT Decode Tool","description":"Paid micro-utilities for cold-email outreach agents: domain deliverability audits, cold-email grading, template generation, plus a tools toolbox (hashing, JWT decode, IDs, slugs, JSON, regex, crypto prices, domain age, weather). Paid via x402 (USDC on Base).","url":"https://pitchpilot-outreach-api.pitchpilot-agents.workers.dev/tools/jwt-decode","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"JWT to decode"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["header","payload","flags"],"properties":{"flags":{"type":"object","description":"alg_none | weak_alg | exp_missing | expired"},"header":{"type":"object"},"payload":{"type":"object"},"signature":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"flags":{"expired":true,"alg_none":false,"weak_alg":false,"exp_missing":false},"header":{"alg":"HS256","typ":"JWT"},"payload":{"exp":1735689600,"sub":"1"},"signature":{"present":true}}},"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_RtNHofCZtl60zN6yafvQ1","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 a JWT token and returns its header, payload, signature presence, and security flags such as expired, alg_none, weak_alg, and exp_missing.","exampleAgentPrompt":"Decode this JWT for me and tell me if it's expired or using a weak algorithm: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxIiwiZXhwIjoxNzM1Njg5NjAwfQ.signature","exampleUseCases":[{"title":"Security audit of received JWT","prompt":"I got this JWT token from an API response and I want to know what's inside it and whether it has any security red flags — can you decode it and check for issues like alg:none or missing expiry? Token: eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiIxMjM0In0."},{"title":"Debugging expired authentication token","prompt":"My app is throwing auth errors and I think the JWT might be expired — can you decode this token and tell me what the expiration time is? eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI0MiIsImV4cCI6MTYwMDAwMDAwMH0.sig"},{"title":"Cold-email agent token validation","prompt":"Before my outreach agent uses this auth token to call an API, can you decode it and check if it's still valid and not using a weak signing algorithm? eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzEiLCJleHAiOjk5OTk5OTk5OTl9.sig"}],"resultDescription":"Returns a JSON object containing the decoded JWT header (e.g. alg, typ), the payload (all claims including sub and exp), a signature presence indicator, and a flags object with boolean values for alg_none, weak_alg, exp_missing, and expired.","failureModes":["Malformed or invalid JWT string returns an error response","Missing required 'token' query parameter causes a 400-level error","Expired payment or x402 payment failure prevents the call from executing","JWT with no dot-separated segments fails to parse"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call JWT decoder with built-in security flag detection (alg_none, weak_alg, expired, exp_missing) without setting up a library or runtime. Ideal for agents that occasionally need to inspect tokens without a dedicated auth framework, especially within cold-email or outreach automation workflows already using the PitchPilot toolbox.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:41:46.032Z","isFirstParty":false}