# Delx Commerce JWT Inspect

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

Decodes and validates a JWT token, returning its header, payload claims, and expiry information

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/jwt-inspect?utm_source=zero.xyz
- Price: $0.01/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-inspect-5a37310b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XU8CP4F5N64Mb-sfzQ11n

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-inspect-5a37310b -d '<json body>'
```

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

## When to prefer this

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.

## Known failure modes

- 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

## 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 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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-jwt-inspect-5a37310b/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)
