Cron Parser Validate Describe Next Previous Runs API
Free tier included · ToolsCron Parser API gives you robust cron expression processing without needing to install, maintain, or debug complex scheduling libraries. It supports standard 5-field cron expressions, 6-field expressions with seconds (seconds-first convention), and 7-field expressions including years.
The API provides dedicated endpoints to validate expressions, compute upcoming run timestamps, look up previous execution times, and fetch full parsed payloads with expanded field values. Timezone handling is fully supported: you can evaluate schedules in UTC, convert output timestamps to any IANA timezone (e.g. `Europe/Berlin`), or run schedules directly on the wall-clock time of a given timezone (`tz_mode=schedule`), correctly accounting for Daylight Saving Time (DST) edge cases like spring-forward skips and fall-back repeats.
Completely offline and stateless powered by robust Python scheduling logic (`croniter`), the service makes no external network calls, stores zero logs, and leaves no cross-request state.
Honest limits: expressions must not exceed 100 characters. The `count` parameter for upcoming or previous runs is capped between 1 and 20 per request. Search horizons are bounded by a 10-year maximum search window to prevent infinite loops on malformed or extreme expressions.
Endpoints
| Method | Path | What it does |
|---|---|---|
GET | / | Returns the API name, version and the paths of the docs and healthcheck endpoints. |
GET | /health | Liveness probe. Returns status='ok' while the process is up. |
GET | /describe | Validates a cron expression, returns the expanded field values and the next N run timestamps. |
GET | /validate | Checks whether a cron expression is valid. Returns the expression and a boolean indicating validity. |
GET | /next-runs | Returns the next N run timestamps for a valid cron expression, in UTC and optionally in a given timezone. |
GET | /parse | Full parse: validates, expands fields, computes next runs, and provides a human-readable description. |
GET | /previous-run | Returns the most recent past run timestamp for a cron expression, in UTC. |
Quick start
curl -X GET "https://cron.p.rapidapi.com/describe?expression=%2A%2F15+%2A+%2A+%2A+%2A&count=5" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: cron.p.rapidapi.com"
FAQ
Does the API support seconds and years fields?
Yes. In addition to standard 5-field cron expressions, it supports 6-field expressions with seconds (seconds-first convention) and 7-field expressions with seconds and years.
How are Daylight Saving Time (DST) changes handled?
You can use `tz_mode=schedule` to run expressions on the wall clock of an IANA timezone. Cronie rules are applied: spring-forward skipped times run at the first valid minute, and fall-back repeated hours follow standard scheduling rules.
Are my expressions or data logged anywhere?
No. All parsing and timestamp calculations are executed entirely offline in memory. No request logs or user payloads are stored.
What is the maximum number of upcoming runs I can request?
You can request up to 20 upcoming or previous runs (`count` parameter between 1 and 20) per query.
Try Cron Parser Validate Describe Next Previous Runs free
Free tier on every plan. Get an API key and start calling in under a minute.
Open on RapidAPI