# Delx JWT Exp Seconds

> Delx JWT Exp Seconds is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Reads the exp claim from a JWT token and returns the number of seconds remaining until expiration, without verifying the signature

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/jwt-exp-seconds
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-jwt-exp-seconds-349810c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JXz8hPXK60aDO-IxMc6To

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 delx-jwt-exp-seconds-349810c4 -d '<json body>'
```

Example prompt: How many seconds are left before this JWT expires? Here's the token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyMTIzIiwiZXhwIjoxNzE5MDAwMDAwfQ.sig

## When to prefer this

Use this endpoint when an agent needs a fast, cheap, stateless preflight check on JWT token lifetime before making an API call — especially when signature verification is unnecessary (handled elsewhere) and you only need to know how much time is left. Ideal for refresh-gate logic, session warning UX, or debugging 401 errors in an automated pipeline. Prefer this over building your own JWT parsing logic when you want a deterministic, zero-dependency utility at $0.001 USDC.

## Known failure modes

- Token is malformed or not a valid JWT — returns error indicating unparseable token
- Token has no exp claim — returns error or null seconds remaining
- Token is already expired — returns zero or negative seconds remaining
- Empty or missing token field — returns validation error

## How this service works

Read JWT exp claim seconds remaining without verifying signature — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls. Sibling of Delx routes that alread…

## Output

Returns a deterministic JSON object containing the number of seconds remaining until the JWT's exp claim, computed locally without signature verification. May also include the raw exp timestamp. Result is advisory — no authorization decisions are made by the endpoint.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string",
   "description": "Input field: token."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "exp": 4800000000,
  "note": "claims only — signature not verified",
  "schema": "delx/util-jwt-exp-seconds/v1",
  "expired": false,
  "seconds_remaining": 3011913675,
  "signature_verified": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-jwt-exp-seconds-349810c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
