# OmniAPI JWT Decode

> OmniAPI JWT Decode is a paid API for AI agents from omni-api-cyan.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 verification

## Facts

- Endpoint: POST https://omni-api-cyan.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/omniapi-jwt-decode-293aadaf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wk0NclrYNnjXhKdVRVQev

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 omniapi-jwt-decode-293aadaf -d '<json body>'
```

Example prompt: Can you decode this JWT for me and show me what claims and data are inside it: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call JWT decode operation without setting up a local library, when running in an environment where JWT libraries aren't available, or when you want to inspect token contents as part of an automated agent workflow using x402 micropayments.

## Known failure modes

- Malformed or invalid JWT string returns a parsing error
- Empty or missing query/input field returns a validation error
- Token with non-standard encoding may fail to decode
- Network or service timeout returns a 5xx error
- Payment failure via x402 prevents the call from completing

## How this service works

444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.

## Output

Returns the decoded JWT broken into its components: the header (algorithm, token type), the payload (all claims such as sub, iat, exp, email, roles, and any custom claims), and potentially the signature section — all in human-readable JSON format.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Input data for the endpoint"
  },
  "query": {
   "type": "string",
   "description": "Search query or input text"
  },
  "params": {
   "type": "object",
   "description": "Additional parameters"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/omniapi-jwt-decode-293aadaf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from omni-api-cyan.vercel.app](https://www.zero.xyz/host/omni-api-cyan.vercel.app/llms.txt)
