{"uid":"cap_XU8CP4F5N64Mb-sfzQ11n","slug":"delx-commerce-jwt-inspect-5a37310b","name":"Delx Commerce JWT Inspect","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/jwt-inspect?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"token":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":{"valid":true,"claims":{"exp_iso":"2030-03-17T17:46:40+00:00"},"header":{"alg":"HS256"},"payload":{"exp":1900000000,"sub":"agent-123"}},"tool_name":"util_jwt_inspect"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_k6MSdj3J1QW0aR8RJXkmY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes and validates a JWT token, returning its header, payload claims, and expiry information","exampleAgentPrompt":"Can you inspect this JWT token for me and tell me if it's valid, when it expires, and what subject it's for? Here's the token: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZ2VudC0xMjMiLCJleHAiOjE5MDAwMDAwMDB9.signature","exampleUseCases":[{"title":"Check if an access token is expired","prompt":"I have this JWT token from our auth system — can you decode it and tell me whether it's still valid and when exactly it expires? Token: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1c2VyLTQ1NiIsImV4cCI6MTcwMDAwMDAwMH0.sig"},{"title":"Extract subject and claims from agent token","prompt":"Can you parse this JWT and tell me what subject and payload claims are inside it? I need to know what agent ID is encoded and what algorithm was used."},{"title":"Debug a malformed or suspicious JWT","prompt":"This JWT token looks off to me — can you inspect it and tell me if it's structurally valid, what the header says, and what claims are in the payload? Here it is: eyJhbGciOiJub25lIn0.eyJzdWIiOiJoYWNrZXIifQ."}],"resultDescription":"Returns a JSON object with a 'result' field containing: a boolean 'valid' flag, a 'header' object with the algorithm (alg), a 'payload' object with standard claims like sub and exp, and a 'claims' object with human-readable values like exp_iso (ISO 8601 expiry). Also includes a 'tool_name' field identifying the utility used.","failureModes":["Malformed JWT string causes parsing failure","Missing 'token' field in request body returns an error","Expired token still returned but valid flag set to false","Unsigned or none-algorithm tokens may parse but flagged accordingly"],"whenToPreferThis":"Use this endpoint when an agent needs to quickly inspect or decode a JWT token to extract claims, check expiry, or verify structure without setting up a full auth library. Ideal for lightweight, pay-per-call token introspection in agentic pipelines where no signup or persistent credentials are needed. Prefer this over rolling your own JWT parsing when operating in a serverless or ephemeral agent context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:38.929Z","isFirstParty":false,"canonicalSlug":"delx-commerce-jwt-inspect-5a37310b"}