# NetIntel JWT Inspector / Decoder

> NetIntel JWT Inspector / Decoder is a paid API for AI agents from netintel.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Decodes and security-audits a JWT token, returning parsed header/payload fields, expiry status, a security grade, and detected security flags.

## Facts

- Endpoint: GET https://netintel.dev/jwt-inspector/decode?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-jwt-inspector-decoder-19b7f970
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9-PnB2pe2F-0s8PhYXctt

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 netintel-jwt-inspector-decoder-19b7f970
```

Example prompt: Can you decode and security-audit this JWT for me and tell me the algorithm, what claims it contains, when it expires, and what security grade it gets: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyX2FiYzEyMyIsImF1ZCI6Imh0dHBzOi8vYXBpLmV4YW1wbGUuY29tIn0.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

## When to prefer this

Use this endpoint when you need to quickly decode, inspect, and security-grade a JWT without a full auth library — especially useful for debugging tokens in transit, auditing third-party JWTs, or checking expiry and claims in an automated pipeline. Prefer it over manual base64 decoding when you also want a security assessment and structured findings.

## Known failure modes

- Missing or malformed token query param returns error
- Token with fewer or more than 3 dot-separated segments fails structural validation
- Non-JWT strings or empty token values return parsing error
- Network or payment failure (x402 USDC micropayment not completed) results in 402 response

## How this service works

Decode and inspect any JWT token — extracts header algorithm, payload claims, expiry status, issued-at time, audience, issuer, and subject without requiring the secret — so agents can debug auth issues, check token expiry, and extract identity claims from tokens in pipelines.

## Output

Returns a JSON object containing the decoded JWT header (algorithm, key ID, token type), decoded payload (issuer, subject, audience, issued-at, expiry, not-before, custom claims), a letter security grade (A–F), numeric score (0–100), boolean expiry and structural validity flags, human-readable expiry string, seconds until expiry, and arrays of findings and security flags.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token"
     ],
     "properties": {
      "token": {
       "type": "string",
       "description": "JWT token string (3 dot-separated segments); a 'Bearer ' prefix is stripped automatically"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "grade": {
       "type": "string"
      },
      "score": {
       "type": "number"
      },
      "header": {
       "type": "object"
      },
      "payload": {
       "type": "object"
      },
      "findings": {
       "type": "array"
      },
      "is_expired": {
       "type": [
        "boolean",
        "null"
       ],
       "description": "null when the token has no exp claim"
      },
      "human_expiry": {
       "type": [
        "string",
        "null"
       ]
      },
      "signature_hex": {
       "type": "string"
      },
      "security_flags": {
       "type": "array"
      },
      "valid_structure": {
       "type": "boolean"
      },
      "signature_present": {
       "type": "boolean"
      },
      "seconds_until_expiry": {
       "type": [
        "number",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "grade": "B",
  "score": 80,
  "header": {
   "key_id": null,
   "algorithm": "HS256",
   "token_type": "JWT"
  },
  "payload": {
   "issuer": null,
   "jwt_id": null,
   "subject": "1234567890",
   "audience": null,
   "issued_at": "2018-01-18T01:30:22.000Z",
   "expires_at": null,
   "not_before": null,
   "custom_claims": {
    "name": "John Doe"
   },
   "issued_at_unix": 1516239022,
   "expires_at_unix": null
  },
  "findings": [
   {
    "rule": "no_expiry_claim",
    "label": "No expiry claim",
    "detail": "JWT has no exp claim — token never expires",
    "impact": -20
   }
  ],
  "is_expired": null,
  "human_expiry": null,
  "signature_hex": "49f94ac7044948c78a285d904f87f0a4c7897f7e8f3a4eb2255fda750b2cc397",
  "security_flags": [
   "no_expiry"
  ],
  "valid_structure": true,
  "signature_present": true,
  "seconds_until_expiry": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-jwt-inspector-decoder-19b7f970/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel.dev](https://www.zero.xyz/host/netintel.dev/llms.txt)
