# JWT Decode & Inspect

> JWT Decode & Inspect is a paid API for AI agents from bounty-engineer-x402-prod.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Decodes and inspects a JWT token, returning its header, payload, and signature presence/verification status.

## Facts

- Endpoint: POST https://bounty-engineer-x402-prod.onrender.com/v1/jwt-decode?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/jwt-decode-inspect-e425faad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f0NyISJc4b3jGOzOirNfl

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-inspect-e425faad -d '<json body>'
```

Example prompt: Can you decode this JWT for me and tell me what's in the header and payload, and whether the signature is present: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjMiLCJuYW1lIjoiSm9obiJ9.abc123?

## When to prefer this

Use this endpoint when you need a quick, paid-per-call JWT decode without setting up your own JWT library — especially inside an autonomous agent pipeline that already uses x402 micropayment infrastructure. Prefer it when you need to inspect token contents or check algorithm/header without access to the signing secret.

## Known failure modes

- Malformed or non-JWT string returns an error
- Token exceeding 16384 characters rejected
- Missing token field returns validation error
- Signature verified flag will be false if secret not provided or known
- Network or server errors on Render cold-start may cause latency spikes

## How this service works

Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.

## Output

Returns a JSON object with ok:true and a result containing the decoded JWT header (including algorithm), the decoded payload (all claims), a boolean indicating whether a signature is present, and a boolean for whether the signature was verified.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string",
   "maxLength": 16384
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "result": {
   "header": {
    "alg": "HS256"
   },
   "payload": {
    "sub": "123"
   },
   "signature_present": true,
   "signature_verified": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/jwt-decode-inspect-e425faad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bounty-engineer-x402-prod.onrender.com](https://www.zero.xyz/host/bounty-engineer-x402-prod.onrender.com/llms.txt)
