# x402-toolbox JWT Decode

> x402-toolbox JWT Decode is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Decodes a JWT token to extract its header, payload, and claims without verifying the signature

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/util/jwt-decode?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-jwt-decode-93cd443e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2NpGQgk4NzpQjB-fhrhNt

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-toolbox-jwt-decode-93cd443e
```

Example prompt: Can you decode this JWT for me so I can see what claims are inside: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

## When to prefer this

Choose this endpoint when you need a quick, no-signup, pay-per-use JWT decoder that requires no API key registration — ideal for AI agents operating autonomously with USDC micropayments. Prefer this over client-side JWT libraries when running in environments without native crypto libraries, or when you need a deterministic server-side decode as part of an automated workflow.

## Known failure modes

- Malformed or invalid JWT string returns an error
- Missing or empty schema/token input returns a 400-level error
- Expired payment (x402) causes 402 Payment Required response
- Network timeout on Cloudflare Worker edge

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

Returns a JSON object with ok and paid flags, along with the decoded JWT broken into its header, payload, and signature components, exposing all embedded claims such as sub, iat, exp, roles, and any custom fields in plain readable form.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-jwt-decode-93cd443e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
