# Cron Expression Parser & Next Run Calculator

> Cron Expression Parser & Next Run Calculator is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.0022/call, status unknown (last checked 2026-09-15).

Parses a 5-field cron expression, returns a human-readable description, and computes the next N upcoming execution timestamps in UTC.

## Facts

- Endpoint: GET https://api.x402node.dev/dev/cron-parse
- Price: $0.0022/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-1333ff06
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bFKu62AMI7Vt4puCabaI0

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-x402node-dev-1333ff06
```

Example prompt: Can you parse the cron expression '0 9 * * 1-5' and tell me what it means in plain English, then show me the next 5 times it will run?

## When to prefer this

Use this endpoint when you need to programmatically interpret, validate, or debug a 5-field cron expression, or when you need to compute future execution times for scheduling logic in automation pipelines, infrastructure config validation, or user-facing schedule displays. Prefer this over manual parsing when you need both a human-readable explanation and concrete upcoming timestamps in a single call.

## Known failure modes

- Invalid cron expression (wrong number of fields, illegal values) — likely returns 4xx with error message
- Cron expression with unsupported syntax (e.g. 6-field with seconds) — may return parse error
- Missing required body parameter — returns 400 bad request
- Network timeout or service unavailability — returns 5xx

## How this service works

cron parser, cron expression parser, parse cron expression, cron parser online, cron schedule parser, crontab parser, cron syntax parser, cron decoder, cron validator, next run calculator, cron to human readable, crontab inspector, cron job parser. Parse 5-field cron expressions and compute next N execution times. Returns human description + upcoming timestamps. For AI agents, schedule debug, automation pipelines. Accepts payment on Base or Solana — either network works.

## Output

Returns the original cron expression, a plain-English human-readable description of the schedule (e.g. 'At 09:00 AM, Monday through Friday'), the next N execution timestamps in ISO 8601 UTC format, and optionally a breakdown of the individual cron fields.

## 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": [
      "cron"
     ],
     "properties": {
      "cron": {
       "type": "string",
       "description": "Cron (required)"
      },
      "count": {
       "type": "string",
       "description": "Count (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-1333ff06/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
