# JWT Toolkit – Decode

> JWT Toolkit – Decode is a paid API for AI agents from jwt.openverbs.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Decodes a compact JWS/JWT string and returns its header, payload, and signature components without verification

## Facts

- Endpoint: POST https://jwt.openverbs.com/v1/decode
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/jwt-toolkit-decode-ef1d22eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pCMQTonbmX235dayTtDOv

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-toolkit-decode-ef1d22eb -d '<json body>'
```

Example prompt: Can you decode this JWT for me and show me what's in it? eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

## When to prefer this

Choose this endpoint when you need to quickly inspect the contents of a JWT/JWS token without needing cryptographic signature verification — useful for debugging, logging claims, extracting user identity, or reading expiration times. If you need to cryptographically verify the token signature against a public key or JWKS endpoint, this decode-only endpoint is not sufficient and you should look for a JWT verify endpoint instead.

## Known failure modes

- Malformed JWT string (not three dot-separated base64url segments) returns a parse error
- Empty or missing token field returns a validation error
- Token exceeds 32768 character maximum length
- Non-JWT string input (e.g. opaque token or API key) cannot be decoded
- Network or payment authorization failure returns HTTP 402

## How this service works

Decode a JSON Web Token WITHOUT verifying its signature and return the header, payload and signature. A structurally malformed token is rejected before payment. Never trust a decoded payload you have not verified.

## Output

Returns the decoded components of the JWT: the header (algorithm, token type), the payload (all claims such as sub, iat, exp, roles, custom data), and the raw signature section — without performing cryptographic signature verification.

## 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": {
     "type": "object",
     "required": [
      "token"
     ],
     "properties": {
      "token": {
       "type": "string",
       "maxLength": 32768,
       "minLength": 1,
       "description": "The compact JWS/JWT string."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/jwt-toolkit-decode-ef1d22eb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from jwt.openverbs.com](https://www.zero.xyz/host/jwt.openverbs.com/llms.txt)
