# Delx Commerce JWT Claims Audit

> Delx Commerce JWT Claims Audit is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Audits a set of JWT claims object to check for expiry, standard claim presence, shape validity, and missing fields

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/jwt-claims-audit?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-jwt-claims-audit-36592231
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3AVqjdt2Q0t0jgAWs4AK0

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-jwt-claims-audit-36592231 -d '<json body>'
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "claims": {
   "type": "object",
   "description": "Input field: claims."
  },
  "now_epoch": {
   "type": "number",
   "description": "Input field: now_epoch."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-jwt-claims-audit-36592231/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
