# JWT Inspect – Decode and Inspect JWT Claims

> JWT Inspect – Decode and Inspect JWT Claims is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Decodes a JWT token and extracts its claims, headers, and metadata for auth debugging, routing, and token inspection.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/jwt-inspect
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-delx-ai-60636661
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LrRhVnOUALLJYiVGA-gy4

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 api-delx-ai-60636661 -d '<json body>'
```

Example prompt: Can you decode this JWT token and show me all its claims — I want to see the issuer, subject, expiry, and any other fields in the payload: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

## When to prefer this

Use this endpoint when you need to quickly decode and inspect the claims inside a JWT — especially for debugging auth flows, extracting user identity fields for routing, or auditing token contents without needing to verify the signature cryptographically.

## Known failure modes

- Malformed or invalid JWT string returns a parse error
- Expired tokens are decoded but flagged as expired
- Missing token input returns a validation error
- Non-JWT strings (e.g. opaque tokens) cannot be decoded

## How this service works

Decode JWT claims quickly for auth debugging, routing, and token inspection.

## Output

Returns the decoded JWT header (algorithm, token type), payload claims (sub, iss, iat, exp, and any custom claims), and metadata about the token structure — useful for auth debugging, routing decisions, and token inspection.

## 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": {
    "sub": "agent-123"
   }
  },
  "tool_name": "util_jwt_inspect"
 }
}
```

## More

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