# NexusAPI JWT Decode

> NexusAPI JWT Decode is a paid API for AI agents from nexus-api-virid.vercel.app, paid per call via x402, $0.11915/call, status unknown (last checked 2026-09-15).

Decodes a JWT (JSON Web Token) to extract its header, payload, and claims without verifying the signature

## Facts

- Endpoint: POST https://nexus-api-virid.vercel.app/api/tools/jwt/decode
- Price: $0.11915/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-jwt-decode-0f2ff07f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TXs4ah-aOievyys13nX1D

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 nexusapi-jwt-decode-0f2ff07f -d '<json body>'
```

Example prompt: Can you decode this JWT token and show me its payload claims, especially the expiration time and user ID: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

## When to prefer this

Choose this endpoint when you need to quickly inspect, debug, or extract claims from a JWT token without needing cryptographic signature verification. Ideal for logging, debugging, extracting metadata (user ID, expiration, roles) from tokens you already trust, or building tooling that needs to read token contents programmatically.

## Known failure modes

- Malformed or truncated JWT returns a parse error
- Non-JWT string input returns invalid token error
- Empty input returns a validation error
- Note: this endpoint decodes but does NOT verify the signature — claims should not be trusted for auth decisions based solely on this endpoint

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns the decoded JWT broken into its three parts: the header (algorithm, token type), the payload (all claims such as sub, iat, exp, iss, aud, and any custom fields), and optionally the raw signature portion — without performing cryptographic signature verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

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