# AgentResolver JWT Decode

> AgentResolver JWT Decode is a paid API for AI agents from agentresolver.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-18).

Decodes a JWT token into its header, payload, and signature components without verifying signature validity

## Facts

- Endpoint: POST https://agentresolver.vercel.app/api/jwt-decode
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentresolver-jwt-decode-ecc9be5f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K7DwxeBizAauOpraRuDb9

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 agentresolver-jwt-decode-ecc9be5f -d '<json body>'
```

Example prompt: Can you decode this JWT for me and show me the header and payload claims: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

## When to prefer this

Choose this endpoint when you need to quickly inspect the contents of a JWT — its header algorithm, payload claims, or expiry — without needing to cryptographically verify the signature. It is suitable for debugging, auditing, or extracting claims from trusted internal tokens where signature verification is handled elsewhere. Note that the verified field is always false, so do not use this endpoint as a security gate for untrusted tokens requiring full validation.

## Known failure modes

- Malformed or non-JWT input string returns an error or empty component fields
- Missing or empty input field returns a validation error
- Very large JWT input may exceed byte limits
- Network timeout on the remote endpoint
- Payment failure if USDC balance is insufficient for the $0.001 call fee

## How this service works

Verify an x402 endpoint before paying: live payTo, USDC quote, network, asset, resource binding, TLS and endpoint safety for $0.001 on Base or Solana.

## Output

Returns a JSON object containing the decoded JWT header object, payload object, and signature string, along with the input byte size, the operation name ('jwt-decode'), and a verified field always set to false (indicating no signature verification is performed).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 131072
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

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