# JWT Token Decoder (No Verification)

> JWT Token Decoder (No Verification) is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-10-13).

Decodes a JWT token without signature verification, returning header, payload, claims, expiry status, and time until expiry.

## Facts

- Endpoint: GET https://api.strale.io/x402/jwt-decode?utm_source=zero.xyz
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-90a2297a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O5GC4lpFdr22ajRkUnNwF

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 api-strale-io-90a2297a
```

Example prompt: Can you decode this JWT for me and tell me what claims it contains and whether it's expired: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

## When to prefer this

Use this endpoint when you need to inspect the contents of a JWT token — its claims, expiry, and header — without needing to verify the signature. Ideal for debugging, logging, or extracting user metadata from a token when you already trust the token's origin or simply need to read its data.

## Known failure modes

- Invalid or malformed JWT string returns an error indicating the token cannot be parsed
- Missing token query parameter returns a validation error
- Tokens with non-standard encoding may fail to parse correctly

## How this service works

Decode a JWT token without verification. Returns header, payload, claims, expiry status, and time until expiry. Algorithmic.

## Output

Returns the decoded JWT header (algorithm, token type), full payload with all claims (e.g. sub, iat, exp, custom claims), a boolean expiry status indicating whether the token has expired, and the time remaining until expiry (or time since expiry).

## Example request

```json
{
 "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "token"
 ],
 "properties": {
  "token": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "header": {
  "type": "object"
 },
 "payload": {
  "type": "object"
 },
 "algorithm": {
  "type": "string"
 },
 "expires_at": {
  "type": "string"
 },
 "is_expired": {
  "type": "boolean"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-90a2297a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
