# JWT Decode (No Verification)

> JWT Decode (No Verification) is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-12-02).

Decodes a JWT token and extracts its header, payload, and claims without verifying the signature.

## Facts

- Endpoint: POST https://x402.agentutility.ai/jwt-decode?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/jwt-decode-no-verification-03f4a7e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bqCWhsk4kFJDqvXnz-_VQ

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 jwt-decode-no-verification-03f4a7e6 -d '<json body>'
```

Example prompt: Can you decode this JWT for me and show me what claims and header fields are inside: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjMifQ.abc — I just need to see the payload, not verify it.

## When to prefer this

Use this endpoint when you need to inspect or debug JWT contents — headers, claims, expiry — without needing signature verification. Ideal for logging, debugging, analytics, or extracting user metadata from tokens where trust is already established by other means. Not suitable for authenticating users or verifying token integrity.

## Known failure modes

- Malformed JWT (not three base64url segments) returns an error
- Empty or missing jwt field returns validation error
- Non-JWT string passed causes parse failure
- Payment failure (insufficient USDC balance) returns 402
- Network timeout returns 5xx error

## How this service works

817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.

## Output

Returns a structured breakdown of the JWT including: the decoded header (algorithm, key ID), the full payload object, extracted standard claims (issuer, subject, audience, issued_at, expires_at, not_before, TTL in seconds, JTI), the raw signature string, algorithm name, payload size in bytes, and boolean flags for is_expired, is_not_yet_valid, and is_currently_valid_by_clock. Includes a note that the signature is NOT verified and the output should not be trusted for authentication decisions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "jwt"
     ],
     "properties": {
      "jwt": {
       "type": "string",
       "description": "Compact-serialization JWT string (three base64url segments separated by '.'). May be prefixed with 'Bearer ' — that prefix is stripped automatically."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "note": {
       "type": "string"
      },
      "type": {
       "type": "null"
      },
      "claims": {
       "type": "object",
       "properties": {
        "jti": {
         "type": "null"
        },
        "issuer": {
         "type": "null"
        },
        "subject": {
         "type": "string"
        },
        "audience": {
         "type": "null"
        },
        "issued_at": {
         "type": "null"
        },
        "expires_at": {
         "type": "null"
        },
        "not_before": {
         "type": "null"
        },
        "ttl_seconds": {
         "type": "null"
        }
       }
      },
      "header": {
       "type": "object",
       "properties": {
        "alg": {
         "type": "string"
        }
       }
      },
      "key_id": {
       "type": "null"
      },
      "payload": {
       "type": "object",
       "properties": {
        "sub": {
         "type": "string"
        }
       }
      },
      "algorithm": {
       "type": "string"
      },
      "signature": {
       "type": "string"
      },
      "is_expired": {
       "type": "boolean"
      },
      "is_not_yet_valid": {
       "type": "boolean"
      },
      "payload_size_bytes": {
       "type": "integer"
      },
      "is_currently_valid_by_clock": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Signature is NOT verified. Do not trust this output for authentication decisions.",
  "type": null,
  "claims": {
   "jti": null,
   "issuer": null,
   "subject": "123",
   "audience": null,
   "issued_at": null,
   "expires_at": null,
   "not_before": null,
   "ttl_seconds": null
  },
  "header": {
   "alg": "HS256"
  },
  "key_id": null,
  "payload": {
   "sub": "123"
  },
  "algorithm": "HS256",
  "signature": "abc",
  "is_expired": false,
  "is_not_yet_valid": false,
  "payload_size_bytes": 14,
  "is_currently_valid_by_clock": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/jwt-decode-no-verification-03f4a7e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
