{"uid":"cap_3AVqjdt2Q0t0jgAWs4AK0","slug":"delx-commerce-jwt-claims-audit-36592231","name":"Delx Commerce JWT Claims Audit","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-claims-audit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"claims":{"type":"object","description":"Input field: claims."},"now_epoch":{"type":"number","description":"Input field: now_epoch."}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-jwt-claims-audit/v1","expired":false,"has_jti":false,"claim_names":["aud","exp","iat","iss","sub"],"valid_shape":true,"missing_claims":[],"values_returned":false,"evaluated_at_epoch":1785940000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_waI8zG-KmVqGVUBcz-z-o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Audits a set of JWT claims object to check for expiry, standard claim presence, shape validity, and missing fields","exampleAgentPrompt":"Can you audit these JWT claims to check if they're expired, have a jti, and have all the standard fields — here's the claims object: {\"aud\":\"myapp\",\"exp\":1785940000,\"iat\":1785936400,\"iss\":\"auth.myapp.com\",\"sub\":\"user123\"}, evaluated at epoch time 1785937000?","exampleUseCases":[{"title":"Pre-flight JWT validation in agent pipeline","prompt":"Before I pass this JWT to downstream services, can you audit its claims to confirm it's not expired and has all required fields like iss, sub, aud, and exp? Here's the claims object: {\"aud\":\"api.myapp.com\",\"exp\":1785950000,\"iat\":1785946400,\"iss\":\"auth.myapp.com\",\"sub\":\"user-42\"}, check it against current epoch 1785947000."},{"title":"Debugging missing JWT claims","prompt":"I'm getting auth errors and I think some JWT claims are missing — can you audit this claims object and tell me exactly which standard claims are absent? Claims: {\"iss\":\"myservice\",\"sub\":\"agent-7\"}, evaluated at epoch 1785940000."},{"title":"Compliance check for JWT shape before issuing","prompt":"I'm about to issue a JWT and want to verify the claims structure is valid and includes a jti — can you audit this claims object: {\"aud\":\"partner.api\",\"exp\":1785960000,\"iat\":1785956000,\"iss\":\"myplatform\",\"sub\":\"partner-99\",\"jti\":\"abc-123\"} at epoch 1785957000?"}],"resultDescription":"Returns a JSON object conforming to schema delx/util-jwt-claims-audit/v1, including: whether the token is expired, whether a jti claim is present, the list of claim names found, whether the shape is valid, any missing required claims, whether values were returned, and the epoch time at which evaluation was performed.","failureModes":["Missing or malformed claims object returns validation error","Invalid now_epoch (non-numeric or missing) may produce incorrect expiry determination","Unexpected claim formats may cause shape validation to return false negatives","Payment failure via x402 protocol returns 402 status before processing occurs"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call audit of JWT claims structure and expiry without standing up your own JWT library — particularly useful in agent pipelines that handle untrusted tokens, need compliance checks before forwarding credentials, or require verifiable delivery receipts via the x402 protocol on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:48.572Z","isFirstParty":false,"canonicalSlug":"delx-commerce-jwt-claims-audit-36592231"}