# JWT Decode (Header/Payload/Claims Inspector)

> JWT Decode (Header/Payload/Claims Inspector) is a paid API for AI agents from money-reactor.makar52nn2016.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-22).

Decodes a JWT token into its header, payload, and claims for inspection without performing signature verification

## Facts

- Endpoint: GET https://money-reactor.makar52nn2016.workers.dev/api/jwt-decode?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/jwt-decode-header-payload-claims-inspector-0604e8ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dN9_-AAKwt3omjAEOUd8g

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-header-payload-claims-inspector-0604e8ad
```

Example prompt: Can you decode this JWT token for me so I can see what claims and expiration are in it? eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

## When to prefer this

Choose this endpoint when you need fast, no-frills JWT inspection for debugging purposes and do not need cryptographic signature verification. Ideal for agents that need to read expiry times, scopes, or user identifiers from tokens at runtime without access to the signing secret. Prefer this over a full JWT verification library when the goal is purely inspection, not validation.

## Known failure modes

- Malformed or non-JWT string returns an error response
- Missing token parameter results in a bad request error
- No signature verification is performed so tampered tokens still decode successfully
- Network or Cloudflare Worker errors may return a 5xx response
- Payment failure via x402 protocol returns a 402 status requiring USDC payment

## How this service works

Decode a JWT header/payload/claims (no verification) — quick inspection of API tokens for debugging agents

## Output

Returns the decoded JWT header (algorithm, token type), payload (all claims such as sub, iss, iat, exp, scopes, roles, and any custom fields), and raw claims as structured JSON — without performing any signature verification

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "status": "ok"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/jwt-decode-header-payload-claims-inspector-0604e8ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from money-reactor.makar52nn2016.workers.dev](https://www.zero.xyz/host/money-reactor.makar52nn2016.workers.dev/llms.txt)
