# x402 Utils – JWT Decoder

> x402 Utils – JWT Decoder is a paid API for AI agents from qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-29).

Decodes a JWT's header and claims without verifying the signature, and reports issuance time, expiry time, expiry status, and seconds until expiry.

## Facts

- Endpoint: POST https://qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws/v1/jwt?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-utils-jwt-decoder-4e057496
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b-7fBBkTOM2PDgwA2dmLj

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 x402-utils-jwt-decoder-4e057496 -d '<json body>'
```

Example prompt: Can you decode this JWT for me and tell me whether it's expired and how long until it expires? Here's the token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

## When to prefer this

Use this endpoint when you need to quickly inspect JWT contents and check expiry status without access to the signing secret or public key. It is ideal for debugging, logging, or informational checks where signature verification is not required. Prefer this over manual base64 decoding when you also need human-readable expiry timing.

## Known failure modes

- Malformed JWT string (not three base64url segments separated by dots) returns a parse error
- Token with no expiry claim (no 'exp') may return null for expiry-related fields
- Very long or binary-packed tokens may fail parsing if not valid base64url
- No signature verification — this endpoint cannot confirm the token is authentic or untampered

## How this service works

Decode a JSON Web Token's header and claims, and say when it was issued, when it expires, whether it has expired and in how many seconds it will. The signature is not verified.

## Output

Returns the decoded JWT header (algorithm, token type), all payload claims (sub, iss, iat, exp, and any custom claims), the issued-at and expiry datetimes in human-readable form, a boolean indicating whether the token has expired, and the number of seconds until expiry (negative if already expired).

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-utils-jwt-decoder-4e057496/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws](https://www.zero.xyz/host/qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws/llms.txt)
