# GeekVault JWT Decode

> GeekVault JWT Decode is a paid API for AI agents from api.geekvault.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Decodes a JWT token into its header and payload components without signature verification

## Facts

- Endpoint: GET https://api.geekvault.dev/dev-tools/v1/jwt-decode?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/geekvault-jwt-decode-06ac9cb9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_98wrdH1eF55P5m7_JkuHO

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 geekvault-jwt-decode-06ac9cb9
```

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

## When to prefer this

Choose this endpoint when you need a quick, no-setup way to inspect JWT contents programmatically — especially in agentic or automated workflows where you don't want to manage API keys or subscriptions. It's ideal for debugging, logging claims, or extracting payload fields at $0.002 per call. Use it over building your own decoder when operating in pay-per-use USDC pipelines via x402.

## Known failure modes

- Malformed JWT (not three dot-separated segments) results in an error response
- Badly padded base64url encoding may cause decoding failure
- Empty or missing token parameter returns a validation error
- Very long tokens may be rejected
- Note field may warn that signature is not verified

## How this service works

Network, docs, image, web, and dev utility tools paid per call via x402. No signup, no API keys, no subscriptions — just USDC on Base.

## Output

Returns a JSON object containing the decoded JWT header (as an object with fields like alg, typ, kid), the decoded JWT payload (as an object with all claims such as sub, exp, iat, roles, etc.), and a note string — all base64url-decoded without verifying the signature.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "token"
 ],
 "properties": {
  "token": {
   "type": "string",
   "description": "JWT completo (header.payload.signature)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "header",
  "payload",
  "note"
 ],
 "properties": {
  "note": {
   "type": "string"
  },
  "header": {
   "type": "object"
  },
  "payload": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/geekvault-jwt-decode-06ac9cb9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.geekvault.dev](https://www.zero.xyz/host/api.geekvault.dev/llms.txt)
